:root {
  --navy: #0c1230;
  --navy-2: #101740;
  --panel: #161e49;
  --panel-2: #1c2557;
  --line: rgba(217, 164, 65, 0.22);
  --line-soft: rgba(167, 174, 203, 0.18);
  --gold: #d9a441;
  --gold-lt: #f2d38a;
  --violet: #6b4fa8;
  --teal: #45c0a6;
  --ink: #ece6d8;
  --muted: #a7aecb;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--navy);
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(236, 230, 216, 0.55), transparent 60%),
    radial-gradient(1px 1px at 74% 9%, rgba(236, 230, 216, 0.42), transparent 60%),
    radial-gradient(1.6px 1.6px at 88% 44%, rgba(242, 211, 138, 0.5), transparent 60%),
    radial-gradient(1px 1px at 32% 62%, rgba(236, 230, 216, 0.35), transparent 60%),
    radial-gradient(1.4px 1.4px at 58% 84%, rgba(236, 230, 216, 0.4), transparent 60%),
    radial-gradient(900px 620px at 80% -10%, rgba(107, 79, 168, 0.4), transparent 70%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

a { color: var(--gold-lt); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.5rem, 10vw, 4.6rem);
  letter-spacing: -0.025em;
  background: linear-gradient(96deg, var(--gold-lt), var(--gold) 55%, #b98526);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 { font-size: clamp(1.55rem, 5.2vw, 2.3rem); }

h3 {
  font-size: clamp(1.18rem, 3.6vw, 1.42rem);
  color: var(--gold-lt);
  margin-top: 30px;
}

p { margin: 0 0 16px; }

strong { color: #fff; }

section { padding: 34px 0; border-top: 1px solid var(--line-soft); }
section:first-of-type { border-top: 0; }

.glyph {
  display: inline-block;
  width: 0.52em;
  height: 0.52em;
  margin-right: 0.42em;
  vertical-align: 0.1em;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}

.eyebrow .glyph { width: 0.86em; height: 0.86em; vertical-align: -0.04em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.lede {
  font-size: 1.1rem;
  color: #dcd9cd;
  max-width: 66ch;
}

.fineprint {
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 14px;
}

.promo {
  background:
    linear-gradient(180deg, rgba(107, 79, 168, 0.35), rgba(12, 18, 48, 0.1)),
    var(--navy-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 18px;
  text-align: center;
}

.promo--top {
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(217, 164, 65, 0.22), transparent 70%),
    linear-gradient(180deg, #171f4d, #0f1638);
  border-top: 0;
}

.promo--mid { margin: 10px 0; }

.promo .wrap { padding-left: 0; padding-right: 0; }

.promo__inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.promo__eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}

.promo__headline {
  font-family: var(--display);
  font-size: clamp(1.22rem, 4.6vw, 1.86rem);
  line-height: 1.25;
  color: #fff;
  margin: 0 0 8px;
}

.promo__headline strong { color: var(--gold-lt); }

.promo__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 16px;
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  width: 100%;
  max-width: 380px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-lt), var(--gold) 60%, #c08c2c);
  color: #21160a;
  box-shadow: 0 10px 26px rgba(217, 164, 65, 0.28);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217, 164, 65, 0.42);
}

.btn--lg { padding: 17px 34px; font-size: 1rem; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 18, 48, 0.92);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line-soft);
}

.site-head__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 10px;
}

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

.brand__mark { color: var(--gold); width: 38px; height: 38px; flex: 0 0 38px; }
.brand__mark svg { width: 100%; height: 100%; display: block; }

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }

.brand__name {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.brand__sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  flex: 0 0 auto;
  font-size: 0.83rem;
  color: var(--muted);
  padding: 7px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--navy);
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  text-decoration: none;
}

.hero { padding-top: 34px; }

.starfield { color: var(--gold); opacity: 0.5; margin: 4px 0 20px; max-width: 620px; }
.starfield svg { width: 100%; height: auto; display: block; fill: currentColor; }

section > p,
section > ol,
.steps li { max-width: 74ch; }

.stat-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-rail li {
  background: linear-gradient(180deg, var(--panel), var(--navy-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
}

.stat-rail__num {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1.1;
}

.stat-rail__lbl {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 20px 0;
  background: rgba(16, 23, 64, 0.72);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

caption {
  caption-side: top;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 16px 10px;
}

thead th {
  background: rgba(107, 79, 168, 0.3);
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

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

tbody th { color: #fff; font-weight: 600; white-space: nowrap; }
tbody td { color: #d9d6cb; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(107, 79, 168, 0.08); }

.steps { list-style: none; counter-reset: s; margin: 18px 0; padding: 0; }

.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 14px 46px;
  color: #d9d6cb;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--gold-lt);
  font-family: var(--mono);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__k { color: #fff; font-weight: 600; }

.faq { border-top: 1px solid var(--line-soft); }

.faq__item { border-bottom: 1px solid var(--line-soft); }

.faq__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 2px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.faq__q:hover { color: var(--gold-lt); }

.faq__mark {
  flex: 0 0 24px;
  position: relative;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq__mark::before { width: 11px; height: 2px; }
.faq__mark::after { width: 2px; height: 11px; }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq__a p {
  color: #d0cec4;
  font-size: 0.97rem;
  margin: 0;
  padding: 0 2px 20px;
  max-width: 74ch;
}

.faq__input:checked ~ .faq__a { max-height: 620px; }
.faq__input:checked ~ .faq__q { color: var(--gold-lt); }
.faq__input:checked ~ .faq__q .faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__input:focus-visible ~ .faq__q { outline: 3px solid var(--gold); outline-offset: 2px; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.card {
  background: linear-gradient(170deg, var(--panel-2), var(--navy-2) 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 6px;
}

.card__tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}

.card h3 { margin-top: 0; color: #fff; }

.card p { font-size: 0.96rem; color: #d3d1c7; }

.site-foot {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 18, 48, 0.2), #080c22);
  padding: 34px 0 26px;
  font-size: 0.9rem;
  color: var(--muted);
}

.foot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.foot-brand {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--gold-lt);
  margin: 0 0 8px;
}

.foot-head {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}

.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot-links li { padding: 3px 0; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--gold-lt); }

.foot-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.foot-bar p { margin: 0; font-size: 0.82rem; }

.age-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #e05a5a;
  color: #e05a5a;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .stat-rail { grid-template-columns: repeat(4, 1fr); }
  .btn { width: auto; }
  .promo { padding: 26px 18px; }
}

@media (min-width: 860px) {
  body { font-size: 18px; }
  section { padding: 46px 0; }
  .hero { padding-top: 52px; }
  .site-head__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .foot-grid { grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 34px; }
  .promo__inner--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
  }
  .promo__inner--row .promo__meta { margin-bottom: 0; }
  .promo--mid { padding: 30px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
