/* =========================================================
   ENSYN AI
   Principle: the blue → navy → orange "current" only appears
   where things connect. Everything else stays black, white, navy.
   ========================================================= */

/* Archivo, self-hosted (SIL Open Font License 1.1: assets/fonts/OFL.txt).
   One variable file per character set: width 62–125%, weight 100–900. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000000;
  --cobalt: #3478F7;
  --navy: #0E3655;
  --tangerine: #EC562E;
  /* darker shades for SMALL TEXT and for white text on colour (both pass WCAG AA 4.5:1) */
  --cobalt-ink: #1F5FD8;    /* 5.7:1 on white; white text on it 5.7:1 */
  --tangerine-ink: #C2410C; /* 5.2:1 on white */
  --orange: #FE7522;
  --peach: #F3D2C6;
  --paper: #FFFFFF;
  --mist: #F1F4F8;
  /* light tints of the brand colours, for section backgrounds */
  --cobalt-tint: #E7EFFE;
  --peach-tint: #FCEFE9;
  --line: #DCE3EC;
  --ink: #000000;
  --ink-2: #0E3655;
  --ink-3: #4F6579;
  --on-dark: #FFFFFF;
  --on-dark-2: #A9B4C2;
  --on-dark-line: rgba(255, 255, 255, 0.14);

  --current: linear-gradient(90deg, #3478F7 0%, #0E3655 45%, #EC562E 72%, #FE7522 100%);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 125%;

  /* type scale (perfect fourth-ish, fluid) */
  /* display type follows the screen's height too, so the hero fits short laptop screens
     (e.g. 1536×730, a 1080p laptop at 125% scaling) instead of wrapping to four lines */
  --t-display: clamp(2.9rem, 1.4rem + 6.2vw, 6.6rem);
  --t-display: clamp(2.9rem, min(1.4rem + 6.2vw, 11.5svh), 6.6rem);
  /* vertical section padding: never more than ~14% of the screen's height */
  --sec-pad: clamp(64px, 12vw, 160px);
  --sec-pad: clamp(64px, min(12vw, 14svh), 160px);
  --t-h2: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  --t-h3: 1.375rem;
  --t-lead: clamp(1.125rem, 1rem + 0.45vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.9rem;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }

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

/* ---------- type ---------- */
.h2 {
  font-size: var(--t-h2);
  font-stretch: var(--wide);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
  margin-bottom: clamp(28px, min(6vw, 7svh), 72px);
}
/* Jumping to a section (nav links, "Book a free audit") lands with its content just under the
   76px nav, instead of lining up the section's top padding, so short screens see the whole block */
.process, .calc, .fit, .faq { scroll-margin-top: calc(100px - var(--sec-pad)); }
.services { scroll-margin-top: calc(100px - clamp(64px, min(9vw, 14svh), 120px)); }
.contact { scroll-margin-top: calc(100px - var(--contact-pad)); }
@media (min-width: 901px) and (max-height: 800px) {
  .contact .field textarea { height: 6.4em; }   /* one line shorter, so Send stays on screen */
  /* services: all four services + the demo in one screen */
  .section-head { margin-bottom: clamp(24px, 4.5svh, 72px); }
  .section-head__lede { max-width: 46ch; }      /* two lines instead of three */
  .svc-list .svc { padding-block: clamp(14px, 2.4svh, 28px); }
  .services .stage { min-height: clamp(420px, calc(100svh - 240px), 520px); }
  /* three sliders + result + the working + button in one screen */
  .calc .calc__form { gap: clamp(12px, 2svh, 28px); padding: clamp(20px, 3.5svh, 44px); }
  .calc .field-range label { margin-bottom: 6px; }
  .calc .calc__num { font-size: clamp(2rem, 6svh, 3rem); }
  .calc .calc__result { padding-top: clamp(14px, 2.4svh, 24px); }
  .calc .calc__math > div { padding-block: 5px; }
}
.section-head__lede { font-size: var(--t-lead); max-width: 34ch; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--paper);
  --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { --bg: var(--orange); --fg: var(--black); }
.btn--primary:hover { --bg: var(--tangerine); --fg: var(--black); } /* black on tangerine 5.9:1 (white was 3.5:1) */
.btn--ghost { --bg: transparent; --fg: var(--on-dark); border-color: var(--on-dark-line); }
.btn--ghost:hover { border-color: var(--cobalt); --fg: #fff; background: rgba(52,120,247,.14); }
/* orange = the main action; blue = secondary actions */
.btn--dark { --bg: var(--navy); --fg: var(--paper); }
.btn--dark:hover { --bg: var(--cobalt-ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.linkish { text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* =========================================================
   BRAND INTRO (js/intro.js): the shooting star completes the E,
   then the logo flies into the nav. html.intro is set in <head>.
   Failsafes: if the script never runs, everything lifts at 3s.
   ========================================================= */
/* black from the very first paint, until the intro starts lifting */
html.intro:not(.intro-lift) body::after {
  content: ""; position: fixed; inset: 0; z-index: 199; background: var(--black);
  animation: intro-failsafe .3s 3s forwards;
}
html.intro:not(.intro-done) .nav__logo img { opacity: 0; animation: intro-show 0s 3s forwards; }
.ensyn-intro {   /* not ".intro": that's also the class on <html> */
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--black);
  animation: intro-failsafe .3s 3.2s forwards;
}
.intro__logo { width: min(640px, 82vw); height: auto; overflow: visible; transform-origin: 0 0; will-change: transform; }
.intro__logo * { transform-box: view-box; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
@keyframes intro-show { to { opacity: 1; } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-dark);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--on-dark-line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: .95rem; color: var(--on-dark-2);
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--on-dark); }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  display: grid; gap: 4px; padding: 8px var(--gutter) 24px;
  background: var(--black); border-bottom: 1px solid var(--on-dark-line);
}
.mobile-menu[hidden] { display: none; }
@media (min-width: 901px) { .mobile-menu { display: none; } }
.mobile-menu a:not(.btn) {
  padding: 14px 0; text-decoration: none; font-size: 1.25rem; font-stretch: var(--wide); font-weight: 600;
  border-bottom: 1px solid var(--on-dark-line);
}
.mobile-menu .btn { margin-top: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--black);
  color: var(--on-dark);
  padding: 132px 0 72px;
  padding: calc(76px + clamp(16px, 6svh, 56px)) 0 clamp(24px, 7svh, 72px); /* 76px = nav */
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}
.hero__title {
  font-size: var(--t-display);
  font-stretch: var(--wide);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -0.035em;
  margin-bottom: clamp(18px, 3.5svh, 32px);
}
.hero__title .line { display: block; }
.hero__lede {
  font-size: var(--t-lead);
  color: var(--on-dark-2);
  max-width: 44ch;
  margin-bottom: clamp(22px, 4.5svh, 40px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* load sequence: lines rise once */
.js .hero__title .line,
.js .hero__lede,
.js .hero__actions {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .is-loaded .hero__title .line,
.js .is-loaded .hero__lede,
.js .is-loaded .hero__actions { opacity: 1; transform: none; }
/* Failsafe: if main.js is slow or fails, the hero text shows by itself after 3.5s
   (after the intro's own 3s failsafe). Normal visits never reach it: is-loaded comes first. */
.js .hero:not(.is-loaded) .hero__title .line,
.js .hero:not(.is-loaded) .hero__lede,
.js .hero:not(.is-loaded) .hero__actions { animation: hero-failsafe .6s var(--ease) 3.5s forwards; }
@keyframes hero-failsafe { to { opacity: 1; transform: none; } }
.js .is-loaded .hero__title .line:nth-child(2) { transition-delay: .08s; }
.js .is-loaded .hero__title .line:nth-child(3) { transition-delay: .16s; }
.js .is-loaded .hero__lede { transition-delay: .3s; }
.js .is-loaded .hero__actions { transition-delay: .4s; }

.hero__viz { position: relative; }
/* the headline's three lines never wrap: its size is capped by its own column's width
   ("Your business," is ~8.2em wide), as well as by the screen's width and height */
.hero__copy { container-type: inline-size; }
.hero__title { font-size: max(2.1rem, min(var(--t-display), 12cqi)); }
/* two columns: the diagram (650:600 + caption) is sized by the screen's height,
   and the headline gets whatever width it leaves */
@media (min-width: 901px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) min(46%, max(340px, calc((100svh - 254px) * 650 / 600))); }
}
/* reserve the visual's space before it draws, so nothing jumps when it appears (Weave is 650×600) */
.hero__stage { position: relative; aspect-ratio: 650 / 600; }
.hero-svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz-label { fill: #6c7785; font-family: var(--font); font-size: 14px; }
.viz-glow { opacity: 0; transition: opacity 1.6s var(--ease) .9s; }
.is-joined .viz-glow { opacity: 1; }
.viz-hub { transform-origin: 300px 300px; transform: scale(.85); opacity: 0; transition: transform 1s var(--spring) .2s, opacity .6s var(--ease) .2s; }
.is-loaded .viz-hub { transform: none; opacity: 1; }

.viz-thread { fill: none; stroke-width: 1.5; stroke-linecap: round; opacity: .55; transition: opacity .3s var(--ease), stroke-width .3s var(--ease); }
.viz-thread.is-hot { opacity: 1; stroke-width: 2.5; }
.viz-packet { fill: #fff; }

.viz-node { cursor: pointer; outline: none; }
.viz-node rect {
  fill: #0a0a0a; stroke: rgba(255,255,255,.18); stroke-width: 1;
  transition: stroke .4s var(--ease), fill .4s var(--ease);
}
.viz-node text {
  fill: #6c7785; font-family: var(--font); font-size: 15px; font-weight: 500;
  transition: fill .4s var(--ease);
}
.viz-node.is-on rect { stroke: rgba(255,255,255,.4); }
.viz-node.is-on text { fill: #fff; }
.viz-node.is-hot rect, .viz-node:focus-visible rect { fill: #fff; stroke: #fff; }
.viz-node.is-hot text, .viz-node:focus-visible text { fill: #000; }

.hero__caption {
  min-height: 3.2em;
  margin-top: 4px;
  text-align: center;
  font-size: var(--t-small);
  color: var(--on-dark-2);
  max-width: 42ch; margin-inline: auto;
}
.hero__caption strong { color: var(--on-dark); font-weight: 600; }
.hero__caption.is-swapping { animation: captionIn .22s var(--ease); }
@keyframes captionIn { from { opacity: .2; } }

/* --- option B: weave --- */
.weave-tangle { fill: none; stroke: rgba(52,120,247,.42); stroke-width: 1.5; transition: stroke .3s, stroke-width .3s; }
.weave-tangle.is-hot { stroke: #7FA9FA; stroke-width: 2.5; }
.weave-line { fill: none; stroke-width: 2; stroke-linecap: round; opacity: .8; transition: opacity .3s, stroke-width .3s; }
.weave-line.is-hot { opacity: 1; stroke-width: 3.5; }
.weave-dot { fill: var(--orange); transform-box: fill-box; transform-origin: center; }
.weave-dot.is-ping { animation: dotPing .5s var(--ease); }
@keyframes dotPing { 40% { transform: scale(2); } }
.weave-out { fill: #C9D3DE; font-family: var(--font); font-size: 15px; font-weight: 500; transition: fill .3s; }
.weave-out.is-hot { fill: #fff; font-weight: 650; }

/* --- option switcher (only with ?options in the URL) --- */
.hero:has(.hero-switch) { padding-bottom: 120px; }
.hero-switch {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 4px; align-items: center; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid var(--on-dark-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  max-width: calc(100% - 32px); overflow-x: auto; scrollbar-width: none;
}
.hero-switch span { font-size: .78rem; color: var(--on-dark-2); padding: 0 10px 0 8px; white-space: nowrap; }
.hero-switch button { padding: 7px 12px; border-radius: 999px; font-size: .82rem; color: var(--on-dark-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.hero-switch button b { color: inherit; margin-right: 3px; }
.hero-switch button[aria-pressed="true"] { background: #fff; color: #000; }
.hero-switch button:hover:not([aria-pressed="true"]) { color: #fff; }

/* =========================================================
   DEFINITION: what "ensyn" means
   ========================================================= */
.define { padding: clamp(56px, 10vw, 136px) 0 0; padding: clamp(56px, min(10vw, 12svh), 136px) 0 0; }
.define__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: end;
  padding-bottom: clamp(56px, 8vw, 104px);
}
.define__word {
  display: inline-block;
  font-size: clamp(4.2rem, 1.6rem + 10vw, 10.5rem);
  font-stretch: var(--wide);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: .9;
  color: var(--ink);
  padding-bottom: .12em;
  background: var(--current) left bottom / 100% 4px no-repeat; /* the word is a join */
}
.define__say { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.define__ipa { font-size: 1.25rem; color: var(--ink-3); letter-spacing: .02em; }
.define__speak {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--spring);
}
.define__speak:hover { background: var(--black); border-color: var(--black); color: #fff; }
.define__speak.is-speaking { background: var(--cobalt); border-color: var(--cobalt); color: #fff; transform: scale(1.08); }
.define__pos { font-style: italic; color: var(--ink-3); margin-bottom: 10px; }
.define__meaning {
  font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.5rem);
  line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; font-stretch: 110%;
  color: var(--ink); max-width: 22ch; text-wrap: balance;
}
.define__example {
  margin-top: 22px; padding-left: 18px; border-left: 2px solid var(--line);
  font-style: italic; color: var(--ink-3); max-width: 46ch;
}
.define__origin { margin-top: 22px; font-size: var(--t-small); color: var(--ink-3); }
.define__origin em { color: var(--ink); }
.define + .services { padding-top: clamp(64px, 9vw, 120px); padding-top: clamp(64px, min(9vw, 14svh), 120px); }

/* =========================================================
   SERVICES
   ========================================================= */
/* section backgrounds alternate so no two neighbours match:
   hero black / definition white / services cobalt tint / process navy / calculator peach /
   industries white / FAQ peach tint / contact black / footer black (owner's exception: the footer
   continues the contact block, separated by a hairline) */
.services { padding: var(--sec-pad) 0; background: var(--cobalt-tint); }
.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.svc-list { border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc {
  display: grid; gap: 0; width: 100%; text-align: left;   /* spacing lives on the open item only */
  padding: 28px 0;
  padding: clamp(16px, 3.2svh, 28px) 0;
  position: relative;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0;
  background: var(--current);
  transition: width .6s var(--ease);
}
.svc[aria-selected="true"]::before { width: 100%; }
.svc__title {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-stretch: var(--wide);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #5D6C7C;   /* 4.7:1 on the tint, so it passes WCAG AA at phone sizes too (was #8796A5, 2.6:1) */
  transition: color .3s var(--ease);
}
.svc:hover .svc__title, .svc[aria-selected="true"] .svc__title { color: var(--ink); }
.svc__body, .svc__includes {
  display: grid;
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease), padding-top .5s var(--ease);
}
/* collapsed rows reserve no space for their hidden text */
.svc[aria-selected="true"] .svc__body { max-height: 8em; opacity: 1; margin-top: 10px; }
.svc[aria-selected="true"] .svc__includes { max-height: 12em; opacity: 1; margin-top: 10px; padding-top: 6px; }
.svc__body { color: var(--ink-3); max-width: 46ch; }
.svc__includes { gap: 6px; padding-top: 0; font-size: var(--t-small); color: var(--ink-2); }
.svc__includes span { display: flex; gap: 10px; align-items: baseline; }
.svc__includes span::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cobalt); transform: translateY(-2px);
}

/* stage holding the live previews */
.stage {
  position: sticky; top: 104px;
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 36px);
  min-height: 520px;
  display: grid;
  overflow: hidden;
  isolation: isolate;
}
.stage::after { /* the current, faint, under everything */
  content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%;
  background: radial-gradient(60% 60% at 30% 50%, rgba(52,120,247,.28), transparent 70%),
              radial-gradient(50% 60% at 75% 50%, rgba(254,117,34,.22), transparent 70%);
  z-index: -1; pointer-events: none;
}
.panel { grid-area: 1 / 1; display: grid; align-content: center; }
.stage__note { grid-area: 2 / 1; margin-top: 16px; text-align: center; font-size: .78rem; color: var(--on-dark-2); }
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

/* website preview */
.browser {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(52,120,247,.45);
}
.browser__bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--mist); border-bottom: 1px solid var(--line);
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD4DF; }
.browser__bar span {
  margin-left: 12px; flex: 1; font-size: .8rem; color: var(--ink-3);
  background: #fff; border-radius: 6px; padding: 3px 10px;
}
.browser__page { position: relative; padding: 24px; min-height: 380px; }
.wire { background: var(--mist); border-radius: 6px; }
.wire--h { height: 26px; width: 62%; margin-bottom: 14px; background: #E3E9F1; }
.wire--p { height: 10px; width: 78%; margin-bottom: 8px; }
.wire--p.short { width: 52%; margin-bottom: 20px; }
.wire-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wire--card { height: 90px; }

.mini-chat {
  position: absolute; right: 16px; bottom: 16px; width: min(300px, calc(100% - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 50px -18px rgba(14,54,85,.35);
  padding: 14px; display: grid; gap: 8px; font-size: .85rem; line-height: 1.4;
}
.mini-chat .m { max-width: 85%; padding: 8px 12px; border-radius: 14px; animation: popIn .35s var(--spring); }
.mini-chat .m--u { justify-self: end; background: var(--black); color: #fff; border-bottom-right-radius: 4px; }
.mini-chat .m--b { justify-self: start; background: var(--mist); color: var(--ink); border-bottom-left-radius: 4px; }
.mini-chat .dots { justify-self: start; }
@keyframes popIn { from { opacity: 0; transform: translateY(6px) scale(.96); } }

.toast {
  position: absolute; left: 16px; top: 16px;
  background: var(--black); color: #fff; font-size: .8rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(-8px); transition: all .4s var(--spring);
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.toast.is-on { opacity: 1; transform: none; }

/* typing dots (shared with Syn) */
.dots { display: inline-flex; gap: 4px; padding: 10px 12px; background: var(--mist); border-radius: 14px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #8796A5; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* automation preview */
.flow { color: #fff; max-width: 460px; width: 100%; margin-inline: auto; }
.flow__head { color: var(--on-dark-2); font-size: var(--t-small); margin-bottom: 18px; }
.flow__steps { position: relative; display: grid; gap: 10px; }
.flow__steps::before {
  content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px;
  background: var(--on-dark-line);
}
.flow__steps li {
  position: relative; display: grid; gap: 2px;
  padding: 12px 16px 12px 56px;
  border-radius: 14px; border: 1px solid var(--on-dark-line);
  background: rgba(255,255,255,.03);
  opacity: .35; transition: opacity .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.flow__steps li::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.3); background: var(--black);
  transition: all .35s var(--spring);
}
.flow__steps li.is-done { opacity: 1; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.flow__steps li.is-done::before {
  border-color: transparent;
  background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.flow__steps li:nth-child(n+3).is-done::before { background-color: var(--navy); box-shadow: inset 0 0 0 2px var(--cobalt); }
.flow__steps li:nth-child(n+4).is-done::before { background-color: var(--tangerine); box-shadow: none; }
.flow__steps li:nth-child(5).is-done::before { background-color: var(--orange); }
.flow__steps b { font-weight: 600; }
.flow__steps span { font-size: .85rem; color: var(--on-dark-2); }
.flow__done { margin-top: 18px; color: var(--on-dark-2); font-size: var(--t-small); opacity: 0; transition: opacity .5s var(--ease); }
.flow__done.is-on { opacity: 1; }
.flow__done strong { color: #fff; }

/* voice preview: SynVoice, see the SYNVOICE section below */

/* software preview */
.app {
  display: grid; grid-template-columns: 52px 1fr;
  background: #fff; border-radius: 14px; overflow: hidden; min-height: 400px;
}
.app__side { background: var(--navy); display: grid; align-content: start; gap: 12px; padding: 16px 0; justify-items: center; }
.app__side i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.18); }
.app__side i.on { background: var(--cobalt); }
.app__main { padding: 22px; display: grid; align-content: start; gap: 16px; }
.app__title { font-weight: 700; font-stretch: var(--wide); color: var(--ink); font-size: 1.1rem; }
.stock { display: grid; gap: 12px; font-size: .86rem; }
.stock li { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 12px; color: var(--ink); }
.stock em { height: 8px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.stock b { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 4px; background: var(--cobalt); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.stock li:first-child b { background: var(--tangerine); }
.stock small { color: var(--ink-3); font-size: .78rem; min-width: 7em; text-align: right; }
.stock li:first-child small { color: var(--tangerine-ink); font-weight: 600; }
.panel.is-active .stock b { transform: scaleX(1); }
.suggest {
  display: grid; gap: 12px; padding: 14px 16px; border-radius: 12px;
  background: #FFF4EE; border: 1px solid var(--peach); font-size: .88rem; color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: all .5s var(--ease);
}
.suggest.is-on { opacity: 1; transform: none; }
.suggest__btn {
  justify-self: start; padding: 8px 16px; border-radius: 999px; background: var(--black); color: #fff;
  font-size: .85rem; font-weight: 600; transition: background-color .2s;
}
.suggest__btn:hover { background: var(--navy); }
.suggest__btn.is-done { background: var(--cobalt-ink); }

/* =========================================================
   SYNVOICE: the AI voice agents tab (js/synvoice.js)
   Lives inside the navy demo panel. Pick a business, then talk
   to it live, or watch a sample call. The agent is Syn's orb.
   ========================================================= */
.voice { container-type: inline-size; width: 100%; display: grid; gap: 14px; align-content: start; color: #fff; }
.voice__roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.voice-role {
  display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--on-dark-line); background: rgba(255,255,255,.04);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.voice-role:hover { border-color: rgba(255,255,255,.32); }
.voice-role[aria-checked="true"] { border-color: transparent; background: rgba(52,120,247,.2); box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.voice-role:disabled { opacity: .5; cursor: default; }
.voice-role__name { font-size: .92rem; font-weight: 650; line-height: 1.2; color: #fff; }
.voice-role__job { font-size: .75rem; color: #9DBDFB; }

.voice__you { font-weight: 600; margin-bottom: 12px; }
.voice__label { font-size: var(--t-small); color: var(--on-dark-2); margin-bottom: 8px; }
.voice__tips { display: grid; gap: 6px; margin-bottom: 16px; }
.voice__tips li { display: flex; gap: 10px; align-items: baseline; }
.voice__tips li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transform: translateY(-2px); }
.voice__notice { font-size: .82rem; color: var(--on-dark-2); max-width: 58ch; margin-bottom: 16px; }
.voice__notice a { color: inherit; }
.voice__error { margin-top: 12px; color: #FFB08A; font-size: var(--t-small); }

.voice__top { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.voice__status { font-weight: 600; }
.voice__timer { color: var(--on-dark-2); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.voice__mode { margin-top: 12px; font-size: .8rem; color: #FFD8C2; background: rgba(254,117,34,.12); border-radius: 10px; padding: 7px 11px; }

/* the agent: Syn's orb, breathing while listening, pulsing with its voice while speaking */
.voice-orb {
  --level: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; grid-auto-flow: column; place-content: center; gap: 8px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.38), rgba(255,255,255,0) 42%),
    linear-gradient(140deg, var(--cobalt) 0%, var(--navy) 48%, var(--tangerine) 84%, var(--orange) 100%);
  box-shadow: 0 0 calc(8px + var(--level) * 36px) rgba(254,117,34,calc(.25 + var(--level) * .5));
  scale: calc(1 + var(--level) * .12);
  transition: scale .12s linear, box-shadow .12s linear;
}
.voice-orb i { width: 6px; height: 9px; border-radius: 4px; background: #fff; }
.voice[data-state="listening"] .voice-orb { animation: voiceBreathe 2.4s ease-in-out infinite; }
.voice[data-state="sample-speaking"] .voice-orb { animation: voiceTalk .5s ease-in-out infinite alternate; }
@keyframes voiceBreathe { 50% { scale: 1.04; } }
@keyframes voiceTalk { to { scale: 1.1; box-shadow: 0 0 32px rgba(254,117,34,.6); } }

.voice__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 12px; margin-top: 14px; align-items: start; }
.voice__transcript { display: flex; flex-direction: column; gap: 8px; max-height: 250px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scroll-behavior: smooth; }
.voice__transcript li { max-width: 94%; padding: 8px 12px; border-radius: 14px; font-size: .88rem; line-height: 1.45; animation: popIn .3s var(--ease); }
.voice__transcript .is-agent { align-self: flex-start; background: rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.voice__transcript .is-you { align-self: flex-end; background: var(--cobalt); border-bottom-right-radius: 4px; }
.voice__transcript .is-tentative { opacity: .6; }

/* what the agent produced: appointment, lead, or order ticket */
.voice-card { border-radius: 14px; background: var(--paper); color: var(--ink); padding: 12px 14px; font-size: .85rem; }
.voice-card:empty { display: none; }
.voice-card h3 { font-size: .78rem; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; }
.voice-card dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; }
.voice-card dt { color: var(--ink-3); }
.voice-card dd { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.voice-card dd.is-empty { color: #A0AAB6; font-weight: 400; }
.voice-card .is-new { animation: voiceIn .6s var(--ease); }
@keyframes voiceIn { from { background: #FFE2CF; } }
.voice-card__lines { display: grid; gap: 5px; margin-bottom: 8px; }
.voice-card__lines li { display: flex; justify-content: space-between; gap: 10px; }
.voice-card__total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 7px; margin-top: 8px; font-weight: 700; }
.voice-card__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.voice-card__chips span { font-size: .74rem; padding: 3px 9px; border-radius: 999px; background: #E6F6EC; color: #11613A; font-weight: 600; }
.voice-card__rating { display: inline-block; padding: 1px 9px; border-radius: 999px; color: #fff; background: var(--tangerine-ink); }
.voice-card__rating[data-r="warm"] { background: #9A6215; }
.voice-card__rating[data-r="cold"] { background: var(--cobalt-ink); }

.voice__after { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--on-dark-line); }
.voice__after p { margin-bottom: 12px; }
.voice__after-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* narrow panel (tablet, phone): stack the transcript and the card */
@container (max-width: 500px) {
  .voice__body { grid-template-columns: 1fr; }
  .voice__transcript { max-height: 210px; }
  .voice__top { grid-template-columns: auto 1fr; }
  .voice__end { grid-column: 1 / -1; justify-self: start; }
  .voice-role { padding: 9px 10px; }
}

/* =========================================================
   PROCESS
   ========================================================= */
/* navy: the blue half of the palette gets a full section */
.process { padding: var(--sec-pad) 0; background: var(--navy); color: #fff; }
.process .h2 { color: #fff; }
.process .section-head__lede { color: #B9C7D6; }
.steps { position: relative; }
.steps__line {
  position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: rgba(255,255,255,.16);
}
.steps__line span { display: block; height: 100%; width: 0; background: var(--current); }
.steps ol { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps__n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); border: 2px solid rgba(255,255,255,.28);
  font-weight: 700; font-stretch: var(--wide); color: #fff;
  margin-bottom: 28px;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.steps li.is-reached .steps__n { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.steps__n { font-size: 1.2rem; } /* large bold text: white on cobalt (4.06:1) passes the 3:1 large-text rule */
.steps h3 { font-size: var(--t-h3); font-stretch: var(--wide); font-weight: 650; color: #fff; margin-bottom: 8px; letter-spacing: -0.015em; }
.steps p { color: #B9C7D6; max-width: 30ch; }

/* =========================================================
   CALCULATOR
   ========================================================= */
.calc { padding: var(--sec-pad) 0; background: var(--peach); color: var(--ink); }
.calc__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.calc__intro p { margin-top: 24px; font-size: var(--t-lead); color: var(--navy); max-width: 36ch; }
.calc__form { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); padding: clamp(24px, min(4vw, 5svh), 44px); display: grid; gap: 28px; gap: clamp(16px, 3svh, 28px); }
.field-range label { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.field-range output { font-weight: 700; font-stretch: var(--wide); font-variant-numeric: tabular-nums; }
.rate-row { display: flex; gap: 14px; align-items: center; }
.rate-row input { flex: 1; }
.rate-row select {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--paper); font-size: .9rem;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer;
  --p: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--cobalt) var(--p), var(--line) var(--p));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--cobalt); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--cobalt); box-shadow: 0 2px 8px rgba(52,120,247,.3);
  transition: transform .2s var(--spring);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--cobalt);
}
.calc__result {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.calc__label { font-size: var(--t-small); color: var(--ink-3); margin-bottom: 4px; }
.calc__num {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-stretch: var(--wide); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums;
}
.calc__num--money {
  background: var(--current); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 100% 100%;
}
.calc__note { font-size: .85rem; color: var(--ink-3); }
.calc__note strong { color: var(--ink); font-weight: 600; }
.nowrap { white-space: nowrap; }
.calc__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.calc__note a:hover { color: var(--ink); }
/* the working, line by line, so the result is never a mystery */
.calc__math {
  display: grid; font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums;
  border-radius: 12px; background: var(--mist); padding: 4px 14px;
}
.calc__math > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.calc__math > div + div { border-top: 1px dashed var(--line); }
.calc__math dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; white-space: nowrap; }
.calc__math > div:last-child dd { font-weight: 700; }
/* the assumptions note sits beside the button, so the whole card fits a laptop screen */
.calc__foot { display: grid; gap: 16px; }
.calc__foot .btn { justify-self: start; }
@media (min-width: 561px) {
  .calc__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
}

/* =========================================================
   INDUSTRIES
   ========================================================= */
.fit { padding: var(--sec-pad) 0; }
.fit__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 96px); }
.fit__list > div {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.fit__list dt { font-weight: 650; font-stretch: 110%; color: var(--ink); font-size: 1.1rem; }
.fit__list dd { color: var(--ink-3); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: var(--sec-pad) 0; background: var(--peach-tint); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-weight: 600; font-size: 1.12rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center/10px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/2px 10px no-repeat;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg); border-color: var(--cobalt);
  background:
    linear-gradient(#fff, #fff) center/10px 2px no-repeat,
    linear-gradient(#fff, #fff) center/2px 10px no-repeat,
    var(--cobalt);
}
.faq summary:hover, .faq details[open] summary { color: var(--navy); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-3); max-width: 62ch; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--on-dark);
  padding: clamp(72px, 13vw, 176px) 0;
  --contact-pad: clamp(72px, min(13vw, 15svh), 176px);
  padding: var(--contact-pad) 0;
}
.contact__current {
  position: absolute; left: -5%; right: -5%; top: 0; height: 2px; background: var(--current);
}
.contact__current::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 360px;
  background: radial-gradient(40% 100% at 25% 0%, rgba(52,120,247,.22), transparent 70%),
              radial-gradient(40% 100% at 80% 0%, rgba(254,117,34,.18), transparent 70%);
}
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__title {
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); font-stretch: var(--wide); font-weight: 700;
  line-height: 1; letter-spacing: -0.03em; margin-bottom: 28px; text-wrap: balance;
}
.contact__copy p { color: var(--on-dark-2); font-size: var(--t-lead); max-width: 38ch; }
.contact__book { margin-top: 28px; }
.contact__or { margin-top: 12px; font-size: var(--t-small); color: var(--on-dark-2); }
.contact__form { display: grid; gap: 18px; gap: clamp(12px, 2.2svh, 18px); }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--t-small); color: var(--on-dark-2); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }   /* contact form spam trap */
.field .opt { color: #6E7A87; }   /* 4.8:1 on black (was #5E6B7A, 3.9:1) */
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--on-dark-line); color: var(--on-dark);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #5E6B7A; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: rgba(52,120,247,.06); box-shadow: 0 0 0 3px rgba(52,120,247,.35); }
.field.has-error input, .field.has-error textarea { border-color: var(--tangerine); }
/* consent: unticked by default, required before sending */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-small); line-height: 1.5; color: var(--on-dark-2); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.consent a { color: #fff; }
.consent.has-error { color: #FF9C80; }
.form-msg { min-height: 1.5em; font-size: var(--t-small); color: var(--on-dark-2); }
.form-msg.is-error { color: #FF9C80; }
.form-msg.is-ok { color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--black); color: var(--on-dark-2); padding: 0 0 32px; }
.foot__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 56px var(--gutter) 40px; border-top: 1px solid var(--on-dark-line); }
.foot__grid img { height: 22px; width: auto; margin-bottom: 18px; }
.foot__etym { max-width: 40ch; font-size: var(--t-small); }
.foot__etym em { color: #fff; font-style: italic; }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: start; }
.foot__links a { text-decoration: none; font-size: var(--t-small); }
.foot__links a:hover { color: #fff; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; flex-wrap: wrap; }
.foot__base a { color: inherit; }
.foot__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover { color: #fff; }

/* =========================================================
   SYN: the character (roams the page) + the chat panel (docked)
   ========================================================= */
:root { --orb: 68px; }

/* the character: positioned by JS with a spring, so it can chase fast scrolls */
.syn-body {
  position: fixed; left: 0; top: 0; z-index: 81;
  width: var(--orb); height: var(--orb);
  will-change: transform;
  /* parked in the corner until JS takes over */
  transform: translate3d(calc(100vw - var(--orb) - 24px), calc(100vh - var(--orb) - 38px), 0);
}
.syn__orb {
  position: relative; width: var(--orb); height: var(--orb); border-radius: 50%;
  /* brand gradient body + a soft highlight so Syn reads as a little sphere on any background */
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.38), rgba(255,255,255,0) 42%),
    linear-gradient(140deg, var(--cobalt) 0%, var(--navy) 48%, var(--tangerine) 84%, var(--orange) 100%);
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(52,120,247,.55), 0 10px 30px -12px rgba(254,117,34,.5);
  animation: synBob 3.4s ease-in-out infinite;
  transition: scale .35s var(--spring);
}
.syn__orb:hover { scale: 1.08; }
.syn__orb:focus-visible { outline-offset: 5px; border-radius: 50%; }
@keyframes synBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.syn__shadow {
  position: absolute; left: 50%; top: calc(var(--orb) + 6px);
  width: 44px; height: 8px; margin-left: -22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.28), transparent);
  animation: synShadow 3.4s ease-in-out infinite;
  transition: opacity .3s;
}
.syn-body.is-flying .syn__shadow { opacity: 0; }
@keyframes synShadow { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(.7); opacity: .45; } }

.syn__ring {
  position: absolute; inset: -3px; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 0deg, rgba(255,255,255,.95), rgba(255,255,255,.15) 30%, rgba(255,255,255,.7) 55%, rgba(255,255,255,.1) 80%, rgba(255,255,255,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: synSpin 6s linear infinite;
}
.syn-body.is-zoom .syn__ring { animation-duration: .6s; }
@keyframes synSpin { to { transform: rotate(360deg); } }

/* speed trail while chasing a fast scroll */
.syn__orb::after {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(52,120,247,.55), rgba(254,117,34,.35) 60%, transparent 70%);
  opacity: 0; transform: scale(1); transition: opacity .25s, transform .25s;
}
.syn-body.is-zoom .syn__orb::after { opacity: 1; transform: scale(1.9); }

.syn__face { position: relative; display: flex; gap: 10px; transition: transform .15s ease-out; }
.syn__eye {
  width: 10px; height: 15px; border-radius: 6px; background: #fff;
  transition: height .25s var(--spring), border-radius .25s, transform .2s, width .2s;
}
.syn-body.is-blink .syn__eye { transform: scaleY(.12); }
.syn-body.is-happy .syn__eye { /* ^ ^ */
  height: 7px; border-radius: 10px 10px 2px 2px; background: transparent;
  border: 3px solid #fff; border-bottom: 0; width: 12px;
}
.syn-body.is-zoom .syn__eye { height: 5px; width: 12px; border-radius: 3px; } /* squinting into the wind */
.syn-body.is-talking .syn__face { animation: synNod .5s ease-in-out 2; }
@keyframes synNod { 50% { translate: 0 2px; } }
.syn-body.is-thinking .syn__face { animation: synThink 1.2s ease-in-out infinite; }
@keyframes synThink { 0%, 100% { translate: -3px -2px; } 50% { translate: 3px -2px; } }
/* dizzy: spinning swirl eyes and a wobble */
.syn-body.is-dizzy .syn__orb { animation: synWobble .7s ease-in-out 3; }
.syn-body.is-dizzy .syn__eye {
  width: 14px; height: 14px; border-radius: 50%; background: transparent; transform: none;
  border: 2.5px solid #fff; border-right-color: transparent; border-bottom-color: rgba(255,255,255,.45);
  animation: eyeSpin .55s linear infinite;
}
.syn-body.is-dizzy .syn__eye:last-child { animation-direction: reverse; }
.syn-body.is-dizzy .syn__face { gap: 6px; }
@keyframes eyeSpin { to { rotate: 360deg; } }
@keyframes synWobble { 0%, 100% { rotate: 0deg; } 25% { rotate: -14deg; } 75% { rotate: 14deg; } }

/* surprised: big round eyes and a little pop */
.syn-body.is-surprised .syn__eye { width: 13px; height: 13px; border-radius: 50%; }
.syn-body.is-surprised .syn__orb { animation: synPop .45s var(--spring); }
@keyframes synPop { 40% { scale: 1.18; } }

/* sleepy: closed eyes, slow breathing, a floating z */
.syn-body.is-sleepy .syn__eye { height: 3px; width: 12px; border-radius: 2px; transform: translateY(3px); }
.syn-body.is-sleepy .syn__orb { animation-duration: 6s; }
.syn-body.is-sleepy::after {
  content: "z"; position: absolute; top: -16px; right: -2px;
  font: 700 15px var(--font); color: #8796A5;
  animation: zzz 2.4s ease-in-out infinite;
}
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 6px) scale(.7); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(8px, -14px) scale(1.15); } }

/* love: heart eyes */
.syn-body.is-love .syn__eye { width: auto; height: auto; background: none; border: 0; border-radius: 0; }
.syn-body.is-love .syn__eye::before { content: "♥"; display: block; color: #fff; font-size: 15px; line-height: 1; }
.syn-body.is-love .syn__orb { animation: synPop .5s var(--spring) 2; }

/* suspicious: one eye narrowed, head tilted ("I know that's not true") */
.syn-body.is-suspicious .syn__eye:first-child { height: 4px; transform: translateY(4px); border-radius: 2px; }
.syn-body.is-suspicious .syn__eye:last-child { height: 13px; }
.syn-body.is-suspicious .syn__orb { animation: synBob 3.4s ease-in-out infinite, synTilt .35s var(--ease) forwards; }
@keyframes synTilt { to { rotate: -10deg; } }

/* sad: droopy eyes */
.syn-body.is-sad .syn__eye { height: 9px; }
.syn-body.is-sad .syn__eye:first-child { transform: translateY(3px) rotate(-20deg); }
.syn-body.is-sad .syn__eye:last-child { transform: translateY(3px) rotate(20deg); }

/* =========================================================
   SYN WALKTHROUGH: spotlight + narration bar
   ========================================================= */
/* positioned in page coordinates by JS, so it scrolls with the content; no sliding or resizing */
.syn-spot {
  position: absolute; z-index: 60; pointer-events: none; border-radius: 20px;
  box-shadow: 0 0 0 200vmax rgba(0,0,0,.55);
  outline: 2px solid rgba(52,120,247,.9); outline-offset: 0;
}
.syn-spot.is-pop { animation: spotRing .55s var(--ease); }
@keyframes spotRing { from { outline-offset: 10px; outline-color: rgba(52,120,247,0); } }
.is-pitching .syn-bubble { display: none; }
.syn-pitch {
  position: fixed; left: 50%; bottom: 20px; z-index: 82;
  width: min(560px, calc(100vw - 32px)); transform: translateX(-50%);
  background: var(--paper); color: var(--ink);
  border-radius: 20px; padding: 12px 16px 12px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(14,54,85,.08);
  animation: pitchIn .45s var(--spring);
  transition: opacity .25s var(--ease);
}
@keyframes pitchIn { from { opacity: 0; scale: .97; } }
.syn-pitch.is-switching { opacity: 0; transition: none; }
/* beside a one-column target, in the empty opposite column */
.syn-pitch.is-side-left, .syn-pitch.is-side-right {
  top: 50%; bottom: auto; transform: translateY(-50%);
  width: min(360px, calc(50vw - 64px));
}
.syn-pitch.is-side-left { left: max(24px, calc((100vw - 1240px) / 2)); }
.syn-pitch.is-side-right { left: auto; right: max(24px, calc((100vw - 1240px) / 2)); }
.syn-pitch.is-side-left .syn-pitch__text, .syn-pitch.is-side-right .syn-pitch__text { min-height: 6em; }
.syn-pitch__top { display: flex; align-items: center; gap: 10px; }
.syn-pitch__who { display: flex; align-items: center; gap: 8px; font-weight: 700; font-stretch: var(--wide); }
.syn-pitch .syn__avatar { width: 28px; height: 28px; gap: 4px; }
.syn-pitch .syn__avatar i { width: 4px; height: 7px; }
.syn-pitch__step { margin-left: auto; font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.syn-pitch__x { width: 32px; height: 32px; border-radius: 50%; font-size: 1.25rem; line-height: 1; color: var(--ink-3); }
.syn-pitch__x:hover { background: var(--mist); color: var(--ink); }
.syn-pitch__progress { height: 3px; margin: 8px 0 10px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.syn-pitch__progress span { display: block; height: 100%; width: 0; background: var(--current); transition: width .5s var(--ease); }
/* fixed text height so the bar doesn't grow while Syn types */
.syn-pitch__text { font-size: 1rem; line-height: 1.5; min-height: 4.5em; }
.syn-pitch__extra { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.syn-pitch__extra:empty { display: none; }
.syn-pitch__extra > button, .syn-pitch__formrow button[type="submit"] {
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: var(--orange); color: #000; transition: background-color .2s, color .2s;
}
.syn-pitch__extra > button:hover, .syn-pitch__formrow button[type="submit"]:hover { background: var(--tangerine); color: #000; }
.syn-pitch__form { display: grid; gap: 8px; width: 100%; }
.syn-pitch__form input {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); font-size: .95rem; color: var(--ink);
}
.syn-pitch__form input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(52,120,247,.15); }
.syn-pitch__formrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.syn-pitch__formrow .is-quiet { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; padding: 6px; }
.syn-pitch__err { min-height: 1.2em; font-size: .88rem; line-height: 1.45; color: var(--ink); }
.syn-pitch__fix {
  margin-left: 4px; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--navy); color: #fff; vertical-align: baseline;
}
.syn-pitch__fix:hover { background: var(--cobalt-ink); }
.syn-pitch__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.syn-pitch__nav button {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 600; font-size: .9rem; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s;
}
.syn-pitch__nav button:hover:not(:disabled) { border-color: var(--ink); }
.syn-pitch__nav button.is-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.syn-pitch__nav button.is-primary:hover { background: var(--cobalt-ink); border-color: var(--cobalt-ink); }
.syn-pitch__nav button:disabled { opacity: .4; cursor: default; }
.syn-body.is-hop .syn__orb { animation: synHop .7s var(--spring); }
@keyframes synHop { 30% { translate: 0 -22px; scale: 1.05 .95; } 60% { translate: 0 0; scale: 1.08 .9; } 80% { scale: .97 1.03; } }

.syn__badge {
  position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; border-radius: 11px;
  background: var(--orange); color: #000; font-size: .75rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}

/* speech bubble: sits beside Syn, on whichever side has room */
.syn-bubble {
  position: absolute; width: max-content; max-width: min(300px, calc(100vw - var(--orb) - 56px));
  background: var(--paper); color: var(--ink);
  border-radius: 18px; padding: 14px 40px 14px 16px;
  font-size: .93rem; line-height: 1.42;
  box-shadow: 0 18px 44px -14px rgba(14,54,85,.38), 0 0 0 1px var(--line);
  transform-origin: var(--origin, right center);
  animation: bubbleIn .42s var(--spring);
}
.syn-bubble.is-out { animation: bubbleOut .2s var(--ease) forwards; }
@keyframes bubbleIn { from { opacity: 0; transform: scale(.6); } }
@keyframes bubbleOut { to { opacity: 0; transform: scale(.85); } }
.syn-bubble.at-left  { right: calc(100% + 14px); top: 50%; translate: 0 -50%; border-bottom-right-radius: 6px; --origin: right center; }
.syn-bubble.at-right { left: calc(100% + 14px); top: 50%; translate: 0 -50%; border-bottom-left-radius: 6px; --origin: left center; }
.syn-bubble.at-up    { right: 0; bottom: calc(100% + 14px); border-bottom-right-radius: 6px; --origin: bottom right; }
.syn-bubble__text strong { font-weight: 650; }
.syn-bubble__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.syn-bubble__actions:empty { display: none; }
.syn-bubble__actions button {
  padding: 7px 13px; border-radius: 999px; font-size: .84rem; font-weight: 600;
  background: var(--black); color: #fff; transition: background-color .2s;
}
.syn-bubble__actions button:hover { background: var(--navy); }
.syn-bubble__actions button.is-quiet { background: transparent; color: var(--ink-3); padding-inline: 6px; text-decoration: underline; text-underline-offset: 3px; }
.syn-bubble__actions button.is-quiet:hover { color: var(--ink); background: transparent; }
.syn-bubble__x {
  position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  font-size: 1.2rem; color: var(--ink-3); line-height: 1;
}
.syn-bubble__x:hover { background: var(--mist); }

/* chat panel, anchored to the docked corner */
.syn {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 80;
  width: 0; height: 0;
}
.syn__panel {
  position: absolute; right: 0; bottom: 100px;
  width: min(392px, calc(100vw - 32px));
  height: min(620px, calc(100svh - 150px));
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(14,54,85,.08);
  display: grid; grid-template-rows: auto 1fr auto auto auto;
  overflow: hidden;
  transform-origin: bottom right;
  animation: synOpen .45s var(--spring);
}
.syn__panel.is-closing { animation: synClose .22s var(--ease) forwards; }
@keyframes synOpen { from { opacity: 0; transform: translateY(16px) scale(.92); } }
@keyframes synClose { to { opacity: 0; transform: translateY(12px) scale(.95); } }

.syn__head {
  display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px;
  background: var(--black); color: #fff; position: relative;
}
.syn__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--current); }
.syn__avatar {
  width: 38px; height: 38px; border-radius: 50%; display: flex; gap: 5px; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.35), rgba(255,255,255,0) 45%),
    linear-gradient(140deg, var(--cobalt) 0%, var(--navy) 48%, var(--tangerine) 84%, var(--orange) 100%);
}
.syn__avatar i { width: 5px; height: 9px; border-radius: 3px; background: #fff; }
.syn__name { font-weight: 700; font-stretch: var(--wide); line-height: 1.2; }
.syn__sub { font-size: .8rem; color: var(--on-dark-2); }
.syn__close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.syn__close:hover { background: rgba(255,255,255,.1); }

.syn__log {
  overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth; overscroll-behavior: contain;
}
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .95rem; line-height: 1.45; animation: popIn .3s var(--spring); overflow-wrap: anywhere; }
.msg p + p { margin-top: 8px; }
.msg--bot { align-self: flex-start; background: var(--mist); color: var(--ink); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--black); color: #fff; border-bottom-right-radius: 6px; }
.msg--guard { align-self: flex-start; background: #FFF4EE; color: var(--ink); border: 1px solid var(--peach); border-bottom-left-radius: 6px; }
.msg a { color: var(--cobalt-ink); }
.msg-actions { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px; animation: popIn .3s var(--spring); }
.msg-actions button {
  padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  background: var(--orange); color: #000; transition: background-color .2s;
}
.msg-actions button:hover { background: var(--tangerine); color: #000; }
.syn__log .dots { align-self: flex-start; }

.syn__chips { display: flex; gap: 8px; padding: 6px 16px 10px; overflow-x: auto; scrollbar-width: none; }
.syn__chips::-webkit-scrollbar { display: none; }
.syn__chips button {
  flex: none; padding: 7px 13px; border-radius: 999px; font-size: .84rem;
  border: 1px solid var(--line); color: var(--ink-2); background: var(--paper);
  transition: border-color .2s, background-color .2s;
}
.syn__chips button:hover { border-color: var(--ink); background: var(--mist); }

.syn__input { display: flex; gap: 8px; padding: 12px 12px 14px 16px; border-top: 1px solid var(--line); }
.syn__input input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: .98rem; color: var(--ink); }
.syn__input input::placeholder { color: #8796A5; }
.syn__input button {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: #fff; transition: background-color .2s, transform .2s var(--spring);
}
.syn__input button:hover { background: var(--navy); transform: scale(1.06); }

/* chat footer: AI notice + clear chat (data deletion) */
.syn__note {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 0 16px 10px; font-size: .75rem; line-height: 1.4; color: var(--ink-3);
}
.syn__note a { color: var(--cobalt-ink); }
.syn__clear { flex: none; font-size: .75rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.syn__clear:hover { color: var(--ink); }

/* =========================================================
   LEGAL PAGES (privacy, terms)
   ========================================================= */
.legal-page { background: var(--paper); }
.legal-head { border-bottom: 1px solid var(--line); }
.legal-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.legal-head img { height: 22px; width: auto; }
.legal { max-width: calc(72ch + var(--gutter) * 2); padding-block: clamp(48px, 7vw, 88px); color: var(--ink-2); }
.legal h1 { font-size: var(--t-h2); font-stretch: var(--wide); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; color: var(--ink); }
.legal h2 { font-size: 1.35rem; font-stretch: 110%; font-weight: 650; color: var(--ink); margin: 40px 0 12px; }
.legal h3 { font-size: 1.05rem; font-weight: 650; color: var(--ink); margin: 24px 0 8px; }
.legal p, .legal ul { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--cobalt-ink); }
.legal code { font-size: .9em; background: var(--mist); padding: 1px 6px; border-radius: 4px; }
.legal__meta { color: var(--ink-3); font-size: var(--t-small); margin-top: 12px; }
.legal__lede { font-size: var(--t-lead); color: var(--ink); padding: 18px 20px; border-left: 3px solid var(--cobalt); background: var(--cobalt-tint); border-radius: 0 12px 12px 0; margin: 28px 0 8px; }
.legal__table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: var(--t-small); }
.legal__table th, .legal__table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__table th { color: var(--ink); font-weight: 650; }
/* owner-only placeholders: bright so none slip through to launch */
mark.todo { background: #FFE58A; color: #000; padding: 0 4px; border-radius: 3px; }
.legal-foot { background: var(--black); color: var(--on-dark-2); padding: 24px 0; font-size: var(--t-small); }
.legal-foot__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-foot nav { display: flex; gap: 20px; }
.legal-foot a { text-decoration: none; }
.legal-foot a:hover, .legal-foot a[aria-current="page"] { color: #fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .steps ol { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps__line { display: none; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero { padding-top: 112px; min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__viz { max-width: 520px; width: 100%; margin-inline: auto; }
  .section-head { grid-template-columns: 1fr; }
  .services__layout { grid-template-columns: 1fr; }
  .stage { position: relative; top: 0; min-height: 0; order: -1; }
  .calc__grid, .faq__grid, .contact__grid, .define__grid { grid-template-columns: 1fr; }
  .fit__list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --t-body: 1rem; }
  .hero__actions .btn { width: 100%; }
  .steps ol { grid-template-columns: 1fr; }
  .fit__list > div { grid-template-columns: 1fr; gap: 6px; }
  .calc__result { grid-template-columns: 1fr; }
  .browser__page { min-height: 340px; padding: 18px; }
  .viz-node text { font-size: 20px; }
  .weave-out, .viz-label { font-size: 18px; }
  .stock li { grid-template-columns: 1fr auto; }
  .stock em { grid-column: 1 / -1; grid-row: 2; }
  .faq details p { padding-right: 0; }
  :root { --orb: 60px; }
  /* compact footer: tighter spacing, links on one line, and the bottom lines kept clear of
     Syn's orb (which docks bottom-right). "Chat with Syn" is hidden: the orb is right there. */
  .foot { padding-bottom: 20px; }
  .foot__grid { padding: 32px var(--gutter) 20px; gap: 16px; }
  .foot__grid img { margin-bottom: 10px; }
  .foot__links { gap: 8px 20px; }
  .foot__base { flex-direction: column; gap: 6px; padding-right: calc(var(--gutter) + var(--orb) + 12px); }
  .foot__legal [data-open-syn] { display: none; }
  .syn__panel { bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
