/*
 * OpenMaé website.
 *
 * Colors, radii, shadows, durations and curves are the app's design tokens: the site invents none. The four
 * conversation states (repos, ecoute, reflexion, parle) color the demos exactly as PipelineState colors the app:
 * warm is Maé, cool is you. No purple, no gradient; the only blurred things are the orb's floor shadow and the
 * capsule's glass.
 */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-latin-opsz.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* The orb's motion parameters, registered so that a change of state eases them instead of jumping. */
@property --ta { syntax: "<number>"; inherits: true; initial-value: 0.025; }
@property --ba { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --hop { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --ca { syntax: "<number>"; inherits: true; initial-value: 0.02; }
@property --r { syntax: "<number>"; inherits: true; initial-value: 1.75; }

:root {
  --surface: #fbf6ec;
  --card: #ffffffdb;
  --card-strong: #ffffffeb;
  --glass-button: #ffffffb3;
  --white: #ffffff;
  --ink: #1f1b16;
  --ink-hover: #34302a;
  --ink-muted: #6b655c;
  --on-ink: #ffffff;
  --line: #1f1b1614;
  --line-strong: #1f1b1624;
  --line-key: #1f1b161f;
  --track: #ece7dd;
  --field: #f1ede4;
  --coral: #ff6a4d;
  --sun: #ffc83d;
  --turquoise: #14bfae;
  --azure: #2e93f5;
  --coral-soft: #ff9c86;
  --sun-soft: #ffd561;
  --turquoise-soft: #6fdac8;
  --azure-soft: #86beff;
  --mint: #8fe3b8;
  --sky: #7ec4ff;
  --pink: #ff8fa3;
  --orange: #ff9a3d;
  --link: #0b5fa8;
  --link-soft: #2e93f51f;
  --success: #0b6b49;
  --success-soft: #d6f5e7;

  --shadow-hairline: inset 0 0 0 1px rgba(31, 27, 22, 0.08);
  --shadow-card: 0 0 0 1px rgba(31, 27, 22, 0.07), 0 6px 20px rgba(31, 27, 22, 0.05);
  --shadow-core: 0 14px 34px rgba(31, 27, 22, 0.14), 0 2px 6px rgba(31, 27, 22, 0.06);
  --shadow-button: 0 10px 24px rgba(31, 27, 22, 0.22);
  --shadow-popover: 0 0 0 0.5px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 30px 70px rgba(31, 27, 22, 0.28), 0 8px 20px rgba(31, 27, 22, 0.12);
  --shadow-capsule: 0 0 0 0.5px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 24px 60px rgba(0, 0, 0, 0.38), 0 6px 18px rgba(0, 0, 0, 0.22);

  --radius-window: 26px;
  --radius-card: 20px;
  --radius-section: 16px;
  --radius-field: 10px;
  --radius-key: 7px;
  --radius-code: 5px;
  --radius-pill: 999px;

  --duration-press: 0.15s;
  --duration-ui: 0.2s;
  --duration-color: 0.35s;
  --duration-word: 0.4s;
  --duration-rise: 0.5s;
  --duration-capsule: 0.55s;
  --duration-pop: 0.8s;
  --duration-surface: 1s;
  --duration-core: 1.3s;
  --duration-ripple: 3s;
  --duration-float: 6s;
  --duration-halo: 7s;
  --duration-orbit: 24s;
  --ease-pop: cubic-bezier(0.3, 0.1, 0.3, 1);
  --ease-spring: cubic-bezier(0.3, 1.35, 0.5, 1);
  --ease-rise: cubic-bezier(0.2, 0.8, 0.3, 1);
  --ease-capsule: cubic-bezier(0.2, 1.3, 0.4, 1);
  --ease-ripple: cubic-bezier(0.25, 0.6, 0.35, 1);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-sans: "Figtree", system-ui, sans-serif;

  --gutter: 16px;
  --content: 1120px;
  color-scheme: light;
}

/* ---------- Conversation states: the palette of a demo, as in the app ---------- */

[data-state] {
  --bg: #fbf6ec;
  --b1: var(--coral-soft); --b2: var(--sun-soft); --b3: var(--turquoise-soft); --b4: var(--azure-soft);
  --glow: var(--coral-soft); --deep: var(--ink-muted); --bar: var(--ink);
  --glass: #fbf6ece6; --deep-on-glass: var(--ink-muted);
}
[data-state="ecoute"] {
  --bg: #e4f1fb;
  --b1: var(--azure); --b2: var(--turquoise); --b3: var(--mint); --b4: var(--sky);
  --glow: var(--azure); --deep: var(--link); --bar: #1d86f0;
  --glass: #e8f4fce6; --deep-on-glass: #0a4f8e;
}
[data-state="reflexion"] {
  --bg: #fbf3e0;
  --b1: var(--coral); --b2: var(--sun); --b3: var(--turquoise); --b4: var(--azure);
  --glow: var(--sun); --deep: var(--ink-muted); --bar: var(--ink);
  --glass: #fff6e2eb; --deep-on-glass: #7a5200;
}
[data-state="parle"] {
  --bg: #ffebdd;
  --b1: var(--coral); --b2: var(--sun); --b3: var(--pink); --b4: var(--orange);
  --glow: var(--coral); --deep: #b8381a; --bar: #ff5a36;
  --glass: #ffece0eb; --deep-on-glass: #a8300f;
}

/* ---------- Base ---------- */

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

html {
  background-color: var(--surface);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2.5px solid var(--azure); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

[hidden] { display: none !important; }

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

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

kbd {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82em;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  padding: 1px 8px;
  border-radius: var(--radius-key);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-key), 0 1px 0 rgba(31, 27, 22, 0.08);
  white-space: nowrap;
}

/* ---------- Logotype ---------- */

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 28px; height: 22px; }
.wordmark { font-family: var(--font-display); font-size: 18px; line-height: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-muted); }
.wordmark b { font-weight: 700; color: var(--ink); }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 12px;
  border-radius: var(--radius-pill); color: var(--ink); text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: background-color var(--duration-ui) ease;
}
.site-nav a:hover { background-color: var(--line); }
.site-nav .lang { font-weight: 600; box-shadow: var(--shadow-hairline); background-color: var(--glass-button); margin-left: 6px; }
.site-nav .lang:hover { background-color: var(--white); }
.nav-sections { display: contents; }

@media (max-width: 760px) {
  .nav-sections { display: none; }
}

/* ---------- Buttons ---------- */

.btn-main {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: 9px 28px 9px 9px;
  border-radius: var(--radius-pill);
  background-color: var(--ink); color: var(--on-ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 22px; font-weight: 600;
  text-decoration: none; box-shadow: var(--shadow-button);
  transition: background-color var(--duration-ui) ease, scale var(--duration-press) ease;
}
.btn-main:hover { background-color: var(--ink-hover); text-decoration: none; }
.btn-main:active { scale: 0.97; }
.btn-main .disc {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background-color: var(--coral-soft); color: var(--ink);
}

.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 14px 0 16px;
  border-radius: var(--radius-pill);
  background-color: var(--link-soft); color: var(--link);
  font-size: 14.5px; line-height: 20px; font-weight: 600; text-decoration: none;
  transition: scale var(--duration-press) ease;
}
.btn-link:hover { text-decoration: underline; }
.btn-link:active { scale: 0.97; }
.btn-link .icon { width: 16px; height: 16px; stroke-width: 2.2; }

/* ---------- Hero ---------- */

.hero { padding: 28px 0 40px; text-align: center; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 11.5em;
  margin: 0 auto;
  text-wrap: balance;
}
.hero .lead {
  max-width: 34em;
  margin: 22px auto 0;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.hero-actions { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.status { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14.5px; line-height: 20px; color: var(--ink-muted); }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 11px 0 9px; border-radius: var(--radius-pill);
  background-color: var(--white); box-shadow: var(--shadow-hairline);
  font-size: 13.5px; line-height: 18px; font-weight: 600; color: var(--ink);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background-color: var(--sun); }

.demo-area { margin: 44px auto 0; max-width: 880px; }
.demo-pause {
  margin: 14px 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px 0 10px;
  border: 0; border-radius: var(--radius-pill);
  background-color: var(--glass-button); box-shadow: var(--shadow-hairline);
  color: var(--ink); font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background-color var(--duration-ui) ease, scale var(--duration-press) ease;
}
.demo-pause:hover { background-color: var(--white); }
.demo-pause:active { scale: 0.95; }
.demo-pause .icon { width: 16px; height: 16px; }
.demo-pause .i-play { display: none; }
.demo-pause[aria-pressed="true"] .i-pause { display: none; }
.demo-pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- The orb, drawn in em on a scene of 23.75 em (380 px at 16 px), so a context sizes it with font-size ---------- */

.orb { position: relative; width: 23.75em; height: 23.75em; flex: none; }
.orb::before, .orb::after {
  /* the two flat halos behind the orb */
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
  translate: -50% -50%; pointer-events: none;
  animation: omHalo var(--duration-halo) ease-in-out infinite;
}
.orb::before { width: 35em; height: 35em; background: rgba(255, 255, 255, 0.55); }
.orb::after { width: 50em; height: 50em; background: rgba(255, 255, 255, 0.3); z-index: -1; }
@keyframes omHalo { 0%, 100% { scale: 1; } 50% { scale: 1.035; } }

.orb-floor {
  position: absolute; left: 50%; bottom: 0.25em; width: 12.5em; height: 1.75em; margin-left: -6.25em;
  border-radius: 50%; background-color: var(--glow); filter: blur(1.125em); opacity: 0.4;
  transition: background-color 0.5s ease;
  animation: omFloor var(--duration-float) ease-in-out infinite;
}
@keyframes omFloor { 0%, 100% { scale: 1; } 50% { scale: 0.82; } }

.orb-body { position: absolute; inset: 0; animation: omFloat var(--duration-float) ease-in-out infinite; }
@keyframes omFloat { 0%, 100% { translate: 0 -0.375em; } 50% { translate: 0 0.5em; } }

/* at each change of state the bubbles fold in, then bounce: the colors change during the fold */
.orb-pop { position: absolute; inset: 0; }
[data-state="repos"] .orb-pop { animation: omPopA var(--duration-pop) var(--ease-pop) both; }
[data-state="ecoute"] .orb-pop { animation: omPopB var(--duration-pop) var(--ease-pop) both; }
[data-state="reflexion"] .orb-pop { animation: omPopC var(--duration-pop) var(--ease-pop) both; }
[data-state="parle"] .orb-pop { animation: omPopD var(--duration-pop) var(--ease-pop) both; }
@keyframes omPopA { 0% { scale: 1; } 30% { scale: 0.6; } 70% { scale: 1.07; } 100% { scale: 1; } }
@keyframes omPopB { 0% { scale: 1; } 30% { scale: 0.6; } 70% { scale: 1.07; } 100% { scale: 1; } }
@keyframes omPopC { 0% { scale: 1; } 30% { scale: 0.6; } 70% { scale: 1.07; } 100% { scale: 1; } }
@keyframes omPopD { 0% { scale: 1; } 30% { scale: 0.6; } 70% { scale: 1.07; } 100% { scale: 1; } }

/* the four bubbles turn together, 90° apart: the orb stays balanced */
.orb-spin { position: absolute; inset: 0; animation: omOrbit var(--duration-orbit) linear infinite; }
@keyframes omOrbit { to { rotate: 360deg; } }
.orb-arm { position: absolute; inset: 0; rotate: var(--a); }
.orb-arm:nth-child(1) { --a: 0deg; --rk: 1; --bc: var(--b1); --M: 7s; --ML: 0s; --P: 0.95s; --PL: 0s; }
.orb-arm:nth-child(2) { --a: 90deg; --rk: 0.8; --bc: var(--b2); --M: 9s; --ML: -3s; --P: 1.25s; --PL: -0.4s; }
.orb-arm:nth-child(3) { --a: 180deg; --rk: 1.15; --bc: var(--b3); --M: 8s; --ML: -5s; --P: 0.8s; --PL: -0.2s; }
.orb-arm:nth-child(4) { --a: 270deg; --rk: 0.92; --bc: var(--b4); --M: 6.5s; --ML: -2s; --P: 1.1s; --PL: -0.7s; }
.orb-blob {
  position: absolute; left: 50%; top: 50%; width: 13em; height: 13em; margin: -6.5em 0 0 -6.5em;
  translate: calc(var(--r) * var(--rk) * 1em) 0;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  background-color: var(--bc);
  transition: background-color var(--duration-color) ease;
  animation: omMorph var(--M) ease-in-out infinite alternate, omTalk var(--P) ease-in-out infinite;
  animation-delay: var(--ML), var(--PL);
}
@keyframes omMorph {
  0% { border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; rotate: 0deg; }
  50% { border-radius: 44% 56% 40% 60% / 58% 44% 56% 42%; rotate: 24deg; }
  100% { border-radius: 54% 46% 60% 40% / 42% 56% 44% 58%; rotate: -18deg; }
}
@keyframes omTalk { 0%, 100% { scale: calc(1 - var(--ta)); } 50% { scale: calc(1 + var(--ta)); } }

/* ripples: outward when Maé speaks, inward when you speak */
.orb-rings { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; pointer-events: none; }
[data-state="parle"] .orb-rings.out, [data-state="ecoute"] .orb-rings.in { opacity: 1; }
.orb-ring {
  position: absolute; left: 50%; top: 50%; width: 15.25em; height: 15.25em; margin: -7.625em 0 0 -7.625em;
  border-radius: 50%; border: 0.156em solid var(--glow); opacity: 0;
  transition: border-color 0.4s ease;
  animation-duration: var(--duration-ripple); animation-iteration-count: infinite;
  animation-timing-function: var(--ease-ripple); animation-delay: var(--d, 0s);
}
.orb-ring:nth-child(2) { --d: 1s; }
.orb-ring:nth-child(3) { --d: 2s; }
.orb-rings.out .orb-ring { animation-name: omOut; }
.orb-rings.in .orb-ring { animation-name: omIn; }
@keyframes omOut { 0% { scale: 0.8; opacity: 0; } 14% { opacity: 0.6; } 100% { scale: 1.75; opacity: 0; } }
@keyframes omIn { 0% { scale: 1.8; opacity: 0; } 35% { opacity: 0.65; } 100% { scale: 0.8; opacity: 0; } }

/* white core and voice bars: dots at rest, a wave when someone speaks, a hop while Maé thinks */
.orb-core {
  position: absolute; left: 50%; top: 50%; width: 8.75em; height: 8.75em; margin: -4.375em 0 0 -4.375em;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 0.875em 2.125em rgba(31, 27, 22, 0.14), 0 0.125em 0.375em rgba(31, 27, 22, 0.06);
  display: flex; align-items: center; justify-content: center; gap: 0.5em;
  animation: omCore var(--duration-core) ease-in-out infinite;
}
@keyframes omCore { 0%, 100% { scale: calc(1 - var(--ca)); } 50% { scale: calc(1 + var(--ca)); } }
.orb-bar {
  width: 0.625em; height: 0.625em; border-radius: 0.3125em; background-color: var(--bar);
  transition: background-color 0.4s ease;
  animation: omBar var(--bd) ease-in-out infinite, omHop var(--duration-core) ease-in-out infinite;
  animation-delay: var(--bl), calc(var(--i) * 0.13s);
}
.orb-bar:nth-child(1) { --k: 0.55; --bd: 0.72s; --bl: -0.3s; --i: 0; }
.orb-bar:nth-child(2) { --k: 0.85; --bd: 0.55s; --bl: -0.1s; --i: 1; }
.orb-bar:nth-child(3) { --k: 1; --bd: 0.9s; --bl: -0.5s; --i: 2; }
.orb-bar:nth-child(4) { --k: 0.8; --bd: 0.63s; --bl: -0.2s; --i: 3; }
.orb-bar:nth-child(5) { --k: 0.6; --bd: 0.8s; --bl: -0.4s; --i: 4; }
@keyframes omBar {
  0%, 100% { height: calc(0.625em + var(--ba) * var(--k) * 0.375em); }
  50% { height: calc(0.625em + var(--ba) * var(--k) * 2.5em); }
}
@keyframes omHop { 0%, 55%, 100% { translate: 0 0; } 28% { translate: 0 calc(var(--hop) * -0.8125em); } }

/* the motion of each state (radius of orbit in em, breathing, bars, hop, core), eased on the orb's own stage */
.demo-motion { transition: --ta 0.9s ease, --ba 0.6s ease, --hop 0.6s ease, --ca 0.8s ease, --r 1.1s var(--ease-spring); }
[data-state="repos"] .demo-motion { --r: 1.75; --ta: 0.025; --ba: 0; --hop: 0; --ca: 0.02; }
[data-state="ecoute"] .demo-motion { --r: 2; --ta: 0.06; --ba: 1; --hop: 0; --ca: 0.07; }
[data-state="reflexion"] .demo-motion { --r: 5; --ta: 0.03; --ba: 0; --hop: 1; --ca: 0.02; }
[data-state="parle"] .demo-motion { --r: 3.375; --ta: 0.13; --ba: 1; --hop: 0; --ca: 0.05; }

/* ---------- Live transcript ---------- */

.tx { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; text-align: center; }
.tx-prev {
  width: 100%; max-width: 640px; min-height: 20px;
  font-size: 14px; line-height: 20px; color: var(--ink-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 14px 0 11px; border-radius: 15px;
  background: var(--white); box-shadow: var(--shadow-hairline);
  font-size: 13.5px; line-height: 18px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--glow); transition: background-color 0.4s ease; animation: omBlink 1.4s ease-in-out infinite; }
@keyframes omBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.tx-live {
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0.28em;
  max-width: 540px;
  font-family: var(--font-display); font-size: var(--tf, 21px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em;
}
.w { color: var(--ink); transition: color 0.7s ease; animation: omWord var(--duration-word) var(--ease-rise) both; }
.w.fresh { color: var(--deep); }
@keyframes omWord { from { opacity: 0; translate: 0 6px; filter: blur(3px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
.tx-hint { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.tx-hint kbd { font-size: 14px; line-height: 20px; padding: 3px 9px; }
.tx-chip, .tx-live, .tx-prev { animation: omRise var(--duration-rise) var(--ease-rise) both; }
@keyframes omRise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
[data-state="repos"] .tx-chip, [data-state="repos"] .tx-live, [data-state="repos"] .tx-prev { display: none; }
[data-state]:not([data-state="repos"]) .tx-hint { display: none; }
[data-state]:not([data-state="parle"]) .tx-prev { visibility: hidden; }

/* ---------- The Mac window ---------- */

.win {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  border-radius: var(--radius-window);
  background-color: var(--bg);
  box-shadow: var(--shadow-popover);
  transition: background-color var(--duration-surface) ease;
  container: win / inline-size;
}
.win-bar { position: relative; z-index: 1; align-self: stretch; height: 60px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 22px; }
.win-lights { display: flex; gap: 8px; }
.win-lights i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15); }
.win-lights i:nth-child(1) { background: #ff5f57; }
.win-lights i:nth-child(2) { background: #febc2e; }
.win-lights i:nth-child(3) { background: #28c840; }
.win-title { position: absolute; left: 50%; top: 0; height: 60px; translate: -50% 0; display: flex; align-items: center; gap: 10px; }
.win-tools { display: flex; gap: 10px; }
.glass-round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background-color: var(--glass-button); box-shadow: var(--shadow-hairline); color: var(--ink); }
.glass-round .icon { width: 20px; height: 20px; }
.win-stage { position: relative; z-index: 0; font-size: min(16px, calc(64cqw / 23.75)); margin-top: 4px; }
.win-tx { position: relative; z-index: 1; --tf: clamp(17px, 2.45cqw, 21px); height: calc(66px + 3.95 * var(--tf)); padding: 0 24px; }
.win-controls { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px 0 34px; }

.fake-main {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 200px; height: 60px; padding: 0 30px 0 9px;
  border-radius: 30px; background-color: var(--ink); color: var(--on-ink);
  font-size: 17px; line-height: 22px; font-weight: 600;
  box-shadow: var(--shadow-button);
}
.fake-main .disc { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background-color: var(--glow); color: var(--ink); transition: background-color 0.4s ease; }
.fake-main .icon { width: 22px; height: 22px; stroke-width: 2; display: none; }
[data-state="repos"] .fake-main .i-talk,
[data-state="ecoute"] .fake-main .i-stop,
[data-state="reflexion"] .fake-main .i-cancel,
[data-state="parle"] .fake-main .i-pause { display: block; }
.fake-main .i-stop { fill: currentColor; stroke: none; }
.fake-main .i-cancel { stroke-width: 2.4; }
.fake-main .i-pause { stroke-width: 2.8; }

@container win (max-width: 560px) {
  .win-tools { display: none; }
  .win-tx { height: calc(66px + 5.2 * var(--tf)); padding: 0 18px; }
  .win-controls { padding: 6px 0 24px; }
  .fake-main { min-width: 176px; height: 54px; font-size: 16px; padding-right: 26px; }
  .fake-main .disc { width: 38px; height: 38px; }
  .tx-hint { font-size: 15px; padding-top: 18px; }
}
@container win (max-width: 400px) {
  .win-bar { padding: 0 14px 0 16px; height: 52px; }
  .win-title { height: 52px; }
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-head { max-width: 40em; margin: 0 auto 40px; text-align: center; }
.section-head h2, .split h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-head p, .split .lead { margin-top: 14px; font-size: 18.5px; line-height: 1.55; color: var(--ink-muted); text-wrap: pretty; }
.section-head .btn-link { margin-top: 18px; }

.card {
  border-radius: var(--radius-card);
  background-color: var(--card);
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.card h3 { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -0.005em; }
.card p { margin-top: 8px; color: var(--ink-muted); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.card .icon-tile {
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; color: var(--ink);
}
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
}

/* the three moments of a conversation, each on the surface of its state */
.moment { background-color: var(--bg); box-shadow: var(--shadow-hairline); }
.moment .chip { margin-bottom: 18px; }
.moment .chip-dot { animation: none; }
.moment h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }

/* privacy: one wide card, the promise on the left, the three points on the right */
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 52px 56px; }
.privacy h2 { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 48px); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.privacy .lead { margin-top: 14px; font-size: 18.5px; line-height: 1.55; color: var(--ink-muted); text-wrap: pretty; }
.privacy .btn-link { margin-top: 24px; }
.privacy .points { margin: 0; gap: 22px; }
@media (max-width: 860px) {
  .privacy { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 30px 22px; }
}
.tile-coral, .points .icon-tile.tile-coral { background-color: #ffebdd; box-shadow: none; }
.tile-sun, .points .icon-tile.tile-sun { background-color: #fbf3e0; box-shadow: none; }
.tile-blue, .points .icon-tile.tile-blue { background-color: #e4f1fb; box-shadow: none; }

/* features: what you would say, as the live transcript shows it */
.feature { display: flex; flex-direction: column; }
.say {
  margin-top: auto; padding-top: 18px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.say q {
  quotes: none;
  font-family: var(--font-display); font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.say .chip { height: 26px; padding: 0 12px 0 9px; font-size: 13px; }
.say .chip-dot { animation: none; background-color: var(--azure); }

.feature-wide {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: center;
  margin-bottom: 16px;
}
.feature-wide h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.feature-wide p { font-size: 17px; }
@media (max-width: 820px) {
  .feature-wide { grid-template-columns: minmax(0, 1fr); }
}

.also { margin-top: 16px; }
.also .card { background-color: transparent; box-shadow: var(--shadow-hairline); }
.also h3 { display: flex; align-items: center; gap: 10px; }
.note { margin-top: 18px; font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); text-align: center; text-wrap: pretty; }

/* ---------- The capsule over another app ---------- */

.desk {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 250px; border-radius: var(--radius-section);
  background-color: var(--track);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 22px 18px 26px;
  container: desk / inline-size;
}
.desk-doc {
  position: absolute; left: 50%; top: 22px; translate: -50% 0;
  width: min(440px, calc(100% - 36px));
  border-radius: 14px; background: var(--white); box-shadow: var(--shadow-card);
  padding: 16px 20px 26px; text-align: left;
}
.desk-doc .doc-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.desk-doc .doc-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--track); }
.desk-doc strong { display: block; font-family: var(--font-display); font-size: 19px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.desk-doc ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }

.cap {
  position: relative; z-index: 1;
  width: min(540px, 100%); height: 72px;
  display: flex; align-items: center; gap: 14px; padding: 0 22px 0 8px;
  border-radius: var(--radius-pill);
  background-color: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: var(--shadow-capsule);
  transition: background-color var(--duration-color) ease, opacity 0.3s ease, translate var(--duration-capsule) var(--ease-capsule), scale var(--duration-capsule) var(--ease-capsule);
}
.cap[data-state="repos"] { opacity: 0; translate: 0 18px; scale: 0.9; }
.cap-waves { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cap[data-state="parle"] .cap-waves.out, .cap[data-state="ecoute"] .cap-waves.in { opacity: 1; }
.cap-wave { position: absolute; inset: 0; border-radius: var(--radius-pill); border: 2px solid var(--glow); opacity: 0; animation-duration: 2.4s; animation-iteration-count: infinite; animation-timing-function: var(--ease-ripple); }
.cap-wave:nth-child(2) { animation-delay: 1.2s; }
.cap-waves.out .cap-wave { animation-name: capOut; }
.cap-waves.in .cap-wave { animation-name: capIn; }
@keyframes capOut { 0% { inset: 0; opacity: 0.6; } 100% { inset: -20px; opacity: 0; } }
@keyframes capIn { 0% { inset: -20px; opacity: 0; } 40% { opacity: 0.65; } 100% { inset: 0; opacity: 0; } }

.cap-orb { position: relative; flex: none; width: 64px; height: 64px; }
.cap-spin { position: absolute; inset: 0; animation: omOrbit 14s linear infinite; }
.cap-orb .orb-arm { position: absolute; inset: 0; }
.cap-blob {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  translate: calc(var(--cr) * var(--rk)) 0;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  background-color: var(--bc);
  transition: background-color var(--duration-color) ease;
  animation: omMorph var(--M) ease-in-out infinite alternate, omTalk var(--P) ease-in-out infinite;
  animation-delay: var(--ML), var(--PL);
}
.cap-core {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: var(--white); box-shadow: 0 4px 10px rgba(31, 27, 22, 0.2);
  display: flex; align-items: center; justify-content: center; gap: 2.5px;
  animation: omCore var(--duration-core) ease-in-out infinite;
}
.cap-bar {
  width: 3px; height: 3px; border-radius: 1.5px; background-color: var(--bar);
  animation: capBar var(--bd) ease-in-out infinite, capHop var(--duration-core) ease-in-out infinite;
  animation-delay: var(--bl), calc(var(--i) * 0.13s);
}
.cap-bar:nth-child(1) { --k: 0.55; --bd: 0.72s; --bl: -0.3s; --i: 0; }
.cap-bar:nth-child(2) { --k: 0.85; --bd: 0.55s; --bl: -0.1s; --i: 1; }
.cap-bar:nth-child(3) { --k: 1; --bd: 0.9s; --bl: -0.5s; --i: 2; }
.cap-bar:nth-child(4) { --k: 0.8; --bd: 0.63s; --bl: -0.2s; --i: 3; }
.cap-bar:nth-child(5) { --k: 0.6; --bd: 0.8s; --bl: -0.4s; --i: 4; }
@keyframes capBar { 0%, 100% { height: calc(3px + var(--ba) * var(--k) * 2px); } 50% { height: calc(3px + var(--ba) * var(--k) * 14px); } }
@keyframes capHop { 0%, 55%, 100% { translate: 0 0; } 28% { translate: 0 calc(var(--hop) * -5px); } }
.cap { --cr: 5px; }
.cap[data-state="ecoute"] { --cr: 5px; --ta: 0.07; --ba: 1; --hop: 0; --ca: 0.08; }
.cap[data-state="reflexion"] { --cr: 9px; --ta: 0.04; --ba: 0; --hop: 1; --ca: 0.03; }
.cap[data-state="parle"] { --cr: 7px; --ta: 0.14; --ba: 1; --hop: 0; --ca: 0.06; }

.cap-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.cap-status { font-size: 12.5px; line-height: 16px; font-weight: 700; letter-spacing: 0.01em; color: var(--deep-on-glass); }
.cap-words {
  display: flex; flex-wrap: nowrap; column-gap: 0.28em; overflow: hidden; white-space: nowrap; min-height: 22px;
  font-family: var(--font-display); font-size: 16.5px; line-height: 22px; font-weight: 500; letter-spacing: -0.01em;
}
.cap-words span { flex: none; color: var(--ink); }
.cap-words .fresh { color: var(--deep-on-glass); }
.cap-words .gap { color: var(--ink-muted); }
.cap-key { flex: none; display: flex; align-items: center; gap: 9px; }
.cap-key span { font-size: 13px; font-weight: 500; color: #5e584f; }
.cap-key kbd { font-size: 13px; line-height: 18px; padding: 3px 9px; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line-key), 0 1px 0 rgba(31, 27, 22, 0.1); }
@container desk (max-width: 470px) {
  .cap-key { display: none; }
  .cap { padding-right: 18px; }
}

/* ---------- iPhone ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.split .lead { margin-top: 16px; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.points .icon-tile { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow-hairline); }
.points strong { display: block; font-size: 17px; line-height: 24px; font-weight: 700; }
.points li div span { display: block; margin-top: 2px; color: var(--ink-muted); font-size: 16px; line-height: 1.5; }
.split .note { text-align: left; margin-top: 24px; }

.phone {
  width: min(320px, 100%); margin: 0 auto;
  aspect-ratio: 393 / 852;
  padding: 11px; border-radius: 56px;
  background-color: var(--ink);
  box-shadow: var(--shadow-popover);
}
.phone-screen {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100%; border-radius: 46px;
  display: flex; flex-direction: column; align-items: center;
  background-color: var(--bg);
  transition: background-color var(--duration-surface) ease;
  container: phone / inline-size;
}
.phone-island { flex: none; width: 34%; height: 26px; margin-top: 11px; border-radius: 13px; background: var(--ink); position: relative; z-index: 2; }
.phone-bar { position: relative; z-index: 1; align-self: stretch; display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 0 16px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px 0 9px; border-radius: var(--radius-pill);
  background-color: var(--glass-button); box-shadow: var(--shadow-hairline);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.phone-link .icon { width: 17px; height: 17px; }
.phone-tools { display: flex; gap: 8px; }
.phone-bar .glass-round { width: 34px; height: 34px; }
.phone-bar .glass-round .icon { width: 18px; height: 18px; }
.phone-stage { position: relative; z-index: 0; font-size: calc(82cqw / 23.75); margin-top: 4cqw; }
.phone-tx { position: relative; z-index: 1; --tf: clamp(15px, 6cqw, 20px); height: calc(62px + 5.2 * var(--tf)); padding: 0 16px; }
.phone-tx .tx-prev { font-size: 12.5px; }
.phone-tx .chip { height: 26px; font-size: 12.5px; padding: 0 12px 0 9px; }
.phone-tx .tx-hint { font-size: 14px; padding-top: 14px; }
.phone-controls { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding-bottom: 18px; }
.phone .fake-main { min-width: 0; height: 52px; padding: 0 24px 0 7px; font-size: 15.5px; gap: 12px; }
.phone .fake-main .disc { width: 38px; height: 38px; }
.phone .fake-main .icon { width: 20px; height: 20px; }

/* ---------- Requirements ---------- */

.req-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.req-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 16.5px; line-height: 1.5; }
.req-list .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--success); stroke-width: 2.6; }

.tiers { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15.5px; line-height: 20px; }
.tiers th { text-align: left; font-size: 12.5px; line-height: 16px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-muted); padding: 0 8px 10px 0; }
.tiers td { padding: 13px 8px 13px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.tiers td:first-child { font-weight: 600; white-space: nowrap; }
.tiers .num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.tiers .model { color: var(--ink-muted); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill-tested { background-color: var(--success-soft); color: var(--success); padding-left: 7px; }
.pill-tested .icon { width: 13px; height: 13px; stroke-width: 3.2; }
.pill-estimated { background-color: var(--field); color: var(--ink-muted); }
@media (max-width: 520px) {
  .tiers .model { display: none; }
}

/* ---------- Under the hood ---------- */

.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.pipeline li { position: relative; }
.pipeline .card { height: 100%; padding: 22px; }
.pipeline li:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px;
  border-top: 2.2px solid var(--ink-muted); border-right: 2.2px solid var(--ink-muted);
  border-radius: 1px; rotate: 45deg; translate: 0 -50%;
}
.pipeline .role { font-size: 17px; line-height: 22px; font-weight: 700; margin-top: 14px; color: var(--ink); }
.pipeline .model { margin-top: 4px; font-family: var(--font-display); font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.pipeline .where { margin-top: 10px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (max-width: 900px) {
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline li:nth-child(2)::after { display: none; }
}
@media (max-width: 520px) {
  .pipeline { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pipeline .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 18px 20px; }
  .pipeline .icon-tile { grid-row: span 3; margin: 0; }
  .pipeline .role { margin-top: 0; }
  .pipeline li:not(:last-child)::after { display: block; right: auto; left: 50%; top: auto; bottom: -15px; rotate: 135deg; translate: -50% 0; }
}

.stats { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(40px, 6vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 10px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Questions ---------- */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-section); background-color: var(--card); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px 18px 22px;
  font-size: 17.5px; line-height: 24px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; stroke-width: 2.2; transition: rotate var(--duration-ui) ease; }
.faq details[open] summary .icon { rotate: 180deg; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-muted); font-size: 16.5px; line-height: 1.6; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Footer ---------- */

.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); margin-top: 24px; }
.site-footer .wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .tagline { margin-top: 10px; font-size: 15px; color: var(--ink-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-small { margin-top: 10px; font-size: 13.5px; color: var(--ink-muted); }

/* ---------- Text pages (privacy, pairing, not found) ---------- */

.page { padding: 32px 0 40px; }
.page-head { max-width: 760px; margin: 0 auto 36px; }
.page-head h1 { font-family: var(--font-display); font-size: clamp(36px, 5.6vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.page-head .lead { margin-top: 16px; font-size: 19px; line-height: 1.55; color: var(--ink-muted); text-wrap: pretty; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--font-display); font-size: clamp(25px, 3.2vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 44px 0 14px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 12px 0 0; }
.prose li + li { margin-top: 8px; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.86em; padding: 1px 6px; border-radius: var(--radius-code); background: var(--line); }

.flow { display: grid; gap: 12px; margin-top: 16px; }
.flow .card { padding: 20px 22px; }
.flow h3 { font-size: 17.5px; }
.flow dl { margin: 12px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; font-size: 15.5px; line-height: 1.5; }
.flow dt { color: var(--ink-muted); }
.flow dd { margin: 0; }
@media (max-width: 520px) {
  .flow dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .flow dd + dt { margin-top: 8px; }
}

.steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 17px; line-height: 1.55; }
.steps li::before {
  content: counter(step);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background-color: var(--white); box-shadow: var(--shadow-hairline);
  font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps li > span { padding-top: 5px; }

/* the pairing link: both languages without the script, the visitor's with it */
.pair:not([hidden]) + .pair:not([hidden]) { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line); }
.pair .card { margin-top: 28px; }
.pair .card h2 { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: 0; }
.pair .card p { font-size: 16.5px; }
.fine { margin-top: 22px; font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); text-wrap: pretty; }
.prose .fine { margin-top: 22px; font-size: 14.5px; line-height: 1.55; }
.lang-switch { margin-top: 24px; border: 0; cursor: pointer; font-family: var(--font-sans); }

.center-page { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 0 56px; }
.center-page section { display: flex; flex-direction: column; align-items: center; }
.center-page section:not([hidden]) + section:not([hidden]) { margin-top: 64px; }
.center-page h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.center-page p { margin-top: 12px; color: var(--ink-muted); font-size: 18px; max-width: 30em; text-wrap: pretty; }
.center-page .btn-main { margin-top: 28px; }

/* ---------- Paused or reduced motion ---------- */

.is-paused *, .is-paused *::before, .is-paused *::after,
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb::before, .orb::after, .orb-floor, .orb-body, .orb-spin, .orb-blob, .orb-ring, .orb-pop,
  .cap-spin, .cap-blob, .cap-wave, .w, .tx-chip, .tx-live, .tx-prev, .chip-dot { animation: none !important; }
  .orb-rings, .cap-waves { display: none; }
  .cap { transition: background-color var(--duration-color) ease, opacity 0.3s ease; translate: none !important; scale: none !important; }
}
