:root {
  --bg: #F8F6FF;
  --bg-2: #ECE8FF;
  --surface: #FFFFFF;
  --surface-2: #F3F0FF;
  --ink: #24203D;
  --text: #24203D;
  --muted: #3F3A55;
  --primary: #5346C7;
  --primary-ink: #FFFFFF;
  --primary-dark: #3D329E;
  --accent: #D94F8A;
  --accent-ink: #3A1022;
  --border: #D8D0FA;
  --soft-border: #D8D0FA;
  --primary-border: #5346C7;
  --line: #D8D0FA;
  --ok: #1F6B4A;
  --stop: #8A2438;
  --shadow: 0 0 0 1px #D8D0FA;
  --shadow-card: 0 0 0 1px #D8D0FA;
  --radius: 2px;
  --shell: 1180px;
  --header-h: 64px;
  --sticky-cta-h: 72px;
  --font-display: "Roboto Condensed", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-devanagari: "Noto Sans Devanagari", "Roboto", system-ui, sans-serif;
  --space: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  min-width: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-dark); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 12px; z-index: 400;
}
.skip:focus { left: 8px; top: 8px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 32px, var(--shell)); margin-inline: auto; min-width: 0; }
.container-narrow { width: min(100% - 32px, 780px); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 320;
  height: var(--header-h);
  background: #F8F6FF;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
  width: min(100% - 32px, var(--shell));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.02em;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.01em; white-space: nowrap; }
.brand-tag { display: none; }
.utility-bar {
  display: flex; align-items: center; gap: 18px; margin-left: auto; min-width: 0;
}
.main-nav { display: flex; align-items: center; gap: 16px; min-width: 0; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600;
  white-space: nowrap; letter-spacing: 0.01em;
}
.main-nav a[aria-current="page"] { color: var(--primary-dark); box-shadow: inset 0 -2px 0 var(--primary); }
.header-cta, .btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px;
  background: var(--primary); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  border: 0;
}
.btn-ghost, .header-cta-ghost, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.btn:hover, .btn-primary:hover, .header-cta:hover { background: var(--primary-dark); }
.btn:active, .btn-primary:active { transform: translateY(1px); }
.hamburger {
  display: none; width: 44px; height: 44px;
  border: 0; background: transparent; padding: 10px;
  position: fixed; top: 12px; right: 12px; z-index: 500;
  cursor: pointer;
}
.hamburger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.hamburger span {
  display: block; height: 2px; background: var(--ink); margin: 6px 0;
}

.mobile-drawer {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(36,32,61,0.35);
}
.mobile-drawer.open, .mobile-drawer.is-open { display: block; }
.drawer-panel {
  position: absolute; top: 0; right: 0; width: min(86vw, 360px); height: 100%;
  background: #fff; padding: 72px 24px 32px;
  overflow: auto; border-left: 1px solid var(--border);
}
.drawer-close {
  position: fixed; top: 12px; right: 68px; z-index: 410;
  width: 44px; height: 44px;
  border: 1px solid var(--border); background: #fff;
  font-size: 28px; line-height: 1; color: var(--ink);
  cursor: pointer; pointer-events: auto; touch-action: manipulation;
}
html.is-drawer-open, html.is-drawer-open body { overflow: hidden; }
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav li { border-bottom: 1px solid var(--border); }
.drawer-nav a {
  display: block; padding: 14px 0; color: var(--ink); text-decoration: none;
  font-weight: 600; white-space: nowrap;
}
.drawer-cta { margin-top: 20px; width: 100%; }

.band { display: block; padding: 56px 0; }
.band-paper { background: var(--surface); }
.band-warm { background: var(--bg-2); }
.band-ink { background: var(--ink); color: #F4F1FF; }
.band-ink a { color: #E4DCFF; }
section[id] { scroll-margin-top: 80px; }

.hero, #hero {
  min-height: 520px;
  padding: 28px 0 20px;
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}
.hero-copy { min-width: 0; }
.hero h1, #hero-h {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
  max-width: 18ch;
}
.hero-lede {
  margin: 0 0 20px; max-width: 42ch; font-size: 18px; color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.scoreboard {
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 0;
}
.scoreboard-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 12px;
}
.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 0; border-bottom: 1px solid var(--border); min-width: 0;
}
.score-row:last-child { border-bottom: 0; }
.score-cell { padding: 10px 14px; min-width: 0; }
.score-cell strong {
  display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.1;
}
.score-cell span { display: block; font-size: 12px; color: var(--muted); }
.score-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--primary-dark); }

.ticker {
  background: var(--ink); color: #F4F1FF; overflow: hidden;
  border-top: 1px solid #3A3458; border-bottom: 1px solid #3A3458;
}
.ticker-inner { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.ticker-kicker {
  flex: 0 0 auto; font-family: var(--font-display); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #EDE8FF;
  padding-left: 16px;
}
.ticker-rail { overflow: hidden; min-width: 0; flex: 1; }
.ticker-track {
  display: flex; gap: 28px; width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker-item { white-space: nowrap; font-size: 14px; }
.ticker-item b { font-family: var(--font-display); letter-spacing: 0.04em; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

.filter-desk { background: var(--surface); padding: 48px 0; }
.filter-form {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--border);
}
.filter-option {
  background: var(--surface); padding: 18px 16px; min-width: 0;
}
.filter-option input { margin-right: 8px; }
.filter-option strong { display: block; font-family: var(--font-display); font-size: 20px; }
.filter-option p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.chip-index {
  position: sticky; top: var(--header-h); z-index: 40;
  background: #fff; border-bottom: 1px solid var(--border);
}
.chip-row {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}
.chip-row a {
  flex: 0 0 auto; padding: 6px 12px; border: 1px solid var(--border);
  text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 600;
  white-space: nowrap; background: var(--bg);
}
.chip-row a[aria-current="location"] { background: var(--primary); color: #fff; border-color: var(--primary); }

.cutout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center;
}
.cutout img, .cutout-frame img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-2);
}
.cutout-caption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); }
.step, .step-card {
  background: var(--surface); padding: 20px; min-width: 0;
  border: 1px solid transparent;
}
.step-num {
  font-family: var(--font-display); font-size: 28px; color: var(--primary);
  line-height: 1; display: block; margin-bottom: 8px;
}

.sheet { background: var(--surface); }
.sheet-row {
  display: grid; grid-template-columns: minmax(140px, 0.4fr) minmax(0, 1fr);
  gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); min-width: 0;
}
.sheet-row dt { font-weight: 700; font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
.sheet-row dd { margin: 0; min-width: 0; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.check-mark { color: var(--ok); font-weight: 700; }

.poster {
  background: var(--ink); color: #F4F1FF; padding: 64px 0;
}
.poster h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); line-height: 1.1; max-width: 18ch; margin: 0 0 16px; }
.poster p { max-width: 62ch; margin: 0; color: #EEE9FF; }
.poster a { color: #EEE9FF; text-decoration: underline; text-underline-offset: 2px; }

.gate {
  display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); gap: 24px;
  background: #F8E8EC; padding: 36px; border-left: 6px solid var(--stop);
}
.gate strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--stop); }

.limiter {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border);
}
.limiter-cell { background: var(--surface); padding: 20px; min-width: 0; }
.limiter-cell h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; }

.checkpoint {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 28px; background: var(--surface); border: 1px solid var(--border);
}
.checkpoint p { margin: 0; max-width: 52ch; }

.register { list-style: none; margin: 0; padding: 0; }
.register li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.register time { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.colophon { font-size: 15px; color: var(--muted); }
.colophon p { max-width: 70ch; }

.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger th, .ledger td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border);
  vertical-align: top; min-width: 0;
}
.ledger th { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.data-table-wrap, .table-wrap { overflow-x: auto; min-width: 0; }

.page-hero { padding: 36px 0 12px; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1; margin: 0 0 12px; max-width: 20ch;
}
.page-hero-img img, .page-hero img.banner {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg-2);
}
.crumb { font-size: 13px; margin-bottom: 10px; color: var(--muted); }
.crumb a { color: inherit; }
.prose { max-width: 70ch; }
.prose h2 {
  font-family: var(--font-display); font-size: 30px; line-height: 1.15; margin: 36px 0 12px;
}
.prose h3 { font-family: var(--font-display); font-size: 22px; margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; }
.figure { margin: 24px 0; }
.figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--bg-2); }
.figure figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.inline-image-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px; align-items: center; margin: 24px 0;
}
.inline-image-row img {
  width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover;
  border: 1px solid var(--soft-border); display: block;
}
.faq, .faq-grid, .community { display: grid; gap: 8px; }
.q-item, details.faq-item {
  background: var(--surface); border: 1px solid var(--border); padding: 4px 14px;
}
.q-item summary, details.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none;
}
.q-item summary::-webkit-details-marker, details.faq-item summary::-webkit-details-marker { display: none; }
.q-body { padding: 0 0 12px; color: var(--muted); }
.q-tag { display: inline-block; margin-right: 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-dark); }

.card, .data-card, .loose-card, .hub-card, .feature-card {
  border: 1px solid var(--border); padding: 20px; background: var(--surface); min-width: 0;
}
.card-grid, .hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
.dest-list { list-style: none; margin: 0; padding: 0; columns: 2; gap: 24px; }
.dest-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--border); }
.dest-list a { text-decoration: none; color: var(--ink); font-weight: 600; }

.site-footer {
  background: var(--ink); color: #E8E4F8; padding: 48px 0 28px;
  margin-bottom: 0;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.site-footer h2 { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #EEE9FF; text-decoration: none; }
.site-footer li { margin: 0 0 8px; }
.footer-note { margin-top: 28px; font-size: 13px; color: #E4DCFF; max-width: 80ch; }
.age-pill { display: inline-block; border: 1px solid #E4DCFF; padding: 2px 8px; margin-right: 8px; font-weight: 700; }

.mobile-sticky {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 260;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid var(--border);
}
.mobile-sticky a {
  display: flex; width: 100%; align-items: center; justify-content: center;
  min-height: 48px; background: var(--primary); color: #fff;
  text-decoration: none; font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
body.has-sticky { padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px)); }

.compliance-strip {
  font-size: 13px; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--border);
}

h1, h2, h3, h4 { overflow-wrap: normal; word-break: normal; hyphens: manual; }
p, li, td, th, dd { overflow-wrap: break-word; word-break: normal; }

@media (max-width: 1023px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: inline-block; }
  .hero-grid, .cutout, .filter-form, .stepper, .limiter, .gate, .footer-grid, .inline-image-row {
    grid-template-columns: 1fr;
  }
  .dest-list { columns: 1; }
  .score-row { grid-template-columns: 1fr; }
  .sheet-row { grid-template-columns: 1fr; }
  .hero, #hero { min-height: 0 !important; max-height: none !important; height: auto !important; padding: 20px 0 16px !important; overflow: visible !important; }
  html.is-drawer-open .site-header {
    position: static;
    z-index: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #hero-h, .hero h1 { font-size: 32px !important; line-height: 1.1 !important; max-width: none; }
  .hero-lede { font-size: 16px !important; line-height: 1.5 !important; }
  .hero-cta .btn, .hero-cta .btn-secondary { flex: 1 1 auto !important; }
  .ticker-track { animation: none; }
  .ticker-rail { overflow-x: auto; }
  .mobile-sticky { display: block; }
}

@media (max-width: 899px) {
  .hero-trust { display: none !important; }
}

@media (max-width: 430px) {
  body { font-size: 17px; }
  .container { width: min(100% - 20px, var(--shell)); }
}

/* verifier-required stubs */
.data-card { border: 1px solid var(--primary-border); padding: 20px; }
.step-card { border: 1px solid var(--border); padding: 20px; }
.step-num { color: var(--primary); }
.loose-card { padding: 20px; border: 1px solid var(--border); background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%); }
.band { display: block; }
.faq-grid { display: grid; }
.card { border: 1px solid var(--border); padding: 26px; }
.stat-tile { border: 1px solid var(--border); padding: 16px; background: var(--surface); }
@media (max-width: 640px) {
  .hero-zone, .hero, #hero { min-height: 0; max-height: none; height: auto; overflow: visible; }
}
