:root {
  --bg: #06080d;
  --bg-soft: #0d1118;
  --bg-panel: rgba(17, 21, 29, 0.82);
  --bg-panel-strong: rgba(20, 14, 10, 0.9);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(241, 211, 154, 0.16);
  --text: #f4f1ea;
  --muted: #adb4c3;
  --gold: #f1d39a;
  --gold-strong: #c99531;
  --green: #73e7b2;
  --blue: #7ccbff;
  --amber: #ffc96b;
  --danger: #ff8f8f;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --radius: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Noto Sans", sans-serif;
  line-height: 1.62;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 149, 49, 0.16) 0, transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(124, 203, 255, 0.14) 0, transparent 28%),
    linear-gradient(180deg, #090c12 0%, #05070b 56%, #05070b 100%);
}

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

.shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 14px 14px 88px;
}

.nav {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(20, 15, 10, 0.9), rgba(13, 18, 27, 0.84));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd67a, #c99531);
  color: #16110b;
  font-size: 19px;
  font-weight: 900;
  flex-shrink: 0;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  color: var(--gold);
  font-size: 19px;
  font-weight: 900;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus-visible,
.menu-link:hover,
.menu-link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-shell {
  display: none;
  position: relative;
}

.menu-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-shell[open] .menu-toggle {
  border-color: rgba(241, 211, 154, 0.28);
}

.menu-drawer {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 30px));
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(20, 15, 10, 0.97), rgba(10, 13, 20, 0.96));
  box-shadow: var(--shadow);
}

.menu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(244, 241, 234, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.hero,
.section-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(20, 15, 10, 0.88), rgba(11, 15, 22, 0.86));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(18px, 3.2vw, 28px);
}

.section-card {
  margin-top: 16px;
  padding: clamp(18px, 3vw, 26px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(241, 211, 154, 0.18);
  background: rgba(241, 211, 154, 0.07);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.45px;
}

.hero h1,
.section-card h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.02;
}

.section-card h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.hero .subtitle,
.section-card .subtitle {
  color: var(--muted);
  max-width: 880px;
  font-size: 15px;
}

.hero-actions,
.cta-cluster,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions,
.cta-cluster {
  margin-top: 18px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
}

.button {
  background: linear-gradient(135deg, #f1d39a, #c99531);
  color: #17120d;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-grid,
.page-hero-grid,
.legal-grid,
.grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

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

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

.panel,
.info-card,
.mini-stat,
.legal-note {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.info-card,
.mini-stat {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(241, 211, 154, 0.08));
}

.panel h2,
.panel h3,
.info-card h2,
.info-card h3,
.legal-note h2,
.legal-note h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.info-card strong,
.mini-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.info-card p,
.section-card p,
.section-card li,
.panel p,
.panel li,
.mini-stat p,
.legal-note p {
  margin: 0;
  color: var(--muted);
}

.spot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mini-stat span,
.metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: rgba(244, 241, 234, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.metric.live {
  color: var(--green);
}

.metric.warn {
  color: var(--amber);
}

.metric.info {
  color: var(--blue);
}

.stack,
.list,
.bullet-list,
.check-list {
  display: grid;
  gap: 12px;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-step b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(241, 211, 154, 0.14);
  color: var(--gold);
  flex-shrink: 0;
}

.timeline-step h2,
.timeline-step h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.faq details {
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 10px;
}

.notice {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 201, 107, 0.24);
  background: rgba(255, 201, 107, 0.08);
  color: #f6d89b;
}

.footer-link {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: rgba(244, 241, 234, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.page-footer {
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.footer-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  color: rgba(244, 241, 234, 0.92);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

td {
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .page-hero-grid,
  .legal-grid,
  .grid.two,
  .grid.three,
  .spot-strip {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 10px 12px;
  }

  .nav-links {
    display: none;
  }

  .menu-shell {
    display: block;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 10px 10px 94px;
  }

  .nav {
    top: 8px;
    gap: 10px;
    border-radius: 20px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    font-size: 11px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .button,
  .nav-actions .button-secondary {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 13px;
  }

  .hero,
  .section-card {
    border-radius: 24px;
    padding: 16px;
  }

  .hero h1,
  .section-card h1 {
    margin-top: 12px;
  }

  .hero .subtitle,
  .section-card .subtitle,
  .footer-meta {
    font-size: 14px;
  }

  .hero-actions,
  .cta-cluster {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .hero-actions .button-secondary,
  .cta-cluster .button,
  .cta-cluster .button-secondary {
    width: 100%;
  }

  .timeline-step {
    padding: 14px;
  }

  .timeline-step b {
    width: 34px;
    height: 34px;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: none;
  }

  td::before {
    content: attr(data-label);
    color: rgba(244, 241, 234, 0.78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
  }
}

@media (max-width: 520px) {
  .brand-copy span {
    display: none;
  }

  .nav-main {
    gap: 10px;
  }

  .nav-actions .button,
  .nav-actions .button-secondary {
    min-width: 0;
    padding: 0 10px;
  }

  .hero h1,
  .section-card h1 {
    font-size: clamp(28px, 10vw, 34px);
  }

  .panel,
  .info-card,
  .mini-stat,
  .legal-note,
  .page-footer {
    padding: 14px;
  }
}
