/* RTN Global v2 */
/* self-hosted fonts (latin subsets): no third-party request in the critical path */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/archivo-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/plexmono-400-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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/plexmono-500-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; }
@view-transition { navigation: auto; }

:root {
  --blue: #2D2AE0;
  --blue-deep: #1D1A9E;
  --blue-night: #13116B;
  --sky: #CFD3FF;
  --paper: #FAFAF7;
  --paper-2: #EFEFEA;
  --ink: #14141F;
  --ink-2: #3A3A4A;
  --mute: #5E5E70;
  --line: #DCDCD4;
  --bug: #FF5A36;
  --ok: #19A974;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  --step-4: clamp(2.6rem, 1rem + 5.6vw, 6.25rem);

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-size-adjust: from-font;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-blue :focus-visible { outline-color: #fff; }

.display {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: var(--step-0);
  text-decoration: none; cursor: pointer;
  transition-property: background-color, color, scale, box-shadow;
  transition-duration: 160ms; transition-timing-function: var(--ease);
}
.btn:active:not(:disabled) { scale: 0.96; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--sky); color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); }
.btn-small { min-height: 42px; padding: 9px 18px; font-size: var(--step--1); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.link {
  font-weight: 700; color: inherit;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color 160ms var(--ease);
  display: inline-flex; align-items: center; min-height: 44px;
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  view-transition-name: site-header;
  transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease), color 200ms var(--ease);
}
.site-header[data-tone="blue"] { color: #fff; }
.site-header[data-tone="blue"].is-stuck:not(.is-scrolled) {
  background: color-mix(in srgb, var(--blue) 92%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.14);
}
.site-header[data-tone="paper"], .site-header.is-scrolled {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; font-stretch: 112%; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo .logo-thin { font-weight: 400; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  position: relative; color: inherit; text-decoration: none; font-weight: 600; font-size: var(--step--1);
  padding: 12px 14px; border-radius: 999px;
  transition: background-color 160ms var(--ease);
}
.nav a:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: currentColor;
}
.site-header .btn-header { background: var(--blue); color: #fff; }
.site-header[data-tone="blue"]:not(.is-scrolled) .btn-header { background: #fff; color: var(--ink); }
.menu-button, .menu-close {
  display: none; width: 44px; height: 44px; padding: 10px; margin-left: auto;
  background: none; border: 0; color: inherit; cursor: pointer; border-radius: 999px;
}
.menu-button svg, .menu-close svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .nav, .btn-header { display: none; }
  .menu-button { display: block; }
}
.mobile-nav {
  margin: 0; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none;
  border: 0; padding: 16px var(--gutter) 40px;
  background: var(--blue); color: #fff;
  opacity: 0; translate: 0 -12px;
  transition: opacity 220ms var(--ease-out), translate 220ms var(--ease-out), overlay 220ms allow-discrete, display 220ms allow-discrete;
}
.mobile-nav:popover-open { opacity: 1; translate: 0 0; }
@starting-style { .mobile-nav:popover-open { opacity: 0; translate: 0 -12px; } }
.mobile-nav .menu-close { display: block; }
.mobile-nav ul { margin-top: 24px; }
.mobile-nav li a:not(.btn) {
  display: block; padding: 14px 0; color: #fff; text-decoration: none;
  font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em;
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
}
.mobile-nav li a[aria-current="page"] { color: var(--sky); }
.mobile-nav .btn { margin-top: 28px; width: 100%; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--blue); color: #fff;
  margin-top: -76px; padding-top: 76px;
}
.hero-grid-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "title title" "copy xray";
  gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px); align-items: start;
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px);
}
.hero-title { grid-area: title; font-size: clamp(2.3rem, 0.2rem + 4.9vw, 5.2rem); line-height: 0.96; }
.hero-copy { grid-area: copy; padding-top: clamp(0px, 2vw, 24px); }
.xray { grid-area: xray; }
.hero-title .line { display: block; overflow: clip; padding-bottom: 0.06em; white-space: nowrap; }
.hero-title .line:nth-child(2) { padding-left: 0.9em; }
.hero-title .line:nth-child(3) { padding-left: 1.8em; }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "title" "copy" "xray"; }
  .hero-title .line { white-space: normal; padding-left: 0 !important; }
}
.hero-title .line > span { display: inline-block; }
.hero-sub { font-size: var(--step-1); max-width: 30em; color: #DDE0FF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 36px; }
.hero-proof { margin-top: 36px; display: flex; align-items: center; gap: 12px; color: #DDE0FF; font-size: var(--step--1); }
.hero-proof a { color: #fff; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }


/* Load choreography — one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .line > span { translate: 0 105%; }
  .js .hero .hero-sub, .js .hero .hero-actions, .js .hero .hero-proof { opacity: 0; translate: 0 12px; }
  .js .xray { opacity: 0; translate: 0 24px; scale: 0.98; }
  .js .is-loaded .hero-title .line > span { translate: 0 0; transition: translate 900ms var(--ease-out); }
  .js .is-loaded .hero-title .line:nth-child(2) > span { transition-delay: 90ms; }
  .js .is-loaded .hero-title .line:nth-child(3) > span { transition-delay: 180ms; }
  .js .is-loaded.hero .hero-sub { opacity: 1; translate: 0 0; transition: opacity 700ms 420ms var(--ease-out), translate 700ms 420ms var(--ease-out); }
  .js .is-loaded.hero .hero-actions { opacity: 1; translate: 0 0; transition: opacity 700ms 520ms var(--ease-out), translate 700ms 520ms var(--ease-out); }
  .js .is-loaded.hero .hero-proof { opacity: 1; translate: 0 0; transition: opacity 700ms 620ms var(--ease-out), translate 700ms 620ms var(--ease-out); }
  .js .is-loaded .xray { opacity: 1; translate: 0 0; scale: 1; transition: opacity 900ms 250ms var(--ease-out), translate 900ms 250ms var(--ease-out), scale 900ms 250ms var(--ease-out); }
}

/* ---------- X-ray browser ---------- */
.xray { position: relative; }
.xray-frame {
  position: relative;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 40px 80px -20px rgb(8 6 60 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.15);
  overflow: hidden;
  cursor: none;
  touch-action: pan-y;
  aspect-ratio: 16 / 11;
}
.xray-bar {
  display: flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px;
  background: #F1F1F4; border-bottom: 1px solid #E2E2E8; color: #6A6A78; font-size: 12px;
}
.xray-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5D5DD; }
.xray-url { margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; font-family: var(--mono); font-size: 11px; }
.xray-stage { position: absolute; inset: 40px 0 0 0; }
.xray-layer { position: absolute; inset: 0; padding: 4.5% 5%; display: grid; grid-template-rows: auto auto 1fr; gap: 5%; }

/* design layer: a finished storefront */
.layer-design { background: #FFF8F1; color: #2B1B12; }
.d-nav { display: flex; align-items: center; justify-content: space-between; font-size: clamp(9px, 1vw, 13px); font-weight: 700; }
.d-nav span:first-child { font-family: Georgia, serif; font-size: 1.4em; font-style: italic; }
.d-nav .d-links { display: flex; gap: 1.4em; font-weight: 500; opacity: 0.7; }
.d-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; }
.d-hero h3 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(16px, 2.6vw, 38px); line-height: 1; letter-spacing: -0.02em; }
.d-hero p { margin-top: 0.8em; font-size: clamp(8px, 0.85vw, 12px); opacity: 0.7; }
.d-btn { display: inline-block; margin-top: 1.2em; padding: 0.7em 1.4em; border-radius: 999px; background: #C2410C; color: #fff; font-size: clamp(8px, 0.85vw, 12px); font-weight: 700; }
.d-img { aspect-ratio: 1; border-radius: 50% 50% 12px 12px; background: radial-gradient(circle at 35% 30%, #FFD9A8, #F08A4B 55%, #B5462A); }
.d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; align-self: start; }
.d-card { border-radius: 10px; background: #fff; padding: 8%; box-shadow: 0 6px 18px -8px rgb(80 40 20 / 0.25); font-size: clamp(7px, 0.8vw, 11px); }
.d-card b { display: block; aspect-ratio: 4/3; border-radius: 6px; margin-bottom: 0.8em; }
.d-card:nth-child(1) b { background: #F7C59F; }
.d-card:nth-child(2) b { background: #A7C4A0; }
.d-card:nth-child(3) b { background: #9DB4D9; }

/* code layer: the same layout, as code */
.layer-code {
  background: var(--blue-night); color: #C9CCFF;
  font-family: var(--mono); font-size: clamp(7px, 0.78vw, 11.5px); line-height: 1.45;
  clip-path: circle(var(--lens, 0px) at var(--x, 50%) var(--y, 50%));
  -webkit-clip-path: circle(var(--lens, 0px) at var(--x, 50%) var(--y, 50%));
}
.c-box { border: 1px dashed rgb(201 204 255 / 0.45); border-radius: 6px; padding: 2% 3%; position: relative; overflow: hidden; }
.c-box::before {
  content: attr(data-tag); position: absolute; top: 0; right: 0;
  padding: 1px 6px; background: rgb(201 204 255 / 0.15); color: #fff; border-bottom-left-radius: 6px; font-size: 0.9em;
}
.c-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; }
.c-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; align-self: start; }
.tk-tag { color: #8FA2FF; }
.tk-attr { color: #FFC48A; }
.tk-str { color: #9BE3B5; }
.tk-com { color: #A9ACDD; }
.c-box pre { margin: 0; white-space: pre-wrap; font: inherit; }

.xray-lens-ring {
  position: absolute; left: 0; top: 0; pointer-events: none; z-index: 3;
  width: calc(var(--lens, 0px) * 2); height: calc(var(--lens, 0px) * 2);
  translate: calc(var(--px, -999px) - var(--lens, 0px)) calc(var(--py, -999px) - var(--lens, 0px) + 40px);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgb(45 42 224 / 0.35), 0 12px 30px rgb(0 0 0 / 0.3);
}
.xray-hint {
  position: absolute; left: 50%; bottom: -46px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: var(--step--1); color: #DDE0FF;
  transition: opacity 300ms var(--ease);
}
.xray-hint svg { width: 18px; height: 18px; }
.xray.has-interacted .xray-hint { opacity: 0; }
.hint-touch { display: none; }
@media (hover: none) { .hint-pointer { display: none; } .hint-touch { display: inline; } }
/* Keyboard path to the code layer: hidden until focused */
.xray-toggle {
  position: absolute; top: 52px; left: 12px; z-index: 4;
  padding: 8px 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font: inherit; font-size: var(--step--1); font-weight: 700; cursor: pointer;
  opacity: 0; pointer-events: none;
}
.xray-toggle:focus-visible, .xray-toggle[aria-pressed="true"] { opacity: 1; pointer-events: auto; }
@media (max-width: 980px) { .xray { margin-bottom: 40px; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--mute); font-size: var(--step-1); max-width: 30em; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* Scroll-reveal for section headings: decorative, progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 45%;
    }
  }
}
@keyframes reveal-up { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Services: three verbs ---------- */
.verbs { border-top: 1px solid var(--ink); }
.verb {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 24px 48px; padding-block: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  color: inherit; text-decoration: none;
  position: relative;
}
.verb-word { font-size: clamp(3rem, 1.5rem + 6vw, 7.5rem); line-height: 0.9; display: flex; align-items: baseline; gap: 0.25em; }
.verb-word .verb-dot { width: 0.18em; height: 0.18em; border-radius: 50%; background: var(--blue); flex: none; translate: 0 -0.1em; transition: scale 300ms var(--ease-out); }
.verb:hover .verb-dot, .verb:focus-visible .verb-dot { scale: 1.8; }
.verb-word span { transition: translate 400ms var(--ease-out), color 200ms var(--ease); }
.verb:hover .verb-word span, .verb:focus-visible .verb-word span { translate: 0.12em 0; color: var(--blue); }
.verb-body p { font-size: var(--step-1); color: var(--ink-2); max-width: 30em; }
.verb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.verb-tags li { padding: 6px 14px; border-radius: 999px; background: var(--paper-2); font-size: var(--step--1); font-weight: 600; }
.verb-more { margin-top: 14px; font-weight: 700; color: var(--blue); }
@media (max-width: 800px) { .verb { grid-template-columns: 1fr; } }

/* ---------- Fix demo: before / after ---------- */
.fix { background: var(--ink); color: #fff; }
.fix .section-head p { color: #B9B9CC; }
.compare {
  --pos: 50%;
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #1E1E2C;
  aspect-ratio: 16 / 9;
  user-select: none;
}
@media (max-width: 700px) { .compare { aspect-ratio: 4 / 5; } }
.compare-pane { position: absolute; inset: 0; display: grid; place-items: center; padding: 5%; }
/* "After" is revealed from the left: dragging right fixes more of it */
.pane-after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #F4F5FB; z-index: 1; }
.pane-before { background: #FBEDEA; }
.compare-label {
  position: absolute; top: 18px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  font-size: var(--step--1); font-weight: 700;
}
.pane-before .compare-label { right: 18px; background: #C2410C; color: #fff; }
.pane-after .compare-label { left: 18px; background: #0F7A52; color: #fff; }

.checkout { width: min(440px, 100%); background: #fff; border-radius: 16px; padding: 24px; color: var(--ink); box-shadow: 0 20px 40px -20px rgb(20 20 40 / 0.35); font-size: 14px; }
.checkout h4 { margin: 0 0 14px; font-size: 18px; }
.co-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #EEE; }
.co-total { font-weight: 800; font-size: 16px; }
.co-pay { margin-top: 16px; width: 100%; padding: 14px; border-radius: 10px; background: var(--blue); color: #fff; text-align: center; font-weight: 700; }
.co-meta { margin-top: 10px; display: flex; gap: 8px; align-items: center; color: var(--mute); font-size: 12px; }
.co-meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* the broken one */
.checkout.is-broken { rotate: -1.5deg; }
.is-broken h4 { font-family: "Times New Roman", serif; letter-spacing: 0.08em; }
.is-broken .co-row:nth-child(3) { translate: 22px 0; color: #999; }
.is-broken .co-total span:last-child { color: var(--bug); }
.is-broken .co-pay { width: 120%; background: #8C8C9C; translate: -6% 0; }
.is-broken .co-meta i { background: var(--bug); }
.bug-pin {
  position: absolute; z-index: 1; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bug); color: #fff; font-size: 12px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 6px rgb(255 90 54 / 0.25);
}
@media (prefers-reduced-motion: no-preference) {
  .bug-pin { animation: pin-pulse 1.8s var(--ease) infinite; }
}
@keyframes pin-pulse { 50% { box-shadow: 0 0 0 12px rgb(255 90 54 / 0); } }

.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 0;
}
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; }
.compare-knob {
  position: absolute; top: 50%; left: 0; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / 0.3);
}
.compare-knob svg { width: 24px; height: 24px; }
.compare input[type="range"] {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
}
.compare input[type="range"]:focus-visible + .compare-handle .compare-knob { outline: 3px solid #fff; outline-offset: 4px; }
.fix-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.fix-list li { padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.2); color: #B9B9CC; }
.fix-list strong { display: block; color: #fff; font-size: var(--step-1); margin-bottom: 6px; }
@media (max-width: 800px) { .fix-list { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 85%);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
}
.review {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px; border-radius: var(--r-lg);
  background: #fff; box-shadow: 0 0 0 1px var(--line);
  margin: 0;
}
.review blockquote { margin: 0; font-size: var(--step-1); line-height: 1.4; }
.review blockquote p::before { content: "“"; }
.review blockquote p::after { content: "”"; }
.review h3 { font-size: var(--step-0); font-weight: 800; }
.review figcaption { margin-top: auto; color: var(--mute); font-size: var(--step--1); }
.review figcaption strong { color: var(--ink); display: block; font-size: var(--step-0); }
.reviews-controls { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--paper-2); color: var(--ink); display: grid; place-items: center;
  transition: background-color 160ms var(--ease), scale 160ms var(--ease);
}
.round-btn:hover { background: var(--line); }
.round-btn:active { scale: 0.96; }
.round-btn svg { width: 22px; height: 22px; }
.reviews-controls .link { margin-left: auto; }

/* ---------- Process with scroll-driven fill ---------- */
.process { background: var(--paper-2); }
.steps-line { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps-line::before, .steps-line::after { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.steps-line::after { background: var(--blue); transform-origin: left; scale: 1 1; }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .steps-line::after { animation: fill-line linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
  }
}
@keyframes fill-line { from { scale: 0 1; } to { scale: 1 1; } }
.step { counter-increment: s; position: relative; padding-top: 72px; }
.step::before {
  content: counter(s); position: absolute; top: 0; left: 0; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--paper-2);
}
.step h3 { font-size: var(--step-2); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--ink-2); }
@media (max-width: 860px) {
  .steps-line { grid-template-columns: 1fr; gap: 36px; }
  .steps-line::before, .steps-line::after { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-line::after { transform-origin: top; }
  @keyframes fill-line { from { scale: 1 0; } to { scale: 1 1; } }
  .step { padding-top: 0; padding-left: 76px; }
}

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { padding: 32px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-size: var(--step-2); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; }
.plan p { color: var(--ink-2); }
.plan .price { font-size: var(--step-1); color: var(--ink); font-weight: 700; }
.plan .price b { font-size: var(--step-3); font-stretch: 125%; letter-spacing: -0.03em; }
.plan-featured { background: var(--blue); color: #fff; box-shadow: none; }
.plan-featured p, .plan-featured .price { color: #DDE0FF; }
.plan-featured .price b { color: #fff; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-notes { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--ink-2); font-weight: 600; }
.plan-notes li { display: inline-flex; align-items: center; gap: 8px; }
.plan-notes svg { width: 18px; height: 18px; color: var(--ok); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Closing + contact ---------- */
.closing { background: var(--blue); color: #fff; position: relative; overflow: clip; isolation: isolate; }
.closing .hero-grid-canvas { opacity: 0.8; }
.closing-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.closing h2 { font-size: var(--step-4); }
.closing-copy p { margin-top: 24px; color: #DDE0FF; font-size: var(--step-1); max-width: 26em; }
.contact-lines { margin-top: 36px; display: grid; gap: 14px; }
.contact-lines a, .contact-lines address { color: #fff; font-style: normal; font-weight: 600; }
.contact-lines span { display: block; color: #B8BCFF; font-size: var(--step--1); font-weight: 500; }
@media (max-width: 900px) { .closing-inner { grid-template-columns: 1fr; } }

.form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; box-shadow: 0 40px 80px -30px rgb(8 6 60 / 0.6); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: var(--step--1); cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.seg label:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.seg input:checked + span { background: var(--blue); color: #fff; box-shadow: none; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: var(--step--1); }
.field .opt { font-weight: 400; color: var(--mute); }
.hint { color: var(--mute); font-size: var(--step--1); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid #CFCFC7; border-radius: var(--r-sm);
  padding: 12px 14px; min-height: 50px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(45 42 224 / 0.2); }
.error { display: none; color: #C2361A; font-size: var(--step--1); font-weight: 600; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2361A; background: #FFF1EE; }
.field:has(:user-invalid) .error, .field.is-invalid .error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #C2361A; background: #FFF1EE; }
.form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; padding: 14px 16px; border-radius: var(--r-sm); }
.form-status.is-success { background: #E6F7EF; color: #0D6B47; }
.form-status.is-error { background: #FFF1EE; color: #C2361A; }
.form-status:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9B9CC; padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 40px; }
.site-footer .logo { color: #fff; }
.footer-grid h2 { font-size: var(--step--1); color: #fff; margin-bottom: 12px; font-weight: 700; }
.footer-grid a { color: #DADAE6; text-decoration: none; display: inline-block; padding-block: 6px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-grid address { font-style: normal; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: var(--step--1); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: clip; background: var(--blue); color: #fff; margin-top: -76px; padding-top: 76px; }
.page-hero-inner { padding-block: clamp(56px, 9vw, 128px) clamp(56px, 8vw, 112px); }
.page-hero h1 { font-size: var(--step-4); max-width: 13ch; view-transition-name: page-title; }
.page-hero p { margin-top: 24px; max-width: 34em; font-size: var(--step-1); color: #DDE0FF; }
.page-hero .hero-actions { margin-top: 32px; }

/* Services page: detail list */
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; padding-block: 40px; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { font-size: var(--step-2); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; }
.svc-verb { display: block; font-size: var(--step--1); color: var(--blue); font-weight: 700; margin-bottom: 8px; font-stretch: 100%; letter-spacing: 0; }
.svc p { color: var(--ink-2); font-size: var(--step-1); }
.svc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-top: 18px; }
.svc li { display: flex; gap: 10px; color: var(--ink-2); }
.svc li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); translate: 0 0.6em; }
@media (max-width: 800px) { .svc, .svc ul { grid-template-columns: 1fr; } }

/* Team page: role builder */
.builder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.builder-main { display: grid; gap: 16px; min-width: 0; }
.tb-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tb-label { margin-right: 4px; color: var(--mute); font-size: var(--step--1); font-weight: 600; }
.tb-preset { padding: 7px 14px; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink); font: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease); }
.tb-preset:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tb-preset[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tb-preset:focus-visible, .role:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.role { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: var(--r-md); background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); font: inherit; text-align: left; cursor: pointer; transition: box-shadow 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease); }
.role:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.role-badge { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--paper-2); color: var(--ink-2); font-size: 12px; font-weight: 800; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.role-text { display: grid; gap: 1px; min-width: 0; }
.role-text strong { font-size: var(--step--1); line-height: 1.3; }
.role-text small { color: var(--mute); font-size: 12.5px; line-height: 1.35; }
.role[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: none; }
.role[aria-pressed="true"] .role-badge { background: #fff; color: var(--blue); }
.role[aria-pressed="true"] small { color: #DDE0FF; }

.team-panel { position: sticky; top: 110px; display: grid; gap: 14px; padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.team-panel h3 { font-size: var(--step-1); margin: 0; }
.team-seats { display: flex; flex-wrap: wrap; gap: 8px; min-height: 52px; }
.seat-empty { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.22); }
.team-total { margin: 0; color: #B9B9CC; font-size: var(--step--1); line-height: 1.5; }
.team-total b { color: #fff; }
.team-panel .btn { width: 100%; }
.team-note { margin: -2px 0 0; color: #8C8CA3; font-size: 12.5px; text-align: center; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 13px;
}
@media (prefers-reduced-motion: no-preference) {
  .avatar { animation: pop 320ms var(--ease-out); }
}
@keyframes pop { from { scale: 0.25; opacity: 0; filter: blur(4px); } to { scale: 1; opacity: 1; filter: blur(0); } }
@media (max-width: 900px) {
  .builder { grid-template-columns: 1fr; }
  .team-panel { top: auto; bottom: 12px; gap: 10px; padding: 14px 16px; box-shadow: 0 20px 40px -10px rgb(20 20 31 / 0.5); }
  .team-panel h3, .team-note, .team-seats { display: none; }
}
@media (max-width: 560px) { .role-text small { display: none; } .role { padding: 10px 12px; gap: 10px; } .role-badge { width: 32px; height: 32px; } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px; padding-block: 18px; cursor: pointer; list-style: none;
  font-size: var(--step-1); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2314141F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: rotate 220ms var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-bottom: 24px; max-width: 62ch; color: var(--ink-2); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
@media (max-width: 800px) { .faq-wrap { grid-template-columns: 1fr; } }

/* About */
.about-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); }
.about-intro .lead { font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.01em; }
.about-intro p + p { margin-top: 18px; color: var(--ink-2); }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.fact { padding: 24px; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fact b { display: block; font-size: var(--step-3); font-stretch: 125%; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fact span { color: var(--mute); font-size: var(--step--1); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.principle { padding-block: 28px; border-top: 1px solid var(--line); }
.principle h3 { font-size: var(--step-2); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.principle p { color: var(--ink-2); }
.principle blockquote { margin: 14px 0 0; padding-left: 16px; border-left: 3px solid var(--blue); color: var(--mute); font-size: var(--step--1); }
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; } }

/* placeholder slots (facts the owner must confirm) */
.ph { background: #FFF0C2; color: #6B4A00; border-radius: 4px; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.on-blue .ph, .page-hero .ph { background: #FFE08A; color: #3D2A00; }

/* View transitions between pages */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 280ms; animation-timing-function: var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation-name: vt-out; }
  ::view-transition-new(root) { animation-name: vt-in; }
}
@keyframes vt-out { to { opacity: 0; translate: 0 -16px; } }
@keyframes vt-in { from { opacity: 0; translate: 0 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

.rev-country { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 12px; font-weight: 700; }
.rev-country::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9FB4FF, var(--blue)); }
.review figcaption { display: grid; justify-items: start; }

/* Reviews: summary, filters, source tags */
.review-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.score { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow 160ms var(--ease); }
a.score:hover { box-shadow: 0 0 0 2px var(--blue); }
.score b { font-size: var(--step-3); font-stretch: 125%; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--blue); }
.score span { color: var(--ink-2); font-size: var(--step--1); line-height: 1.35; }
.score-countries { background: var(--blue); box-shadow: none; }
.score-countries b { color: #fff; }
.score-countries span { color: #DDE0FF; }
@media (max-width: 800px) { .review-summary { grid-template-columns: 1fr; } }
.review-filter { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: var(--paper-2); }
.review-filter button { min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-weight: 700; font-size: var(--step--1); cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.review-filter button:hover { color: var(--ink); }
.review-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rev-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rev-meta .rev-country { margin-top: 0; }
.rev-source { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); }
.rev-source::before { content: "via"; font-weight: 500; margin-right: 0.3em; }
.review[hidden] { display: none; }
.reviews-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 0 20px; }
@media (prefers-reduced-motion: no-preference) {
  .review.is-entering { animation: review-in 360ms var(--ease-out) both; animation-delay: calc(var(--n, 0) * 50ms); }
}
@keyframes review-in { from { opacity: 0; translate: 16px 0; } }

/* ---------- Waving flags behind reviews ---------- */
.review { position: relative; isolation: isolate; overflow: hidden; }
.review > :not(.flag) { position: relative; z-index: 1; }
.flag {
  position: absolute; inset: -8% -1%; z-index: 0;
  display: flex; pointer-events: none;
  opacity: 0.26;
}
.flag i {
  flex: 1 1 0; height: 100%; margin-right: -0.6px;
  background-image: var(--flag);
  background-size: calc(var(--n) * 100%) 100%;
  background-position: var(--p) 50%;
  background-repeat: no-repeat;
}
.flag-shade {
  position: absolute; inset: 0; width: 200%;
  background: repeating-linear-gradient(90deg,
    rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.55) 6%, rgb(0 0 0 / 0.28) 13%, rgb(255 255 255 / 0) 25%);
}
@media (prefers-reduced-motion: no-preference) {
  .flag.is-live i { animation: flag-wave 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -0.1s); }
  .flag.is-live .flag-shade { animation: flag-shade 4.8s linear infinite; }
}
@keyframes flag-wave {
  from { transform: translateY(-3.5%) skewY(-1.2deg); }
  to { transform: translateY(3.5%) skewY(1.2deg); }
}
@keyframes flag-shade { to { transform: translateX(-50%); } }
/* a soft wash keeps the text crisp over the flag */
.review.has-flag::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.15), rgb(255 255 255 / 0.55) 70%, rgb(255 255 255 / 0.7));
}
.review.has-flag blockquote, .review.has-flag h3, .review.has-flag figcaption strong { color: var(--ink); }
.review.has-flag figcaption { color: var(--ink-2); }
.review.has-flag .rev-country, .review.has-flag .rev-source { background: rgb(255 255 255 / 0.85); }

/* ---------- Home: numbers strip ---------- */
.numbers { background: var(--paper); border-bottom: 1px solid var(--line); }
.numbers-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.number { display: flex; flex-direction: column; gap: 6px; padding: clamp(28px, 4vw, 44px) clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); min-width: 0; }
.number:first-child { border-left: 0; padding-left: 0; }
.number dd { order: -1; margin: 0; font-size: clamp(2.4rem, 1rem + 3.4vw, 4.4rem); font-stretch: 125%; font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; color: var(--ink); }
.number dt { color: var(--mute); font-weight: 600; font-size: var(--step--1); }
.number:nth-child(2) dd, .number:nth-child(4) dd { color: var(--blue); }
@media (max-width: 760px) {
  .numbers-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number { padding-inline: 0 12px; border-left: 0; }
  .number:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .number:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.person-role { color: var(--blue); font-weight: 700; }

/* =================== Footer v2 =================== */
.f2 { padding-block: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.f2-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding-bottom: 36px; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.f2-brand { display: grid; gap: 14px; }
.f2 .logo { font-size: 1.35rem; }
.f2 .logo svg { width: 34px; height: 34px; }
.f2-tag { font-size: var(--step-1); color: #DADAE6; max-width: 26em; }
.f2-status { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.f2-status > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.07); color: #DADAE6; font-size: var(--step--1); font-weight: 600; }
.f2-time { color: #fff; font-variant-numeric: tabular-nums; min-width: 5.5ch; }
.f2-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgb(25 169 116 / 0.6); }
@media (prefers-reduced-motion: no-preference) { .f2-dot { animation: f2-pulse 2s var(--ease) infinite; } }
@keyframes f2-pulse { 70% { box-shadow: 0 0 0 8px rgb(25 169 116 / 0); } 100% { box-shadow: 0 0 0 0 rgb(25 169 116 / 0); } }

.f2-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 40px 8px; }
.f2-cols h2 { font-size: var(--step--1); color: #8E8EA6; font-weight: 700; margin-bottom: 14px; }
.f2-cols ul { display: grid; gap: 2px; }
.f2-cols a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom 4px / 0% 1px; transition: background-size 260ms var(--ease-out); }
.f2-cols a:hover { color: #fff; text-decoration: none; background-size: 100% 1px; }
.f2-cols address { font-style: normal; color: #B9B9CC; line-height: 1.6; padding-top: 6px; }
.f2-ratings a { flex-wrap: wrap; column-gap: 6px; background: none; }
.f2-ratings a:hover b { color: #FFD25E; }
.f2-ratings b { font-size: var(--step-1); font-stretch: 112%; transition: color 160ms var(--ease); }
.f2-ratings span { flex-basis: 100%; margin-left: 26px; margin-top: -4px; color: #8E8EA6; font-size: var(--step--1); }
.f2-star { width: 18px; height: 18px; color: #FFD25E; }
@media (max-width: 860px) { .f2-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .f2-cols { grid-template-columns: 1fr; } }

/* giant outlined wordmark, cropped by the page edge; fills in when the footer is hovered */
.f2-word {
  margin: 24px 0 -0.24em; white-space: nowrap; user-select: none; pointer-events: none;
  font-size: clamp(4rem, 1rem + 15vw, 17rem); font-stretch: 125%; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9;
  color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / 0.22);
  background: linear-gradient(90deg, var(--blue), #8E8BFF) no-repeat left / 0% 100%; -webkit-background-clip: text; background-clip: text;
  transition: background-size 900ms var(--ease-out), -webkit-text-stroke-color 600ms var(--ease);
}
.f2:hover .f2-word { background-size: 100% 100%; -webkit-text-stroke-color: rgb(255 255 255 / 0); }
.f2-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 18px 24px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--step--1); color: #8E8EA6; background: var(--ink); }
.f2-top-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background-color 160ms var(--ease); }
.f2-top-btn:hover { background: rgb(255 255 255 / 0.16); }
.f2-top-btn svg { width: 16px; height: 16px; transition: translate 200ms var(--ease-out); }
.f2-top-btn:hover svg { translate: 0 -2px; }
/* size the wordmark to the content width so the whole word sits inside the footer */
.f2-word { font-size: calc((min(100vw, 1320px) - 2 * var(--gutter)) / 6.9); overflow: hidden; }

/* Logo: two layers, the front one cut by a </> bracket. The cut takes the colour of whatever sits behind the logo. */
.logo svg { width: 32px; height: 32px; }
.site-header .logo { --cut: var(--paper); }
.site-header[data-tone="blue"]:not(.is-scrolled) .logo { --cut: var(--blue); }
.site-footer .logo { --cut: var(--ink); }
.f2 .logo svg { width: 36px; height: 36px; }

/* =================== Header follows the section behind it =================== */
.site-header { transition: background-color 260ms var(--ease), color 260ms var(--ease), box-shadow 260ms var(--ease); }
.site-header[data-tone="blue"], .site-header[data-tone="ink"] { color: #fff; }
.site-header[data-tone="blue"]:not(.is-stuck) { background: transparent; box-shadow: none; backdrop-filter: none; }
.site-header.is-stuck[data-tone="blue"] { background: color-mix(in srgb, var(--blue) 90%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgb(255 255 255 / 0.14); }
.site-header[data-tone="ink"] { background: color-mix(in srgb, var(--ink) 88%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgb(255 255 255 / 0.1); }
.site-header[data-tone="paper"] { color: var(--ink); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header[data-tone="blue"] .btn-header { background: #fff; color: var(--ink); }
.site-header[data-tone="ink"] .btn-header, .site-header[data-tone="paper"] .btn-header { background: var(--blue); color: #fff; }
.site-header[data-tone="blue"] .logo { --cut: var(--blue); }
.site-header[data-tone="ink"] .logo { --cut: var(--ink); }
.site-header[data-tone="paper"] .logo { --cut: var(--paper); }
