/* ==========================================================================
   Olaph — website styles
   One stylesheet for every page. No framework, no build step.
   Sections: 1 Fonts · 2 Tokens · 3 Base · 4 Layout · 5 Buttons · 6 Header
             7 Brand mark · 8 App icons + hover cards · 9 Hero orbit · 10 Chat
             11 Journey · 12 AI section · 13 Roles · 14 Data + map · 15 CTA (sign-up)
             16 Footer · 17 Sub-page parts · 18 Motion
   ========================================================================== */

/* 1 · Fonts — Plus Jakarta Sans (SIL OFL 1.1), self-hosted: no third-party font requests */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin-wght-normal.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2 · Tokens — change --accent (and its tints) to re-colour the whole site */
:root {
  color-scheme: light;

  --ground: #F4F6F9;
  --card: #FFFFFF;
  --ink: #0F1729;
  --text-2: #384256;
  --muted: #566074;
  --line: #E1E5EC;
  --line-2: #C9D1DD;
  --doc-line: #D5DAE2;

  /* navy-2/3 sit on the navy panels: a little lighter than before so the layers stay distinguishable */
  --navy: #0F1729;
  --navy-2: #1C2742;
  --navy-3: #28354F;
  --navy-4: #3E4C6D;
  --dim: #B7BFCC;

  --accent: #F2622E;
  --accent-hover: #E4551F;
  --on-accent: #0F1729;
  --accent-soft: #FCD9CD;
  --accent-faint: #FEF2EE;
  --accent-tile: #F47E54;
  --accent-text: #B94F2D;

  --font: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --gutter-wide: clamp(12px, 2.8vw, 40px);
  --section: clamp(96px, 11vw, 168px);
  --r-xl: clamp(36px, 4.5vw, 64px);
  --r-lg: clamp(30px, 3vw, 40px);
  --r-md: 28px;
  --shadow-float: 0 30px 70px -28px rgba(15, 23, 41, 0.38), 0 0 0 1px rgba(15, 23, 41, 0.04);
  --shadow-lift: 0 34px 60px -40px rgba(15, 23, 41, 0.42);
  --spring: cubic-bezier(0.2, 0.9, 0.25, 1.2);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  --halo: var(--ground);
}

/* 3 · Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 500 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img, svg { max-width: 100%; }
svg { display: block; }
button, input { font: inherit; color: inherit; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #FFFFFF;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Type */
.display { font-size: clamp(50px, 7.2vw, 104px); line-height: 0.95; }
.display--hero { font-size: clamp(46px, 6.2vw, 78px); line-height: 1; }
.hero-titles { display: flex; flex-direction: column; gap: 16px; }
.hero-sub { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); }
.h-section { font-size: clamp(40px, 5vw, 72px); }
.h-panel { font-size: clamp(36px, 4.4vw, 64px); }
.h-card { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.04em; line-height: 1.05; }
.h-pre { display: block; margin-bottom: 0.35em; font-size: 0.38em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--muted); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 34em; }
.body-lg { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--accent-text);
}
.on-navy .eyebrow { color: var(--accent); }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--card);
  font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--text-2);
}
.badge::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* 4 · Layout */
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { padding-inline: var(--gutter-wide); }
.section { padding-top: var(--section); }
.section--tight { padding-top: clamp(56px, 6vw, 88px); }
.stack { display: flex; flex-direction: column; gap: 32px; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }

.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head > :first-child { grid-column: span 7; }
.section-head > :last-child:not(:first-child) { grid-column: 9 / span 4; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.section-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.section-head--center p { max-width: 40em; }
.on-navy .section-head p, .on-navy .muted { color: var(--dim); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: none;
}
.text-link svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.text-link:hover svg { transform: translateX(4px); }
.on-navy .text-link { color: #FFFFFF; }

@media (max-width: 960px) {
  .section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head--center { align-items: center; }
}

/* 5 · Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 64px; padding: 0 32px; border: 0; border-radius: 999px;
  font: 700 18px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--dark { background: var(--navy); color: #FFFFFF; }
.btn--dark:hover { background: var(--navy-3); }
.btn--light { background: var(--card); color: var(--ink); }
.btn--light:hover { background: #E9EDF2; }
.btn--navy-3 { background: var(--navy-3); color: #FFFFFF; }
.btn--navy-3:hover { background: var(--navy-4); }
.btn--sm { height: 52px; padding: 0 24px; font-size: 16px; }
.btn--xs { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 6 · Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(244, 246, 249, 0.72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.header-inner { position: relative; height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; border-radius: 12px; }
.brand .mark { width: 40px; height: 40px; }
.wordmark { font-size: 32px; font-weight: 700; letter-spacing: -0.055em; line-height: 1; }
.main-nav { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--card); }
.main-nav a {
  padding: 10px 18px; border-radius: 999px; color: var(--text-2);
  font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--ground); color: var(--ink); }
.main-nav a[aria-current='page'] { background: var(--navy); color: #FFFFFF; }
.main-nav .nav-cta, .main-nav .nav-login { display: none; }
.brand, .header-actions { flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
/* Language switcher (details/summary, closes on outside click and Escape in main.js) */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 52px; padding: 0 16px;
  border-radius: 999px; background: var(--card); color: var(--ink); font: 700 14px/1 var(--font);
  letter-spacing: 0.02em; cursor: pointer; transition: background-color 0.15s ease;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-switch summary:hover, .lang-switch[open] summary { background: #E9EDF2; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 168px;
  list-style: none; margin: 0; padding: 8px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-float);
}
.lang-menu a {
  display: block; padding: 11px 16px; border-radius: 14px; color: var(--text-2);
  font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-menu a:hover { background: var(--ground); color: var(--ink); }
.lang-menu a[aria-current='true'] { background: var(--ground); color: var(--ink); }
.header-actions .btn { height: 52px; padding: 0 24px; font-size: 15px; }
/* After the base rules above, so the tighter values win between 1241 and 1400px */
@media (max-width: 1400px) {
  .header-inner { gap: 16px; }
  .main-nav a { padding: 10px 14px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 0 20px; }
}
.nav-toggle {
  display: none; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--card); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

@media (max-width: 1240px) {
  .header-inner { height: 80px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: 2px; padding: 12px; border-radius: 32px; box-shadow: var(--shadow-float);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 16px 20px; font-size: 18px; }
  .main-nav .nav-cta { display: flex; justify-content: center; margin-top: 8px; background: var(--navy); color: #FFFFFF; font-weight: 700; }
  .main-nav .nav-cta:hover { background: var(--navy-3); color: #FFFFFF; }
}
/* Login moves into the menu where the header gets narrow */
@media (max-width: 760px) {
  .header-actions .btn--login { display: none; }
  .main-nav .nav-login { display: flex; justify-content: center; margin-top: 8px; background: var(--ground); color: var(--ink); font-weight: 700; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .header-actions { gap: 8px; }
  /* Long German and French words in large headings, long button labels */
  h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .brand .mark { width: 34px; height: 34px; }
  .wordmark { font-size: 28px; }
}
@media (max-width: 400px) {
  .btn-row .btn { white-space: normal; height: auto; min-height: 64px; padding-block: 14px; text-align: center; line-height: 1.2; }
}

/* 7 · Brand mark — ring of dots. --halo = colour of the surface behind it */
.mark { color: var(--ink); }
.mark-ring { fill: none; stroke: currentColor; stroke-width: 8; }
.mark-dot { fill: currentColor; stroke: var(--halo); stroke-width: 6; paint-order: stroke; }
.mark-dot--on { fill: var(--accent); }
.mark--mono .mark-dot--on { fill: currentColor; }

/* 8 · App icons + hover cards (shared by the orbit, the data map, the voice note and the cards).
   Icons are flat circles; the glyph fills about half of the circle. */
.app-icon {
  flex: none; position: relative; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: var(--ground);
}
.app-icon > svg { width: 54%; height: 54%; }
.app-icon--sm { width: 44px; height: 44px; }
.app-icon--lg { width: 72px; height: 72px; }
.app-icon--navy { background: var(--navy); color: #FFFFFF; }
.app-icon--navy .mark { color: #FFFFFF; --halo: var(--navy); }
.app-icon--accent { background: var(--accent); color: var(--on-accent); }
.app-icon--ai { background: var(--accent); color: #FFFFFF; }
.app-icon--soft { background: var(--accent-faint); color: var(--accent-text); }
.app-icon--ghost { background: transparent; color: var(--text-2); border: 1.5px dashed var(--line-2); }

/* Hover card: <div class="hc" data-hc><button class="hc-trigger">…</button><div class="fcard">…</div></div>.
   Position per use with left/top and --fc-pos (a transform list); --fc-origin sets where it grows from. */
.fcard {
  position: absolute; z-index: 40; left: 0; top: 0;
  width: min(310px, calc(100vw - 48px)); padding: 18px 20px 20px; border-radius: 26px;
  background: var(--card); color: var(--ink); text-align: left; box-shadow: var(--shadow-float);
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: var(--fc-pos, translate(0, 0)) translateY(6px) scale(0.96);
  transform-origin: var(--fc-origin, 50% 0);
  transition: opacity 0.18s ease, transform 0.3s var(--spring), visibility 0s linear 0.18s;
}
.fcard::before { content: ''; position: absolute; inset: -22px; z-index: -1; } /* keeps the hover while the pointer moves to the card */
.hc:hover > .fcard, .hc.is-open > .fcard, .hc-trigger:focus-visible + .fcard, .fcard:focus-within {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: var(--fc-pos, translate(0, 0)) translateY(0) scale(1);
  transition: opacity 0.18s ease, transform 0.3s var(--spring), visibility 0s;
}
.fcard-head { display: flex; align-items: center; gap: 12px; }
.fcard-head > span:last-child { min-width: 0; }
.fcard-head b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.fcard-head small { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--muted); }
.fcard p { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.fcard .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fcard .chip { height: 28px; padding: 0 11px; font-size: 12.5px; }
.fcard-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fcard-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--accent-text); text-decoration: none; border-radius: 6px; }
.fcard-links a::after { content: '→'; transition: transform 0.2s ease; }
.fcard-links a:hover::after { transform: translateX(3px); }
.fcard-logo { flex: none; width: 44px; height: 44px; border-radius: 13px; }
.fcard-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.fcard-kicker svg { width: 16px; height: 16px; }
.fcard .fcard-quote { font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.fcard-quote mark { padding: 0 3px; border-radius: 6px; background: var(--accent-faint); color: var(--accent-text); font-weight: 700; }

.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--ground); font-size: 13px; font-weight: 700; white-space: nowrap; }
.chip::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.chip--on::before { background: var(--accent); }

/* 9 · Hero + orbit (modules around the platform, each with a hover card) */
.hero { padding-top: clamp(24px, 3vw, 40px); align-items: center; }
.hero-copy { grid-column: span 6; display: flex; flex-direction: column; gap: 32px; }
.hero-visual { grid-column: 7 / span 6; position: relative; }
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy, .hero-visual { grid-column: auto; }
}

.orbit-panel { border-radius: var(--r-xl); background: var(--card); padding: clamp(14px, 2.6vw, 36px) clamp(10px, 2.4vw, 32px) clamp(14px, 2vw, 24px); }
.orbit { position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 1; container: orbit / inline-size; --icon: 12.5cqw; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--line-2); stroke-width: 0.5; stroke-linecap: round; stroke-dasharray: 0.01 1.9; transform-box: fill-box; transform-origin: center; }
.orbit-spoke { stroke: var(--line); stroke-width: 0.5; stroke-linecap: round; transition: stroke 0.25s ease; }
.orbit-spoke.is-active { stroke: var(--navy-4); }
.orbit-pulse { fill: none; stroke: var(--line-2); stroke-width: 0.9; stroke-linecap: round; stroke-dasharray: 2 300; stroke-dashoffset: 2; opacity: 0; }

.orbit-core, .orbit-node { position: absolute; left: calc(var(--px) * 1%); top: calc(var(--py) * 1%); width: 0; height: 0; z-index: 2; }
.orbit-core { z-index: 3; }
.orbit-core:hover, .orbit-core.is-open, .orbit-core:focus-within,
.orbit-node:hover, .orbit-node.is-open, .orbit-node:focus-within { z-index: 10; }
.orbit-nodes { list-style: none; margin: 0; padding: 0; }

.orbit-core-btn {
  position: absolute; left: 0; top: 0; width: 24cqw; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%;
  background: var(--navy); cursor: pointer;
  display: grid; place-items: center; transform: translate(-50%, -50%);
  transition: transform 0.4s var(--spring);
}
.orbit-core-btn .mark { width: 50%; height: 50%; color: #FFFFFF; --halo: var(--navy); }
.orbit-core:hover .orbit-core-btn, .orbit-core.is-open .orbit-core-btn, .orbit-core-btn:focus-visible { transform: translate(-50%, -50%) scale(1.04); }
.orbit-core-btn:focus-visible { border-radius: 50%; outline-offset: 5px; }

.orbit-btn {
  position: absolute; left: 0; top: 0; width: var(--icon); height: var(--icon); padding: 0; border: 0;
  border-radius: 50%; background: none; color: inherit; cursor: pointer; transform: translate(-50%, -50%);
}
.orbit-btn:focus-visible { outline-offset: 5px; border-radius: 50%; }
.orbit-icon {
  position: absolute; inset: 0; width: auto; height: auto;
  transition: transform 0.45s var(--spring), background-color 0.2s ease, color 0.2s ease, opacity 0.3s ease;
}
.orbit-icon > svg { width: 50%; height: 50%; }
.orbit-label {
  position: absolute; left: 50%; top: calc(100% + 1.2cqw); transform: translateX(-50%);
  font-size: clamp(11px, 2.3cqw, 15px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  white-space: nowrap; color: var(--text-2); transition: color 0.2s ease, opacity 0.3s ease;
}
.orbit-node--up .orbit-label { top: auto; bottom: calc(100% + 1.2cqw); }
.orbit-node.is-open .orbit-icon, .orbit-btn:focus-visible .orbit-icon { transform: scale(1.1); }
.orbit-node:not(.orbit-node--ai).is-open .orbit-icon { background: var(--navy); color: #FFFFFF; }
.orbit-node.is-open .orbit-label { color: var(--ink); }
/* Touch screens keep :hover on the last tapped module: there only the open one is highlighted (the card deck) */
@media (hover: hover) {
  .orbit-node:hover .orbit-icon { transform: scale(1.1); }
  .orbit-node:not(.orbit-node--ai):hover .orbit-icon { background: var(--navy); color: #FFFFFF; }
  .orbit-node:hover .orbit-label { color: var(--ink); }
}
.orbit-node--ai .orbit-label { color: var(--accent-text); }
.orbit.has-active .orbit-node:not(.is-active) .orbit-icon,
.orbit.has-active .orbit-node:not(.is-active) .orbit-label { opacity: 0.4; }

/* Cards open towards the centre of the ring; on a small ring they sit in its middle */
.orbit .fcard {
  width: min(300px, 64cqw);
  --fc-pos: translate(calc(-50% - var(--sx, 0) * (50% + 12.5cqw)), calc(-50% - var(--sy, 0) * (50% + 12.5cqw)));
  --fc-origin: calc(50% + var(--sx, 0) * 50%) calc(50% + var(--sy, 0) * 50%);
}
.orbit-core .fcard { --fc-pos: translate(-50%, 15cqw); --fc-origin: 50% 0; }
@container orbit (max-width: 470px) {
  .orbit .fcard, .orbit-core .fcard {
    width: 88cqw; left: calc((50 - var(--px)) * 1cqw); top: calc((50 - var(--py)) * 1cqw);
    --fc-pos: translate(-50%, -50%); --fc-origin: 50% 50%;
  }
  /* Phones: bigger icons and labels on a smaller core; the labels of the two upper side modules move below
     their icon so they keep clear of the icons above them */
  .orbit-node { --icon: 15.5cqw; }
  .orbit-core-btn { width: 21cqw; }
  .orbit-label { font-size: clamp(12px, 3.6cqw, 15px); }
  .orbit-node--up:is([data-i="2"], [data-i="8"]) .orbit-label { top: calc(100% + 1.2cqw); bottom: auto; }
  .orbit-deck { --small-ring: 1; } /* main.js reads it: the cards go into the deck on touch screens */
}
.orbit-hint, .geo-hint { margin-top: 8px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* Card deck of the small ring (main.js moves the cards in): one card per module side by side, swiped from one
   to the next; it snaps and pops in place, the ring highlights the module of the card in view. --d is the
   card's distance from the middle in cards (negative = left), --k the same without sign, capped at 1.
   The deck spans the screen (the ring is centred on phones, body clips the overflow): a card that slides
   aside leaves at the screen edge, and the space between cards keeps the next one just off screen. */
.orbit-deck-wrap {
  position: absolute; left: 50%; top: 50%; z-index: 20; width: 100vw; --deck-edge: calc((100vw - 88cqw) / 2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -50%) translateY(6px) scale(0.96);
  transition: opacity 0.18s ease, transform 0.3s var(--spring), visibility 0s linear 0.18s;
}
.orbit.is-deck-open .orbit-deck-wrap {
  opacity: 1; visibility: visible; transform: translate(-50%, -50%);
  transition: opacity 0.18s ease, transform 0.3s var(--spring), visibility 0s;
}
.orbit-deck {
  display: flex; align-items: center; gap: var(--deck-edge); padding: 76px var(--deck-edge); /* room for the shadow */
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; pointer-events: none;
}
.orbit-deck::-webkit-scrollbar { display: none; }
.orbit .orbit-deck > .fcard {
  position: relative; left: auto; top: auto; flex: none; width: 88cqw;
  scroll-snap-align: center; scroll-snap-stop: always;
  visibility: inherit; pointer-events: auto;
  opacity: calc(1 - var(--k, 0) * 0.3);
  transform: rotate(calc(var(--d, 0) * 4deg)) scale(calc(1 - var(--k, 0) * 0.1));
  transform-origin: 50% 120%; transition: none;
}

.orbit-hint-swipe { display: none; align-items: center; gap: 6px; }
.orbit-hint-swipe svg { width: 15px; height: 15px; flex: none; }
.orbit-hint.is-swipe .orbit-hint-tap { display: none; }
.orbit-hint.is-swipe .orbit-hint-swipe { display: inline-flex; }
.orbit-hint.is-inviting .orbit-hint-swipe {
  padding: 6px 14px; margin-block: -6px; border-radius: 999px; background: var(--navy); color: #FFFFFF;
}

/* 10 · Chat */
.chat-layout { align-items: center; }
.chat-copy { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.chat-card-wrap { grid-column: 7 / span 6; }
.chat-card {
  border-radius: var(--r-xl); background: var(--card); padding: clamp(20px, 3.4vw, 44px);
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 40px 80px -52px rgba(15, 23, 41, 0.45);
}
.chat-sources { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-sources span {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 700;
}
.chat-sources svg { width: 18px; height: 18px; }
.msg { max-width: 92%; }
.msg--me { align-self: flex-end; background: var(--navy); color: #FFFFFF; border-radius: 32px 32px 10px 32px; }
.msg--olaph {
  align-self: flex-start; background: var(--ground); border-radius: 32px 32px 32px 10px;
  padding: 22px 26px; display: flex; flex-direction: column; gap: 14px;
}
.msg--olaph > p { font-size: 18px; line-height: 1.5; }
.msg-from { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.msg-from .mark { width: 18px; height: 18px; }
.msg-from .done-tag { margin-left: 4px; }

.voice { position: relative; }
.voice-btn {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px 10px 10px;
  border: 0; border-radius: 32px 32px 10px 32px; background: none; color: inherit;
  font: 700 16px/1 var(--font); text-align: left; cursor: pointer;
}
.voice-btn:focus-visible { outline-offset: 4px; border-radius: 32px 32px 10px 32px; }
.voice-play { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; }
.voice-play svg { width: 14px; height: 14px; margin-left: 2px; fill: var(--navy); }
.voice-bars { display: flex; align-items: center; gap: 4px; height: 28px; }
.voice-bars i { width: 4px; border-radius: 2px; background: #FFFFFF; height: var(--h); }
.voice-bars i:nth-child(n+8) { opacity: 0.45; }
.voice-tx { flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); display: grid; place-items: center; transition: background-color 0.2s ease, color 0.2s ease; }
.voice-tx svg { width: 16px; height: 16px; }
.voice:hover .voice-tx, .voice.is-open .voice-tx { background: var(--accent); color: var(--on-accent); }
.fcard--transcript { left: auto; right: 0; top: calc(100% + 12px); width: min(400px, calc(100vw - 72px)); --fc-origin: 85% 0; }
.photo-msg { display: flex; align-items: center; gap: 16px; padding: 10px 24px 10px 10px; font-size: 16px; font-weight: 700; }
.photo-msg small { display: block; font-size: 13px; font-weight: 600; color: var(--dim); }
.receipt-thumb {
  flex: none; width: 60px; height: 76px; border-radius: 14px; background: #FFFFFF; padding: 11px 9px;
  display: flex; flex-direction: column; gap: 6px; transform: rotate(-5deg);
}
.receipt-thumb i { height: 5px; border-radius: 3px; background: var(--doc-line); width: var(--w, 100%); }
.receipt-thumb i.total { margin-top: auto; height: 7px; background: var(--accent); }

.attachment { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 20px; background: var(--card); }
.attachment-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.attachment-icon svg { width: 20px; height: 20px; }
.attachment b { display: block; font-size: 15px; font-weight: 700; }
.attachment small { display: block; font-size: 13px; color: var(--muted); }

.done-tag {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--accent-faint); color: var(--accent-text);
  font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.done-tag::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.on-navy .done-tag { background: rgba(242, 98, 46, 0.18); color: #FFB394; }

.approval { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.approval-status {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 20px 8px 8px;
  border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 700;
}
.approval-status::before {
  content: ''; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1729' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.approval.is-declined .approval-status::before {
  background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1729' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.approval.is-undone .approval-status::before {
  background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1729' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E") center / 17px no-repeat;
}
.on-navy .approval-status { background: var(--navy-3); color: #FFFFFF; }
.on-navy .approval.is-declined .approval-status::before, .on-navy .approval.is-undone .approval-status::before { background-color: var(--dim); }

@media (max-width: 1080px) {
  .chat-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chat-copy, .chat-card-wrap { grid-column: auto; }
}
@media (max-width: 520px) {
  .msg { max-width: 100%; }
  .msg--olaph { padding: 18px 18px; }
  .msg--olaph > p { font-size: 16.5px; }
  .voice-bars i:nth-child(n+10) { display: none; }
}

/* 11 · Journey — steps on one line */
.journey-card { border-radius: var(--r-xl); background: var(--card); padding: clamp(32px, 4vw, 56px) clamp(20px, 3.4vw, 48px); }
.journey { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.journey::before {
  content: ''; position: absolute; top: 45px; height: 3px; border-radius: 2px; background: var(--line);
  left: calc((100% - 64px) / 10); right: calc((100% - 64px) / 10);
}
.journey::after {
  content: ''; position: absolute; top: 39px; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px var(--card);
  left: calc((100% - 64px) / 10); opacity: 0;
}
.journey-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.journey-node {
  flex: none; width: 92px; height: 92px; border-radius: 50%; background: var(--ground); box-shadow: 0 0 0 8px var(--card);
  display: grid; place-items: center; color: var(--ink);
}
.journey-node svg { width: 30px; height: 30px; }
.journey-step--goal .journey-node { background: var(--accent); color: var(--on-accent); }
.journey-text { display: flex; flex-direction: column; gap: 4px; }
.journey-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.journey-meta { font-size: 15px; line-height: 1.45; color: var(--muted); }

@media (max-width: 820px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .journey::before { left: 31px; right: auto; top: 32px; bottom: 32px; width: 3px; height: auto; }
  .journey::after { left: 32px; top: 32px; margin: -7.5px 0 0 -7.5px; }
  .journey-step { flex-direction: row; align-items: center; text-align: left; gap: 20px; }
  .journey-node { width: 64px; height: 64px; box-shadow: 0 0 0 6px var(--card); }
  .journey-node svg { width: 24px; height: 24px; }
}

/* 12 · AI section cards (Understands · Reads · Remembers) */
.panel-navy {
  border-radius: var(--r-xl); background: var(--navy); color: #FFFFFF;
  padding: clamp(56px, 7vw, 104px) clamp(20px, 5vw, 72px);
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px);
}
.panel-navy .section-head { margin-bottom: 0; }
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.skill { border-radius: 48px; padding: 16px 16px 36px; display: flex; flex-direction: column; gap: 14px; }
.skill--accent { background: var(--accent); color: var(--on-accent); }
.skill--navy { background: var(--navy-2); color: #FFFFFF; }
.skill--light { background: var(--ground); color: var(--ink); }
.skill--white { background: var(--card); color: var(--ink); }
.skill-art { height: 240px; border-radius: 36px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.skill--accent .skill-art { background: var(--accent-tile); }
.skill--navy .skill-art { background: var(--navy-3); }
.skill--light .skill-art { background: var(--card); }
.skill--white .skill-art { background: var(--ground); }
.skill h3 { padding: 16px 20px 0; font-size: clamp(32px, 3vw, 44px); letter-spacing: -0.045em; }
.skill p { padding: 0 20px; font-size: 16.5px; line-height: 1.55; }
.skill--accent p { color: var(--ink); }
.skill--navy p { color: var(--dim); }
.skill--light p, .skill--white p { color: var(--text-2); }

.wave { display: flex; align-items: center; gap: 8px; height: 160px; }
.wave i { width: 12px; height: var(--h); border-radius: 6px; background: var(--ink); transform-origin: center; }
.wave i.soft { opacity: 0.38; }
.doc {
  position: relative; width: 140px; height: 180px; border-radius: 28px; background: #FFFFFF; padding: 26px;
  display: flex; flex-direction: column; gap: 13px;
}
.doc i { height: 9px; width: var(--w); border-radius: 5px; background: var(--doc-line); }
.doc .scan { position: absolute; left: -24px; right: -24px; top: 80px; height: 8px; border-radius: 4px; background: var(--accent); }
.ask { width: 100%; padding: 0 clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 10px; }
.ask .q, .ask .a { max-width: 100%; padding: 14px 20px; font-size: 16px; line-height: 1.35; }
.ask .q { align-self: flex-end; border-radius: 24px 24px 8px 24px; background: var(--navy); color: #FFFFFF; font-weight: 600; }
.ask .a { align-self: flex-start; border-radius: 24px 24px 24px 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; }

.approve-strip {
  border-radius: 999px; background: var(--navy-2); padding: 16px 16px 16px 24px;
  display: flex; align-items: center; gap: 20px;
}
.approve-strip > p { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.approve-strip .approval { flex: none; }

@media (max-width: 1000px) {
  .skills { grid-template-columns: minmax(0, 1fr); }
  .skill-art { height: 220px; }
}
@media (max-width: 820px) {
  .approve-strip { flex-direction: column; align-items: stretch; border-radius: 32px; padding: 24px; }
}

/* 13 · Roles ("From the field to the founder") */
.roles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.role {
  border-radius: var(--r-lg); background: var(--card); padding: 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.45s var(--spring), box-shadow 0.35s ease;
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.role-head { display: flex; align-items: center; gap: 14px; }
.role-head .app-icon { width: 56px; height: 56px; transition: transform 0.45s var(--spring); }
.role:hover .role-head .app-icon { transform: scale(1.06); }
.role-head b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.role-head small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.role > p { font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
.role-ui { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--ground); }
.role-ui > span { min-width: 0; }
.role-ui b { display: block; font-size: 15px; font-weight: 800; line-height: 1.35; }
.role-ui small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.ui-live, .ui-ring { flex: none; position: relative; width: 12px; height: 12px; margin-left: 4px; border-radius: 50%; background: var(--accent); }
.ui-ring { background: var(--navy); }
.ui-live::after, .ui-ring::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid currentColor; color: var(--accent); opacity: 0; }
.ui-ring::after { color: var(--navy); }
.ui-ok {
  flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 7px;
  border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 800;
}
.ui-ok::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1729' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ui-grow { flex: 1 1 auto; }
.ui-bar { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ui-bar i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: var(--navy); }
.role--navy { background: var(--navy); color: #FFFFFF; }
.role--navy > p, .role--navy .role-head small, .role--navy .role-ui small { color: var(--dim); }
.role--navy .role-ui { background: var(--navy-2); }
@media (max-width: 1040px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .roles { grid-template-columns: minmax(0, 1fr); } .role { padding: 24px; } }

/* 14 · Data panel + map (Switzerland: app, database, files · EU: AI processing) */
.data-panel {
  border-radius: var(--r-xl); background: var(--card); padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center;
}
.data-visual { grid-column: span 6; display: flex; flex-direction: column; align-items: center; }
.data-copy { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 28px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { border-radius: var(--r-md); background: var(--ground); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.fact b { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.fact span { font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 960px) {
  .data-panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .data-visual, .data-copy { grid-column: auto; }
}
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }

.geo { position: relative; width: 100%; max-width: 560px; aspect-ratio: 10 / 9; container: geo / inline-size; }
.geo-lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.geo-edge { fill: none; stroke: var(--line-2); stroke-width: 0.5; stroke-linecap: round; stroke-dasharray: 0.01 1.6; }
.geo-stars { fill: #FFCC00; }
.geo-path { fill: none; stroke: var(--line-2); stroke-width: 0.5; stroke-linecap: round; stroke-dasharray: 0.01 1.5; }
.geo-pulse { fill: none; stroke: var(--navy); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 2 300; stroke-dashoffset: 2; opacity: 0; }
.geo-pulse--back { stroke: var(--navy-4); }
.geo-zone { position: absolute; border-radius: 50%; }
.geo-zone--ch { left: 0; top: 2cqw; width: 62cqw; height: 62cqw; background: var(--ground); }
.geo-zone--eu { left: 53cqw; top: 44cqw; width: 44cqw; height: 44cqw; color: #FFFFFF; background: var(--navy); }
.geo-btn { position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; font: inherit; cursor: pointer; }
.geo-btn:focus-visible { outline-offset: 4px; border-radius: 50%; }
.geo-btn > span:not(.visually-hidden) { position: absolute; left: var(--gx); top: var(--gy); transform: translate(-50%, -50%); }
.geo-tag, .geo-sat {
  display: inline-flex; align-items: center; gap: 0.5em; height: 2.3em; padding: 0 1em 0 0.6em; border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: clamp(11px, 2.5cqw, 15px); font-weight: 800; line-height: 1; white-space: nowrap;
}
.geo-sat { font-size: clamp(11px, 2.4cqw, 14.5px); font-weight: 700; }
.geo-sat svg { width: 1.25em; height: 1.25em; }
.flag { width: 1.35em; height: 1.35em; border-radius: 4px; }
.flag[viewBox='0 0 48 32'] { width: 2em; }
.geo-zone--ch .geo-tag { --gx: 50%; --gy: 13%; }
.geo-zone--eu .geo-tag { --gx: 50%; --gy: 72%; }
.geo-core {
  --gx: 50%; --gy: 47%; width: 31%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); transition: transform 0.45s var(--spring);
}
.geo-core .mark { width: 50%; height: 50%; color: #FFFFFF; --halo: var(--navy); }
.geo-sat--db { --gx: 26%; --gy: 78%; }
.geo-sat--files { --gx: 68%; --gy: 80%; }
.geo-zone .geo-ai { --gx: 50%; --gy: 33%; width: 26%; height: auto; aspect-ratio: 1; transition: transform 0.45s var(--spring); }
.geo-ai-label { --gx: 50%; --gy: 54%; font-size: clamp(11px, 2.6cqw, 15px); font-weight: 700; white-space: nowrap; }
.geo-zone--ch:hover .geo-core, .geo-zone--ch.is-open .geo-core,
.geo-zone--eu:hover .geo-ai, .geo-zone--eu.is-open .geo-ai { transform: translate(-50%, -50%) scale(1.08); }
.geo .fcard { width: min(300px, 74cqw); }
.geo-zone--ch .fcard { left: 4cqw; top: 31cqw; --fc-pos: translateY(-50%); --fc-origin: 30% 50%; }
.geo-zone--eu .fcard { left: auto; right: -2cqw; top: 22cqw; --fc-pos: translateY(-50%); --fc-origin: 70% 50%; }
.geo-panel { border-radius: var(--r-xl); background: var(--card); padding: clamp(20px, 3.4vw, 48px); display: flex; flex-direction: column; align-items: center; }

/* 15 · Call to action (sign-up) */
.cta-panel {
  border-radius: var(--r-xl); background: var(--accent); color: var(--on-accent);
  padding: clamp(64px, 7vw, 104px) clamp(20px, 5vw, 72px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.cta-panel .mark { width: 96px; height: 96px; color: var(--on-accent); --halo: var(--accent); }
.cta-panel .mark .mark-dot--on { fill: var(--accent); stroke: var(--on-accent); stroke-width: 5; paint-order: normal; }
.cta-title { font-size: clamp(56px, 7.4vw, 104px); line-height: 0.98; letter-spacing: -0.055em; }
.cta-panel > p { max-width: 34em; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; }
.cta-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.cta-facts li {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); font-size: 16px; font-weight: 700; line-height: 1.3; text-align: left;
}
.cta-facts li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.cta-panel > .btn { height: 64px; padding: 0 36px; font-size: 18px; }
.cta-panel > .cta-note { font-size: 16px; font-weight: 600; }
.cta-note a { color: inherit; font-weight: 800; text-underline-offset: 4px; }
@media (max-width: 600px) {
  .cta-panel > .btn { width: 100%; }
}

/* 16 · Footer */
.site-footer { padding-block: clamp(72px, 7vw, 96px) 48px; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.footer-brand { grid-column: span 6; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand .mark { width: 34px; height: 34px; }
.footer-brand .wordmark { font-size: 28px; }
.footer-brand p { max-width: 24em; font-size: 16px; color: var(--muted); }
.footer-nav { grid-column: span 3; display: flex; flex-direction: column; gap: 12px; }
.footer-nav h2 { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 16px; font-weight: 600; color: var(--text-2); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1.5px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; color: var(--muted);
}
.footer-bottom span { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom span + span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.footer-legal, .footer-langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-langs { margin-left: auto; }
.footer-legal a, .footer-langs a { color: var(--muted); font-weight: 600; text-decoration: none; }
.footer-legal a:hover, .footer-langs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-langs a[aria-current='true'] { color: var(--ink); }
@media (max-width: 760px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { grid-column: span 6; }
}

/* 17 · Sub-page parts */
.display--page { font-size: clamp(46px, 6.2vw, 88px); line-height: 0.97; }
.page-hero { padding-top: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero > .stack { grid-column: span 8; }
.page-hero > .lead { grid-column: 9 / span 4; font-size: 19px; }
@media (max-width: 960px) {
  .page-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* Entered once (How it connects hero): one client record, linked to everything that follows */
.once-panel { border-radius: var(--r-xl); background: var(--card); padding: clamp(24px, 3.4vw, 44px); }
.once { --link: 32px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.once-entry { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 26px; background: var(--ground); }
.once-entry::after { content: ''; position: absolute; left: 100%; top: 50%; width: var(--link); height: 2px; margin-top: -1px; background: var(--line-2); }
.once-field { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 2px var(--navy); }
.once-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.once-field b { display: flex; align-items: center; font-size: clamp(16px, 1.5vw, 19px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.once-caret { flex: none; width: 2px; height: 1.1em; margin-left: 3px; border-radius: 1px; background: var(--navy); }
.once-entry small { padding: 0 6px 2px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.once-links { position: relative; list-style: none; margin: 0; padding: 0 0 0 calc(var(--link) * 2); display: flex; flex-direction: column; gap: 10px; }
.once-links::before { content: ''; position: absolute; left: calc(var(--link) - 1px); top: 30px; bottom: 30px; width: 2px; background: var(--line-2); }
.once-links li { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--ground); }
.once-links li::before { content: ''; position: absolute; right: 100%; top: 50%; width: var(--link); height: 2px; margin-top: -1px; background: var(--line-2); }
.once-links .app-icon:not(.app-icon--navy) { background: var(--card); }
.once-links b { display: block; font-size: 15px; font-weight: 800; line-height: 1.25; }
.once-links small { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); }
@media (max-width: 560px) {
  .once { grid-template-columns: minmax(0, 1fr); }
  .once-entry::after { left: calc(var(--link) - 1px); top: 100%; width: 2px; height: 18px; margin-top: 0; }
  .once-links { margin-top: 18px; }
  .once-links::before { top: 0; }
}

/* Stories */
.story { display: flex; flex-direction: column; gap: 24px; }
.story + .story { margin-top: clamp(40px, 5vw, 64px); }
.story-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; align-items: end; }
.story-head .story-title { grid-column: span 7; display: flex; align-items: baseline; gap: 20px; }
.story-head .story-title .n { font-size: 16px; font-weight: 800; letter-spacing: 0.04em; color: var(--accent-text); }
.story-head p { grid-column: 9 / span 4; font-size: 17px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 900px) { .story-head { display: flex; flex-direction: column; align-items: flex-start; } }

/* Client timeline */
.timeline-layout { align-items: center; }
.timeline-copy { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.timeline-card { grid-column: 7 / span 6; border-radius: var(--r-xl); background: var(--card); padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.client-head { display: flex; align-items: center; gap: 16px; }
.client-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.client-head b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.client-head small { display: block; font-size: 14px; color: var(--muted); }
.client-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.client-stats div { border-radius: 20px; background: var(--ground); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.client-stats b { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.client-stats span { font-size: 13px; color: var(--muted); }
.timeline { list-style: none; padding: 0; position: relative; display: flex; flex-direction: column; gap: 18px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 36px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.timeline li::before { content: ''; position: absolute; left: 1px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px var(--card); }
.timeline li.is-on::before { background: var(--accent); }
.timeline time { font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline b { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; }
.timeline small { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1080px) {
  .timeline-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .timeline-copy, .timeline-card { grid-column: auto; }
}
@media (max-width: 480px) {
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .client-stats b { font-size: 17px; }
}

/* Cards */
.cards { display: grid; gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border-radius: var(--r-lg); background: var(--card); padding: 28px 30px 30px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 14px; align-content: start;
  transition: transform 0.45s var(--spring), box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card--navy { background: var(--navy); color: #FFFFFF; }
.card h3 { align-self: center; font-size: 21px; letter-spacing: -0.03em; line-height: 1.15; }
.card > p { grid-column: 1 / -1; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.card--navy > p { color: var(--dim); }
.dot-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dot-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.on-navy .dot-list li { color: var(--dim); }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards--3, .cards--4 { grid-template-columns: minmax(0, 1fr); } .card { padding: 26px; } }

/* Modules (Platform page) */
.modules { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module {
  border-radius: var(--r-lg); background: var(--card); padding: 26px 28px 30px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 3px; align-content: start;
  transition: transform 0.45s var(--spring), box-shadow 0.35s ease;
}
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.module > .app-icon { grid-row: 1 / span 2; align-self: center; transition: transform 0.45s var(--spring); }
.module:hover > .app-icon { transform: scale(1.06); }
.module h3 { align-self: end; font-size: 23px; letter-spacing: -0.035em; line-height: 1.15; }
.module > p { align-self: start; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text-2); }
.module-points { grid-column: 1 / -1; list-style: none; padding: 0; margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.module-points li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.module-points li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
@media (max-width: 1040px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .modules { grid-template-columns: minmax(0, 1fr); } .module { padding: 26px; } }

/* What's next (Platform page) */
.next { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.next-card {
  border-radius: var(--r-lg); background: var(--card); padding: 26px 28px 24px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 16px; row-gap: 14px;
}
.next-card h3 { align-self: center; font-size: 21px; letter-spacing: -0.03em; line-height: 1.15; }
.next-card > p { grid-column: 1 / -1; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.next-card > .next-today { align-self: end; padding-top: 14px; border-top: 1.5px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.next-today b { color: var(--ink); font-weight: 700; }
@media (max-width: 640px) { .next { grid-template-columns: minmax(0, 1fr); } }

/* Swiss details list */
.swiss-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; }
.swiss-list li { border-radius: var(--r-md); background: var(--navy-2); padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.swiss-list b { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.swiss-list b::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.swiss-list span { padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: var(--dim); }
@media (max-width: 760px) { .swiss-list { grid-template-columns: minmax(0, 1fr); } }

/* Integrations */
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; }
.tools li { border-radius: var(--r-md); background: var(--card); padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.tools .app-icon { width: 48px; height: 48px; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.tools b { display: block; font-size: 17px; font-weight: 800; }
.tools small { display: block; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tools { grid-template-columns: minmax(0, 1fr); } }

/* Activity list (AI page): what Olaph did today and what waits for a person */
.queue { border-radius: var(--r-xl); background: var(--card); padding: clamp(18px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 40px 80px -52px rgba(15, 23, 41, 0.45); }
.queue-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 8px; }
.queue-head b { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.queue-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.queue-count { min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.queue-count.is-zero { background: var(--ground); color: var(--muted); }
.queue-label { padding: 8px 8px 0; font-size: 13px; font-weight: 800; color: var(--muted); }
.queue-item { border-radius: 26px; background: var(--ground); padding: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 14px; align-items: center; }
.queue-item .app-icon { width: 46px; height: 46px; }
.queue-item .app-icon:not([class*='app-icon--']) { background: var(--card); }
.queue-item b { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.queue-item small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.queue-item .approval { justify-content: flex-end; }
.queue-item .approval-status { min-height: 40px; padding: 4px 14px 4px 4px; font-size: 14px; }
.queue-item .approval-status::before { width: 32px; height: 32px; background-size: 15px; }
.queue-item.is-review { background: var(--accent-faint); }
.queue-item.is-review .app-icon { background: var(--card); }
.queue-item.is-review .approval { grid-column: 2 / -1; justify-content: flex-start; }
.queue-foot { display: flex; align-items: center; gap: 10px; padding: 8px 8px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.queue-foot svg { flex: none; width: 18px; height: 18px; }
@media (max-width: 560px) {
  .queue-item { grid-template-columns: auto minmax(0, 1fr); }
  .queue-item .approval { grid-column: 2 / -1; justify-content: flex-start; }
}

/* Feature rows (AI page) */
.feature-row { align-items: center; }
.feature-row + .feature-row { margin-top: clamp(56px, 7vw, 104px); }
.feature-art { grid-column: span 6; }
.feature-copy { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 24px; }
.feature-row--flip .feature-art { grid-column: 7 / span 6; order: 2; }
.feature-row--flip .feature-copy { grid-column: 1 / span 5; order: 1; }
.feature-art .skill { border-radius: var(--r-xl); padding: 20px; }
.feature-art .skill-art { height: clamp(260px, 30vw, 380px); border-radius: calc(var(--r-xl) - 12px); }
.feature-art .wave, .feature-art .doc { transform: scale(1.3); }
.feature-art .ask { max-width: 480px; }
.feature-art .ask .q, .feature-art .ask .a { font-size: 18px; padding: 16px 22px; }
.example { border-radius: var(--r-md); background: var(--card); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.example .kicker { font-size: 14px; font-weight: 700; color: var(--muted); }
.example q { quotes: '«' '»'; font-size: 17px; font-weight: 600; line-height: 1.5; }
.example-rows { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15.5px; }
.example-rows dt { color: var(--muted); font-weight: 600; }
.example-rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .feature-row, .feature-row--flip { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
}
@media (max-width: 600px) { .feature-art .wave, .feature-art .doc { transform: none; } }

/* Access levels (AI page: you draw the line). One row per kind of data, one radio per level. */
.levels { display: flex; flex-direction: column; gap: 8px; }
.levels-head, .level-row { display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 6px; align-items: center; }
.levels-head > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 6px 8px; text-align: center; }
.levels-head svg { width: 26px; height: 26px; margin-bottom: 8px; }
.levels-head > span:last-child svg { color: var(--accent); }
.levels-head b { font-size: 15px; font-weight: 800; line-height: 1.25; }
.levels-head small { font-size: 13px; line-height: 1.35; color: var(--dim); }
.level-row { padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--navy-2); }
.level-name { min-width: 0; padding-right: 8px; }
.level-name b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.level-name small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--dim); }
.level-row label {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 12px;
  border-radius: 999px; cursor: pointer; transition: background-color 0.2s ease;
}
.level-row label::before {
  content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--navy-4);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.level-row label:hover { background: rgba(255, 255, 255, 0.05); }
.level-row label:has(input:checked) { background: var(--navy-3); }
.level-row label:has(input:checked)::before { background: #FFFFFF; box-shadow: inset 0 0 0 6px #FFFFFF, inset 0 0 0 20px var(--navy); }
.level-row label:last-of-type:has(input:checked)::before { background: var(--accent); box-shadow: inset 0 0 0 6px var(--accent), inset 0 0 0 20px var(--navy); }
.level-row label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.level-row input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.level-row label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) {
  .levels-head { display: none; }
  .level-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 18px; border-radius: 28px; }
  .level-name { grid-column: 1 / -1; padding: 0 6px 8px; }
  .level-row label { justify-content: flex-start; height: auto; min-height: 48px; padding: 10px 14px; }
  .level-row label span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r-md); background: var(--card); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1729' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq details > p { padding: 0 28px 26px; max-width: 46em; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }
.faq-layout { align-items: start; }
.faq-layout .faq-title { grid-column: span 4; }
.faq-layout .faq { grid-column: 6 / span 7; }
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-layout .faq-title, .faq-layout .faq { grid-column: auto; }
}

/* Banner */
.banner {
  border-radius: var(--r-xl); background: var(--card); padding: clamp(32px, 4.4vw, 56px) clamp(24px, 4.4vw, 64px);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
}
.banner h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.045em; line-height: 1.05; }
.banner p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 40em; }
.banner--navy { background: var(--navy); color: #FFFFFF; }
.banner--navy p { color: var(--dim); }
@media (max-width: 860px) { .banner { grid-template-columns: minmax(0, 1fr); } }

/* Small helpers */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* 18 · Motion — only decoration moves; content is complete at rest */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-out { 0% { stroke-dashoffset: 2; opacity: 0; } 8% { opacity: 1; } 70% { stroke-dashoffset: -100; opacity: 1; } 71%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes node-in { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes ai-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 98, 46, 0.16); } 50% { box-shadow: 0 0 0 1.4cqw rgba(242, 98, 46, 0.1); } }
@keyframes ripple { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes fc-item { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes travel { 0% { left: calc((100% - 64px) / 10); opacity: 0; } 6% { opacity: 1; } 84% { left: calc(100% - (100% - 64px) / 10); opacity: 1; } 92%, 100% { left: calc(100% - (100% - 64px) / 10); opacity: 0; } }
@keyframes travel-v { 0% { top: 32px; opacity: 0; } 6% { opacity: 1; } 84% { top: calc(100% - 32px); opacity: 1; } 92%, 100% { top: calc(100% - 32px); opacity: 0; } }
@keyframes wave { to { transform: scaleY(0.55); } }
@keyframes scan { from { top: 30px; } to { top: 142px; } }
@keyframes link-on { 0%, 24%, 100% { background-color: var(--line-2); } 6%, 16% { background-color: var(--navy); } }
@keyframes link-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes deck-pop { 0% { scale: 0.93; } 100% { scale: 1; } }
/* The cards slide to show a slice of the next one, twice, then rest; --nudge is -1 on the last card */
@keyframes deck-nudge { 0%, 100% { translate: 0; } 16% { translate: calc(var(--nudge, 1) * -15cqw); } 34% { translate: 0; } 44% { translate: calc(var(--nudge, 1) * -6cqw); } 56% { translate: 0; } }
@keyframes hint-in { from { opacity: 0; scale: 0.8; } to { opacity: 1; scale: 1; } }
@keyframes hint-arrow { 0%, 100% { translate: 0; } 50% { translate: var(--to); } }

@media (prefers-reduced-motion: no-preference) {
  .orbit-ring { animation: spin 160s linear infinite; }
  .orbit-pulse { animation: pulse-out 4s ease-in-out calc(var(--i) * 0.5s) infinite; }
  .orbit-node { animation: node-in 0.6s var(--ease-out) calc(0.1s + var(--i) * 0.05s) both; }
  .orbit-node--ai .orbit-icon { animation: ai-glow 4.5s ease-in-out infinite; }
  .hc:hover > .fcard > *, .hc.is-open > .fcard > * { animation: fc-item 0.35s var(--ease-out) both; }
  .hc:hover > .fcard > :nth-child(2), .hc.is-open > .fcard > :nth-child(2) { animation-delay: 0.04s; }
  .hc:hover > .fcard > :nth-child(3), .hc.is-open > .fcard > :nth-child(3) { animation-delay: 0.08s; }
  .orbit .orbit-deck > .fcard.is-pop { animation: deck-pop 0.5s var(--spring); }
  .orbit.is-inviting .orbit-deck > .fcard { animation: deck-nudge 2.8s var(--ease-out) 0.15s infinite; }
  .orbit-node.is-pop .orbit-icon { animation: deck-pop 0.5s var(--spring); }
  .orbit-hint.is-inviting .orbit-hint-swipe { animation: hint-in 0.45s var(--spring) both; }
  .orbit-hint.is-inviting .orbit-hint-swipe svg:first-child { --to: -3px; animation: hint-arrow 0.9s ease-in-out infinite; }
  .orbit-hint.is-inviting .orbit-hint-swipe svg:last-child { --to: 3px; animation: hint-arrow 0.9s ease-in-out infinite; }
  .voice:hover .voice-bars i, .voice.is-open .voice-bars i { animation: wave 0.7s ease-in-out calc(var(--i) * -0.11s) infinite alternate; }
  .geo-pulse { animation: pulse-out 3.6s ease-in-out infinite; }
  .geo-pulse--back { animation-delay: 1.8s; }
  .ui-live::after, .ui-ring::after { animation: ripple 1.8s ease-out infinite; }
  .once-links li { animation: link-in 0.5s var(--ease-out) calc(0.2s + var(--i) * 0.08s) both; }
  .once-links li::before { animation: link-on 6s ease-in-out calc(1s + var(--i) * 0.45s) infinite; }
  .once-caret { animation: blink 1.1s steps(1) infinite; }
  .journey::after { animation: travel 7s cubic-bezier(0.55, 0, 0.45, 1) infinite; }
  .wave i { animation: wave 1.1s ease-in-out calc(var(--i) * -0.17s) infinite alternate; }
  .doc .scan { animation: scan 2.8s ease-in-out infinite alternate; }
}
@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .journey::after { animation-name: travel-v; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
