/* Layout: warm-paper pages, 1200px max column, guide pages = sticky "On this page" rail + one reading column; teal bands mark help moments. */
:root {
  --surface: #FAF7F2;
  --surface-raised: #FFFFFF;
  --line: #E3DDD3;
  --line-strong: #A9B4B2;
  --ink: #14262A;
  --ink-muted: #4F6266;
  --harbour: #0F5257;
    --harbour-soft: #DCEBE8;
  --on-harbour: #FFFFFF;
  --sun: #F2B33D;
  --on-sun: #14262A;
  --success: #2E6B47;
  --critical: #9C3B1F;
  --critical-soft: #F7E4DC;
  --mark-bg: #0F5257;
  --mark-fg: #FAF7F2;
  --band-ink: #FFFFFF;
  --band-bg: #0F5257;
  --band-muted: #DCEBE8;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Noto Sans Devanagari", "Noto Sans Gurmukhi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0F1A1C; --surface-raised: #162427; --line: #26383B; --line-strong: #4A5E61;
    --ink: #EEF2F0; --ink-muted: #A7B6B5; --harbour: #6CC2B9;
    --harbour-soft: #1F4A4C; --on-harbour: #0F1A1C; --sun: #F2B33D; --on-sun: #14262A;
    --success: #7FCB9C; --critical: #F08A6C; --critical-soft: #3A2019;
    --mark-bg: #6CC2B9; --mark-fg: #0F1A1C; --band-ink: #EEF2F0; --band-muted: #A7B6B5; --band-bg: #10292C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #0F1A1C; --surface-raised: #162427; --line: #26383B; --line-strong: #4A5E61;
  --ink: #EEF2F0; --ink-muted: #A7B6B5; --harbour: #6CC2B9;
  --harbour-soft: #1F4A4C; --on-harbour: #0F1A1C; --sun: #F2B33D; --on-sun: #14262A;
  --success: #7FCB9C; --critical: #F08A6C; --critical-soft: #3A2019;
  --mark-bg: #6CC2B9; --mark-fg: #0F1A1C; --band-ink: #EEF2F0; --band-muted: #A7B6B5; --band-bg: #10292C;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--harbour); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 1.45; }

.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: 64px; }
.section-tight { padding-block: 40px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--harbour); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--sun); color: var(--on-sun); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 20; }
.skip:focus { left: 16px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.wordmark span { color: var(--harbour); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; font-weight: 600; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding-block: 8px; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--harbour); text-decoration: underline; }
@media (max-width: 640px) { .main-nav { gap: 2px 14px; font-size: 14px; } .main-nav .btn { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-md); font: 600 17px/1.2 var(--font-body); text-decoration: none; border: 0; cursor: pointer; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--harbour); color: var(--on-harbour); }
.btn-primary:hover { background: var(--ink); color: var(--surface); }
.btn-sun { background: var(--sun); color: var(--on-sun); }
.btn-sun:hover { background: #E0A12C; color: var(--on-sun); }
.btn-ghost { background: transparent; color: var(--harbour); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--harbour); color: var(--harbour); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Banner */
.notice-bar { background: var(--harbour-soft); }
.notice-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding-block: 10px; font-size: 15px; line-height: 1.45; }
.notice-bar strong { color: var(--harbour); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 64px 56px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-copy .lede { font-size: 19px; line-height: 1.6; color: var(--ink-muted); max-width: 34em; }
.trust { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-muted); }
.trust svg { flex: 0 0 auto; color: var(--success); }
.panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.hero-panel { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.goal-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.goal { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); text-decoration: none; min-height: 44px; }
.goal strong { font-size: 16px; }
.goal span { font-size: 13px; line-height: 1.35; color: var(--ink-muted); }
.goal:hover { border-color: var(--harbour); background: var(--harbour-soft); color: var(--ink); }

/* Cards and grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; min-width: 0; }
a.card:hover { border-color: var(--harbour); color: var(--ink); }
.card .more { margin-top: auto; font-weight: 600; color: var(--harbour); font-size: 15px; }
.card p { color: var(--ink-muted); font-size: 16px; line-height: 1.55; }
.card-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--harbour-soft); color: var(--harbour); display: inline-flex; align-items: center; justify-content: center; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-sm); background: var(--harbour-soft); color: var(--harbour); }
.tag-urgent { background: var(--critical-soft); color: var(--critical); }
.step-num { width: 36px; height: 36px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; background: var(--harbour-soft); color: var(--harbour); }
.step-num.sun { background: var(--sun); color: var(--on-sun); }

/* Bands */
.band-light { background: var(--surface-raised); border-block: 1px solid var(--line); }
.band-harbour { background: var(--band-bg); color: var(--band-ink); }
.band-harbour h2, .band-harbour h3 { color: var(--band-ink); }
.band-harbour p { color: var(--band-muted); }
.band-harbour .card { background: var(--surface-raised); }
.band-harbour .card p { color: var(--ink-muted); }
.band-harbour .card h3 { color: var(--ink); }
.band-soft { background: var(--harbour-soft); }

/* Guide pages */
.crumbs { font-size: 14px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 6px; padding-top: 24px; }
.crumbs a { color: var(--ink-muted); }
.page-head { display: flex; flex-direction: column; gap: 14px; padding-block: 16px 32px; max-width: 820px; }
.page-head .lede { font-size: 19px; color: var(--ink-muted); }
.checked { font-size: 14px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.guide { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: 64px; }
.toc { flex: 1 1 220px; max-width: 260px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); font-size: 15px; }
.toc h2 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--harbour); }
@media (max-width: 900px) { .toc { position: static; max-width: none; flex-basis: 100%; } .toc ol { columns: 2 180px; } }
.article { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.article section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.article section > p, .article li { max-width: 68ch; }
.article ul, .article ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.article h3 { margin-top: 8px; }

/* At a glance table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); }
table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface); }
tbody th { font-weight: 600; width: 34%; }
td { font-variant-numeric: tabular-nums; }
.compare th, .compare td { min-width: 160px; }

/* Callouts */
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--harbour-soft); }
.callout svg { flex: 0 0 auto; margin-top: 2px; color: var(--harbour); }
.callout .stack { gap: 8px; min-width: 0; }
.callout strong { color: var(--ink); }
.callout-urgent { background: var(--critical-soft); }
.callout-urgent svg { color: var(--critical); }
.callout-sun { background: var(--surface-raised); border: 2px solid var(--sun); }

/* Steps */
.steps { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 14px !important; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; max-width: none !important; }
.steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--harbour-soft); color: var(--harbour); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.steps li strong { display: block; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; min-height: 44px; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.faq details > p { padding-bottom: 16px; color: var(--ink-muted); }

/* Help strip and sources */
.help-strip { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 2px solid var(--sun); }
.help-strip .stack { gap: 6px; flex: 1 1 320px; min-width: 0; }
.sources { font-size: 15px; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 20px; }
.sources ul { padding-left: 1.2em; }
.disclaimer { font-size: 14px; color: var(--ink-muted); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
input, select, textarea { font: 400 17px/1.4 var(--font-body); color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-note { font-size: 14px; color: var(--ink-muted); }
.form-status { padding: 12px 16px; border-radius: var(--radius-md); background: var(--harbour-soft); font-size: 15px; }

/* Language chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-raised); }
.chip.on { border-color: var(--harbour); color: var(--harbour); font-weight: 600; }

/* Pathway Finder */
.finder { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 64px; }
.finder-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.finder-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.progress { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--harbour); border-radius: 6px; transition: width .25s; }
@media (prefers-reduced-motion: reduce) { .progress span { transition: none; } }
.q-title { font-size: 22px; line-height: 1.35; font-weight: 600; }
.options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 14px 16px; min-height: 56px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font: 600 17px/1.35 var(--font-body); cursor: pointer; }
.opt span { font-weight: 400; font-size: 14px; color: var(--ink-muted); }
.opt:hover { border-color: var(--harbour); }
.opt[aria-pressed="true"] { border: 2px solid var(--harbour); background: var(--harbour-soft); padding: 13px 15px; }
.answers { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.answers button { font: 600 14px/1.2 var(--font-body); padding: 6px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); cursor: pointer; }
.result { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); }
.result.top { border: 2px solid var(--harbour); }
.result.urgent { border: 2px solid var(--critical); }
.result ul { margin: 0; padding-left: 1.2em; }

/* Footer */
.site-footer { background: #14262A; color: #EEF2F0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #0A1416; } }
:root[data-theme="dark"] .site-footer { background: #0A1416; }
.site-footer .wrap { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.footer-brand .wordmark { color: #EEF2F0; }
.footer-brand .wordmark span { color: #6CC2B9; }
.footer-brand p { color: #A7B6B5; font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.footer-nav div { display: flex; flex-direction: column; gap: 4px; }
.footer-nav h2 { font: 600 15px/1.6 var(--font-body); color: #EEF2F0; }
.footer-nav a { color: #A7B6B5; text-decoration: none; font-size: 15px; padding-block: 2px; }
.footer-nav a:hover { color: #EEF2F0; text-decoration: underline; }
.footer-legal { border-top: 1px solid #26383B; padding-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #A7B6B5; }
.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; }

.finder-side .help-strip .stack { flex: none; }

/* Photos: illustrative scenes. A tinted 3:2 block holds the space if a file is missing. */
.photo { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.photo img { display: block; width: 100%; max-width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); background: var(--harbour-soft); color: var(--ink-muted); font-size: 14px; }
.photo figcaption { font-size: 13px; color: var(--ink-muted); }

/* Service tiers */
.tiers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tier { gap: 14px; }
.tier ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.tier .price { font-weight: 600; color: var(--ink); font-size: 15px; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier.featured { border: 2px solid var(--sun); }

/* ---------- Full service ("we handle it") treatment ---------- */
.tag-sun { background: var(--sun); color: var(--on-sun); }
.btn-handover .hand-icon { flex: 0 0 auto; }
.btn-handover:hover .hand-icon { transform: translateX(3px); }
.hand-icon { transition: transform .2s ease; }

/* Hand-over card: used on guides, finder results, index, about */
.help-options { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.help-options .help-strip { flex-direction: column; align-items: flex-start; }
.handover-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  padding: 24px; border-radius: var(--radius-lg); background: var(--band-bg); color: var(--band-ink);
  text-decoration: none; min-width: 0; isolation: isolate;
  transition: transform .2s ease;
}
.handover-card strong { font-family: var(--font-display); font-size: 22px; line-height: 1.25; color: var(--band-ink); }
.handover-card span:not(.tag):not(.more) { color: var(--band-muted); font-size: 16px; line-height: 1.5; }
.handover-card .more { margin-top: auto; font-weight: 600; color: var(--sun); }
.handover-card:hover { color: var(--band-ink); transform: translateY(-2px); }
.handover-card:hover .more { text-decoration: underline; }
/* a slow rising sun in the corner: the brand mark's motif */
.handover-card::after {
  content: ""; position: absolute; z-index: -1; right: -40px; bottom: -70px; width: 160px; height: 160px;
  border-radius: 50%; background: var(--sun); opacity: .16; animation: sunrise 7s ease-in-out infinite alternate;
}
@keyframes sunrise { from { transform: translateY(18px); } to { transform: translateY(-6px); } }

/* Card hover lift */
a.card { transition: transform .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-2px); }
.tier.featured { position: relative; }

/* Journey: four steps, a sun travels the line */
.handover-feature { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.handover-title { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; color: var(--band-ink); }
.journey { position: relative; }
.journey-track { position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; background: rgba(255,255,255,.22); border-radius: 2px; }
.journey-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--sun); border-radius: 2px; transition: width .9s ease; }
.journey-fill::after { content: ""; position: absolute; right: -7px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(242,179,61,.25); }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.j-step { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.j-step strong { color: var(--band-ink); font-size: 17px; }
.j-step span:not(.j-dot) { color: var(--band-muted); font-size: 15px; line-height: 1.5; }
.j-dot { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 6px;
  background: var(--band-bg); color: var(--band-ink); border: 2px solid rgba(255,255,255,.35); transition: background .4s ease, color .4s ease, border-color .4s ease, transform .4s ease; position: relative; }
.j-step.on .j-dot { background: var(--sun); color: var(--on-sun); border-color: var(--sun); }
.j-step.now .j-dot { transform: scale(1.12); }
@media (max-width: 760px) {
  .journey-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .j-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
  .j-dot { grid-row: span 2; margin-bottom: 0; }
  .journey-track { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .journey-fill { width: 100%; height: 100%; transition: height .9s ease; }
  .journey-fill::after { right: -6px; top: auto; bottom: -7px; }
}

/* Floating hand-over pill */
.handover-pill {
  position: fixed; z-index: 15;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 4px; max-width: min(420px, calc(100vw - 32px));
  background: var(--band-bg); color: var(--band-ink); border-radius: 999px; padding: 6px 6px 6px 8px;
  box-shadow: 0 10px 30px rgba(10, 30, 32, .28);
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.handover-pill.show { transform: translateY(0); }
.handover-pill > a { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; color: var(--band-ink); text-decoration: none; min-width: 0; border-radius: 999px; }
.pill-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); flex: 0 0 auto; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,179,61,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(242,179,61,0); } }
.pill-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pill-text strong { font-size: 15px; }
.pill-text span { font-size: 13px; color: var(--band-muted); }
.pill-arrow { font-size: 20px; color: var(--sun); transition: transform .2s ease; }
.handover-pill > a:hover .pill-arrow { transform: translateX(4px); }
.pill-close { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--band-muted); font-size: 22px; line-height: 1; cursor: pointer; }
.pill-close:hover { background: rgba(255,255,255,.12); color: var(--band-ink); }
@media (max-width: 640px) {
  .handover-pill { left: calc(12px + env(safe-area-inset-left, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: none; border-radius: var(--radius-lg); }
  .handover-pill > a { flex: 1 1 auto; }
}

/* Load-in: the logo's sun rises, hero settles. Content is fully visible throughout. */
.site-header .mark circle { animation: mark-rise .9s cubic-bezier(.2,.8,.2,1) both; transform-box: fill-box; }
@keyframes mark-rise { from { transform: translateY(5px); } to { transform: translateY(0); } }
.hero-copy > *, .hero-panel { animation: settle .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .05s; }
.hero-copy > *:nth-child(3) { animation-delay: .1s; }
.hero-copy > *:nth-child(4) { animation-delay: .15s; }
.hero-panel { animation-delay: .2s; }
@keyframes settle { from { transform: translateY(10px); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.help-options .help-strip .stack { flex: 0 1 auto; }
.help-options .help-strip .btn { margin-top: auto; }

/* Seasonal guide band on the homepage */
.seasonal-band { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; }
.seasonal-band .more { margin-top: 0; }

/* Employer season calendar: a simple 5-step strip */
.season-cal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: c; }
.season-cal li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); min-width: 0; counter-increment: c; animation: settle .6s cubic-bezier(.2,.8,.2,1) both; }
.season-cal li::before { content: counter(c); font-size: 12px; font-weight: 600; color: var(--harbour); }
.season-cal li:nth-child(2) { animation-delay: .08s; } .season-cal li:nth-child(3) { animation-delay: .16s; } .season-cal li:nth-child(4) { animation-delay: .24s; } .season-cal li:nth-child(5) { animation-delay: .32s; border-color: var(--sun); }
.season-cal strong { font-size: 14px; line-height: 1.3; }
.season-cal span { font-size: 12.5px; line-height: 1.35; color: var(--ink-muted); }
@media (max-width: 900px) { .season-cal { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); } }

/* Small-to-large scale bars (employers) */
.scale-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; height: 240px; }
.scale-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-width: 0; }
.scale-bar .bar { display: block; height: calc(var(--h) * 0.62); min-height: 28px; border-radius: var(--radius-md) var(--radius-md) 4px 4px; background: var(--harbour); transform-origin: bottom; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; margin-bottom: 8px; }
.scale-bar:nth-child(2) .bar { animation-delay: .12s; } .scale-bar:nth-child(3) .bar { animation-delay: .24s; }
.scale-bar .bar.sun { background: var(--sun); }
.scale-bar strong { font-size: 15px; }
.scale-bar span:not(.bar) { font-size: 13px; line-height: 1.35; color: var(--ink-muted); }
@keyframes grow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

/* Accreditation planner */
.planner { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.planner-inputs { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.planner-inputs output { color: var(--harbour); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; padding: 0; min-height: 44px; background: transparent; border: 0; --fill: 4%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(to right, var(--harbour) var(--fill), var(--line) var(--fill)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--harbour); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--sun); border: 3px solid var(--surface-raised); box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--sun); border: 3px solid var(--surface-raised); cursor: pointer; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised); font-weight: 600; font-size: 15px; cursor: pointer; }
.seg input:checked + label { border: 2px solid var(--harbour); background: var(--harbour-soft); color: var(--ink); padding: 9px 15px; }
.seg input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.planner-result { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius-lg); background: var(--harbour-soft); min-width: 0; }
.plan-type { font-family: var(--font-display); font-size: 26px; line-height: 1.2; font-weight: 600; color: var(--ink); }
.plan-fee { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 10px; border-block: 1px solid var(--line-strong); }
.plan-fee strong { font-variant-numeric: tabular-nums; }
.planner-result .btn { align-self: flex-start; margin-top: 4px; }

/* Six-step process strip */
.process-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; counter-reset: p; }
.process-strip li { counter-increment: p; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: var(--radius-md); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); min-width: 0; animation: settle .6s cubic-bezier(.2,.8,.2,1) both; }
.process-strip li::before { content: counter(p); width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; background: var(--sun); color: var(--on-sun); margin-bottom: 6px; }
.process-strip li:nth-child(2) { animation-delay: .06s; } .process-strip li:nth-child(3) { animation-delay: .12s; } .process-strip li:nth-child(4) { animation-delay: .18s; } .process-strip li:nth-child(5) { animation-delay: .24s; } .process-strip li:nth-child(6) { animation-delay: .3s; }
.process-strip strong { color: var(--band-ink); }
.process-strip span { color: var(--band-muted); font-size: 14px; line-height: 1.4; }
.seg { position: relative; }
.seg input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }

/* ---------- Blog ---------- */
.post-card { gap: 10px; }
.post-card h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.3; }
.post-meta { margin-top: auto; font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
a.tag { text-decoration: none; }
.byline { font-size: 14px; color: var(--ink-muted); }
.post { max-width: 760px; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 18px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose .small { font-size: 15px; }
.post-end { display: flex; flex-direction: column; gap: 16px; padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.chip { text-decoration: none; color: var(--ink); }
a.chip:hover { border-color: var(--harbour); color: var(--harbour); }

/* ---------- FAQ page ---------- */
.faq-search { display: flex; flex-direction: column; gap: 8px; max-width: 680px; padding: 20px; margin-bottom: 20px; }
.faq-topics { padding-bottom: 32px; }
.faq-groups { display: flex; flex-direction: column; gap: 40px; padding-bottom: 32px; max-width: 880px; }
.faq-group { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.faq details > p a { font-weight: 600; }

/* ---------- Community ---------- */
.boards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.board { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); scroll-margin-top: 90px; transition: transform .2s ease, border-color .2s ease; min-width: 0; }
.board:hover, .board:target { border-color: var(--harbour); transform: translateY(-2px); }
.board-feature { grid-column: 1 / -1; border: 2px solid var(--sun); }
.board-head { display: flex; gap: 14px; align-items: flex-start; }
.board-head h3 { font-size: 18px; }
.board-head p { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.board-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; background: var(--harbour-soft); color: var(--harbour); }
.board-icon.sun { background: var(--sun); color: var(--on-sun); }
.subs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.subs li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.subs li::before { content: "r/ "; color: var(--ink-muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 14px; }
.feature-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); grid-row: span 2; margin-top: 8px; }
.feature-list span { color: var(--ink-muted); font-size: 16px; }
.thread-demo { display: flex; gap: 16px; padding: 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface-raised); }
.vote { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-muted); font-size: 13px; }
.vote b { color: var(--harbour); font-size: 16px; }
.small-chip { font-size: 12px; padding: 3px 8px; }
.answer { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--harbour-soft); }
.badge-check { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: var(--radius-sm); background: var(--success); color: var(--surface-raised); }
.card { overflow-wrap: anywhere; }
