:root {
  --color-bg: #080b12;
  --color-card: #10141f;
  --color-card-border: rgba(197, 160, 89, 0.22);
  --color-gold: #c5a059;
  --color-gold-bright: #e4c06a;
  --color-text: #d8dce6;
  --color-text-muted: #8b92a5;
  --color-btn-text: #0a0b10;

  --font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  --container-max: 1180px;
  --radius-card: 18px;
  --radius-btn: 10px;
  --shadow-card: 0 0 0 1px var(--color-card-border),
    0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 24px rgba(197, 160, 89, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.header {
  padding: 20px 0 8px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: var(--color-btn-text);
  background: linear-gradient(180deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  box-shadow: 0 0 32px rgba(197, 160, 89, 0.28);
}

.btn--outline {
  color: var(--color-text);
  background: transparent;
  border-color: var(--color-gold);
}

.btn--outline:hover {
  background: rgba(197, 160, 89, 0.08);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
  margin-top: 8px;
}

.main {
  padding-bottom: 48px;
}

.card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.hero {
  padding: 44px 48px;
  background:
    linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, transparent 45%),
    var(--color-card);
}

.hero__label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-gold);
  margin-bottom: 12px;
  max-width: 820px;
}

.hero__subtitle {
  font-size: 17px;
  margin-bottom: 8px;
  max-width: 560px;
}

.hero__subtitle strong {
  color: var(--color-gold);
  font-weight: 700;
}

.content {
  padding: 36px 40px;
}

.text-content {
  color: var(--color-text);
  font-size: 15px;
}

.text-content p {
  margin-bottom: 1em;
}

.text-content p:last-child {
  margin-bottom: 0;
}

.text-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gold);
  margin: 1.75em 0 0.75em;
}

.text-content h2:first-child {
  margin-top: 0;
}

.text-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-gold-bright);
  margin: 1.35em 0 0.6em;
}

.text-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.25em;
  font-size: 14px;
}

.text-content th,
.text-content td {
  border: 1px solid var(--color-card-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.text-content th {
  background: rgba(197, 160, 89, 0.1);
  color: var(--color-gold);
  font-weight: 600;
}

.text-content ul,
.text-content ol {
  margin: 0 0 1em 1.25em;
}

.text-content li {
  margin-bottom: 0.35em;
}

.text-content a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer {
  padding: 32px 0 40px;
}

.footer__text {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero {
    padding: 32px 24px;
  }

  .content {
    padding: 28px 24px;
  }
}

@media (max-width: 520px) {
  .header__inner {
    flex-wrap: wrap;
  }

  .header__nav {
    width: 100%;
    justify-content: flex-end;
  }

  .btn {
    padding: 9px 16px;
    font-size: 13px;
  }
}
