/* Layout: each page opens on an "arrival night" band; content then runs like stops on a route. */
:root {
  --paper: #F3F5FA;
  --surface: #FFFFFF;
  --ink: #1A2150;
  --ink-2: #4A5277;
  --line: #D7DCEA;
  --night: #1A2150;
  --on-night: #EEF1FA;
  --on-night-2: #B8BEDA;
  --ticket: #FBFAF6;
  --ticket-ink: #1A2150;
  --ticket-ink-2: #5A6082;
  --marigold: #E89A0C;
  --marigold-ink: #8A5000;
  --marigold-wash: #FBEBC8;
  --on-marigold: #1E1400;
  --leaf: #23744D;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --deva: "Tiro Devanagari Hindi", "Kohinoor Devanagari", "Noto Serif Devanagari", serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4rem);
  --radius: 14px;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1230;
    --surface: #151B40;
    --ink: #EDF0FA;
    --ink-2: #A8AFCB;
    --line: #2A3262;
    --night: #080B22;
    --on-night: #EEF1FA;
    --on-night-2: #A8AFCB;
    --ticket: #1B2250;
    --ticket-ink: #EDF0FA;
    --ticket-ink-2: #A8AFCB;
    --marigold: #F2AE33;
    --marigold-ink: #F5C15A;
    --marigold-wash: #3A2E10;
    --on-marigold: #1E1400;
    --leaf: #5CC495;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1230;
  --surface: #151B40;
  --ink: #EDF0FA;
  --ink-2: #A8AFCB;
  --line: #2A3262;
  --night: #080B22;
  --on-night: #EEF1FA;
  --on-night-2: #A8AFCB;
  --ticket: #1B2250;
  --ticket-ink: #EDF0FA;
  --ticket-ink-2: #A8AFCB;
  --marigold: #F2AE33;
  --marigold-ink: #F5C15A;
  --marigold-wash: #3A2E10;
  --on-marigold: #1E1400;
  --leaf: #5CC495;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(52px, 7vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marigold-ink);
}
.night .eyebrow { color: var(--marigold); }
.lede { color: var(--ink-2); max-width: 62ch; font-size: var(--step-1); line-height: 1.5; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: var(--step-3); max-width: 24ch; }
.section-foot { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--ink-2); }
.small { font-size: 0.92rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease;
}
.btn-primary { background: var(--marigold); color: var(--on-marigold); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.text-link { color: var(--marigold-ink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn-primary:hover { transform: none; } }

/* Night band, header */
.night { background: var(--night); color: var(--on-night); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-mark { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand-mark .brand-accent { color: var(--marigold); }
.brand-deva { font-family: var(--deva); color: var(--on-night-2); font-size: 1rem; }
.nav { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--on-night-2); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-night); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-cta { color: var(--on-night) !important; border: 1.5px solid var(--on-night-2); padding: 6px 14px; border-radius: 999px; }
.nav-toggle { display: none; font: inherit; font-weight: 700; color: var(--on-night); background: transparent; border: 1.5px solid var(--on-night-2); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; font-size: 1.05rem; }
  .nav a.nav-cta { margin-top: 6px; padding: 8px 16px; }
}

/* Page hero for inner pages */
.page-hero { display: grid; gap: 14px; padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: var(--step-4); font-weight: 800; max-width: 20ch; }
.page-hero .lede { color: var(--on-night-2); }

/* Home hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 64px) clamp(52px, 7vw, 88px); }
.hero > * { min-width: 0; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }
.hero h1 { font-size: var(--step-4); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--marigold); }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .lede { color: var(--on-night-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn-ghost { color: var(--on-night); }
.hero-proof { display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: var(--step--1); color: var(--on-night-2); }
.hero-proof span::before { content: "✓"; color: var(--marigold); font-weight: 700; margin-right: 6px; }

/* Ticket stub */
.ticket { position: relative; background: var(--ticket); color: var(--ticket-ink); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 18px; }
.ticket-route { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ticket-ink-2); text-transform: uppercase; }
.ticket-title { font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin-top: 4px; }
.ticket-welcome { font-family: var(--deva); font-size: 1.5rem; color: var(--marigold-ink); line-height: 1; white-space: nowrap; }
.ticket-perf { position: relative; border-top: 2px dashed var(--line); margin: 0 18px; }
.ticket-perf::before, .ticket-perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); }
.ticket-perf::before { left: -31px; }
.ticket-perf::after { right: -31px; }
.stops { list-style: none; margin: 0; padding: 18px 24px 22px; display: grid; }
.stop { display: grid; grid-template-columns: 88px 18px 1fr; gap: 12px; }
.stop-time { font-family: var(--mono); font-size: 0.76rem; color: var(--ticket-ink-2); padding-top: 3px; line-height: 1.35; }
.stop-rail { position: relative; display: flex; justify-content: center; }
.stop-rail::before { content: ""; position: absolute; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.stop:last-child .stop-rail::before { display: none; }
.stop-dot { position: relative; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--ticket); border: 2.5px solid var(--marigold); }
.stop-dot.live { background: var(--marigold); }
.stop-body { padding-bottom: 14px; min-width: 0; }
.stop-body strong { display: block; font-size: 0.98rem; line-height: 1.35; }
.stop-body span { display: block; font-size: 0.88rem; color: var(--ticket-ink-2); line-height: 1.45; margin-top: 2px; }
.live-pill { display: inline-flex !important; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.7rem !important; letter-spacing: .05em; text-transform: uppercase; color: var(--leaf) !important; margin-top: 6px !important; }
.live-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-pill::before { animation: none; } }
@media (max-width: 420px) { .stop { grid-template-columns: 70px 16px 1fr; gap: 8px; } .ticket-head, .stops { padding-left: 18px; padding-right: 18px; } }
/* On phones the example timeline shows only its key stops, so the hero stays short. */
@media (max-width: 720px) {
  .stop.phone-hide { display: none; }
  .stop.phone-end .stop-rail::before { display: none; }
}

/* Worry grid */
.worries { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.worry { background: var(--surface); padding: 24px; display: grid; gap: 8px; align-content: start; }
.worry h3 { font-size: var(--step-1); }
.worry .q { font-style: italic; color: var(--ink-2); font-size: 0.95rem; }
.worry .a { font-size: 0.98rem; }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--marigold-ink); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--ink-2); }
.steps .when { font-family: var(--mono); font-size: 0.76rem; color: var(--ink-2); letter-spacing: .04em; }

/* Mentor cards */
.mentor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .mentor-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mentor-grid { grid-template-columns: 1fr; } }
.mentor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; text-decoration: none; color: inherit; transition: border-color .15s ease; }
a.mentor:hover { border-color: var(--marigold); }
.mentor-top { display: flex; gap: 14px; align-items: center; min-width: 0; }
.mentor-top > div { min-width: 0; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.3rem; background: var(--paper); color: var(--marigold-ink); border: 2px solid var(--marigold); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 96px; height: 96px; font-size: 2.4rem; }
.mentor-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.mentor-home { font-size: 0.9rem; color: var(--ink-2); }
.example-tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border: 1px dashed var(--ink-2); border-radius: 6px; padding: 2px 7px; margin-left: auto; align-self: flex-start; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.8rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--ink-2); }
.states { display: grid; gap: 6px; }
.states-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-2); }
.states-label b { color: var(--ink); font-variant-numeric: tabular-nums; }
.states-grid { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.states-grid i { display: block; aspect-ratio: 1; max-width: 100%; border-radius: 3px; background: var(--line); }
.states-grid i.on { background: var(--marigold); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.9rem; margin: 0; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; min-width: 0; }
.ask { font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 12px; }
.ask b { display: block; font-size: 0.74rem; font-family: var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin-bottom: 2px; }
.reply-time { font-size: 0.85rem; color: var(--leaf); }
.example-note { margin-top: 18px; font-size: 0.92rem; color: var(--ink-2); max-width: 72ch; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 24px; }
.filter-btn { font: inherit; font-size: 0.92rem; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-check { display: inline-flex; gap: 8px; align-items: center; font-size: 0.92rem; margin-left: 6px; cursor: pointer; }
.filter-check input { width: 18px; height: 18px; accent-color: var(--marigold); }
.empty { padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); text-align: center; }

/* Profile */
.profile { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 56px); align-items: start; }
.profile > * { min-width: 0; }
@media (max-width: 880px) { .profile { grid-template-columns: 1fr; } }
.profile-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.profile-head h1 { font-size: var(--step-4); font-weight: 800; }
.profile-main { display: grid; gap: 28px; }
.profile-main h2 { font-size: var(--step-1); margin-bottom: 8px; }
.profile-bio { font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; position: sticky; top: calc(16px + env(safe-area-inset-top, 0px)); }
.side-card .btn { width: 100%; }

/* Split / checklists */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split h3 { font-size: var(--step-2); margin-bottom: 14px; }
.split p.sub { color: var(--ink-2); margin-bottom: 18px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.checklist li::before { content: "✓"; font-weight: 700; color: var(--leaf); line-height: 1.6; text-align: center; }
.notice { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--marigold); background: var(--surface); font-size: 0.95rem; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.plans.two { max-width: 820px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.plan.featured { border: 2px solid var(--marigold); }
.plan-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--marigold-ink); }
.plan h3 { font-size: var(--step-2); }
.plan-price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small { font-family: var(--body); font-weight: 400; font-size: 0.95rem; color: var(--ink-2); margin-left: 6px; }
.plan-for { color: var(--ink-2); font-size: 0.95rem; }
.plan .checklist { font-size: 0.96rem; flex: 1; }
.plan .btn { width: 100%; }
.plan .btn-ghost { color: var(--ink); }
.plan-next { margin-top: -6px; font-size: 0.85rem; color: var(--ink-2); text-align: center; }
.pricing-foot { margin-top: 22px; font-size: 0.95rem; color: var(--ink-2); max-width: 72ch; }

/* Callout band */
.callout { background: var(--marigold-wash); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.callout > * { min-width: 0; }
.callout h2 { font-size: var(--step-2); margin-bottom: 8px; }
@media (max-width: 720px) { .callout { grid-template-columns: 1fr; } }
.callout-actions { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; }
.final-cta > div:first-child { display: grid; gap: 8px; }
.final-cta h2 { margin-bottom: 0; }

/* Phone bar on the home pages: price and a button, once the hero has scrolled away */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: var(--night); color: var(--on-night);
    box-shadow: 0 -8px 24px -12px rgba(0,0,0,.45);
  }
  .sticky-cta .btn { padding: 11px 18px; }
  .sticky-price { font-size: 0.92rem; color: var(--on-night-2); }
  .sticky-price b { font-family: var(--display); font-size: 1.15rem; color: var(--on-night); }
  body.has-sticky-cta { padding-bottom: 76px; }
}

/* Contact page */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.two-col > * { min-width: 0; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; background: var(--surface); }
.email-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.email-text { font-family: var(--mono); font-size: 0.95rem; user-select: all; overflow-wrap: anywhere; }
.copy-btn { font: inherit; font-size: 0.85rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.copy-status { font-size: 0.85rem; color: var(--marigold-ink); min-height: 1.2em; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--display); font-size: 1.5rem; color: var(--marigold-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }

/* Long-form text: the Delhi arrival guide and policies */
.prose { max-width: 70ch; display: grid; gap: 18px; }
.prose h2 { font-size: var(--step-2); margin-top: 18px; }
.prose h3 { font-size: var(--step-1); margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose .updated { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); letter-spacing: .03em; }
.todo { background: var(--marigold-wash); color: var(--ink); border-radius: 4px; padding: 0 4px; font-weight: 700; }

/* Footer */
.foot { padding-block: 44px 56px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-2); display: grid; gap: 20px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot-cols > * { min-width: 0; }
@media (max-width: 720px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > :first-child { grid-column: 1 / -1; } }
.foot strong { color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Owner preview ribbon (only appears while a form link is empty) */
.preview-ribbon {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--marigold); color: var(--on-marigold);
  padding-top: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; gap: 8px 12px; align-items: center; justify-content: center; flex-wrap: wrap;
  font-size: 0.88rem; text-align: center;
}
.preview-ribbon button { font: inherit; font-weight: 700; border: 1.5px solid var(--on-marigold); background: transparent; color: var(--on-marigold); border-radius: 999px; padding: 3px 12px; cursor: pointer; }

/* Forms */
.form { display: grid; gap: 28px; max-width: 760px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; display: grid; gap: 18px; background: var(--surface); min-width: 0; }
.form legend { font-family: var(--display); font-weight: 700; font-size: var(--step-1); padding: 0 8px; }
.form-more { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.form-more summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--marigold-ink); }
.form-more-body { display: grid; gap: 18px; padding: 4px 22px 22px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form input[type="number"],
.form input[type="month"], .form input[type="password"], .form input[type="url"], .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; min-width: 0;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--marigold); box-shadow: 0 0 0 3px var(--marigold-wash); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--marigold); flex: none; }
.required::after { content: " *"; color: var(--marigold-ink); }
.form-error { padding: 14px 16px; border-radius: 10px; border: 1.5px solid #C2410C; background: var(--surface); color: var(--ink); font-weight: 700; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.success-panel { max-width: 760px; display: grid; gap: 16px; padding: clamp(22px, 4vw, 36px); border: 2px solid var(--leaf); border-radius: var(--radius); background: var(--surface); }
.success-panel h2 { font-size: var(--step-2); }
.ref { font-family: var(--mono); font-size: 1.2rem; letter-spacing: .04em; color: var(--marigold-ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 520px) { .summary { grid-template-columns: 1fr; gap: 2px; } .summary dd { margin-bottom: 10px; } }

/* Screen-reader-only text */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Small link under the hero buttons */
.hero-alt { font-size: 0.95rem; color: var(--on-night-2); }
.hero-alt a { color: var(--marigold); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Example chat */
.chat-split { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.chat-split > * { min-width: 0; }
@media (max-width: 860px) { .chat-split { grid-template-columns: 1fr; } }
.chat-copy { display: grid; gap: 16px; }
.chat-copy h2 { font-size: var(--step-3); max-width: 22ch; }
.chat-figure { margin: 0; display: grid; gap: 10px; width: 100%; max-width: 440px; justify-self: center; }
.chat-figure figcaption { font-size: 0.85rem; color: var(--ink-2); text-align: center; }
.chat { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 24px 60px -32px rgba(26, 33, 80, .45); }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--night); color: var(--on-night); }
.chat-head > div:nth-child(2) { min-width: 0; }
.chat-head .example-tag { color: var(--on-night-2); border-color: var(--on-night-2); align-self: center; }
.avatar.sm { width: 38px; height: 38px; font-size: 1rem; background: var(--ticket); }
.chat-name { font-weight: 700; line-height: 1.25; }
.chat-sub { font-size: 0.82rem; color: var(--on-night-2); }
.chat-log { list-style: none; margin: 0; padding: 16px 14px 18px; display: grid; gap: 6px; }
.bubble { max-width: 86%; padding: 8px 12px 6px; border-radius: 14px; font-size: 0.94rem; line-height: 1.45; display: grid; gap: 2px; overflow-wrap: anywhere; }
.bubble.in { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 4px; }
.bubble.out { justify-self: end; background: var(--marigold-wash); border-top-right-radius: 4px; }
.bubble time { justify-self: end; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-2); }
.bubble.in + .bubble.out, .bubble.out + .bubble.in { margin-top: 8px; }

/* Trust section: founder card, promises and limits */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.founder.no-card { grid-template-columns: 1fr; }
.founder > * { min-width: 0; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } }
.founder-card { display: grid; gap: 8px; justify-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.founder-card .avatar { margin-bottom: 8px; }
.founder-card .text-link { font-size: 0.92rem; overflow-wrap: anywhere; margin-top: 6px; }
.founder-name { font-family: var(--display); font-weight: 700; font-size: var(--step-1); line-height: 1.2; }
.founder-body { display: grid; gap: 16px; max-width: 66ch; }
.founder-body h2 { font-size: var(--step-3); }
.founder-story { display: grid; gap: 14px; font-size: 1.08rem; }

/* Readiness check */
.quiz { max-width: 760px; }
.quiz-card { display: grid; gap: 22px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.quiz-card h2 { font-size: var(--step-2); outline: none; }
.quiz-progress { display: grid; gap: 8px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.quiz-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: var(--marigold); border-radius: inherit; transition: width .25s ease; }
@media (prefers-reduced-motion: reduce) { .quiz-bar i { transition: none; } }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { font: inherit; font-size: 1.02rem; text-align: left; padding: 15px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; line-height: 1.35; }
.quiz-option:hover { border-color: var(--marigold); }
.quiz-option[aria-pressed="true"] { border-color: var(--marigold); box-shadow: inset 0 0 0 1px var(--marigold); background: var(--marigold-wash); }
.text-btn { font: inherit; font-size: 0.95rem; font-weight: 700; color: var(--marigold-ink); background: none; border: 0; padding: 6px 0; cursor: pointer; justify-self: start; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.results { display: grid; gap: 28px; }
.score-card { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.score-copy { display: grid; gap: 6px; flex: 1 1 260px; min-width: 0; }
.score-copy h2 { font-size: var(--step-2); outline: none; }
.score-ring { --p: 0; flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--marigold) calc(var(--p) * 1%), var(--line) 0); }
.score-ring span { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-family: var(--display); font-weight: 800; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.results-h { font-size: var(--step-1); margin-bottom: 12px; }
.gap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: gap; }
.gap { counter-increment: gap; display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--marigold); border-radius: 12px; background: var(--surface); }
.gap::before { content: counter(gap); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--marigold-ink); }
.gap h4 { margin: 0; font-family: var(--display); font-size: 1.1rem; line-height: 1.25; }
.gap p { color: var(--ink-2); font-size: 0.97rem; }
.sorted { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--surface); }
.sorted summary { cursor: pointer; font-weight: 700; }
.sorted .checklist { margin-top: 12px; }
.rec-card { display: grid; gap: 12px; padding: clamp(22px, 4vw, 32px); border-radius: var(--radius); background: var(--night); color: var(--on-night); }
.rec-card .eyebrow { color: var(--marigold); }
.rec-card h3 { font-size: var(--step-2); }
.rec-card .muted { color: var(--on-night-2); }
.rec-card .btn-ghost { color: var(--on-night); }

/* Request tracker */
.tracker { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.tracker > * { min-width: 0; }
@media (max-width: 880px) { .tracker { grid-template-columns: 1fr; } }
.tracker-main { display: grid; gap: 28px; }
.tracker-now { display: grid; gap: 10px; padding: clamp(20px, 4vw, 30px); border: 2px solid var(--leaf); border-radius: var(--radius); background: var(--surface); }
.tracker-now.stopped { border-color: var(--line); }
.tracker-message { font-size: var(--step-1); line-height: 1.45; }
.tracker-now .form-actions { margin-top: 6px; }
.tracker-ticket .ticket-perf::before, .tracker-ticket .ticket-perf::after { background: var(--paper); }
.tracker-ticket { box-shadow: 0 18px 44px -28px rgba(26, 33, 80, .5); border: 1px solid var(--line); }
.stop.track-upcoming .stop-body strong, .stop.track-stopped .stop-body strong { color: var(--ticket-ink-2); font-weight: 400; }
.stop.track-upcoming .stop-dot, .stop.track-stopped .stop-dot { border-color: var(--line); }
.stop.track-done .stop-dot { background: var(--marigold); }
.updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.updates li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; font-size: 0.95rem; }
.updates time { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); padding-top: 2px; }
@media (max-width: 520px) { .updates li { grid-template-columns: 1fr; gap: 0; } }

.rating-row { gap: 8px 18px; }
