:root {
  --bg: #090d13;
  --surface: #111824;
  --surface-2: #182231;
  --surface-3: #202c3d;
  --gold: #ddb52b;
  --gold-light: #f6df79;
  --text: #f7f8fa;
  --muted: #aab4c2;
  --line: #2a3749;
  --success: #54d18b;
  --danger: #ff7c7c;
  --max: 1160px;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(221, 181, 43, .09), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

body.has-sticky-cta {
  padding-bottom: 92px;
}

a {
  color: var(--gold-light);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  color: #fff2b6;
}

img,
svg {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #111;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(9, 13, 19, .94);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 22px;
}

.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
}

.site-logo svg {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
}

.site-logo span {
  background: linear-gradient(120deg, #fff, var(--gold-light) 65%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.desktop-nav a:hover {
  background: var(--surface-2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, #f05d36, #d99713);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #121a26;
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.mobile-nav a:hover {
  background: var(--surface-3);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, #f0c83d, #c9910d);
  box-shadow: 0 10px 28px rgba(221, 181, 43, .2);
  color: #101318;
}

.button-primary:hover {
  background: linear-gradient(135deg, #ffe581, #ddb52b);
  color: #080a0e;
}

.button-secondary {
  border-color: #46556a;
  background: rgba(255, 255, 255, .025);
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero {
  padding: clamp(54px, 8vw, 96px) 0 50px;
  text-align: center;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.hero-lead {
  max-width: 790px;
  margin: 0 auto 30px;
  color: #d7dde6;
  font-size: clamp(17px, 2vw, 20px);
}

.offer-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(221, 181, 43, .68);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(29, 39, 54, .98), rgba(17, 24, 36, .98));
  box-shadow: var(--shadow);
}

.offer-card h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.12;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.trust-item {
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: #dce2ea;
  font-size: 14px;
  font-weight: 750;
}

.toc {
  position: sticky;
  top: 72px;
  z-index: 50;
  border-block: 1px solid var(--line);
  background: rgba(12, 17, 25, .96);
}

.toc .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 11px;
  scrollbar-width: thin;
}

.toc a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #cbd3df;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

main {
  display: block;
}

.section {
  padding: 54px 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.section h3 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.section p,
.section li {
  color: #ccd4df;
}

.section p {
  max-width: 850px;
}

.section-intro {
  margin: -7px 0 28px;
  color: var(--muted) !important;
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

.card h3 {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 18px;
}

.card p,
.card ul {
  margin: 0;
}

.card ul,
.check-list {
  padding-left: 20px;
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(221, 181, 43, .09);
}

.notice strong {
  color: var(--gold-light);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-3);
  color: var(--gold-light);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.faq-list summary {
  padding: 16px 18px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.store-badge {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
}

.store-badge img {
  display: block;
  width: 144px;
  height: 48px;
  object-fit: contain;
}

.source-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.author-card img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card p {
  margin: 2px 0;
}

.site-footer {
  padding: 42px 0 120px;
  border-top: 1px solid var(--line);
  background: #080b10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.site-footer p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 9px 16px;
}

.footer-links a {
  font-size: 14px;
}

.age-badge {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  place-items: center;
  border: 2px solid var(--danger);
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  border-top: 1px solid rgba(221, 181, 43, .7);
  background: rgba(9, 13, 19, .97);
  backdrop-filter: blur(12px);
}

.sticky-cta[hidden] {
  display: none;
}

.sticky-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 18px;
}

.sticky-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.sticky-copy strong,
.sticky-copy span {
  display: block;
}

.sticky-copy span {
  color: var(--muted);
  font-size: 13px;
}

.sticky-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
  cursor: pointer;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 72px);
  place-items: center;
  padding: 60px 0;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--gold);
  font-size: clamp(78px, 20vw, 180px);
  font-weight: 950;
  line-height: .9;
}

.error-page h1 {
  margin: 18px 0 8px;
  font-size: clamp(30px, 5vw, 48px);
}

.error-page p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .grid,
  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 42px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body.has-sticky-cta {
    padding-bottom: 112px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 44px;
  }

  .grid,
  .grid-2,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .author-card {
    align-items: flex-start;
  }

  .sticky-inner {
    min-height: 98px;
    gap: 9px;
  }

  .sticky-copy span {
    display: none;
  }

  .sticky-cta .button {
    width: auto;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .site-logo span {
    display: none;
  }

  .sticky-copy {
    display: none;
  }

  .sticky-inner {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
