/* =========================================================
   Arcus — Design Tokens & Base
   ========================================================= */
:root {
  /* Brand blues */
  --arcus-blue-50:  rgba(74,190,255,0.06);
  --arcus-blue-100: rgba(74,190,255,0.18);
  --arcus-blue-200: rgba(74,190,255,0.85);
  --arcus-blue-300: #4ABEFF;
  --arcus-blue-400: #1D8AE0;
  --arcus-blue-500: #176DB3;
  --arcus-blue-600: #094576;
  --arcus-blue-700: #094576;
  --arcus-blue-800: #00182C;

  /* Accents */
  --arcus-mint-300: #1D8AE0; /* CI: mint retired, mapped to CI blue */
  --arcus-mint-500: #1D8AE0;
  --arcus-coral-500: #4ABEFF; /* CI: coral retired, mapped to CI sky */

  /* Neutrals */
  --neutral-0:   #FFFFFF;
  --neutral-50:  #F8F9FB; /* 3% #094576 */
  --neutral-100: #F3F6F8; /* 5% #094576 */
  --neutral-200: #E6ECF1; /* 10% #094576 */
  --neutral-300: #C2D1DD; /* 25% #094576 */
  --neutral-400: rgba(9,69,118,0.40);
  --neutral-500: rgba(9,69,118,0.55);
  --neutral-600: rgba(9,69,118,0.72);

  /* Semantic */
  --bg: #FFFFFF;
  --bg-muted: var(--neutral-50);
  --bg-banner: linear-gradient(180deg, rgba(74,190,255,0.10) 0%, rgba(74,190,255,0.28) 100%);
  --bg-sky:   linear-gradient(180deg, #1D8AE0 0%, #4ABEFF 100%);
  --bg-dark:  #00182C;

  --ink: var(--arcus-blue-600);
  --ink-soft: rgba(9, 69, 118, 0.72);
  --ink-mute: rgba(9, 69, 118, 0.72);
  --primary: #4ABEFF;
  --primary-deep: #1D8AE0;
  --accent: #4ABEFF;

  --border: #E6ECF1;
  --border-strong: #C2D1DD;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radii */
  --r-sm: 14px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(0, 24, 44, 0.06);
  --shadow-2: 0 8px 28px rgba(0, 24, 44, 0.08);
  --shadow-3: 0 24px 60px rgba(0, 24, 44, 0.12);
  --shadow-soft: 0 30px 80px -20px rgba(29, 138, 224, 0.35);

  /* Type */
  --font: "Satoshi", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Satoshi", -apple-system, "Segoe UI", sans-serif;

  /* Type scale (desktop 1440) */
  --t-display: clamp(56px, 6.4vw, 104px);
  --t-h1: clamp(40px, 4.2vw, 64px);
  --t-h2: clamp(32px, 3vw, 48px);
  --t-h3: 28px;
  --t-h4: 20px;
  --t-lead: 19px;
  --t-body: 16px;
  --t-small: 14px;
  --t-eyebrow: 12px;

  /* Layout */
  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(88px, 9vw, 148px);
  --nav-h: 86px;
}

/* ----- Density tweaks ----- */
[data-density="cosy"] {
  --section-y: clamp(96px, 10vw, 160px);
  --sp-9: 80px; --sp-8: 56px;
}
[data-density="spacious"] {
  --section-y: clamp(112px, 12vw, 184px);
  --sp-9: 128px; --sp-8: 80px;
}

/* ----- Palette variants (blue family only) ----- */
[data-palette="sky"] {
  /* accent text/UI one step deeper than the sky blue so it meets contrast on white */
  --primary: #1D8AE0;
  --primary-deep: #176DB3;
  --accent: #4ABEFF;
}
[data-palette="mid"] {
  --primary: #1D8AE0;
  --primary-deep: #176DB3;
  --accent: #4ABEFF;
  --bg-banner: linear-gradient(180deg, rgba(74,190,255,0.18) 0%, rgba(74,190,255,0.85) 100%);
}
[data-palette="navy"] {
  --primary: #094576;
  --primary-deep: #094576;
  --accent: #4ABEFF;
  --bg-banner: linear-gradient(180deg, rgba(74,190,255,0.20) 0%, rgba(74,190,255,0.32) 100%);
}

/* ----- Background treatment ----- */
[data-bg="white"] body { background: #FFFFFF; }
[data-bg="gradient"] body {
  background:
    radial-gradient(1200px 600px at 80% -100px, rgba(74,190,255,0.18) 0%, transparent 70%),
    radial-gradient(800px 600px at 0% 80%, rgba(74,190,255,0.10) 0%, transparent 70%),
    #FFFFFF;
}
[data-bg="dark"] body {
  background: #00182C;
  color: rgba(74,190,255,0.18);
}
[data-bg="dark"] {
  --ink: rgba(74,190,255,0.18);
  --ink-soft: rgba(220, 239, 255, 0.78);
  --ink-mute: rgba(220, 239, 255, 0.55);
  --bg: #00182C;
  --bg-muted: #094576;
  --border: rgba(220, 239, 255, 0.14);
  --border-strong: rgba(220, 239, 255, 0.24);
  --primary: #4ABEFF;
  --primary-deep: #1D8AE0;
}
[data-bg="dark"] .surface { background: rgba(255,255,255,0.04); }

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Full-bleed pieces use 100vw, which includes the scrollbar; clip so the page never scrolls sideways. */
html, body { overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }

/* ============ Type ============ */
.h-display, .h1, .h2, .h3, .h4 {
  font-family: var(--font);
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.02;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.h-display { font-size: var(--t-display); font-weight: 600; letter-spacing: -0.03em; }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.15; }
.h4 { font-size: var(--t-h4); line-height: 1.2; font-weight: 600; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-soft); }
.body { font-size: var(--t-body); color: var(--ink-soft); }
.small { font-size: var(--t-small); color: var(--ink-soft); }
.eyebrow {
  font-size: var(--t-eyebrow); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary);
}
.mono { font-family: var(--font-mono); letter-spacing: 0; font-size: 12px; }

/* ============ Layout ============ */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding-block: var(--section-y); }
.stack-2 > * + * { margin-top: 8px; }
.stack-3 > * + * { margin-top: 12px; }
.stack-4 > * + * { margin-top: 16px; }
.stack-5 > * + * { margin-top: 24px; }
.stack-6 > * + * { margin-top: 32px; }
.stack-7 > * + * { margin-top: 48px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px;
  border-radius: 14px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  white-space: nowrap;
}
/* Sky-blue button with navy label: keeps the brand colour and passes contrast (8.6:1) */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 22px -14px color-mix(in oklab, var(--accent) 70%, transparent);
}
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: #fff; box-shadow: 0 12px 26px -14px color-mix(in oklab, var(--accent) 75%, transparent); }
.btn-secondary {
  background: var(--neutral-100);
  color: var(--ink);
  border-color: color-mix(in oklab, var(--ink) 24%, transparent);
}
.btn-secondary:hover { background: color-mix(in oklab, var(--ink) 92%, transparent); color: #fff; border-color: transparent; }
[data-bg="dark"] .btn-secondary { color: rgba(220,239,255,0.92); background: rgba(220,239,255,0.06); border-color: rgba(220,239,255,0.22); }
[data-bg="dark"] .btn-secondary:hover { background: rgba(74,190,255,0.18); color: #fff; border-color: rgba(220,239,255,0.3); }
.btn-ghost {
  background: color-mix(in oklab, var(--ink) 3%, transparent);
  color: var(--ink);
  border-color: color-mix(in oklab, var(--ink) 14%, transparent);
}
.btn-ghost:hover { border-color: color-mix(in oklab, var(--ink) 32%, transparent); background: color-mix(in oklab, var(--ink) 6%, transparent); }
.btn-grow { transform: scale(0.86); transition: transform .35s cubic-bezier(.22,1,.36,1), background .2s ease, border-color .2s ease, color .2s ease; }.btn-grow:hover { transform: scale(1); }
.btn-grow-right { transform-origin: right center; }
.btn-grow-left { transform-origin: left center; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
/* shared button motion: lift on hover, sheen sweep, arrow nudge, press */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%); transform: translateX(-110%); }
.btn:hover::after { transform: translateX(110%); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.btn:not(.btn-grow):hover { transform: translateY(-2px); }
.btn:not(.btn-grow):active { transform: translateY(0) scale(.97); transition-duration: .2s; }
.btn-grow:active { transform: scale(.96); transition-duration: .2s; }
.btn svg { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.btn:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after, .btn svg { transition: none !important; } .btn:hover, .btn:hover svg { transform: none !important; } .btn::after { display: none; } }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; border-radius: 10px; }

/* audience check badges — one-shot entrance when the ring graphic is properly in view */
.aud-badge {
  opacity: 0;
  transform: translateX(calc(var(--aud-dir, 1) * 26px)) scale(0.55);
  transition: opacity .6s ease, transform 1.1s cubic-bezier(.22,1,.36,1);
}
.aud-stage.badges-in .aud-badge { opacity: 1; transform: translateX(0) scale(1); }
.aud-check {
  stroke-dasharray: 24; stroke-dashoffset: 24;
  transition: stroke-dashoffset .6s cubic-bezier(.22,1,.36,1);
}
.aud-stage.badges-in .aud-check { stroke-dashoffset: 0; }
.aud-halo {
  position: absolute; inset: -1px; border-radius: 50%;
  border: 2px solid currentColor; opacity: 0;
  pointer-events: none;
}
.aud-stage.badges-in .aud-halo { animation: audHalo 1.4s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes audHalo {
  0%   { opacity: .55; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.1); }
}
@media (prefers-reduced-motion: reduce) {
  .aud-badge { opacity: 1; transform: none; transition: none; }
  .aud-check { stroke-dashoffset: 0; transition: none; }
  .aud-stage.badges-in .aud-halo { animation: none; }
}

/* ============ Founder rows (About) ============ */
.founder-rows { list-style: none; margin: 0; padding: 0; }
.founder-row {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(34px, 3.6vw, 52px) 0;
  border-top: 1px solid var(--border);
}
.founder-rows > *:last-child .founder-row { border-bottom: 1px solid var(--border); }
.founder-id { display: flex; align-items: center; gap: 18px; }
.founder-avatar { width: 84px; height: 84px; border-radius: 50%; display: block; flex-shrink: 0; }
.founder-avatar--mark {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-banner);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 22%, transparent);
}
.founder-name { display: block; font-size: clamp(21px, 1.8vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.founder-role { display: block; margin-top: 7px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.founder-quote {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.62;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.founder-quote strong { font-weight: 600; color: var(--ink); }
@media (max-width: 820px) {
  .founder-row { grid-template-columns: 1fr; gap: 22px; }
  .founder-avatar { width: 68px; height: 68px; }
}

/* ============ Credentials strip (About) ============ */
.cred-intro { max-width: none; margin: 0 0 28px; white-space: nowrap; }
@media (max-width: 760px) { .cred-intro { white-space: normal; } }
.cred-band { position: relative; padding-block: 18px; }
.cred-arcs { position: absolute; left: -4%; width: 108%; top: 0; height: 100%; overflow: visible; pointer-events: none; }
.cred-marquee {
  overflow: hidden; position: relative;
  background: radial-gradient(60% 120% at 50% 50%, rgba(74,190,255,0.09), rgba(74,190,255,0) 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.cred-marquee__track { display: flex; width: max-content; animation: cred-scroll 38s linear infinite; }
@keyframes cred-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.scanflow { position: relative; width: 190px; height: 16px; margin-top: 4px; }
.fan-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.trail-dot { opacity: 0; transform: translateY(-10px); }
.spread-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.spill { transform: scaleY(.12); transform-origin: 50% 0; opacity: 0; }
.conseq-arc { --arcH: clamp(170px, 19vw, 280px); }
.conseq-stop { padding-top: calc(var(--arcH) * var(--y)); }
/* non-scaling-stroke measures dashes in screen space; oversize dash so the stretched path fully draws */
.snake-line.conseq-line { stroke-dasharray: 3; stroke-dashoffset: 3; }
@media (prefers-reduced-motion: reduce) { .snake-line.conseq-line { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  .conseq-arc-lines { display: none; }
  .conseq-stops { grid-template-columns: 1fr !important; gap: 64px; }
  .conseq-stop { padding-top: 0; }
  .conseq-dot { transform: none !important; }
}
.snake-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.in-view .snake-line { animation: fan-draw 1.3s cubic-bezier(.33,.9,.3,1) forwards; }
@media (prefers-reduced-motion: reduce) { .snake-line { stroke-dashoffset: 0; animation: none; } }
.snake-line.about-arc-line { stroke-dasharray: 3; stroke-dashoffset: 3; }
@media (prefers-reduced-motion: reduce) { .snake-line.about-arc-line { stroke-dashoffset: 0; } }
.reveal.in-view .spill { animation: spill-open 1.1s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes spill-open { to { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .spill { transform: none; opacity: 1; animation: none; } }
.reveal.in-view .spread-line { animation: fan-draw 1.2s cubic-bezier(.22,1,.36,1) forwards; }
.reveal.in-view .trail-dot { animation: trail-drop .7s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes trail-drop { to { opacity: var(--dot-op, .4); transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .trail-dot { opacity: var(--dot-op, .4); transform: none; animation: none; } }
.reveal.in-view .fan-line { animation: fan-draw 1.1s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes fan-draw { to { stroke-dashoffset: 0; } }
.fan-pulse { stroke-dasharray: 0.12 0.88; stroke-dashoffset: 1.12; opacity: 0; }
.reveal.in-view .fan-pulse { animation: fan-pulse 2.6s cubic-bezier(.45,0,.55,1) 1 forwards; }
@keyframes fan-pulse {
  0% { stroke-dashoffset: 1.12; opacity: 0; }
  14% { opacity: .85; }
  86% { opacity: .85; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .fan-line { stroke-dashoffset: 0; } .fan-pulse { display: none; } }
.cta-link { appearance: none; background: none; border: 0; padding: 0 2px 4px; font: inherit; font-size: 1.0625rem; font-weight: 600; color: var(--primary-deep); cursor: pointer; position: relative; }
.cta-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.cta-link:hover::after { transform: scaleX(0); transform-origin: right; }
.cta-link:hover { color: var(--primary); }.scanflow__rail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scanflow__packet { position: absolute; top: 0; left: 0; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(to right, rgba(74,190,255,0), var(--primary, #4abeff)); box-shadow: 0 0 8px rgba(74,190,255,.7); offset-path: path("M 0 16 Q 95 0 190 16"); offset-rotate: auto; offset-anchor: 100% 50%; offset-distance: 0%; animation: scanflow-run 2.4s linear infinite; }
.scanflow__packet:nth-child(3) { animation-delay: .8s; }
.scanflow__packet:nth-child(4) { animation-delay: 1.6s; }
@keyframes scanflow-run {
  0%   { offset-distance: 0%; opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .scanflow__packet { animation: none; opacity: .5; offset-distance: 50%; } }
.cred-strip {
  list-style: none; margin: 0; padding: 0;
  display: flex;
}
.cred-strip > li {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; width: clamp(190px, 15vw, 250px); padding: 20px 12px;
  position: relative;
}
.cred-mark { white-space: nowrap; filter: grayscale(1) brightness(0.35); opacity: .7; transition: filter .35s ease, opacity .35s ease; }
.cred-strip > li:hover .cred-mark { filter: none; opacity: 1; }
.cred-mark--imperial { font-size: 15px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--primary-deep); }
.cred-mark--capgemini { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: oklch(0.58 0.19 15); }
.cred-mark--aws { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: oklch(0.55 0.13 55); }
.cred-mark--proglove { font-size: 14px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: oklch(0.62 0.14 40); }
.cred-mark--vicon { font-size: 21px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: oklch(0.38 0.06 255); }
.cred-mark--zelp { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--primary); }
@media (prefers-reduced-motion: reduce) {
  .cred-marquee__track { animation: none; }
}

/* ============ Cards ============ */
.surface {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.surface-soft {
  background: var(--bg-muted);
  border-radius: var(--r-lg);
}
.surface-elev {
  background: var(--bg);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--border);
}

/* ============ Pills / Tags ============ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--arcus-blue-50);
  color: var(--primary-deep);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(29, 138, 224, 0.15);
}
[data-bg="dark"] .pill {
  background: rgba(74, 190, 255, 0.12);
  border-color: rgba(74, 190, 255, 0.28);
  color: rgba(74,190,255,0.85);
}
.pill-mint { background: rgba(74, 190, 255, 0.14); color: var(--arcus-blue-600); border-color: rgba(74, 190, 255, 0.32); }
.pill-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; display: inline-block;
}

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(230, 236, 241, 0.7);
  transition: padding .6s cubic-bezier(.22,1,.36,1), background .35s ease, border-color .35s ease;
}
.nav.is-scrolled {
  padding-top: 10px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid transparent;
  box-shadow: 0 10px 30px -10px rgba(0, 24, 44, 0);
  transition: max-width .6s cubic-bezier(.22,1,.36,1), height .6s cubic-bezier(.22,1,.36,1), padding .6s cubic-bezier(.22,1,.36,1),
              box-shadow .6s cubic-bezier(.22,1,.36,1), background .35s ease, border-color .35s ease;
}
.nav.is-scrolled .nav-inner {
  max-width: 900px;
  height: 60px;
  padding: 0 10px 0 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: rgba(230, 236, 241, 0.7);
  box-shadow: 0 10px 30px -10px rgba(0, 24, 44, 0.2), 0 1px 2px rgba(0, 24, 44, 0.05);
}
[data-bg="dark"] .nav {
  background: rgba(0, 24, 44, 0.72);
  border-bottom-color: rgba(220, 239, 255, 0.08);
}
[data-bg="dark"] .nav.is-scrolled { background: transparent; border-bottom-color: transparent; }
[data-bg="dark"] .nav.is-scrolled .nav-inner {
  background: rgba(0, 24, 44, 0.72);
  border-color: rgba(220, 239, 255, 0.1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.2);
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; }
.nav-brand-mark { width: 36px; height: 36px; }
.nav-brand-text {
  font-weight: 700; font-size: 19px; letter-spacing: 0.05em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; height: 36px;
  padding: 0 14px; border-radius: var(--r-pill);
  font-size: 15.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: rgba(9, 69, 118, 0.05); }
.nav-link[data-active="true"] {
  color: var(--ink); background: rgba(29, 138, 224, 0.08);
}
[data-bg="dark"] .nav-link:hover { background: rgba(220, 239, 255, 0.08); }
[data-bg="dark"] .nav-link[data-active="true"] { background: rgba(74, 190, 255, 0.14); color: #fff; }
.nav-ctas { display: flex; gap: 22px; align-items: center; padding-right: 8px; }
.nav-cta {
  background: none; border: none; padding: 0;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer; line-height: 1;
  transition: color .2s ease, opacity .2s ease;
}
.nav-cta--quiet { color: #094576; }
.nav-cta--quiet:hover { color: #00182C; }
.nav-cta--brand { color: #1D8AE0; }
.nav-cta--brand:hover { color: #176DB3; }
[data-bg="dark"] .nav-cta--quiet { color: rgba(220, 239, 255, 0.7); }
[data-bg="dark"] .nav-cta--quiet:hover { color: #fff; }
[data-bg="dark"] .nav-cta--brand { color: rgba(120, 208, 255, 0.95); }
[data-bg="dark"] .nav-cta--brand:hover { color: #fff; }

/* ============ Footer ============ */
.footer {
  background: #00182C;
  color: rgba(255,255,255,0.7);
  padding: 32px 0 20px;
  border-radius: 32px 32px 0 0;
  margin-top: var(--space-s);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.footer h5 {
  color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(220, 239, 255, 0.08);
  color: rgba(255,255,255,0.45); font-size: 13px;
}

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.25,.1,.25,1), transform .5s cubic-bezier(.25,.1,.25,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ============ Misc utility ============ */
.gradient-text {
  background: linear-gradient(180deg, var(--arcus-blue-400), var(--arcus-blue-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.kbd {
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 6px; border: 1px solid var(--border-strong);
  border-radius: 6px; color: var(--ink-soft); background: var(--bg-muted);
}

/* placeholder image plate */
.plate {
  background:
    repeating-linear-gradient(135deg, rgba(9,69,118,0.04) 0 1px, transparent 1px 12px),
    var(--arcus-blue-50);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  font-family: var(--font-mono); font-size: 12px;
  border: 1px dashed rgba(29, 138, 224, 0.25);
}

/* Selection */
::selection { background: var(--arcus-blue-300); color: #00182C; }

/* Logo conveyor marquee */
.logo-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-scroll 42s linear infinite;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; }
}

.shift { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(40px, 5vw, 88px); align-items: center; max-width: 1180px; margin-inline: auto; }
.shift-media { position: relative; display: grid; aspect-ratio: 1074 / 614; border-radius: 22px; }
.shift-frame { grid-area: 1 / 1; position: relative; z-index: 1; border-radius: 22px; overflow: hidden; opacity: 0; transform: scale(1.035); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform 1.4s cubic-bezier(.22,1,.36,1); box-shadow: 0 24px 60px rgba(9,69,118,0.12), inset 0 0 0 1px rgba(9,69,118,0.08); background: var(--bg-muted); }
.shift-frame.on { opacity: 1; transform: none; }
.shift-frame image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.shift-chip { position: absolute; z-index: 2; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px; border-radius: 999px; background: rgba(0, 24, 44,0.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(220,239,255,0.16); color: #fff; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.shift-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.shift-copy { container-type: inline-size; display: flex; flex-direction: column; gap: clamp(24px, 2.4vw, 36px); }
.shift-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 860px) { .shift { grid-template-columns: 1fr; } .shift-copy { text-align: center; align-items: center; } .shift-tabs { justify-content: center; } }
.shift-slide { opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.shift-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.shift-tab { appearance: none; position: relative; overflow: hidden; isolation: isolate; font: inherit; cursor: pointer; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 0; background: rgba(9,69,118,0.06); color: rgba(9,69,118,0.72); display: inline-flex; align-items: center; transition: color .35s, border-color .35s, background-color .35s, min-height .35s cubic-bezier(.22,1,.36,1), padding .35s cubic-bezier(.22,1,.36,1); }
.shift-tab .shift-label { font-size: 13px; transition: font-size .35s cubic-bezier(.22,1,.36,1); }
.shift-tab.active { min-height: 50px; padding: 0 24px; }
.shift-tab.active .shift-label { font-size: 16px; }
.shift-tab:hover, .shift-tab:focus-visible { color: var(--ink); background: rgba(9,69,118,0.1); outline: none; }
.shift-tab.active { color: var(--primary-deep); background: rgba(74,190,255,0.16); }
.shift-label { position: relative; z-index: 1; font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; }
.shift-bar { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shift-bar > i { display: block; height: 100%; background: transparent; transform-origin: left; transform: scaleX(0); }
.shift.run .shift-tab.active .shift-bar > i, .fshift.run .shift-tab.active .shift-bar > i { animation: shift-fill 6s linear forwards; }
.shift-tabs:hover .shift-tab.active .shift-bar > i { animation-play-state: paused; }
@keyframes shift-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .shift-frame { transition: none; transform: none; } .shift-slide { transition: none; } .shift.run .shift-tab.active .shift-bar > i, .fshift.run .shift-tab.active .shift-bar > i { animation: none; transform: scaleX(1); } }

.fpanels { --ph: clamp(460px, 44vw, 600px); --edge: clamp(28px, 3vw, 44px); --pw: calc(var(--ph) * 0.45); display: flex; gap: 16px; height: var(--ph); max-width: 1240px; margin-inline: auto; }
.fpanel { appearance: none; border: 0; font: inherit; text-align: left; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; flex: 1 1 0; min-width: 0; border-radius: 32px; background: linear-gradient(180deg, #fff 0%, var(--bg-muted) 100%); box-shadow: inset 0 0 0 1px rgba(9,69,118,0.06); transition: flex-grow .6s cubic-bezier(.22,1,.36,1), box-shadow .35s; padding: 0; color: var(--ink); }
.fpanel.open { flex-grow: 2.6; box-shadow: inset 0 0 0 1px rgba(74,190,255,0.3), 0 30px 70px rgba(9,69,118,0.1); }
.fpanel--board { flex-grow: 0.7; }
.fpanel--board.open { flex-grow: 2.2; }
.fpanel-arcs { position: absolute; left: 50%; bottom: 0; width: calc(var(--ph) * 0.8); height: 100%; transform: translateX(-50%); overflow: visible; z-index: -1; transition: opacity .6s; opacity: .7; }
.fpanel.open .fpanel-arcs { opacity: 1; }
.fpanel-photo { position: absolute; bottom: 0; left: 50%; height: 88%; width: auto; max-width: none; transform: translateX(-50%); transition: left .6s cubic-bezier(.22,1,.36,1), height .6s cubic-bezier(.22,1,.36,1); filter: drop-shadow(0 18px 30px rgba(9,69,118,0.12)); }
.fpanel.open .fpanel-photo { left: calc(100% - var(--edge) - var(--pw) / 2); height: 94%; }
.fpanel-mark { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); transition: left .6s cubic-bezier(.22,1,.36,1); }
.fpanel.open .fpanel-mark { left: 76%; }
.fpanel-id { position: absolute; left: var(--edge); bottom: var(--edge); z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,0.94); box-shadow: 0 6px 18px rgba(9,69,118,0.08); width: max-content; max-width: calc(100% - var(--edge) * 2); }
.fpanel-name { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.015em; }
.fpanel-role { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(9,69,118,0.72); }
.fpanel-quote { position: absolute; left: var(--edge); top: clamp(32px, 3.4vw, 52px); width: calc(100% - var(--pw) - var(--edge) * 3); max-width: 420px; font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.38; color: rgba(9,69,118,0.72); text-wrap: pretty; opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s; pointer-events: none; }
.fpanel-quote strong { font-weight: 600; color: var(--ink); }
.fpanel:not(.open) .fpanel-id { left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 999px; }
.fpanel:not(.open) .fpanel-name { font-size: 16px; white-space: nowrap; }
.fpanel:not(.open) .fpanel-role { display: none; }
.fpanel-id { transition: none; }
.fpanel-quote--plain { font-size: clamp(24px, 2.3vw, 34px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.fpanel-quote--plain strong { color: var(--primary); }
.fpanel.open .fpanel-quote { opacity: 1; transform: none; transition: opacity .6s .35s, transform .6s .35s cubic-bezier(.22,1,.36,1); }
.fpanel--board .fpanel-quote { width: min(52%, 400px); }
.fpanel:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (max-width: 860px) {
  .fpanels { flex-direction: column; height: auto; }
  .fpanel, .fpanel.open, .fpanel--board, .fpanel--board.open { flex: none; height: 460px; }
  .fpanel-quote { opacity: 1; transform: none; width: 52%; font-size: 20px; }
  .fpanel-photo, .fpanel.open .fpanel-photo { left: 74%; height: 86%; }
  .fpanel-mark, .fpanel.open .fpanel-mark { left: 76%; }
}
@media (prefers-reduced-motion: reduce) { .fpanel, .fpanel-photo, .fpanel-arcs, .fpanel-quote, .fpanel-mark { transition: none !important; } }

.audx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; max-width: 1080px; margin-inline: auto; }
.audx-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.audx-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.audx-ring { transition: stroke .6s; }
.audx--dentist .audx-ring { stroke: #1D8AE0; }
.audx-img { position: relative; width: 72%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 94%); mask-image: linear-gradient(to bottom, #000 68%, transparent 94%); filter: drop-shadow(0 24px 36px rgba(9,69,118,0.16)); transition: transform 1s cubic-bezier(.22,1,.36,1); transform: rotate(-4deg); }
.audx--dentist .audx-img { transform: rotate(4deg) translateY(-6px); }
.audx-copy { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }
.audx-toggle { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(9,69,118,0.06); }
.audx-tab { appearance: none; border: 0; font: inherit; cursor: pointer; min-height: 44px; padding: 0 22px; border-radius: 999px; background: transparent; color: rgba(9,69,118,0.72); font-size: 15px; font-weight: 500; transition: background-color .35s, color .35s, box-shadow .35s; }
.audx-tab:hover { color: var(--ink); }
.audx-tab.on { background: #fff; color: var(--primary-deep); box-shadow: 0 4px 14px rgba(9,69,118,0.1); }
.audx-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.audx-panel { opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); pointer-events: none; display: flex; flex-direction: column; align-items: flex-start; }
.audx-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.audx-head { margin: 0 0 24px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); text-wrap: balance; }
.audx-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.audx-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 1.4; color: rgba(9,69,118,0.72); }
.audx-list strong { font-weight: 600; color: var(--ink); }
.audx-check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -6px rgba(9,69,118,0.5); }
@media (max-width: 860px) { .audx { grid-template-columns: 1fr; } .audx-visual { max-width: 360px; justify-self: center; width: 100%; } .audx-toggle { align-self: center; } }
@media (prefers-reduced-motion: reduce) { .audx-panel, .audx-img { transition: none; } }

.audr { display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 2.6vw, 40px); margin-top: 20px; }
.audr-toggle { align-self: center; position: relative; z-index: 3; }
@media (min-width: 861px) { .audr { gap: 0; } .audr-stage { margin-top: clamp(-80px, -6vw, -24px); } }
.audr-stage { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; aspect-ratio: 1040 / 600; }
.audr-device { position: absolute; left: 38.46%; top: 50%; width: 28%; transform: translate(-50%, -50%); display: flex; justify-content: center; }
.audr-device .audx-img { width: 100%; }
.audr-side { position: absolute; inset: 0; opacity: 0; transition: opacity .6s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.audr-side.on { opacity: 1; pointer-events: auto; }
.audr-head { position: absolute; left: 63.46%; bottom: 74%; margin: 0; white-space: normal; max-width: 34%; text-wrap: balance; font-size: clamp(15px, 1.5vw, 20px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.audr-item { position: absolute; transform: translate(0, -50%); white-space: nowrap; }
.audr-badge { position: absolute; transform: translate(-50%, -50%); z-index: 1; }
.audr-links { opacity: 0; transition: opacity .6s; }
.audr-links.on { opacity: 1; }
.badges-in .audr-links .snake-line { animation: fan-draw 1s cubic-bezier(.22,1,.36,1) forwards; }
.audr-item-t { font-weight: 700; color: var(--ink); font-size: 16px; letter-spacing: -0.01em; }
.audr-item-d { font-size: clamp(12px, 1.05vw, 14.5px); line-height: 1.4; color: rgba(9,69,118,0.72); margin-top: 3px; }
.audr-cta { position: absolute; left: 63.46%; top: 74%; }
.audr-side .audr-item, .audr-side .audr-head, .audr-side .audr-cta { transform-origin: left center; }
.audr-side:not(.on) .audr-item { transform: translate(12px, -50%); }
.audr-item { transition: transform .6s cubic-bezier(.22,1,.36,1); }
@media (max-width: 860px) {
  .audr-stage { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; }
  .audr-stage > svg { display: none; }
  .audr-device { position: relative; left: auto; top: auto; transform: none; width: 60%; max-width: 280px; }
  .audr-side { position: relative; inset: auto; display: none; }
  .audr-side.on { display: block; }
  .audr-head, .audr-item, .audr-cta { position: relative; left: auto !important; top: auto !important; bottom: auto; width: auto; transform: none !important; margin-top: 18px; }
}

.audr-window { position: absolute; left: 30.77%; top: 50%; width: 32.7%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #F4F8FC 0%, #E3F0FB 100%); box-shadow: inset 0 0 0 1px rgba(9,69,118,0.06), 0 30px 60px -20px rgba(9,69,118,0.18); isolation: isolate; transition: background-color .6s ease; }
.audx--patient .audr-window { background: #D2F0FF; }
.audx--dentist .audr-window { background: #ADD2F2; }
.audr-window-img { position: absolute; left: 50%; bottom: 2%; width: 108%; max-width: none; height: auto; transform: translateX(-50%); transition: transform 1s cubic-bezier(.22,1,.36,1); }
.audx--dentist .audr-window-img { transform: translateX(-53%) scale(1.02); }
.audx--patient .audr-window-img { transform: translateX(-47%) scale(1.02); }
.audr-seam { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) scale(.62); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; pointer-events: none; }
.audr-seam .mono { font-size: 13px; letter-spacing: 0.22em; color: var(--primary-deep); white-space: nowrap; text-shadow: 0 0 10px #fff, 0 0 4px #fff; }
@media (max-width: 860px) { .audr-window { position: relative; left: auto; top: auto; transform: none; width: 80%; max-width: 360px; } }
@media (max-width: 860px) { .audr-badge { display: none; } .audr-stage > svg { display: none; } }

.flow { position: relative; z-index: 1; height: clamp(470px, 35vw, 490px); perspective: 1800px; outline: none; touch-action: pan-y; user-select: none; }
.flow:focus-visible { box-shadow: inset 0 0 0 2px var(--primary); border-radius: 22px; }
.flow-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.flow-card { position: absolute; left: 50%; top: 50%; width: clamp(300px, 30vw, 420px); padding: 10px; border-radius: 32px; background: linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(235,246,255,0.7) 100%); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255,255,255,0.75); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(9,69,118,0.05), 0 30px 60px -30px rgba(9,69,118,0.3); transition: transform .6s cubic-bezier(.65,0,.25,1), opacity .35s, filter .35s, box-shadow .35s; cursor: pointer; will-change: transform; }
.flow-card.on { box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(9,69,118,0.06), 0 36px 70px -34px rgba(9,69,118,0.32); }
.flow-card:hover:not(.on) { filter: grayscale(.6); }
.flow-card.on { cursor: default; }
.flow-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #EEF4FA; opacity: var(--dim, 0); transition: opacity .35s; pointer-events: none; }
.flow-card:not(.on) { filter: grayscale(1) blur(0.4px); }
.flow-media { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; border-radius: 22px; background: var(--bg-banner); box-shadow: inset 0 0 0 1px rgba(9,69,118,0.06); }
.flow-body { padding: 18px 16px 12px; display: flex; flex-direction: column; }
.flow-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.flow-num { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.flow-of { white-space: nowrap; flex-shrink: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(9,69,118,0.6); }
.flow-step { display: inline-flex; align-items: center; gap: 8px; }
.flow-step-n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(9,69,118,0.08); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.flow-step.on .flow-step-n { background: var(--primary); color: #fff; }
.flow-title { margin: 0 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
.flow-bullets { display: flex; flex-direction: column; gap: 8px; }
.flow-bullets p { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(9,69,118,0.72); }

.flow-nav { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 0; padding-top: clamp(24px, 2.6vw, 36px); }
.flow-arrow { appearance: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--primary-deep); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(9,69,118,0.1); transition: opacity .35s, transform .35s; }
.flow-arrow:hover:not(:disabled) { transform: scale(1.06); }
.flow-arrow:disabled { opacity: .35; cursor: default; }
.flow-steps { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(9,69,118,0.06); }
.flow-step { appearance: none; border: 0; font: inherit; cursor: pointer; min-height: 38px; padding: 0 16px; border-radius: 999px; background: transparent; color: rgba(9,69,118,0.72); font-size: 14px; font-weight: 500; transition: background-color .35s, color .35s, box-shadow .35s; }
.flow-step.on { background: #fff; color: var(--primary-deep); box-shadow: 0 4px 14px rgba(9,69,118,0.1); }
@media (max-width: 760px) { .flow-steps { display: none; } .flow-card { width: 78vw; } }
@media (prefers-reduced-motion: reduce) { .flow-card { transition: none; } }
.flow-track { z-index: 1; }
.flow-inner { transform-origin: 50% 50%; }
.flow-card { transform-style: preserve-3d; transition: opacity .35s, filter .35s, box-shadow .35s; }
@media (max-width: 860px) { .audr-item { white-space: normal; } }

.fcard { max-width: 540px; margin-inline: auto; padding: clamp(24px, 2.6vw, 36px); border-radius: 32px; background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(235,246,255,0.72) 100%); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255,255,255,0.8); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(9,69,118,0.05), 0 40px 80px -40px rgba(9,69,118,0.3); }
.fform { display: flex; flex-direction: column; gap: 14px; }
.fchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 22px; background: rgba(9,69,118,0.06); margin-bottom: 6px; }
.fchip { appearance: none; border: 0; font: inherit; cursor: pointer; flex: 1 1 auto; min-height: 40px; padding: 0 14px; border-radius: 999px; background: transparent; color: rgba(9,69,118,0.72); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .35s, color .35s, box-shadow .35s; }
.fchip:hover { color: var(--ink); }
.fchip.on { background: #fff; color: var(--primary-deep); box-shadow: 0 4px 14px rgba(9,69,118,0.1); }
.fchip:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ffield { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,0.9); box-shadow: inset 0 0 0 1px rgba(9,69,118,0.1); transition: box-shadow .2s; cursor: text; }
.ffield:focus-within { box-shadow: inset 0 0 0 1.5px var(--primary), 0 0 0 4px rgba(74,190,255,0.14); }
.ffield-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(9,69,118,0.72); }
.ffield input, .ffield textarea { appearance: none; border: 0; outline: none; background: transparent; padding: 0; font: inherit; font-size: 16px; color: var(--ink); resize: vertical; }
.ffield input::placeholder, .ffield textarea::placeholder { color: rgba(9,69,118,0.4); }
.fsubmit { width: 100%; justify-content: center; margin-top: 6px; }
.fnote { margin: 4px 0 0; text-align: center; font-size: 13px; color: rgba(9,69,118,0.72); }
.fnote a { color: var(--primary-deep); font-weight: 600; }
.fnote a:hover { color: var(--primary); }
.fdone { text-align: center; display: flex; flex-direction: column; align-items: center; }
.fdone-mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; margin-bottom: 28px; }
.fdone-rings { position: absolute; inset: 0; width: 100%; height: 100%; animation: fdone-rings 1.2s cubic-bezier(.22,1,.36,1) both; }
.fdone-dot { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(29,138,224,0.6); animation: fdone-pop .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes fdone-rings { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fdone-pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fdone-rings, .fdone-dot { animation: none; } }
@media (max-width: 860px) { .audr-head { white-space: normal; max-width: none; } }

.reach-dev{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(0)}
.reach-on .reach-dev{animation:reachPop .5s cubic-bezier(.2,.9,.3,1.35) forwards;animation-delay:var(--d)}
.reach-on .pt-lit{animation:ptLit .9s ease-out forwards;animation-delay:var(--d)}
@keyframes reachPop{from{opacity:0;transform:scale(0)}to{opacity:.85;transform:scale(1)}}
@keyframes ptLit{to{fill-opacity:.62}}
@media (prefers-reduced-motion:reduce){.reach-dev{opacity:.85;transform:none}.reach-on .pt-lit{fill-opacity:.62}.reach-on .reach-dev,.reach-on .pt-lit{animation:none}}
.text-haze{position:relative;isolation:isolate}.text-haze::before{content:"";position:absolute;inset:-14px -28px;z-index:-1;background:rgba(255,255,255,0.72);border-radius:999px;filter:blur(20px);pointer-events:none}

/* ============ Mobile nav ============ */
.nav-burger{display:none;appearance:none;border:0;background:transparent;width:44px;height:44px;border-radius:50%;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;color:var(--ink)}
.nav-burger span{display:block;width:20px;height:1.8px;border-radius:2px;background:currentColor;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.nav.menu-open .nav-burger span:first-child{transform:translateY(3.9px) rotate(45deg)}
.nav.menu-open .nav-burger span:last-child{transform:translateY(-3.9px) rotate(-45deg)}
.nav-sheet{display:none}
/* Desktop: line the nav up with the page content and centre the links on the page */
@media (min-width:761px){
.nav-inner{display:grid;grid-template-columns:1fr auto 1fr;max-width:calc(var(--maxw) - 2 * var(--pad-x))}
.nav-brand{justify-self:start}
.nav-ctas{justify-self:end;padding-right:0}
}
@media (max-width:760px){
.nav-links,.nav-ctas{display:none}
.nav-burger{display:inline-flex}
.nav.is-scrolled .nav-inner{padding:0 4px 0 18px}
.nav-sheet{display:flex;flex-direction:column;gap:2px;position:absolute;left:var(--pad-x);right:var(--pad-x);top:calc(100% - 4px);padding:10px;border-radius:22px;background:rgba(255,255,255,0.97);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(230, 236, 241,0.9);box-shadow:0 24px 50px -18px rgba(0, 24, 44,0.28);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s ease,transform .35s cubic-bezier(.22,1,.36,1),visibility 0s .35s}
.nav.menu-open .nav-sheet{opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .35s cubic-bezier(.22,1,.36,1)}
.nav-sheet-link{display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:14px;font-size:17px;font-weight:500;color:var(--ink-soft)}
.nav-sheet-link[data-active="true"]{color:var(--ink);background:rgba(29,138,224,0.08)}
.nav-sheet-ctas{display:grid;gap:10px;padding:12px 6px 6px;margin-top:6px;border-top:1px solid var(--border)}
.nav-sheet-ctas .btn{width:100%;justify-content:center}
}

/* ============ Phone layout ============ */
@media (max-width:760px){
.shift-shell{padding-inline:var(--pad-x)!important}
.about-hero-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
.about-hero-art{width:78%!important;max-width:340px;margin:0 auto!important}
.flow-section{border-radius:32px!important}
.flow-card{width:calc(100vw - var(--pad-x) * 2 - 24px)}
.flow-card:not(.on){opacity:0;pointer-events:none}
.cmp-scroll{margin-inline:calc(var(--pad-x) * -1);padding-inline:var(--pad-x);scrollbar-width:none}
.cmp-scroll::-webkit-scrollbar{display:none}
.fpanels{gap:14px}
.fpanel,.fpanel.open,.fpanel--board,.fpanel--board.open{height:auto;display:flex;flex-direction:column;padding:28px 22px 0;cursor:default}
.fpanel-quote,.fpanel.open .fpanel-quote{position:relative;left:auto;top:auto;order:1;width:auto!important;max-width:none;font-size:18px;line-height:1.42;opacity:1;transform:none;pointer-events:auto}
.fpanel-quote--plain{font-size:24px!important;line-height:1.18!important}
.fpanel-photo,.fpanel.open .fpanel-photo{position:relative;order:2;left:auto;bottom:auto;transform:none;height:320px;width:auto;margin:22px auto 0}
.fpanel-mark,.fpanel.open .fpanel-mark{position:relative;order:2;left:auto;top:auto;transform:none;margin:28px auto 104px}
.fpanel-arcs{width:560px}
.fpanel-id,.fpanel:not(.open) .fpanel-id{left:16px;bottom:16px;padding:12px 16px;border-radius:14px}
.fpanel:not(.open) .fpanel-name{font-size:18px}
.fpanel:not(.open) .fpanel-role{display:block}
}
@media (max-width:700px){
:root{--t-display:clamp(36px,10.4vw,46px);--t-h1:30px;--t-h2:27px;--t-h3:22px;--t-lead:17px;--section-y:72px;--pad-x:20px}
.lead{line-height:1.5}
main :is(h1,h2,h3,p)[style*="white-space: nowrap"],main h1 span[style*="white-space: nowrap"]{white-space:normal!important}
main :is(h1,h2)[style*="white-space: nowrap"]{font-size:30px!important;line-height:1.08!important;text-wrap:balance}
main p.lead[style*="white-space: nowrap"],main p.lead[style*="font-size: clamp(9px"],main p.lead[style*="font-size: clamp(10px"],main p.lead[style*="font-size: clamp(11px"],main p.lead[style*="font-size: clamp(13px"]{font-size:16px!important;line-height:1.5!important;text-wrap:pretty}
main [style*="font-size: min(1"]{font-size:64px!important}
.btn-lg{min-height:48px}
}


/* Impact: copy and chair as one balanced pair */
.chair-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); max-width: 1120px; margin-inline: auto; }
.chair-split-copy { display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 24px); position: relative; z-index: 2; max-width: 520px; justify-self: end; }
.chair-split-art { position: relative; z-index: 1; width: 100%; max-width: 440px; justify-self: start; }
@media (max-width: 760px) {
  .chair-split { grid-template-columns: minmax(0, 1fr); }
  .chair-split-copy { justify-self: start; }
  .chair-split-art { max-width: 340px; justify-self: center; }
}

/* Supported-by logos: 3 x 2 grid on phones so each logo stays legible */
@media (max-width: 760px) {
  .supporters { display: grid !important; grid-template-columns: repeat(3, 1fr); justify-items: center; row-gap: 28px !important; column-gap: 20px !important; }
  .supporters img { height: auto !important; max-height: 40px; max-width: 100% !important; }
}


/* Featured-in: four separate press tiles */
.press-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.press-tile { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.2vw, 30px);
  background: rgba(74, 190, 255, 0.07); border-radius: 22px; transition: transform .35s cubic-bezier(.22,1,.36,1), background .35s ease, box-shadow .35s ease; }
.press-tile:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow-2); }
.press-outlet { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-deep); margin-top: 8px; }
.press-headline { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.press-meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--ink-mute); }
.press-arrow { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #00182C; transition: background .2s ease, color .2s ease; }
.press-arrow:hover { background: var(--primary-deep); color: #fff; }
.press-pending { font-weight: 600; }
@media (max-width: 960px) { .press-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .press-tiles { grid-template-columns: 1fr; } }


/* Hero: give the photo a little more width than the text on desktop so the phone and face both stay in frame */

/* ---- Hero: larger visual + floating product chips ---- */
.hero-glow { position: absolute; inset: 8% -6% -10% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(74,190,255,0.32), rgba(74,190,255,0) 72%); filter: blur(10px); pointer-events: none; }
/* press tiles with a photo on top */
.press-tile { gap: 12px; }
.press-media { aspect-ratio: 4 / 3; margin: calc(-1 * clamp(10px, 1vw, 14px)); margin-bottom: 8px; border-radius: 14px; overflow: hidden; background: rgba(74,190,255,0.10); }
.press-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.press-tile:hover .press-media img { transform: scale(1.03); }
.press-media--logo { background: #fff; padding: 8% 14%; box-shadow: inset 0 0 0 1px var(--border); }
.press-media--logo img { object-fit: contain; }
.press-tile:hover .press-media--logo img { transform: none; }
/* press photos: shown in their original colours */
.press-media { position: relative; }

/* ---- Hero layout: big headline, large photo bleeding off the right edge ---- */
.hero-title { font-size: clamp(40px, 9vw, 56px); }
.hero-visual { position: relative; width: 100%; aspect-ratio: 1.24 / 1; }
.hero-photo { position: absolute; inset: 0 0 0 6%; overflow: hidden; border-radius: 50% 32px 32px 32px / 42% 32px 32px 32px; box-shadow: 0 40px 80px -28px rgba(9,69,118,0.35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 39% center; transform: scaleX(-1); display: block; }
@media (min-width: 1000px) {
  .hero-landing { min-height: calc(100svh - 72px); display: flex; align-items: center; padding-top: 40px !important; padding-bottom: 56px !important; }
  .hero-landing > .shell { width: 100%; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important; gap: clamp(32px, 4vw, 64px) !important; }
  .hero-title { font-size: min(5vw, 74px); }
  .hero-lead { font-size: clamp(18px, 1.35vw, 20px); max-width: 29em !important; text-wrap: pretty; }
  .hero-visual { width: auto; aspect-ratio: auto; height: clamp(520px, 74svh, 760px);
    margin-right: calc(-1 * max(var(--pad-x), (100vw - var(--maxw)) / 2 + var(--pad-x))); }
  .hero-photo { border-radius: 50% 0 0 32px / 42% 0 0 32px; }
  .hero-photo img { object-position: 54% center; }
}
@media (min-width: 1000px) and (max-width: 1199px) { .hero-photo img { object-position: 60% center; } }

/* ---- Form type aligned to the CI: one typeface, CI blues only ---- */
.fchip { font-family: var(--font); font-size: 15px; font-weight: 500; color: #176DB3; letter-spacing: -0.005em; }
.fchip:hover { color: #094576; }
.fchip.on { color: #094576; font-weight: 600; }
.ffield-label { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #094576; }
.ffield input, .ffield textarea { font-family: var(--font); font-size: 17px; font-weight: 500; letter-spacing: -0.005em; color: #094576; }
.ffield input::placeholder, .ffield textarea::placeholder { font-family: var(--font); font-weight: 400; color: #176DB3; opacity: 0.55; }
.fnote { font-family: var(--font); font-size: 14px; color: #176DB3; }
.fnote a { color: #1D8AE0; }
.fnote a:hover { color: #094576; }
.fsubmit { font-family: var(--font); font-weight: 600; }
/* steps carousel: the 3D track plane sat in front of the side cards and swallowed clicks */
.flow-track { pointer-events: none; }
.flow-card { pointer-events: auto; }
@media (max-width: 760px) { .flow-card:not(.on) { pointer-events: none; } }
/* founder panels: type in the site font and CI blues only */
.fpanel-name { font-family: var(--font); color: #094576; }
.fpanel-role, .mono.fpanel-role { font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #1D8AE0; }
.fpanel-quote { font-family: var(--font); color: #176DB3; }
.fpanel-quote strong { color: #094576; }
.fpanel-quote--plain strong { color: #1D8AE0; }
.fpanel-quote--plain { color: #094576; }
/* scrolled (pill) menu bar: more room between the edges and the logo / buttons */
@media (min-width: 761px) { .nav.is-scrolled .nav-inner { padding: 0 30px 0 32px; } }
/* founder panels: keep the role visible on the folded panels too */
.fpanel:not(.open) .fpanel-id { border-radius: 14px; gap: 3px; }
.fpanel:not(.open) .fpanel-role { display: block; font-size: 13px; white-space: nowrap; }
/* founder panels: "With previous experience from" logo row under the quote */
.fpanel-exp { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(20px, 2vw, 28px); }
.fpanel-exp-label { font-family: var(--font); font-size: 13px; font-weight: 500; letter-spacing: 0; color: #1D8AE0; }
.fpanel-exp-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.fpanel-exp-logo { display: block; width: auto; max-width: 100px; object-fit: contain; }
.fpanel-exp-logos { gap: 12px 18px; }
.fpanel-exp-break { flex-basis: 100%; height: 0; margin-top: -12px; }

/* Founder LinkedIn link under the quote, with the round arrow used on the press tiles */
.fpanel-link { display: flex; width: fit-content; align-items: center; gap: 7px; margin-top: clamp(18px, 2vw, 26px); font-family: var(--font); font-style: normal; font-size: 14px; font-weight: 400; letter-spacing: 0.01em; color: #176DB3; text-decoration: none; }
.fpanel-link-in { flex: none; opacity: .85; }
.fpanel-link-text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(23,109,179,0.4); transition: text-decoration-color .2s ease; }
.fpanel-link-arrow { flex: none; transition: transform .2s ease; }
.fpanel-link:hover { color: #094576; }
.fpanel-link:hover .fpanel-link-text { text-decoration-color: currentColor; }
.fpanel-link:hover .fpanel-link-arrow { transform: translate(2px, -2px); }
.fpanel.open .fpanel-link { pointer-events: auto; }
.fpanel-link { width: 32px; height: 32px; justify-content: center; margin-left: -5px; border-radius: 8px; color: #1D8AE0; }
.fpanel-link .fpanel-link-in { opacity: .75; transition: opacity .2s ease, transform .2s ease; }
.fpanel-link:hover { color: #094576; }
.fpanel-link:hover .fpanel-link-in { opacity: 1; transform: translateY(-1px); }
.fpanel-link:focus-visible { border-radius: 8px; }
.fpanel-link:focus-visible { outline: 2px solid #1D8AE0; outline-offset: 3px; border-radius: 999px; }

/* ---- Mobile polish ---- */
@media (max-width: 860px) {
  .audr-head { font-size: 20px; max-width: none; }
  .audr-item { white-space: normal; }
  .audr-item-t { font-size: 17px; }
  .audr-item-d { font-size: 15px; }
  .audr-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  /* stacked button pairs: equal full-width buttons instead of two different widths */
  .btn.btn-lg { width: 100%; justify-content: center; }
}
/* hero arcs: run to the screen edge, draw in more slowly */
.reveal.in-view .snake-line.hero-arc-line { animation-duration: 2.2s; }
/* hero: keep the arcs above the photo clear of the menu bar */
@media (min-width: 1000px) {
  .hero-landing { padding-top: 112px !important; padding-bottom: 64px !important; }
  .hero-visual { height: clamp(460px, calc(100svh - 300px), 720px); }
}
/* supporters on phones: a lone last logo sits centred on its own row */
@media (max-width: 760px) { .supporters li:last-child:nth-child(3n+1) { grid-column: 1 / -1; } .supporters li:last-child:nth-child(3n+1) img { max-width: 140px !important; } }
/* testimonial carousel */
.tslide { animation: tslide-in .5s cubic-bezier(.22,1,.36,1); }
@keyframes tslide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tslide { animation: none; } }
.tnav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
.tdots { display: flex; gap: 8px; }
.tdot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(29,138,224,0.25); cursor: pointer; transition: width .35s ease, background .35s ease; }
.tdot.on { width: 22px; background: #1D8AE0; }
.tdot:focus-visible { outline: 2px solid #1D8AE0; outline-offset: 3px; }
/* founder LinkedIn link: a quiet icon at the end of the role line */
.fpanel-role { display: inline-flex; align-items: center; gap: 8px; }
.fpanel-li { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: #1D8AE0; opacity: .55; flex: none; transition: opacity .2s ease, color .2s ease; }
.fpanel-li:hover { opacity: 1; color: #094576; }
.fpanel-li:focus-visible { opacity: 1; outline: 2px solid #1D8AE0; outline-offset: 2px; border-radius: 4px; }
.fpanel:focus-visible { outline: 2px solid #1D8AE0; outline-offset: 3px; }

/* ============ Design-system pass: spacing, tap targets, motion, focus ============ */
/* Spacing: three steps only (desktop 64 / 96 / 144, phones 48 / 72 / 96) */
:root { --space-s: clamp(48px, 4.5vw, 64px); --space-m: clamp(72px, 6.7vw, 96px); --space-l: clamp(96px, 10vw, 144px);
  --t-fast: .2s; --t-mid: .35s; --t-slow: .6s; }
@media (min-width: 761px) { :root, [data-density] { --section-y: var(--space-l); } }

/* Tap targets: at least 24px everywhere, 44px for round controls */
.flow-arrow, .press-arrow { width: 44px; height: 44px; }
.flow-step, .fchip, .shift-tab { min-height: 44px; }
.nav-cta { min-height: 36px; display: inline-flex; align-items: center; }
.tdots { gap: 0; }
.tdot, .tdot.on { width: auto; min-width: 32px; height: 32px; padding: 0 6px; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.tdot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(29,138,224,0.25); transition: width var(--t-mid) ease, background var(--t-mid) ease; }
.tdot.on::before { width: 22px; background: #1D8AE0; }
.fpanel-li { width: 32px; height: 32px; margin: -7px -6px -7px -7px; }
.flow-pause { margin-left: 4px; }
@media (max-width: 760px) { .flow-nav { gap: 10px; } }

/* Motion: moving logo strips pause on hover and keyboard focus */
.cred-marquee:hover .cred-marquee__track, .cred-marquee:focus-within .cred-marquee__track,
.logo-marquee:focus-within .logo-marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; transform: none; opacity: 1; } .cred-marquee__track, .logo-marquee__track { animation: none; } }

/* Keyboard focus: one outline everywhere */
:where(a, button, [role="button"], [tabindex]:not([tabindex="-1"]), summary):focus-visible { outline: 2px solid #1D8AE0; outline-offset: 3px; }
.btn:focus-visible, .nav-link:focus-visible, .nav-cta:focus-visible, .nav-brand:focus-visible, .flow-arrow:focus-visible, .flow-step:focus-visible, .press-arrow:focus-visible, .nav-burger:focus-visible, .nav-sheet-link:focus-visible, .shift-tab:focus-visible, .footer a:focus-visible { outline: 2px solid #1D8AE0; outline-offset: 3px; }
.footer a:focus-visible { outline-color: #4ABEFF; }
.nav-cta:focus-visible, .nav-brand:focus-visible { border-radius: 6px; }

/* ============ Fit each section on one screen (desktop browsers) ============ */
/* Available height = screen minus the menu bar; tall sections scale to it. */
@media (min-width: 1000px) {
  .audr-stage { max-width: clamp(780px, calc((100svh - 300px) * 1.7333), 1040px); }
  .fpanels { --ph: clamp(420px, min(44vw, 100svh - 322px), 600px); margin-top: calc(var(--space-s) - var(--space-m)); }
}
@media (min-width: 1000px) and (max-height: 900px) {
  .fcard { padding: 26px 30px; }
  .fform { gap: 10px; }
  .ffield { padding: 9px 16px; gap: 3px; }
  .ffield textarea { height: 50px; }
}
/* forms: first and last name side by side (stacked on narrow phones) */
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.frow .ffield { min-width: 0; } .frow .ffield input { width: 100%; min-width: 0; }
@media (max-width: 420px) { .frow { grid-template-columns: 1fr; } }

/* form sending state + error line (HubSpot) */
.fsubmit[aria-busy="true"] { opacity: .7; cursor: progress; }
.ferror { color: #094576; }
/* hero photo: product demo image (16:9 source, not mirrored) — a larger frame with a gentler corner so more of the photo shows */
.hero-photo img { transform: none; object-position: 50% center; }
.hero-photo { border-radius: 34% 32px 32px 32px / 36% 32px 32px 32px; }
.hero-visual { aspect-ratio: 1.6 / 1; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important; }
  .hero-title { font-size: min(4.5vw, 68px); }
  .hero-visual { height: auto; aspect-ratio: 1.6 / 1; }
  .hero-photo { border-radius: 34% 0 0 32px / 36% 0 0 32px; }
  .hero-photo img { object-position: 50% center; }
}
