/*
 * CitiGo — Consumer Experience V2.
 *
 * Mobile-first. Every layout starts at one column and earns extra columns at a breakpoint,
 * because the launch markets are overwhelmingly phone-first and a desktop-down design
 * reaches them as a compromise.
 *
 * No framework and no render-blocking webfont: the page has to be usable on a mid-range
 * Android over a congested network. The font loads asynchronously and the system stack
 * carries the first paint.
 *
 * Contrast is checked by `node scripts/audit.js`. Text never sits directly on
 * a photograph or a brand hue — it sits on a scrim or a neutral surface, so accent colours
 * can be vivid without becoming a legibility problem.
 */

/* -------------------------------------------------------------------- font */

/*
 * Sora, self-hosted.
 *
 * It was previously loaded from Google Fonts with the usual
 * `media="print" onload="this.media='all'"` trick. That onload is an inline event handler,
 * which this site's CSP (`script-src 'self'`) blocks — so the swap never ran and the font
 * never applied. The page had been rendering in the system stack the whole time.
 *
 * Serving it from our own origin fixes that, removes a third-party request from every page
 * load, and lets the CSP drop two external hosts. One variable file covers 400-700.
 *
 * Sora is licensed under the SIL Open Font License 1.1 — see public/fonts/OFL.txt.
 */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ tokens */

:root {
  /* Brand */
  --blue: #398dfa;
  --navy: #0a1b33;
  --sky: #7fb8ff;
  --aqua: #0fb5c4;
  --coral: #ff6b4a;
  --lime: #b8e236;
  --action: #2563eb;

  /* Neutrals — these flip for dark preference; brand hues above do not. */
  --ink: #14161a;
  --ink-70: #474c55;
  --ink-45: #61656e; /* 4.5:1 on --page-bg */
  --line: #e0e6f0;
  --page-bg: #ffffff;
  --surface: #f5f8fd;
  --soft: #ebf4ff;
  --card: #ffffff;

  /* On dark bands, fixed regardless of colour scheme. */
  --on-navy: #ffffff;
  --on-navy-70: #b9c8dd;

  --page: 1200px;
  --gutter: 1.25rem;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 48px -30px rgb(10 27 51 / 45%);
  --shadow-lift: 0 26px 60px -28px rgb(10 27 51 / 50%);

  --font: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f6fa;
    --ink-70: #c2cad6;
    --ink-45: #98a1ae; /* 4.5:1 on --page-bg below */
    --line: #262d3a;
    --page-bg: #0e1116;
    --surface: #141821;
    --soft: #16202f;
    --card: #151a22;
    color-scheme: dark;
  }
}

/* -------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Nothing may exceed the viewport. Guards every band, grid and image below. */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; }

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

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  border-radius: 6px;
}
/* On dark bands the blue focus ring disappears; white does not. */
.on-dark :focus-visible { outline-color: #fff; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--action);
  color: #fff;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------- type */

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.55rem + 2.9vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.7vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.06rem + 0.42vw, 1.4rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; max-width: 66ch; }
.lede { font-size: clamp(1.05rem, 1rem + 0.45vw, 1.3rem); color: var(--ink-70); line-height: 1.55; }
.lede.on-navy { color: var(--on-navy-70); }

a { color: var(--action); }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--action);
}
.eyebrow.on-navy { color: var(--sky); }

/* ------------------------------------------------------------------ layout */

.wrap { width: min(100% - (2 * var(--gutter)), var(--page)); margin-inline: auto; }
.wrap.narrow { width: min(100% - (2 * var(--gutter)), 46rem); }
.wrap.mid { width: min(100% - (2 * var(--gutter)), 62rem); }

section.band { padding: clamp(3rem, 8vw, 6rem) 0; }
section.band.tight { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
section.band.surface { background: var(--surface); }
section.band.navy { background: var(--navy); color: var(--on-navy); }
section.band.navy h2, section.band.navy h3 { color: var(--on-navy); }
section.band.navy p { color: var(--on-navy-70); }

.band-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.band-head p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ header */

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--page-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  /* nowrap is the rule the brief asks for: the navigation must never become two rows. */
  flex-wrap: nowrap;
}

.logo {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  min-height: 44px; /* the mark is 30px tall; the link still has to be a 44px target */
  text-decoration: none;
}
.logo svg { height: 30px; width: auto; display: block; }

/* Desktop navigation is hidden until there is room for it; below that the drawer runs. */
nav.primary { display: none; }
.bar .actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 44px; /* the bar is nowrap, so the button must refuse to be squeezed */
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink);
  cursor: pointer; padding: 0;
}
.burger span { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform 0.2s ease, top 0.2s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

.locale {
  display: inline-flex; align-items: center; gap: 0.4rem; flex: 0 0 auto;
  min-height: 44px; padding: 0 0.75rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink-70);
  font: inherit; font-size: 0.8125rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.locale:hover { border-color: var(--blue); color: var(--action); }
.locale .flag { flex: 0 0 auto; }

/* Sign in is a text action on small screens so the bar never crowds. */
.bar .actions .signin { display: none; }

@media (min-width: 600px) {
  .bar .actions .signin { display: inline-flex; }
}

@media (min-width: 1080px) {
  .burger { display: none; }
  /* The panel is anchored to the navigation, not to each trigger. Anchoring to the trigger
     centres a wide panel on a narrow button, which pushes it off one edge or the other
     depending on where that button sits. */
  nav.primary { display: block; margin-left: 1.5rem; position: relative; }
  nav.primary > ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }

  .navlink {
    display: inline-flex; align-items: center; gap: 0.3rem;
    min-height: 44px; padding: 0 0.7rem;
    border: 0; background: transparent; border-radius: 10px;
    font: inherit; font-size: 0.9375rem; font-weight: 600;
    color: var(--ink-70); text-decoration: none; cursor: pointer; white-space: nowrap;
  }
  .navlink:hover { color: var(--action); background: var(--soft); }
  .navlink[aria-expanded='true'] { color: var(--action); background: var(--soft); }
  .navlink .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.18s ease; }
  .navlink[aria-expanded='true'] .caret { transform: rotate(-135deg) translate(-3px, -3px); }

  /* Mega-menu. Positioned against the header, not the trigger, so wide panels stay centred. */
  .mega {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    width: max-content;
    max-width: min(var(--page), calc(100vw - 3rem));
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    z-index: 120;
  }
  .mega[hidden] { display: none; }
  .mega-grid { display: grid; gap: 0.35rem 1.5rem; grid-template-columns: repeat(3, minmax(190px, 1fr)); list-style: none; margin: 0; padding: 0; }
  .mega-grid.two { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
  .mega-grid.one { grid-template-columns: minmax(210px, 1fr); }
  .mega a {
    display: grid; gap: 0.1rem;
    padding: 0.6rem 0.7rem; border-radius: 12px;
    text-decoration: none; color: var(--ink);
  }
  .mega a:hover { background: var(--soft); }
  .mega a strong { font-size: 0.9375rem; font-weight: 600; }
  .mega a span { font-size: 0.8125rem; color: var(--ink-45); line-height: 1.4; }
  .mega .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.45rem; vertical-align: 1px; }
  .mega-foot { margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--line); }
  .mega-foot a { display: inline-flex; padding: 0.3rem 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--action); }
}

/* ------------------------------------------------------------------ drawer */

.drawer {
  position: fixed;
  inset: 68px 0 0;
  z-index: 90;
  background: var(--page-bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem var(--gutter) 3rem;
}
.drawer[hidden] { display: none; }
@media (min-width: 1080px) { .drawer { display: none !important; } }

.drawer h2 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-45); margin: 1.75rem 0 0.5rem; }
.drawer h2:first-child { margin-top: 0; }
.drawer ul { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.drawer li + li { border-top: 1px solid var(--line); }
.drawer a {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 0.1rem; min-height: 52px; padding: 0.7rem 0;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem;
}
.drawer a span.sub { font-weight: 400; font-size: 0.8125rem; line-height: 1.35; color: var(--ink-45); }
.drawer .drawer-cta { display: grid; gap: 0.6rem; margin-top: 2rem; }
.drawer .drawer-cta .btn { width: 100%; }

body.nav-open { overflow: hidden; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-size: 0.9375rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--action); color: #fff; }
.btn.primary:hover { background: #1d51c9; }
.btn.ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn.ghost:hover { border-color: var(--blue); color: var(--action); }
.btn.sm { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn.on-navy { background: #fff; color: var(--navy); }
.btn.on-navy:hover { background: var(--sky); color: var(--navy); }
.btn.ghost.on-navy { background: transparent; color: #fff; border-color: rgb(255 255 255 / 45%); }
.btn.ghost.on-navy:hover { border-color: #fff; background: rgb(255 255 255 / 10%); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
@media (max-width: 419px) {
  .cta-row { display: grid; }
  .cta-row .btn { width: 100%; }
}

/* -------------------------------------------------------------------- hero */

.hero { position: relative; padding: clamp(2rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-inner { display: grid; gap: clamp(1.75rem, 5vw, 3rem); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { max-width: 34ch; }
.hero-copy > .cta-row { margin-bottom: 0.5rem; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

@media (min-width: 880px) {
  .hero-inner { grid-template-columns: 1.02fr 1fr; }
  .hero-media img { aspect-ratio: 5 / 6; }
}
@media (min-width: 1080px) {
  .hero-media img { aspect-ratio: 1 / 1; }
}

/* A quiet brand wash behind the hero — colour without a coloured block. */
.hero::before {
  content: '';
  position: absolute; inset: 0 0 auto;
  height: 70%;
  background: radial-gradient(120% 100% at 15% 0%, var(--soft) 0%, transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.hero-marks { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.hero-marks li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink-45); }
.hero-marks li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ----------------------------------------------------------- service tiles */

.tiles { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: #fff;
  min-height: 300px;
  isolation: isolate;
  background: var(--navy);
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* The scrim is what makes the copy legible — never the accent colour. */
.tile::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(10 27 51 / 4%) 0%, rgb(10 27 51 / 58%) 48%, rgb(10 27 51 / 92%) 100%),
    linear-gradient(118deg, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 52%);
}
/* Pay: a deeper wash instead of a hue, so it reads as the money layer under the rest. */
.tile.deep::after {
  background:
    linear-gradient(180deg, rgb(10 27 51 / 26%) 0%, rgb(10 27 51 / 68%) 50%, rgb(10 27 51 / 94%) 100%);
}
.tile:hover img { transform: scale(1.05); }

.tile-body { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: inherit; padding: clamp(1.25rem, 3vw, 1.85rem); }
.tile-chip {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.3rem 0.7rem; margin-bottom: auto;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  background: rgb(10 27 51 / 45%);
  backdrop-filter: blur(6px);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff;
}
.tile-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tile h3 { margin: 1.5rem 0 0.35rem; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
.tile p { margin: 0; color: rgb(255 255 255 / 88%); font-size: 0.9375rem; max-width: 38ch; }
.tile .go {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.1rem; font-weight: 600; font-size: 0.9375rem; color: #fff;
}
.tile .go .arrow { transition: transform 0.2s ease; }
.tile:hover .go .arrow { transform: translateX(4px); }
/* The accent rule is the per-service signature. */
.tile .go::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }

@media (min-width: 620px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .tile.span-12 { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(12, 1fr); }
  .tile.span-1 { grid-column: span 1; }
  .tile.span-2 { grid-column: span 2; }
  .tile.span-3 { grid-column: span 3; }
  .tile.span-4 { grid-column: span 4; }
  .tile.span-5 { grid-column: span 5; }
  .tile.span-6 { grid-column: span 6; }
  .tile.span-7 { grid-column: span 7; }
  .tile.span-8 { grid-column: span 8; }
  .tile.span-9 { grid-column: span 9; }
  .tile.span-10 { grid-column: span 10; }
  .tile.span-11 { grid-column: span 11; }
  .tile.span-12 { grid-column: span 12; }
  .tile.size-tall { min-height: 440px; }
  .tile.size-mid { min-height: 360px; }
  .tile.size-wide { min-height: 300px; }
}

/* --------------------------------------------------------------- launcher */

.launcher-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.15rem, 3vw, 1.85rem);
}
.launcher { display: grid; gap: 1rem; }
/* One column on phones — a booking form must never become a multi-column grid there. */
.launcher-row { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .launcher-row { grid-template-columns: repeat(2, 1fr); align-items: end; }
  .launcher-row .field.submit { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .launcher-row { grid-template-columns: repeat(4, 1fr); }
  .launcher-row .field.submit { grid-column: auto; }
}
.launcher .field.submit .btn { width: 100%; }
/* Progressive disclosure: origin, destination and time appear once a service is chosen. */
.launcher .field[data-when][hidden] { display: none; }
.launcher-status { margin: 0; font-size: 0.9375rem; }
.launcher-status.unavailable {
  border-left: 3px solid var(--blue);
  background: var(--soft);
  color: var(--ink-70);
  padding: 0.9rem 1.05rem;
  border-radius: 0 10px 10px 0;
}
.launcher-status a { color: var(--action); }

.quick { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.15rem; }
.chip {
  min-height: 44px;
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 0 1.05rem;
  font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: var(--action); }

/* --------------------------------------------------------------- countries */

.country-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.country {
  display: grid; gap: 0.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.country:hover { border-color: var(--blue); transform: translateY(-2px); }
.country .name { font-weight: 600; font-size: 1rem; }
.country .meta { font-size: 0.8125rem; color: var(--ink-45); }
/* Several of these flags run white to the edge, so the ring is what stops them dissolving
   into the card behind them. */
.flag {
  display: block; border-radius: 3px; object-fit: cover;
  box-shadow: 0 0 0 1px rgb(10 27 51 / 14%);
}
.country .flag { justify-self: start; margin-bottom: 0.55rem; }
@media (prefers-color-scheme: dark) {
  .flag { box-shadow: 0 0 0 1px rgb(255 255 255 / 22%); }
}

/* ------------------------------------------------------------ split blocks */

.split { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-media { order: 2; }
  /* Centring a short photograph against a long list leaves a hole above the photograph. */
  .split.top { align-items: start; }
}
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-copy p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- features */

.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }
.cta-row.center { justify-content: center; }

a.feature { text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
a.feature:hover { border-color: var(--blue); transform: translateY(-2px); }

.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.feature {
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
}
.feature h3 { margin-bottom: 0.3em; }
.feature p { margin: 0; color: var(--ink-70); font-size: 0.9375rem; }
.feature .mark { display: block; width: 30px; height: 3px; border-radius: 2px; background: var(--blue); margin-bottom: 1rem; }

.band.navy .feature { background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 12%); }
.band.navy .feature p { color: var(--on-navy-70); }
.band.navy .feature .mark { background: var(--sky); }

/* Product cards carry the OPERATIONS image grade and live only on the navy band. */
.product-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.product {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 12%);
}
.product img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product .product-body { padding: 1.15rem 1.25rem 1.35rem; }
.product h3 { font-size: 1.0625rem; margin-bottom: 0.3em; }
.product p { margin: 0; font-size: 0.875rem; color: var(--on-navy-70); }

/* ------------------------------------------------------------------ prose */

.prose h2 { margin-top: 2.25rem; }
.prose > p:first-of-type { font-size: 1.0625rem; }
.prose ul { padding-left: 1.15rem; color: var(--ink-70); }
.prose li { margin-bottom: 0.4rem; }

.notice {
  border-left: 3px solid var(--blue);
  background: var(--soft);
  color: var(--ink-70);
  padding: 1rem 1.15rem;
  border-radius: 0 12px 12px 0;
  font-size: 0.9375rem;
  margin: 1.5rem 0;
}
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--ink); }

.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: 0.9375rem; }
.checks li::before {
  content: ''; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--soft);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.band.navy .checks li::before { background: rgb(255 255 255 / 10%); box-shadow: inset 0 0 0 2px var(--sky); }

/* ------------------------------------------------------------------- forms */

form.lead { display: grid; gap: 1rem; max-width: 34rem; }
.field { display: grid; gap: 0.35rem; }
label { font-weight: 600; font-size: 0.9375rem; }
.hint { font-weight: 400; font-size: 0.8125rem; color: var(--ink-45); }
input, select, textarea {
  font: inherit; font-size: 1rem;
  width: 100%; min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--ink-45) 50%), linear-gradient(-45deg, transparent 49%, var(--ink-45) 50%); background-size: 6px 6px, 6px 6px; background-position: right 1.1rem center, right 0.75rem center; background-repeat: no-repeat; padding-right: 2.25rem; }
input:focus, select:focus, textarea:focus { border-color: var(--action); }
textarea { min-height: 8rem; resize: vertical; }
/* Clicking the label toggles the box, so the label is the real target and must clear 44px. */
label.inline { display: flex; gap: 0.65rem; align-items: center; min-height: 44px; font-weight: 400; font-size: 0.9375rem; }
label.inline input { width: 24px; height: 24px; flex: 0 0 24px; min-height: 24px; accent-color: var(--action); }

/* Honeypot: reachable by a bot, not by a person or a screen reader. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

[role='status'] { font-weight: 600; }
.ok { color: #0f7b3d; }
.err { color: #b3261e; }
@media (prefers-color-scheme: dark) {
  .ok { color: #4ade80; }
  .err { color: #fca5a5; }
}

/* ------------------------------------------------------------------ footer */

footer.site { background: var(--navy); color: var(--on-navy); padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
footer.site .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
/* Rendered as a small label but marked up as h2, so the document outline never skips a
   level between the last heading in <main> and the footer. */
footer.site .foot-h { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sky); margin: 0 0 0.9rem; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
footer.site a { color: var(--on-navy-70); text-decoration: none; font-size: 0.9375rem; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .foot-brand { margin-bottom: 2.5rem; max-width: 24rem; }
footer.site .foot-brand svg { height: 30px; width: auto; }
/* The wordmark is ink on light. On the navy footer its dark half all but disappears, so the
   ink strokes are turned white and the blue accent is left alone — the mark keeps its shape
   and its colour rather than being flattened to a white silhouette. */
footer.site .foot-brand svg [fill="#1F2126"] { fill: #ffffff; }
footer.site .foot-brand p { color: var(--on-navy-70); font-size: 0.9375rem; margin: 1rem 0 0; }
/* Six columns fill one row at every width the grid uses, so nothing wraps into a second row
   whose height is dictated by the tallest column beside it. */
footer.site .foot-countries {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
}
footer.site .foot-countries ul {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.75rem;
  list-style: none; margin: 0; padding: 0;
}

footer.site .base {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: var(--on-navy-70); font-size: 0.8125rem;
}
footer.site .base p { max-width: 70ch; }
footer.site .base .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-bottom: 1rem; }

/* ------------------------------------------------------------- narrow / print */

/* 320px must reflow without horizontal scrolling — WCAG 2.2 AA (1.4.10). */
@media (max-width: 379px) {
  :root { --gutter: 0.875rem; }
  h1 { font-size: 2rem; }
  .tile { min-height: 270px; }
  .btn { padding-inline: 1.1rem; }
  /* Below this width "Open CitiGo" wraps to two lines in the bar. The drawer carries it,
     and every page puts its own primary action in the first screen. */
  .bar .actions .btn.primary { display: none; }
}

@media print {
  header.site, footer.site, .drawer, .cta-row, .launcher-shell { display: none; }
  body { color: #000; background: #fff; }
  .tile { min-height: auto; color: #000; }
}

/* ============================================================ lifestyle V3 */

/*
 * The accent is a graphic, never text on a light background: Soft Lime and Sky Blue are
 * deliberately bright and would fail AA as body or heading colour. It appears as a rule, a
 * dot, a border or a wash, and text stays on ink or on a scrim.
 */
.dot { background: var(--accent); }
.eyebrow.accent::before {
  content: ''; display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 0.5rem; vertical-align: 1px;
}
.notice.accent { border-left-color: var(--accent); }

/* ------------------------------------------------------------ mega-menu v2 */

.mega-cols { display: grid; gap: 0.5rem 1.75rem; grid-template-columns: 1fr; }
.mega.wide .mega-cols { grid-template-columns: repeat(4, minmax(180px, 1fr)); }
.mega-col > ul { list-style: none; margin: 0; padding: 0; }
.mega-h {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-45); margin: 0 0 0.4rem; padding: 0 0.7rem;
}

/* -------------------------------------------------------- drawer accordion */

.acc { border-bottom: 1px solid var(--line); }
.acc h2 { margin: 0; font-size: 1rem; }
.acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 56px; padding: 0.75rem 0;
  border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 1rem; font-weight: 700; text-align: left; cursor: pointer;
}
.acc-btn .caret {
  width: 9px; height: 9px; flex: 0 0 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.18s ease;
}
.acc-btn[aria-expanded='true'] .caret { transform: rotate(-135deg) translate(-3px, -3px); }
.acc ul { padding-bottom: 0.5rem; }
.acc ul[hidden] { display: none; }

/* -------------------------------------------------------------- day timeline */

.day { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: day; }
.day li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.9rem;
  padding: 0.85rem 0 0.85rem 0; position: relative;
}
.day li + li { border-top: 1px solid var(--line); }
.day-time { font-size: 0.8125rem; font-weight: 700; color: var(--action); padding-top: 0.15rem; }
.day-body { font-size: 0.9375rem; color: var(--ink-70); }
.day-body strong { display: block; color: var(--ink); font-size: 1rem; }

/* ------------------------------------------------------------------ prompts */

.prompts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.prompts li {
  padding: 0.75rem 1rem;
  border: 1px solid rgb(255 255 255 / 18%); border-radius: 14px;
  background: rgb(255 255 255 / 6%);
  color: #fff; font-size: 0.9375rem;
}
.prompts li::before { content: '\201C'; color: var(--sky); font-weight: 700; margin-right: 0.35rem; }
.prompts li::after { content: '\201D'; color: var(--sky); font-weight: 700; margin-left: 0.2rem; }

/* -------------------------------------------------------------------- pills */

.pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.pills li {
  display: grid; gap: 0.15rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
}
.pills strong { font-size: 0.9375rem; }
.pills span { font-size: 0.8125rem; color: var(--ink-45); line-height: 1.4; }

/* ------------------------------------------------------------- tick lists */

ul.tick { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0.5rem; }
ul.tick.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
ul.tick li {
  position: relative; padding-left: 1.4rem;
  font-size: 0.9375rem; color: var(--ink-70);
}
ul.tick li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--blue));
}
ul.tick a { color: var(--action); text-decoration: none; }
ul.tick a:hover { text-decoration: underline; }

.two-up {
  display: grid; gap: var(--gutter); margin-top: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

/* -------------------------------------------------------------------- steps */

.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.steps li {
  counter-increment: step;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: 0.85rem;
  border-radius: 50%; background: var(--soft); color: var(--action);
  font-size: 0.875rem; font-weight: 700;
}
.steps strong { display: block; margin-bottom: 0.25rem; }
.steps span { font-size: 0.9375rem; color: var(--ink-70); }

/* ------------------------------------------------------- availability table */

/* A wide table must scroll inside its own box; the page itself must never scroll sideways. */
.table-scroll { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; }
table.avail { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 34rem; }
table.avail th, table.avail td {
  text-align: left; padding: 0.35rem 0.9rem; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.avail td { padding-block: 0.7rem; }
table.avail thead th {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-45); font-weight: 700;
}
table.avail tbody th { font-weight: 600; white-space: nowrap; }
/* The service name is the row's link. As bare text it is a 19px-tall target; as a block it
   fills the cell and clears 44px, which is also easier to hit on a phone. */
table.avail tbody th a {
  display: flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: none;
}
table.avail tbody th a:hover { color: var(--action); text-decoration: underline; }
table.avail td:last-child { color: var(--ink-70); }

.pill {
  display: inline-block; white-space: nowrap;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
}
.pill.open { background: #dff3e6; color: #0b6b33; }
.pill.shut { background: var(--soft); color: var(--ink-70); }
@media (prefers-color-scheme: dark) {
  .pill.open { background: #123d24; color: #7ee2a4; }
}

/* ------------------------------------------------------------------ warning */

/*
 * Used for the statements that limit what CitiGo does — no diagnosis, no covert tracking, no
 * autonomous payments. Given more weight than a notice because they are the sentences a
 * reader is most entitled to rely on.
 */
.warn {
  margin: 1.75rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
  font-size: 0.9375rem;
  color: var(--ink-70);
}
.warn p { margin: 0; max-width: 78ch; }
.warn.on-navy {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 18%);
  border-left-color: var(--coral);
  color: var(--on-navy-70);
}

/* --------------------------------------------------------------- misc v3 */

.checks.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.prose .promise {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 600; color: var(--ink); line-height: 1.35;
  border-left: 4px solid var(--blue); padding-left: 1.1rem; margin: 1.25rem 0 1.75rem;
}
/* Fallback mark, used only if a service ships before its photography. */
.split-media .panel-art,
.tile .tile-art {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 240px;
  color: var(--accent, var(--blue));
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent, var(--blue)) 16%, transparent), transparent 70%);
}
.tile.art { background: var(--navy); }

@media (max-width: 520px) {
  .day li { grid-template-columns: 1fr; gap: 0.15rem; }
  .day-time { padding-top: 0; }
}

/* ========================================================== fulfilment flow */

/* How-to-access table. The action is the link; the note explains what will happen. */
table.access { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 32rem; }
table.access th, table.access td {
  text-align: left; padding: 0.5rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: middle;
}
table.access thead th {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-45); font-weight: 700;
}
table.access tbody th { font-weight: 600; }
table.access tbody th a {
  display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none;
}
table.access tbody th a:hover { color: var(--action); text-decoration: underline; }
table.access td { padding-block: 0.6rem; }
.how {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; color: var(--action); text-decoration: none;
}
.how:hover { text-decoration: underline; }
.how-note { display: block; font-size: 0.8125rem; color: var(--ink-45); line-height: 1.4; }

.two-field { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .two-field { grid-template-columns: 1fr 1fr; } }
form.lead.request, form.lead.cancel { max-width: 42rem; }
form.lead.cancel { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.how-preview {
  margin: 0; padding: 0.85rem 1.05rem;
  border-left: 3px solid var(--blue); background: var(--soft);
  border-radius: 0 12px 12px 0; font-size: 0.9375rem; color: var(--ink-70);
}
.how-preview:empty { display: none; }

/* The confirmation replaces the form: the reference is the only thing that matters now. */
.confirm {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--card); box-shadow: var(--shadow);
}
.confirm[hidden] { display: none; }
.confirm h2 { margin-top: 0; }
.confirm .ref {
  display: grid; gap: 0.2rem; margin: 1.25rem 0;
  padding: 1rem 1.15rem; border-radius: 14px; background: var(--soft);
}
.confirm .ref span { font-size: 0.75rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-45); font-weight: 700; }
.confirm .ref strong { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); letter-spacing: 0.04em; color: var(--ink); }
.launcher-status.note {
  border-left: 3px solid var(--blue); background: var(--soft);
  color: var(--ink-70); padding: 0.9rem 1.05rem; border-radius: 0 10px 10px 0;
}

/* Generated from src/config/design.js — do not edit here. */
.svc-move { --accent: #398dfa; }
.svc-send { --accent: #0fb5c4; }
.svc-order { --accent: #ff6b4a; }
.svc-travel { --accent: #7fb8ff; }
.svc-health { --accent: #b8e236; }
.svc-rent { --accent: #0a1b33; }
.svc-home-services { --accent: #ff6b4a; }
.svc-experiences { --accent: #398dfa; }
.svc-explore { --accent: #b8e236; }
.svc-pay { --accent: #0a1b33; }
.svc-vehicle-care { --accent: #7fb8ff; }
.svc-education-and-care { --accent: #0fb5c4; }
.svc-personal-services { --accent: #ff6b4a; }
.svc-family { --accent: #7fb8ff; }
.svc-ai { --accent: #398dfa; }
