/* ==========================================================================
   Zenova Education - site stylesheet
   Layout concept: transit-map signage. Left-aligned editorial columns on a cool
   platform-grey ground. The four coloured study routes (E, V, U, P) are the only
   loud element; everything else stays quiet and typographic.
   ========================================================================== */

:root {
  /* Colour - light (taken from the Zenova logo: deep navy, indigo-to-violet, lavender) */
  --bg: #F5F4FA;
  --surface: #FFFFFF;
  --surface-2: #EDEBF5;
  --ink: #0F1441;
  --ink-2: #4E4B6E;
  --line: #DEDAEB;
  --line-strong: #B4ADCA;
  --accent: #5E40A0;
  --accent-hover: #4C3188;
  --accent-ink: #FFFFFF;
  --accent-soft: #ECE6F8;
  --focus: #4F46E5;
  --route-e: #0B7F72;
  --route-v: #F2A20C;
  --route-u: #6E4FB8;
  --route-p: #D7263D;
  --route-e-ink: #FFFFFF;
  --route-v-ink: #0F1441;
  --route-u-ink: #FFFFFF;
  --route-p-ink: #FFFFFF;
  --band-bg: #1B1B48;
  --band-panel: #26265E;
  --band-fg: #F1EFF9;
  --band-fg-2: #BAB6D8;
  --band-line: #35357A;
  --band-accent: #C9B2F5;
  --grid-dot: #DAD5EA;
  --success: #12804B;
  --success-soft: #DDF3E7;
  --danger: #B42335;
  --danger-soft: #FBE4E7;
  --shadow: 0 1px 2px rgb(27 27 72 / .06), 0 10px 28px -14px rgb(27 27 72 / .24);
  --show-on-light: block;
  --show-on-dark: none;
  /* Type */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-deva: "Mukta", "Noto Sans Devanagari", "Nirmala UI", sans-serif;

  --step--2: .7rem;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.22rem;
  --step-2: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  --step-3: clamp(1.7rem, 1.35rem + 1.4vw, 2.35rem);
  --step-4: clamp(2.1rem, 1.55rem + 2.4vw, 3.3rem);
  --step-5: clamp(2.5rem, 1.55rem + 4.1vw, 4.5rem);

  /* Shape and layout */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0B22;
    --surface: #151437;
    --surface-2: #1C1B45;
    --ink: #EEECF9;
    --ink-2: #ADA9CD;
    --line: #2A2959;
    --line-strong: #45437C;
    --accent: #AE90F2;
    --accent-hover: #C2AAF7;
    --accent-ink: #120F2E;
    --accent-soft: #2A2256;
    --focus: #9AA5FF;
    --route-e: #2BB8A4;
    --route-v: #F5B030;
    --route-u: #AE90F2;
    --route-p: #F2566A;
    --route-e-ink: #0C0B22;
    --route-v-ink: #0C0B22;
    --route-u-ink: #0C0B22;
    --route-p-ink: #0C0B22;
    --band-bg: #08071A;
    --band-panel: #151437;
    --band-fg: #EEECF9;
    --band-fg-2: #ADA9CD;
    --band-line: #2A2959;
    --band-accent: #C9B2F5;
    --grid-dot: #201F4D;
    --success: #4ACB8C;
    --success-soft: #10301F;
    --danger: #FF7385;
    --danger-soft: #3A1520;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 14px 32px -16px rgb(0 0 0 / .7);
    --show-on-light: none;
    --show-on-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0B22;
  --surface: #151437;
  --surface-2: #1C1B45;
  --ink: #EEECF9;
  --ink-2: #ADA9CD;
  --line: #2A2959;
  --line-strong: #45437C;
  --accent: #AE90F2;
  --accent-hover: #C2AAF7;
  --accent-ink: #120F2E;
  --accent-soft: #2A2256;
  --focus: #9AA5FF;
  --route-e: #2BB8A4;
  --route-v: #F5B030;
  --route-u: #AE90F2;
  --route-p: #F2566A;
  --route-e-ink: #0C0B22;
  --route-v-ink: #0C0B22;
  --route-u-ink: #0C0B22;
  --route-p-ink: #0C0B22;
  --band-bg: #08071A;
  --band-panel: #151437;
  --band-fg: #EEECF9;
  --band-fg-2: #ADA9CD;
  --band-line: #2A2959;
  --band-accent: #C9B2F5;
  --grid-dot: #201F4D;
  --success: #4ACB8C;
  --success-soft: #10301F;
  --danger: #FF7385;
  --danger-soft: #3A1520;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 14px 32px -16px rgb(0 0 0 / .7);
  --show-on-light: none;
  --show-on-dark: block;
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "opsz" 48;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.012em; line-height: 1.25; }
h4 { font-size: var(--step-0); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:lang(ne) { font-family: var(--font-deva); font-weight: 600; letter-spacing: 0; }

a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.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;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: .6rem 1rem; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.75rem); }

.section-head { display: grid; gap: .9rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 62ch; }
.section-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 2rem; }
.section-head--split > div { display: grid; gap: .9rem; max-width: 62ch; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2);
}
.kdot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid var(--accent); background: var(--surface); flex: none;
}
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2); white-space: nowrap;
}
.tag--accent { background: var(--accent-soft); color: var(--ink); }

/* Route roundels (E / V / U / P) */
.roundel {
  display: inline-grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; line-height: 1;
}
.roundel--e { background: var(--route-e); color: var(--route-e-ink); }
.roundel--v { background: var(--route-v); color: var(--route-v-ink); }
.roundel--u { background: var(--route-u); color: var(--route-u-ink); }
.roundel--p { background: var(--route-p); color: var(--route-p-ink); }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.3rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: transparent; color: var(--band-fg); border-color: var(--band-fg); }
.btn-light:hover { background: var(--band-fg); color: var(--band-bg); }
.band .btn-primary { background: var(--band-accent); color: var(--band-bg); }
.band .btn-primary:hover { background: var(--band-fg); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-quiet:hover { background: var(--line); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .93rem; }
.btn-lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; text-decoration: none; color: var(--ink);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--accent); }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --------------------------------------------------------------------------
   Notice bar, header, navigation
   -------------------------------------------------------------------------- */
.notice { background: var(--band-bg); color: var(--band-fg); font-size: var(--step--1); }
.notice__inner { display: flex; align-items: center; gap: .75rem; padding-block: .55rem; }
.notice__tag {
  flex: none; font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--band-accent); color: var(--band-bg); padding: .2rem .55rem; border-radius: 999px;
}
.notice p { min-width: 0; }
.notice a { color: var(--band-fg); font-weight: 700; text-decoration-color: var(--band-accent); }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { display: block; height: 50px; width: auto; max-width: none; }
.brand__logo--color { display: var(--show-on-light); }
.brand__logo--white { display: var(--show-on-dark); }

.nav { display: flex; align-items: center; gap: 1.45rem; margin-left: .5rem; }
.nav a {
  position: relative; padding-block: .5rem; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: .98rem; color: var(--ink-2);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 9px; height: 9px;
  translate: -50% 0; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--accent);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
.theme-toggle[aria-pressed="true"] .i-sun { display: block; }
.theme-toggle[aria-pressed="true"] .i-moon { display: none; }
.menu-btn { display: none; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }

.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); }
.mobile-nav__inner { display: grid; gap: 1.25rem; padding-block: 1.25rem 1.75rem; }
.mobile-nav__links { display: grid; }
.mobile-nav__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: none;
}
.mobile-nav__links a[aria-current="page"] { color: var(--ink); }
.mobile-nav__links a[aria-current="page"]::after {
  content: ""; width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--accent);
}
.mobile-nav__ctas { display: grid; gap: .6rem; }

@media (max-width: 1200px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 640px) {
  .header-cta { white-space: nowrap; }
.header-cta { display: none; }
  .site-header__inner { min-height: 64px; gap: .75rem; }
  .brand__logo { height: 40px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__copy { display: grid; gap: 1.5rem; min-width: 0; }
.display {
  font-size: var(--step-5); font-weight: 800; line-height: 1.0;
  letter-spacing: -.04em; font-variation-settings: "opsz" 96;
}
.hl {
  background: linear-gradient(transparent 68%, var(--accent-soft) 68%, var(--accent-soft) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-2); font-size: .97rem; font-weight: 600; }
.proof li { display: inline-flex; align-items: center; gap: .5rem; }
.proof li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  border: 2.5px solid var(--ink); background: var(--surface);
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* Route map */
.route-map {
  margin: 0; min-width: 0;
  background-color: var(--surface);
  background-image: radial-gradient(var(--grid-dot) 1.1px, transparent 1.5px);
  background-size: 22px 22px; background-position: 11px 11px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(14px, 2.5vw, 26px); box-shadow: var(--shadow);
  display: grid; gap: 1rem;
}
.map { width: 100%; height: auto; display: block; overflow: visible; }
.map .route { fill: none; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.map .rt--e .route { stroke: var(--route-e); }
.map .rt--v .route { stroke: var(--route-v); }
.map .rt--u .route { stroke: var(--route-u); }
.map .rt--p .route { stroke: var(--route-p); }
.map .stn { fill: var(--surface); stroke-width: 4; }
.map .rt--e .stn { stroke: var(--route-e); }
.map .rt--v .stn { stroke: var(--route-v); }
.map .rt--u .stn { stroke: var(--route-u); }
.map .rt--p .stn { stroke: var(--route-p); }
.map .rnd--e { fill: var(--route-e); }
.map .rnd--v { fill: var(--route-v); }
.map .rnd--u { fill: var(--route-u); }
.map .rnd--p { fill: var(--route-p); }
.map .rnd-t { font-family: var(--font-display); font-weight: 800; font-size: 15px; text-anchor: middle; dominant-baseline: central; }
.map .rt--e .rnd-t { fill: var(--route-e-ink); }
.map .rt--v .rnd-t { fill: var(--route-v-ink); }
.map .rt--u .rnd-t { fill: var(--route-u-ink); }
.map .rt--p .rnd-t { fill: var(--route-p-ink); }
.map .lbl { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; fill: var(--ink); }
.map .lbl-o { font-family: var(--font-body); font-size: 14px; font-weight: 750; fill: var(--ink); }
.map .lbl-m { font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; fill: var(--ink-2); }
.map .hub { fill: var(--surface); stroke: var(--ink); stroke-width: 4; }
.map .hub-t { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .34em; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.map .train { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.map .rt { transition: opacity .25s ease; }
.route-map[data-active] .rt { opacity: .14; }
.route-map[data-active="e"] .rt--e,
.route-map[data-active="v"] .rt--v,
.route-map[data-active="u"] .rt--u,
.route-map[data-active="p"] .rt--p { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .map .train { display: none; } }

.route-legend { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.route-legend button {
  width: 100%; display: flex; align-items: center; gap: .65rem; text-align: left;
  font: inherit; font-size: .9rem; line-height: 1.35; color: var(--ink);
  background: transparent; border: 1.5px solid transparent; border-radius: 12px;
  padding: .45rem .55rem; cursor: pointer;
}
.route-legend button:hover, .route-legend button[aria-pressed="true"] { background: var(--surface-2); border-color: var(--line); }
.route-legend .roundel { width: 26px; height: 26px; font-size: .82rem; }
.route-legend strong { font-weight: 750; }
.route-legend .via { display: block; color: var(--ink-2); }
@media (max-width: 560px) {
  .map .lbl, .map .lbl-m, .map .lbl-o { display: none; }
  .route-legend { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.25rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: grid; gap: 1.25rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; font-variation-settings: "opsz" 96; }
.crumbs { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.jump a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); text-decoration: none; font-weight: 600; font-size: .93rem;
}
.jump a:hover { border-color: var(--ink); }
.jump .kdot { width: 10px; height: 10px; border-width: 2.5px; }

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* Services overview */
.service-card {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: .7rem; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.service-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.service-card p { color: var(--ink-2); }
.service-card .link-arrow { margin-top: .35rem; font-size: .95rem; }
.icon-tile {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink);
}
.icon-tile svg { width: 24px; height: 24px; }
.service-card--partner { background: var(--accent-soft); border-color: transparent; }
.service-card--partner .icon-tile { background: var(--surface); }

/* --------------------------------------------------------------------------
   Tabs ("Where are you starting from?")
   -------------------------------------------------------------------------- */
.tabs__list {
  display: inline-flex; gap: .3rem; padding: .3rem; max-width: 100%; overflow-x: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  flex: none; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink-2);
  background: transparent; border: 0; border-radius: 999px; padding: .65rem 1.15rem; cursor: pointer;
  white-space: nowrap;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 640px) {
  .tabs__list { display: flex; flex-wrap: wrap; border-radius: 22px; }
  .tabs__tab { flex: 1 1 auto; }
}
.tabs__panel {
  margin-top: 1.25rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3.5vw, 2.5rem);
  display: grid; gap: 2rem;
}
.panel-intro { display: grid; gap: .5rem; max-width: 62ch; }
.panel-intro p { color: var(--ink-2); }
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding-top: 1.5rem; border-top: 1px dashed var(--line-strong); }
.panel-foot p { color: var(--ink-2); font-size: .95rem; flex: 1 1 18rem; }

/* Numbered route steps (real sequences only) */
.route-steps {
  --rc: var(--accent);
  list-style: none; position: relative; counter-reset: stop;
  display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 1.25rem;
}
.route-steps::before {
  content: ""; position: absolute; left: 14px; top: 12px; height: 6px;
  right: calc((100% - (var(--n, 5) - 1) * 1.25rem) / var(--n, 5) - 15px);
  background: var(--rc); border-radius: 3px;
}
.route-steps > li { position: relative; padding-top: 2.6rem; display: grid; gap: .4rem; align-content: start; min-width: 0; }
.route-steps > li::before {
  counter-increment: stop; content: counter(stop);
  position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--rc);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600; color: var(--ink);
}
.route-steps h3 { font-size: 1.08rem; }
.route-steps p { color: var(--ink-2); font-size: .97rem; }
.route-steps--e { --rc: var(--route-e); }
.route-steps--u { --rc: var(--route-u); }
.route-steps--p { --rc: var(--route-p); }
@media (max-width: 860px) {
  .route-steps { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .route-steps::before { left: 12px; right: auto; top: 14px; bottom: 14px; width: 6px; height: auto; }
  .route-steps > li { padding-top: 0; padding-left: 3rem; }
}

/* --------------------------------------------------------------------------
   Dark band: migration agent partner
   -------------------------------------------------------------------------- */
.band { background: var(--band-bg); color: var(--band-fg); padding-block: clamp(3.25rem, 7vw, 6rem); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.band__copy { display: grid; gap: 1.25rem; justify-items: start; }
.band .kicker { color: var(--band-fg-2); }
.band h2 { color: var(--band-fg); }
.band p { color: var(--band-fg-2); max-width: 56ch; }
.band .fine { font-size: var(--step--1); }
.band a:not(.btn) { color: var(--band-fg); text-decoration-color: var(--band-accent); }
@media (max-width: 900px) { .band__grid { grid-template-columns: minmax(0, 1fr); } }

.agent-card {
  display: grid; gap: 1.1rem; min-width: 0;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow);
}
.band .agent-card { background: var(--band-panel); color: var(--band-fg); border-color: var(--band-line); box-shadow: none; }
.agent-card__top { display: flex; align-items: center; gap: 1rem; }
.agent-avatar {
  width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--accent);
}
.band .agent-avatar { box-shadow: 0 0 0 4px var(--band-panel), 0 0 0 6px var(--accent); }
.agent-name { font-family: var(--font-display); font-weight: 750; font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.15; color: var(--ink); }
.band .agent-name { color: var(--band-fg); }
.agent-role { color: var(--ink-2); font-size: .95rem; }
.band .agent-role { color: var(--band-fg-2); }
.agent-meta { margin: 0; display: grid; gap: .1rem; border-top: 1px dashed var(--line-strong); padding-top: .9rem; }
.band .agent-meta { border-color: var(--band-line); }
.agent-meta div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-block: .3rem; }
.agent-meta dt { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-top: .2rem; }
.band .agent-meta dt { color: var(--band-fg-2); }
.agent-meta dd { margin: 0; font-weight: 650; min-width: 0; }
.agent-meta .marn { font-family: var(--font-mono); font-weight: 600; letter-spacing: .08em; font-size: 1.05rem; }
.agent-verify { font-weight: 700; font-size: .95rem; }

/* --------------------------------------------------------------------------
   Places
   -------------------------------------------------------------------------- */
.place-card { display: grid; gap: .9rem; align-content: start; min-width: 0; }
.place-sign {
  display: flex; flex-direction: column-reverse; align-items: flex-start; gap: .2rem;
  background: var(--band-bg); color: var(--band-fg);
  border-radius: 12px; padding: .8rem 1rem;
}
.place-sign strong { font-family: var(--font-display); font-weight: 750; font-size: 1.3rem; letter-spacing: -.015em; }
.place-sign span { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: .14em; text-transform: uppercase; color: var(--band-fg-2); }
.place-card p { color: var(--ink-2); }
.place-card ul { list-style: none; display: grid; gap: .45rem; font-size: .97rem; }
.place-card li { display: flex; gap: .6rem; }
.place-card li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   Why Zenova
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.why-item:nth-child(odd) { border-right: 1px solid var(--line); }
.why-item:nth-child(even) { padding-left: 1.5rem; }
.why-item h3 { margin-bottom: .35rem; }
.why-item p { color: var(--ink-2); }
@media (max-width: 760px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-item, .why-item:nth-child(even) { padding: 1.4rem 0; border-right: 0; }
  .why-item:nth-child(odd) { border-right: 0; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.2rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.35;
  letter-spacing: -.01em;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; flex: none; width: 28px; height: 28px; margin-top: -.1rem; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] > summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat;
  transform: rotate(180deg);
}
.faq-a { padding-bottom: 1.35rem; display: grid; gap: .75rem; color: var(--ink-2); max-width: 70ch; }
.faq-a a { color: var(--ink); font-weight: 600; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: var(--step-2); margin-bottom: .75rem; display: flex; align-items: center; gap: .7rem; }
.faq-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 2.5rem; }
.faq-search { position: relative; flex: 1 1 22rem; max-width: 34rem; }
.faq-search svg { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-2); pointer-events: none; }
.faq-search input { padding-left: 2.85rem !important; border-radius: 999px !important; min-height: 52px; }
.faq-empty { padding: 1.5rem; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1rem; }
.field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field > label, .field > .label, fieldset.field > legend {
  font-weight: 700; font-size: .95rem; color: var(--ink); padding: 0;
}
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field > legend { margin-bottom: .45rem; }
.req { color: var(--danger); }
.field-hint { font-size: .87rem; color: var(--ink-2); }
.field-error { font-size: .87rem; font-weight: 600; color: var(--danger); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="search"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-2) 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 22%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
::placeholder { color: color-mix(in srgb, var(--ink-2) 75%, transparent); }

/* Checkbox chips */
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-check { position: relative; display: inline-flex; }
.chip-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-check span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 600; font-size: .95rem; line-height: 1.2;
}
.chip-check span::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none;
}
.chip-check input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.chip-check input:checked + span::before { border-color: var(--accent); background: var(--accent); }
.chip-check input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Consent checkbox */
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--ink); cursor: pointer; }
.consent a { font-weight: 700; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-weight: 600; font-size: .97rem; }
.form-status:empty { display: none; }
.form-status.is-ok, .form-status.is-err, .form-status.is-info {
  padding: .9rem 1rem; border-radius: 12px; display: grid; gap: .6rem;
}
.form-status.is-ok { background: var(--success-soft); color: var(--success); }
.form-status.is-err { background: var(--danger-soft); color: var(--danger); }
.form-status.is-info { background: var(--accent-soft); color: var(--ink); }
.form-status .btn { justify-self: start; }

/* --------------------------------------------------------------------------
   Home: CTA section
   -------------------------------------------------------------------------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cta-grid--center { align-items: center; }
.cta-copy { display: grid; gap: 1.25rem; }
.cta-copy p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.contact-lines { list-style: none; display: grid; gap: .75rem; margin-top: .5rem; }
.contact-lines li { display: flex; align-items: center; gap: .8rem; font-weight: 650; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.contact-lines .icon-tile { width: 42px; height: 42px; border-radius: 50%; }
.contact-lines .icon-tile svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Pathways: explorer
   -------------------------------------------------------------------------- */
.explorer { display: grid; gap: 1.5rem; }
.explorer__fields { display: flex; flex-wrap: wrap; gap: .5rem; }
.field-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 650; font-size: .95rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px;
  padding: .5rem 1rem .5rem .55rem; cursor: pointer;
}
.field-btn:hover { border-color: var(--ink); }
.field-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.swatch { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--surface); }
.swatch--e { background: var(--route-e); }
.swatch--v { background: var(--route-v); }
.swatch--u { background: var(--route-u); }
.swatch--p { background: var(--route-p); }
.field-btn[aria-pressed="true"] .swatch { box-shadow: 0 0 0 2px var(--ink); }
.explorer__panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.5rem); display: grid; gap: 1.75rem;
}
.explorer__panel header { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.explorer__panel header h3 { font-size: var(--step-2); }
.route-line {
  --rc: var(--accent);
  list-style: none; position: relative; display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1rem;
}
.route-line::before {
  content: ""; position: absolute; left: 12px; top: 11px; height: 8px; border-radius: 4px; background: var(--rc);
  right: calc((100% - (var(--n, 4) - 1) * 1rem) / var(--n, 4) - 15px);
}
.route-line li { position: relative; padding-top: 2.5rem; display: grid; gap: .35rem; align-content: start; min-width: 0; }
.route-line li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); border: 5px solid var(--rc);
}
.route-line li:last-child::before { border-color: var(--ink); }
.route-line .tag { justify-self: start; }
.route-line strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em; }
.route-line--e { --rc: var(--route-e); }
.route-line--v { --rc: var(--route-v); }
.route-line--u { --rc: var(--route-u); }
.route-line--p { --rc: var(--route-p); }
@media (max-width: 760px) {
  .route-line { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .route-line::before { left: 11px; right: auto; top: 14px; bottom: 14px; width: 8px; height: auto; }
  .route-line li { padding-top: 0; padding-left: 3rem; min-height: 30px; }
}
.route-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); font-size: .97rem; }
.route-note svg { width: 22px; height: 22px; color: var(--ink); margin-top: .1rem; }

/* AQF ladder */
.aqf { list-style: none; display: grid; position: relative; }
.aqf::before { content: ""; position: absolute; left: 25px; top: 28px; bottom: 28px; width: 6px; border-radius: 3px;
  background: linear-gradient(var(--route-v) 0 50%, var(--route-u) 50% 100%); }
.aqf li {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1rem 1.25rem; align-items: center;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.aqf li:last-child { border-bottom: 0; }
.aqf .lvl {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 5px solid var(--route-v);
  font-family: var(--font-mono); font-weight: 600; font-size: 1rem;
}
.aqf li.he .lvl { border-color: var(--route-u); }
.aqf li.both .lvl { border-color: var(--ink); }
.aqf .q { display: grid; gap: .15rem; min-width: 0; }
.aqf .q strong { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.aqf .q span { color: var(--ink-2); font-size: .93rem; }
.aqf .len { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--ink-2); text-align: right; white-space: nowrap; }
@media (max-width: 640px) {
  .aqf li { grid-template-columns: 56px minmax(0, 1fr); }
  .aqf .len { grid-column: 2; text-align: left; margin-top: -.6rem; }
}
.aqf-key { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .93rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.aqf-key span { display: inline-flex; align-items: center; gap: .5rem; }
.aqf-key i { width: 14px; height: 14px; border-radius: 50%; border: 3.5px solid var(--route-v); display: inline-block; }
.aqf-key i.he { border-color: var(--route-u); }
.aqf-key i.both { border-color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split__head { display: grid; gap: 1rem; position: sticky; top: 110px; }
.split__head p { color: var(--ink-2); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split__head { position: static; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .98rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th, .compare thead td { font-family: var(--font-display); font-size: 1.1rem; font-weight: 750; background: var(--surface-2); }
.compare thead th .roundel { width: 24px; height: 24px; font-size: .75rem; margin-right: .5rem; vertical-align: -6px; }
.compare tbody th { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); width: 22%; }

/* Pathway finder */
.finder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.finder__form { display: grid; gap: 1.5rem; }
.finder__result { position: sticky; top: 110px; display: grid; gap: 1rem; }
.finder__result h3 { font-size: var(--step-2); }
.finder__result .result-route { font-family: var(--font-body); font-size: 1rem; font-weight: 750; color: var(--ink); background: var(--accent-soft); padding: .6rem .8rem; border-radius: 10px; }
.finder__result p { color: var(--ink-2); }
.finder__result .callout { margin-top: .25rem; }
@media (max-width: 900px) { .finder { grid-template-columns: minmax(0, 1fr); } .finder__result { position: static; } }

.callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start;
  padding: 1.1rem 1.2rem; border-radius: 14px; border: 1.5px solid var(--accent);
  background: var(--accent-soft); color: var(--ink); font-size: .97rem;
}
.callout svg { width: 22px; height: 22px; margin-top: .1rem; }
.callout strong { font-weight: 750; }
.callout p + p { margin-top: .4rem; }

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.svc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.25rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.svc:first-child { padding-top: 0; }
.svc:last-child { border-bottom: 0; padding-bottom: 0; }
.svc__head { display: grid; gap: .9rem; align-content: start; justify-items: start; }
.svc__head h2 { font-size: var(--step-3); }
.svc__head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.svc__body { display: grid; gap: 1.25rem; min-width: 0; }
.svc__cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 1.25rem; }
.svc__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: grid; gap: .8rem; align-content: start; }
.svc__box h3 { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.svc__box--quiet { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.ticks { list-style: none; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.85rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%; background: var(--accent);
}
.ticks li::after {
  content: ""; position: absolute; left: 7px; top: calc(.2em + 4px); width: 5px; height: 9px;
  border: solid var(--accent-ink); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}
.dots { list-style: none; display: grid; gap: .55rem; color: var(--ink-2); }
.dots li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: .65rem; }
.dots li::before { content: ""; width: 9px; height: 9px; margin-top: .55em; border-radius: 50%; border: 2.5px solid var(--ink-2); }
@media (max-width: 960px) { .svc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .svc__cols { grid-template-columns: minmax(0, 1fr); } }
.not-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.not-box svg { width: 26px; height: 26px; color: var(--danger); }
.topic-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }
.topic-list li { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-bottom: 1px dashed var(--line-strong); font-weight: 600; }
.topic-list .tag { flex: none; }
@media (max-width: 640px) { .topic-list { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.story .prose { font-size: 1.08rem; }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } }
.values { counter-reset: none; }
.value { display: grid; gap: .55rem; align-content: start; }
.value p { color: var(--ink-2); }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: center; }
.founder .agent-avatar { width: 64px; height: 64px; font-size: 1.3rem; }
.founder h3 { font-size: 1.3rem; }
.founder p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 640px) { .founders { grid-template-columns: minmax(0, 1fr); } }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: .3rem; align-content: start; }
.facts dt { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 700; font-size: 1.02rem; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Counsellors (QEAC)
   -------------------------------------------------------------------------- */
.counsellor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.counsellor-grid .opt:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .counsellor-grid { grid-template-columns: minmax(0, 1fr); } }
.opt__card.opt__card--person { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; }
.opt__card--person .agent-avatar { width: 44px; height: 44px; font-size: 1rem; box-shadow: none; }
.opt__card.opt__card--person .opt__radio { align-self: center; }
.agent-avatar--quiet { background: var(--surface-2); color: var(--ink-2); }
.agent-avatar--quiet svg { width: 22px; height: 22px; }
.person { display: grid; gap: .3rem; justify-items: start; min-width: 0; }
.counsellor-list { list-style: none; display: grid; }
.counsellor-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .7rem 0; border-bottom: 1px dashed var(--line-strong); }
.counsellor-list li:last-child { border-bottom: 0; }
.counsellor-list .agent-avatar { width: 42px; height: 42px; font-size: .95rem; box-shadow: none; }
.counsellor-list .link-arrow { font-size: .93rem; }
@media (max-width: 480px) {
  .counsellor-list li { grid-template-columns: auto minmax(0, 1fr); }
  .counsellor-list .link-arrow { grid-column: 2; }
}
.founder { align-items: start; }
.founder__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .5rem; }
.founder__meta .link-arrow { font-size: .93rem; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-aside { display: grid; gap: 1rem; position: sticky; top: 110px; }
.contact-card { display: grid; gap: .55rem; }
.contact-card h2 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.contact-card h2 svg { width: 20px; height: 20px; }
.contact-card p, .contact-card address { color: var(--ink-2); font-style: normal; }
.contact-card .big { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .35rem; font: inherit; font-size: .85rem; font-weight: 700;
  background: var(--surface-2); color: var(--ink); border: 0; border-radius: 999px; padding: .35rem .75rem; cursor: pointer;
}
.copy-btn:hover { background: var(--line); }
.copy-btn svg { width: 15px; height: 15px; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } .contact-aside { position: static; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: var(--shadow); }
.form-card > h2 { font-size: var(--step-2); }
.form-card > p { color: var(--ink-2); margin-top: .35rem; margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   Prose (privacy)
   -------------------------------------------------------------------------- */
.prose { display: grid; gap: 1rem; max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.prose h3 { margin-top: .5rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--accent); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Booking portal
   -------------------------------------------------------------------------- */
.agent-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.agent-hero__copy { display: grid; gap: 1.25rem; }
@media (max-width: 900px) { .agent-hero { grid-template-columns: minmax(0, 1fr); } }

.howto { --n: 4; }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .65fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; }
.booking-aside { display: grid; gap: 1rem; position: sticky; top: 110px; }
.booking-aside .card { display: grid; gap: .8rem; }
.booking-aside h2 { font-size: 1.12rem; }
@media (max-width: 1000px) { .booking-layout { grid-template-columns: minmax(0, 1fr); } .booking-aside { position: static; } }

.booking {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; min-width: 0;
}
.booking__head { padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 3.5vw, 2.25rem); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.booking__body { padding: clamp(1.25rem, 3.5vw, 2.25rem); }

/* Progress as a route line */
.bprogress-wrap { position: relative; }
.bprogress { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bprogress::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.bprogress__fill { position: absolute; left: 10%; top: 10px; height: 4px; border-radius: 2px; background: var(--accent); width: 0; transition: width .3s ease; }
.bprogress li { position: relative; display: grid; justify-items: center; gap: .45rem; text-align: center; font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.bprogress li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 4px solid var(--line-strong); box-sizing: border-box; position: relative; z-index: 1; }
.bprogress li.is-done::before { border-color: var(--ink); background: var(--ink); }
.bprogress li.is-current { color: var(--ink); }
.bprogress li.is-current::before { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 560px) {
  .bprogress li span { display: none; }
  .bprogress li.is-current span { display: block; position: absolute; top: 30px; white-space: nowrap; }
  .bprogress { padding-bottom: 1.5rem; }
}

.bstep { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.25rem; }
.bstep__legend { padding: 0; margin-bottom: .25rem; display: grid; gap: .35rem; }
.bstep__legend:focus { outline: none; }
.bstep__title { font-family: var(--font-display); font-weight: 750; font-size: var(--step-2); letter-spacing: -.015em; line-height: 1.2; color: var(--ink); }
.bstep__sub { color: var(--ink-2); font-size: .97rem; font-weight: 400; }
.bstep__label { font-weight: 700; font-size: .95rem; }

.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.option-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .option-grid, .option-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.opt { position: relative; display: block; min-width: 0; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .75rem; height: 100%;
  padding: .95rem 1rem; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface);
  transition: border-color .15s ease, background-color .15s ease;
}
.opt__title { font-weight: 750; line-height: 1.3; }
.opt__desc { grid-column: 1 / -1; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.opt__tag { align-self: start; }
.opt:hover .opt__card { border-color: var(--ink-2); }
.opt input:checked + .opt__card { border-color: var(--ink); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + .opt__card { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); align-self: start; display: grid; place-items: center; }
.opt input:checked + .opt__card .opt__radio { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--accent-soft); }

.fee-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; padding: .95rem 1rem; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); font-size: .95rem; }
.fee-note svg { width: 20px; height: 20px; color: var(--ink); margin-top: .15rem; }

.tz-note { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.tz-note span { display: block; margin-top: .15rem; }
.tz-note strong { color: var(--ink); }
.day-strip { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem .75rem; scroll-snap-type: x proximity; }
.day-btn {
  flex: none; scroll-snap-align: start; width: 74px; display: grid; justify-items: center; gap: .1rem;
  padding: .6rem .3rem .65rem; border-radius: 14px; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: inherit; cursor: pointer;
}
.day-btn:hover { border-color: var(--ink); }
.day-btn .dw, .day-btn .dm { font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.day-btn .dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 750; line-height: 1.1; }
.day-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.day-btn[aria-pressed="true"] .dw, .day-btn[aria-pressed="true"] .dm { color: var(--bg); opacity: .8; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.slot-btn {
  display: grid; gap: .05rem; justify-items: center; padding: .6rem .5rem; min-height: 48px;
  border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer; font-variant-numeric: tabular-nums;
}
.slot-btn small { font-weight: 500; font-size: .74rem; color: var(--ink-2); }
.slot-btn:hover { border-color: var(--ink); }
.slot-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--ink); color: var(--accent-ink); }
.slot-btn[aria-pressed="true"] small { color: var(--accent-ink); }
.slot-empty { color: var(--ink-2); font-size: .95rem; padding: .75rem 0; }
.picked { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .8rem 1rem; border-radius: 12px; background: var(--accent-soft); font-weight: 650; }
.picked:empty { display: none; }

.booking-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.booking-nav .spacer { flex: 1; }
.booking-nav .step-count { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 560px) {
  .booking-nav .spacer, .booking-nav .step-count { display: none; }
  .booking-nav [data-next], .booking-nav [data-send] { flex: 1 1 auto; }
}
.booking-error { margin-top: 1rem; }
.booking-error:empty { display: none; }
.booking-error { padding: .85rem 1rem; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-weight: 650; }

.review { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.review > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: .5rem 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); align-items: start; }
.review > div:last-child { border-bottom: 0; }
.review dt { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding-top: .25rem; }
.review dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; white-space: pre-line; }
.review button { font: inherit; font-size: .85rem; font-weight: 700; background: none; border: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; cursor: pointer; padding: .15rem 0; }
@media (max-width: 560px) { .review > div { grid-template-columns: minmax(0, 1fr) auto; } .review dd { grid-column: 1 / -1; } }
.consents { display: grid; gap: .9rem; padding: 1.1rem; border-radius: 14px; border: 1.5px dashed var(--line-strong); }

/* Confirmation */
.booking-done { padding: clamp(1.25rem, 3.5vw, 2.25rem); display: grid; gap: 1.5rem; }
.done-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; }
.done-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: var(--surface); }
.done-check svg { width: 30px; height: 30px; }
.done-check .i-mail { display: none; }
.booking-done[data-mode="email"] .done-check { background: var(--accent); color: var(--accent-ink); }
.booking-done[data-mode="email"] .done-check .i-check { display: none; }
.booking-done[data-mode="email"] .done-check .i-mail { display: block; }
.done-head h2 { font-size: var(--step-3); }
.done-head p { color: var(--ink-2); }
.ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem;
  border-radius: 18px; background: var(--band-bg); color: var(--band-fg); padding: 1.4rem 1.5rem;
  -webkit-mask: radial-gradient(circle 13px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 13px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 13px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket__rows { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; }
.ticket__rows div { display: grid; gap: .15rem; min-width: 0; }
.ticket__rows dt { font-family: var(--font-mono); font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--band-fg-2); }
.ticket__rows dd { margin: 0; font-weight: 700; font-size: 1.02rem; overflow-wrap: anywhere; }
.ticket__ref { font-family: var(--font-mono); letter-spacing: .08em; color: var(--band-accent); }
.ticket__stub { display: grid; place-items: center; align-content: center; gap: .3rem; padding-left: 1.25rem; border-left: 2px dashed var(--band-line); text-align: center; }
.ticket__stub .kicker { color: var(--band-fg-2); }
.ticket__stub strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 750; color: var(--band-accent); }
@media (max-width: 560px) { .ticket { grid-template-columns: minmax(0, 1fr); } .ticket__stub { border-left: 0; border-top: 2px dashed var(--band-line); padding: 1rem 0 0; } .ticket__rows { grid-template-columns: minmax(0, 1fr); } }
.preview-flag { padding: .8rem 1rem; border-radius: 12px; background: var(--accent-soft); font-size: .93rem; font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   Footer and mobile bar
   -------------------------------------------------------------------------- */
.site-footer { background: var(--band-bg); color: var(--band-fg-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .96rem; }
.site-footer a { color: var(--band-fg); text-decoration-color: var(--band-accent); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-brand { display: grid; gap: 1rem; align-content: start; max-width: 34ch; }
.site-footer .brand__logo { height: 54px; }
.site-footer .brand__logo--color { display: none; }
.site-footer .brand__logo--white { display: block; }
.tagline { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--band-fg-2); }
.site-footer h2 { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--band-fg); margin-bottom: .9rem; }
.footer-col { display: grid; gap: .45rem; align-content: start; }
.footer-col address { font-style: normal; }
.footer-col ul { list-style: none; display: grid; gap: .45rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--band-accent); }
.footer-legal { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--band-line); display: grid; gap: .9rem; font-size: .86rem; }
.footer-legal p { max-width: 110ch; }
.ack { font-size: .88rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; max-width: 50ch; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .4rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    min-height: 46px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none;
    background: var(--surface-2); color: var(--ink);
  }
  .mobile-bar a.is-primary { background: var(--accent); color: var(--accent-ink); }
  .mobile-bar svg { width: 18px; height: 18px; }
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}
