/* ============================================================================
   NeMeets — style.css
   Sections
     01. Design tokens
     02. Reset & base
     03. Typography helpers
     04. Buttons, icons, chips
     05. Header & mobile menu
     06. Hero
     07. Meeting-to-action demo
     08. Sections, cards, grids
     09. Flow (4 steps) & timeline (7 steps)
     10. Speaker (dark band)
     11. AI suite + evidence card
     12. Mobile app / phone mock
     13. Languages
     14. Trust
     15. Use cases
     16. Roadmap
     17. Pilot form
     18. FAQ
     19. Footer
     20. Scroll reveal
     21. Dark mode
     22. Motion & print preferences
   ========================================================================= */

/* 01. Design tokens ------------------------------------------------------- */
:root {
  /* brand */
  --blue: #1E5BFF;
  --blue-2: #2F80FF;
  --violet: #7A5CFF;
  --navy: #0A1330;
  --ink: #0B1020;
  --soft: #F5F8FF;

  /* surfaces & text */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F8FF;
  --text: #0B1020;
  --text-soft: #2A3552;
  --muted: #5B6785;
  --line: #E3E9F6;
  --line-strong: #D2DCF2;

  /* accents */
  --grad: linear-gradient(135deg, #1E5BFF 0%, #2F80FF 46%, #7A5CFF 100%);
  --grad-soft: linear-gradient(135deg, rgba(30, 91, 255, .10), rgba(122, 92, 255, .10));
  --grad-line: linear-gradient(90deg, rgba(30, 91, 255, .55), rgba(122, 92, 255, .55));
  --focus: #1E5BFF;

  /* elevation */
  --sh-xs: 0 1px 2px rgba(11, 16, 32, .05);
  --sh-sm: 0 2px 6px rgba(11, 16, 32, .05), 0 8px 24px -18px rgba(11, 16, 32, .35);
  --sh-md: 0 10px 22px -14px rgba(11, 16, 32, .28), 0 2px 6px rgba(11, 16, 32, .04);
  --sh-lg: 0 28px 60px -32px rgba(15, 46, 107, .35), 0 6px 18px -12px rgba(11, 16, 32, .18);
  --glow: 0 18px 40px -18px rgba(30, 91, 255, .55);

  /* geometry */
  --r-sm: 12px;
  --r: 18px;
  --r-card: 24px;
  --r-lg: 32px;
  --r-pill: 999px;
  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 74px;

  /* type */
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-h1: clamp(2.05rem, 1.2rem + 3.7vw, 4.1rem);
  --fs-h2: clamp(1.8rem, 1.18rem + 2.2vw, 2.9rem);
  --fs-h3: clamp(1.02rem, .97rem + .3vw, 1.18rem);
  --fs-lead: clamp(1.01rem, .96rem + .35vw, 1.16rem);
  --fs-body: clamp(.97rem, .94rem + .18vw, 1.04rem);
  --fs-sm: .875rem;
  --fs-xs: .79rem;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 02. Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(30, 91, 255, .18); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: .7em 1.1em;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); outline-color: #fff; }

/* 03. Typography helpers -------------------------------------------------- */
.h2 {
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 22ch;
}

.h3 {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.lead--onink { color: #B9C7E6; }

.footnote {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.footnote--onink { color: #A9BADC; border-color: rgba(255, 255, 255, .18); font-size: .8rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .42em .9em .42em .75em;
  border-radius: var(--r-pill);
  background: var(--grad-soft);
  border: 1px solid rgba(30, 91, 255, .16);
  color: #1948C8;
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}
.eyebrow { justify-self: start; align-self: start; }
.eyebrow--quiet { background: transparent; border-color: var(--line); color: var(--muted); }
.section-head--center .eyebrow { justify-self: center; }
.eyebrow--onink {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  color: #C9D6F5;
}

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: .55em;
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.disclaimer .icon { flex: none; margin-top: .25em; color: var(--blue); }

/* 04. Buttons, icons, chips ----------------------------------------------- */
.icon {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }

.btn {
  --btn-bg: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .78em 1.35em;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out),
              background-position .45s var(--ease-out), border-color .25s, color .25s;
}
.btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

.btn--primary {
  color: #fff;
  background-image: var(--btn-bg);
  background-size: 170% 100%;
  background-position: 0% 50%;
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 22px 44px -18px rgba(30, 91, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(30, 91, 255, .45); color: #1948C8; box-shadow: var(--sh-md); }

.icon-chip {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(30, 91, 255, .14);
  color: var(--blue);
}
.icon-chip--lg { width: 56px; height: 56px; border-radius: 18px; }
.icon-chip--onaccent {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

/* 05. Header & mobile menu ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(11, 16, 32, .45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  flex: none;
  border-radius: 12px;
}
.brand__mark {
  width: 38px; height: auto;
  filter: drop-shadow(0 6px 12px rgba(30, 91, 255, .22));
}
.brand__word {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.brand__ne { color: var(--blue); }
.brand__meets { color: var(--navy); }

.nav { margin-inline-start: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 10px);
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: .5em .72em;
  border-radius: var(--r-pill);
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--text); background: rgba(30, 91, 255, .07); }
.nav__link.is-active { color: #1948C8; font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 16px; height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--grad);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: 8px;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  background: rgba(10, 19, 48, .32);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: fade-in .25s var(--ease) both;
}
.mobile-menu[hidden] { display: none; }

.mobile-menu__panel {
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 22px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 50px -30px rgba(11, 16, 32, .5);
  animation: sheet-up .32s var(--ease-out) both;
  max-height: 100%;
  overflow-y: auto;
}
.mobile-menu__list { display: grid; gap: 2px; margin-bottom: 18px; }
.mobile-menu__list a {
  display: block;
  padding: .85em .2em;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 600;
}
.mobile-menu__list a:hover { color: var(--blue); }
.mobile-menu__note {
  margin-top: 14px;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--muted);
}

@keyframes sheet-up { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* 06. Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 110px);
  overflow: clip;
}
.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(122, 92, 255, .16), transparent 62%),
    radial-gradient(900px 560px at 6% 4%, rgba(47, 128, 255, .18), transparent 60%),
    linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 62%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .5;
  will-change: transform;
}
.blob--1 {
  width: 420px; height: 420px;
  top: -130px; right: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(47, 128, 255, .55), rgba(122, 92, 255, .28) 70%, transparent 72%);
  animation: drift 22s ease-in-out infinite alternate;
}
.blob--2 {
  width: 340px; height: 340px;
  bottom: -120px; left: -110px;
  background: radial-gradient(circle at 60% 40%, rgba(30, 91, 255, .38), rgba(122, 92, 255, .16) 70%, transparent 74%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
.blob--3 {
  width: 260px; height: 260px;
  top: 42%; right: 44%;
  background: radial-gradient(circle at 50% 50%, rgba(122, 92, 255, .2), transparent 70%);
  animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-28px, 26px, 0) scale(1.08); }
}

.hero__inner {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}
.hero__copy { max-width: 640px; }

.hero__title {
  margin-block: 20px 0;
  font-family: var(--font-head);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.hero__title .hl { display: block; }
.hl--grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}

.hero__lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: var(--fs-lead);
  color: var(--muted);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .35em 0;
  margin-top: 28px;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.trust-strip span { position: relative; padding-right: 1.5em; }
.trust-strip span:last-child { padding-right: 0; }
.trust-strip span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: .55em;
  color: var(--line-strong);
}

/* product orb */
.hero__visual { display: grid; place-items: center; }
.orb {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orb__halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(47, 128, 255, .26), rgba(122, 92, 255, .12) 55%, transparent 70%);
  filter: blur(18px);
}
.orb__svg { position: relative; width: 100%; height: auto; }

.ripple {
  transform-box: fill-box;
  transform-origin: center;
  animation: ripple-out 5.2s var(--ease-out) infinite;
  opacity: 0;
}
.ripple--1 { animation-delay: 0s; }
.ripple--2 { animation-delay: 1.7s; }
.ripple--3 { animation-delay: 3.4s; }
.orb__ripples--high .ripple--2 { animation-delay: .8s; }
.orb__ripples--high .ripple--3 { animation-delay: 3.0s; }

@keyframes ripple-out {
  0%   { transform: scale(.55); opacity: 0; }
  12%  { opacity: .85; }
  70%  { opacity: .18; }
  100% { transform: scale(1.75); opacity: 0; }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .5em .8em;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 233, 246, .9);
  box-shadow: 0 12px 30px -18px rgba(15, 46, 107, .55);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip .icon { color: var(--blue); }
.chip--a { top: 7%; left: 0; animation-delay: -1s; }
.chip--b { top: 15%; right: 0; animation-delay: -3s; }
.chip--c { bottom: 9%; left: 1%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

/* 07. Meeting-to-action demo --------------------------------------------- */
.demo-section {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 100px);
}
.demo-section__inner {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.demo-copy .h2 { margin-block: 18px 16px; }

.demo {
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  font-size: .9rem;
}
.demo__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.demo__dots { display: inline-flex; gap: 5px; }
.demo__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.demo__file { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--text-soft); }
.demo__badge {
  margin-left: auto;
  padding: .18em .6em;
  border-radius: var(--r-pill);
  background: rgba(30, 91, 255, .09);
  color: #1948C8;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.demo__body { display: grid; }
.demo__pane { padding: 16px; }
.demo__pane--transcript { border-bottom: 1px solid var(--line); }
.demo__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.tline {
  position: relative;
  padding: 9px 10px 9px 12px;
  border-radius: 10px;
  border-left: 2px solid transparent;
  color: var(--text-soft);
  line-height: 1.5;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s;
}
.tline + .tline { margin-top: 4px; }
.tline__who {
  display: inline-block;
  margin-right: 6px;
  font-weight: 600;
  color: var(--text);
  font-size: .78rem;
}
.tline__time { margin-right: 8px; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tline.is-hi {
  background: linear-gradient(90deg, rgba(30, 91, 255, .1), rgba(122, 92, 255, .06));
  border-left-color: var(--blue);
  color: var(--text);
}

.ocard {
  position: relative;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh-xs);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
/* Only hide the extracted items once the loop is actually running, so the pane
   never looks empty without JS or before the demo starts. */
.demo.is-live .ocard { opacity: 0; transform: translateY(12px) scale(.985); }
.demo.is-live .ocard.is-in { opacity: 1; transform: none; }
.ocard + .ocard { margin-top: 10px; }
.demo__pending {
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: .8rem;
  color: var(--muted);
  transition: opacity .3s ease;
}
.demo__pending-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(30, 91, 255, .45);
  animation: pulse-dot 1.6s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(30, 91, 255, .45); }
  100% { box-shadow: 0 0 0 9px rgba(30, 91, 255, 0); }
}
.demo[data-step="2"] .demo__pending,
.demo[data-step="3"] .demo__pending,
.demo[data-step="4"] .demo__pending { opacity: 0; }

.ocard__kicker {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.ocard__text { margin-top: 4px; font-weight: 500; color: var(--text); line-height: 1.45; }
.ocard__link,
.ocard__flag {
  display: flex;
  align-items: center;
  gap: .35em;
  margin-top: 8px;
  font-size: .74rem;
  color: var(--muted);
}
.ocard__link { color: #1948C8; }

.demo__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.demo__hint { font-size: .75rem; color: var(--muted); }

.demo__approve {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  padding: .4em 1em;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background-image: var(--grad);
  box-shadow: 0 10px 20px -12px rgba(30, 91, 255, .8);
  transition: background-image .4s, box-shadow .4s;
}
.demo__approve-done { display: none; align-items: center; gap: .3em; }
.demo__approve.is-approved { background-image: linear-gradient(135deg, #0F9D6B, #12B981); box-shadow: 0 10px 20px -12px rgba(18, 185, 129, .8); }
.demo__approve.is-approved .demo__approve-idle { display: none; }
.demo__approve.is-approved .demo__approve-done { display: inline-flex; }

/* 08. Sections, cards, grids --------------------------------------------- */
.section { padding-block: clamp(60px, 8vw, 112px); }
.section--soft { background: var(--surface-2); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: -4px; }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .h2 { max-width: 24ch; }
.section-head--center .lead { max-width: 60ch; }

.split-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.split-head .h2 { margin-top: 18px; }

.grid { display: grid; gap: clamp(14px, 2vw, 22px); }

.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.card .h3 { margin-top: 16px; }
.card p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.card:hover::after { opacity: .5; }

.card__meta {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .8rem !important;
  letter-spacing: .01em;
  color: var(--muted);
}

.card--note {
  display: grid;
  align-content: center;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(122, 92, 255, .12), transparent 70%),
    var(--surface);
  border-style: dashed;
  border-color: var(--line-strong);
}
.card__note-label {
  margin: 0 0 8px !important;
  font-family: var(--font-head);
  font-size: .76rem !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue) !important;
}
.card--note p:last-child { color: var(--text-soft) !important; }

/* 09. Flow & timeline ---------------------------------------------------- */
.flow {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  counter-reset: flow;
}
.flow__step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.flow__step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(30, 91, 255, .28); }
.flow__step .h3 { margin-top: 18px; }
.flow__step p { margin-top: 8px; color: var(--muted); font-size: .93rem; }
.flow__step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--line-strong);
}

.timeline {
  position: relative;
  display: grid;
  gap: 6px;
  padding-left: 6px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 25px; top: 14px; bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(30, 91, 255, .5), rgba(122, 92, 255, .12) 70%, transparent);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 16px 0;
}
.timeline__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--blue);
}
.timeline__item:hover .timeline__num { border-color: rgba(30, 91, 255, .4); box-shadow: var(--sh-sm); }
.timeline__body { padding-top: 8px; }
.timeline__body p { margin-top: 6px; color: var(--muted); font-size: .95rem; max-width: 62ch; }

/* 10. Speaker (dark band) ------------------------------------------------- */
.section--ink {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: clip;
}
.section--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(122, 92, 255, .28), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(30, 91, 255, .22), transparent 65%);
  pointer-events: none;
}
.section--ink .h2 { color: #fff; }
.section--ink .shell { position: relative; }

.speaker {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.speaker__copy .h2 { margin-block: 18px 16px; }

.speclist {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.speclist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .95rem;
  color: #B9C7E6;
}
.speclist .icon { color: #7FB0FF; margin-top: .12em; }
.speclist strong { color: #fff; font-weight: 600; }

.speaker__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.speaker__figure img { width: 100%; }
.speaker__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 19, 48, .82));
  pointer-events: none;
}
.speaker__figure figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 14px 18px;
  font-size: .78rem;
  color: #D5E0F7;
}

/* 11. AI suite ----------------------------------------------------------- */
.suite {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  align-items: start;
}
.suite__grid {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}

.feature {
  position: relative;
  padding: 20px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
}
.feature .icon { color: var(--blue); width: 22px; height: 22px; }
.feature h3 {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: .99rem;
  font-weight: 700;
  letter-spacing: -.005em;
}
.feature p { margin-top: 6px; font-size: .87rem; color: var(--muted); line-height: 1.55; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(30, 91, 255, .24); }

.evidence {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-card);
  color: #fff;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(122, 92, 255, .55), transparent 65%),
    linear-gradient(150deg, #1E5BFF 0%, #2F6BFF 45%, #6B4DFF 100%);
  box-shadow: 0 30px 60px -34px rgba(30, 91, 255, .9);
  overflow: hidden;
}
.evidence::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  pointer-events: none;
}
.evidence .h3 { margin-top: 18px; font-size: 1.35rem; color: #fff; }
.evidence > p { margin-top: 10px; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.evidence__list {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.evidence__list li {
  display: flex;
  gap: .5em;
  align-items: flex-start;
  font-size: .86rem;
  color: rgba(255, 255, 255, .94);
}
.evidence__list .icon { color: #fff; margin-top: .15em; opacity: .9; }

.evidence__quote {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .26);
}
.evidence__quote blockquote {
  font-size: .86rem;
  line-height: 1.55;
  color: #fff;
}
.evidence__quote figcaption {
  margin-top: 8px;
  font-size: .72rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .8);
}

/* 12. Mobile app / phone -------------------------------------------------- */
.app {
  display: grid;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.app__copy .h2 { margin-block: 18px 16px; }
.ticks { display: grid; gap: 11px; margin-top: 26px; }
.ticks li {
  display: flex;
  gap: .6em;
  align-items: flex-start;
  font-size: .96rem;
  color: var(--text-soft);
}
.ticks .icon { color: var(--blue); margin-top: .2em; }
.app__copy .footnote { margin-top: 26px; }

.phone { display: grid; place-items: center; }
.phone__frame {
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(160deg, #1A2540, #0A1330 45%, #16213C);
  box-shadow: 0 40px 70px -30px rgba(15, 46, 107, .55), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone__notch {
  position: absolute;
  top: 10px; left: 50%;
  width: 86px; height: 20px;
  margin-left: -43px;
  border-radius: 0 0 14px 14px;
  background: #0A1330;
  z-index: 2;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #FFFFFF, #F5F8FF 70%);
  padding: 30px 16px 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  font-size: .62rem;
  font-weight: 600;
  color: var(--muted);
}
.phone__signal {
  width: 26px; height: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, #C9D6F0 60%, transparent 60%);
  border: 1px solid #C9D6F0;
}
.phone__kicker {
  margin-top: 6px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.phone__title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -.01em;
}
.phone__card {
  padding: 10px 11px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px -10px rgba(15, 46, 107, .5);
}
.phone__cardlabel {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
.phone__text { margin-top: 2px; font-size: .74rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.phone__link,
.phone__meta {
  display: flex;
  align-items: center;
  gap: .25em;
  margin-top: 5px;
  font-size: .6rem;
  color: #1948C8;
}
.phone__meta { color: var(--muted); }
.phone__cta {
  margin-top: auto;
  padding: .62em 1em;
  border-radius: var(--r-pill);
  text-align: center;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  color: #fff;
  background-image: var(--grad);
  box-shadow: 0 10px 18px -12px rgba(30, 91, 255, .9);
}
.phone__note { text-align: center; font-size: .58rem; color: var(--muted); }

/* 13. Languages ---------------------------------------------------------- */
.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split__copy .h2 { margin-block: 18px 16px; }
.split__copy p + p { margin-top: 16px; color: var(--muted); }

.langs__list { display: grid; gap: 10px; }
.lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.lang:hover { transform: translateX(3px); }
.lang__name { font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.lang__status {
  padding: .22em .7em;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lang--first { border-color: rgba(30, 91, 255, .28); }
.lang--first .lang__status { background: rgba(30, 91, 255, .1); color: #1948C8; }
.lang--next .lang__status { background: rgba(122, 92, 255, .12); color: #5A3FE0; }
.lang--planned { background: transparent; border-style: dashed; }
.lang--planned .lang__name { color: var(--muted); }
.lang--planned .lang__status { background: var(--soft); color: var(--muted); }
.langs__note { margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); }

/* 14. Trust -------------------------------------------------------------- */
.trust-grid { grid-template-columns: 1fr; }

/* 15. Use cases ---------------------------------------------------------- */
.card--case { display: flex; flex-direction: column; }
.card--case p + .card__meta { margin-top: auto !important; }

/* 16. Roadmap ------------------------------------------------------------ */
.roadmap {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}
.roadmap__col {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}
.roadmap__col--now {
  border-color: rgba(30, 91, 255, .3);
  box-shadow: 0 20px 45px -30px rgba(30, 91, 255, .6);
  background: linear-gradient(180deg, rgba(30, 91, 255, .05), var(--surface) 40%);
}
.roadmap__status {
  display: flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--done { background: #12B981; }
.dot--now { background: var(--blue); box-shadow: 0 0 0 4px rgba(30, 91, 255, .18); }
.dot--later { background: #B9C2D8; }
.roadmap__col .h3 { margin-top: 14px; }
.roadmap__col ul { display: grid; gap: 8px; margin-top: 14px; }
.roadmap__col li {
  position: relative;
  padding-left: 16px;
  font-size: .92rem;
  color: var(--muted);
}
.roadmap__col li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* 17. Pilot form --------------------------------------------------------- */
.pilot {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: clip;
}
.pilot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 460px at 10% 0%, rgba(47, 128, 255, .26), transparent 62%),
    radial-gradient(700px 400px at 90% 100%, rgba(122, 92, 255, .3), transparent 65%);
  pointer-events: none;
}
.pilot__inner {
  position: relative;
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}
.pilot .h2 { color: #fff; margin-block: 18px 16px; max-width: 20ch; }
.pilot__points { display: grid; gap: 10px; margin-top: 26px; }
.pilot__points li {
  display: flex;
  align-items: flex-start;
  gap: .55em;
  font-size: .94rem;
  color: #C7D4EF;
}
.pilot__points .icon { color: #7FB0FF; margin-top: .15em; }

.form {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  display: grid;
  gap: 14px;
}
.form__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4em .7em;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.form__req {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.form__row { display: grid; gap: 14px; }

.field { display: grid; gap: 6px; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
}
.field label span { color: var(--blue); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: .68em .85em;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: .94rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6785' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.field input::placeholder,
.field textarea::placeholder { color: #98A2BC; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #B9C6E4; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 91, 255, .14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #D33A3A; }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(211, 58, 58, .14); }

.field__error {
  font-size: .79rem;
  font-weight: 500;
  color: #B3261E;
  display: flex;
  align-items: center;
  gap: .35em;
}
.field__error[hidden] { display: none; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form .btn { margin-top: 6px; }

.form__fineprint { font-size: .76rem; color: var(--muted); text-align: center; }
.form__fineprint a { color: #1948C8; text-decoration: underline; text-underline-offset: 2px; }

.form__success {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: var(--r);
  background: rgba(18, 185, 129, .09);
  border: 1px solid rgba(18, 185, 129, .35);
}
.form__success[hidden] { display: none; }
.form__success .icon { color: #0F9D6B; }
.form__success-title {
  font-family: var(--font-head);
  font-size: .94rem;
  font-weight: 700;
  color: #0A6E4E;
}
.form__success-text { font-size: .85rem; color: var(--text-soft); margin-top: 3px; }
.form__success-text a { color: #0A6E4E; text-decoration: underline; }

.form.is-submitting .btn[type="submit"] { opacity: .7; pointer-events: none; }

/* 18. FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: clamp(24px, 4vw, 48px); }
.faq__head .h2 { margin-block: 18px 14px; }
.faq__list { display: grid; gap: 10px; }

.faq__item {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] { border-color: rgba(30, 91, 255, .28); box-shadow: var(--sh-sm); }
.faq__item + .faq__item { margin-top: 0; }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: .99rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: #1948C8; }

.faq__sign {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--soft);
  border: 1px solid var(--line);
  transition: background-color .3s, border-color .3s, transform .3s;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.6px;
  margin: -0.8px 0 0 -5px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform .3s var(--ease), opacity .3s;
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign { background: var(--grad); border-color: transparent; }
.faq__item[open] .faq__sign::before,
.faq__item[open] .faq__sign::after { background: #fff; }
.faq__item[open] .faq__sign::after { transform: rotate(0); opacity: 0; }

.faq__answer { padding: 0 20px 20px; }
.faq__answer p { color: var(--muted); font-size: .95rem; max-width: 68ch; }

/* 19. Footer ------------------------------------------------------------- */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 68px) 26px;
}
.footer__inner {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
.brand--footer .brand__mark { width: 34px; }
.brand--footer .brand__word { font-size: 1.2rem; }
.footer__tagline {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-soft);
}
.footer__desc { margin-top: 8px; font-size: .88rem; color: var(--muted); max-width: 38ch; }

.footer__nav { display: grid; gap: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__heading {
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.footer__col li + li { margin-top: 7px; }
.footer__col a { font-size: .9rem; color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--blue); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a:hover { color: var(--blue); }

/* 20. Scroll reveal ------------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 65ms);
}
.js [data-reveal="fade"] { transform: translateY(10px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 21. Layout breakpoints ------------------------------------------------- */
@media (min-width: 600px) {
  .hero__inner { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid,
  .cases,
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suite__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap { grid-template-columns: 1fr; }
  .demo__body { grid-template-columns: 1.1fr .9fr; }
  .demo__pane--transcript { border-bottom: 0; border-right: 1px solid var(--line); }
}

@media (min-width: 860px) {
  .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .split-head .lead { justify-self: end; }
  .split,
  .app,
  .speaker,
  .demo-section__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app,
  .speaker { align-items: center; }
  .app__copy { order: 1; }
  .phone { order: 2; }
  .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
  .roadmap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pilot__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
  .suite { grid-template-columns: minmax(0, 1fr) 360px; }
  .suite__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}

@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
  .hero__visual { justify-self: end; }
  .trust-grid,
  .cases,
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .flow__step .h3 { min-height: 2.7em; }
  .suite__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4.problem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 999px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .site-header__actions .btn--sm { display: none; }
  /* .nav carried the auto margin that pinned the actions right; when it is
     hidden, the actions need it instead or the menu button sits beside the logo. */
  .site-header__actions { margin-inline-start: auto; }
}

@media (max-width: 520px) {
  .hero__title { letter-spacing: -.03em; }
  .chip--a { left: 0; }
  .chip--c { display: none; }
  .demo__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .demo__hint { text-align: center; }
  .trust-strip { font-size: .82rem; }
  .brand__word { font-size: 1.18rem; }
  .footer__bottom { justify-content: flex-start; }
}

/* 22. Dark mode ---------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080D1E;
    --surface: #0E1730;
    --surface-2: #0A1128;
    --text: #E9EFFC;
    --text-soft: #C9D4EE;
    --muted: #94A3C4;
    --line: #1D2947;
    --line-strong: #2A3A5E;
    --soft: #121C38;
    --focus: #7FB0FF;
    --sh-xs: 0 1px 2px rgba(0, 0, 0, .35);
    --sh-sm: 0 2px 8px rgba(0, 0, 0, .35);
    --sh-md: 0 12px 28px -18px rgba(0, 0, 0, .8);
    --sh-lg: 0 30px 60px -30px rgba(0, 0, 0, .9);
  }
  .site-header.is-scrolled { background: rgba(8, 13, 30, .8); }
  .hero__wash {
    background:
      radial-gradient(1100px 620px at 82% -12%, rgba(122, 92, 255, .26), transparent 62%),
      radial-gradient(900px 560px at 6% 4%, rgba(47, 128, 255, .26), transparent 60%),
      linear-gradient(180deg, #0A1128 0%, #080D1E 62%);
  }
  .brand__meets { color: #E9EFFC; }
  .eyebrow { color: #A9C4FF; border-color: rgba(127, 176, 255, .24); }
  .eyebrow--quiet { color: var(--muted); border-color: var(--line); }
  .btn--ghost { background: transparent; }
  .btn--ghost:hover { color: #A9C4FF; }
  .hl--grad { background-image: linear-gradient(135deg, #6FA8FF 0%, #8FB6FF 45%, #B39BFF 100%); }
  .chip {
    background: rgba(16, 25, 48, .82);
    border-color: rgba(255, 255, 255, .12);
    color: var(--text-soft);
  }
  .demo__badge { color: #A9C4FF; background: rgba(127, 176, 255, .14); }
  .ocard__link,
  .nav__link.is-active,
  .lang--first .lang__status,
  .field__error a { color: #A9C4FF; }
  .faq__item summary:hover { color: #A9C4FF; }
  .form__success { background: rgba(18, 185, 129, .12); }
  .form__success-title { color: #6EE7B7; }
  .form__success-text a { color: #6EE7B7; }
  .form__fineprint a { color: #A9C4FF; }
  .lang--next .lang__status { color: #B39BFF; }
  .field input::placeholder,
  .field textarea::placeholder { color: #6C7C9E; }
  .section--ink,
  .pilot { background: #060A18; }
  .speaker__figure { border-color: rgba(255, 255, 255, .1); }
  .phone__frame { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .1); }
  .phone__screen { background: linear-gradient(180deg, #F7FAFF, #E9F0FF 70%); }
  .demo__approve { box-shadow: none; }
}

/* 23. Motion, print and forced-colors ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ripple, .blob, .chip { animation: none !important; }
  .ocard { opacity: 1; transform: none; }
  .demo.is-live .ocard { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .card, .feature, .flow__step, .faq__item, .lang { border: 1px solid CanvasText; }
  .btn--primary { background: ButtonFace; color: ButtonText; }
}

@media print {
  .site-header, .mobile-menu, .hero__wash, .orb, .footer__nav { display: none; }
  body { color: #000; background: #fff; }
  .section { padding-block: 24px; }
}

/* 24. Legal / document pages (privacy.html, terms.html) ------------------- */
.doc-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) { .doc-header { background: var(--bg); } }

.doc-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.doc-header__actions { display: flex; align-items: center; gap: 10px; }

.doc-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(44px, 7vw, 76px) clamp(26px, 4vw, 38px);
  background:
    radial-gradient(760px 420px at 88% -30%, rgba(122, 92, 255, .12), transparent 62%),
    radial-gradient(680px 380px at 4% -10%, rgba(47, 128, 255, .12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.doc-hero__inner { max-width: 780px; }
.doc-hero h1 {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.028em;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.08; margin-top: 14px;
}
.doc-hero .lead { margin-top: 14px; max-width: 62ch; }
.doc-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px;
  font-size: var(--fs-sm); color: var(--muted);
}
.doc-meta span { display: inline-flex; align-items: center; gap: 8px; }
.doc-meta .icon { width: 15px; height: 15px; color: var(--blue); }

.doc-shell {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(32px, 5vw, 60px) clamp(48px, 7vw, 88px);
  align-items: start;
}
.doc-toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface-2); box-shadow: var(--sh-xs);
}
.doc-toc__title {
  font-family: var(--font-head); font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px;
}
.doc-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.doc-toc a {
  display: block; padding: 7px 10px; border-radius: 10px;
  font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.35;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.doc-toc a:hover { background: var(--surface); color: var(--blue); }

.doc-body { max-width: 72ch; }
.doc-body > section + section { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.doc-body h2 {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.16rem, 1.05rem + .5vw, 1.45rem); line-height: 1.25;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.doc-body h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  margin-top: 22px; color: var(--text);
}
.doc-body p, .doc-body li { color: var(--text-soft); font-size: var(--fs-body); }
.doc-body p + p { margin-top: 12px; }
.doc-body p + ul, .doc-body p + ol, .doc-body h3 + ul, .doc-body h3 + ol { margin-top: 12px; }
.doc-body ul, .doc-body ol { display: grid; gap: 9px; }
.doc-body ul li { position: relative; padding-left: 22px; }
.doc-body ul li::before {
  content: ""; position: absolute; left: 4px; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--grad);
}
.doc-body ol { counter-reset: n; }
.doc-body ol li { position: relative; padding-left: 30px; counter-increment: n; }
.doc-body ol li::before {
  content: counter(n); position: absolute; left: 0; top: .18em;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .72rem;
  color: var(--blue); background: rgba(30, 91, 255, .1);
}
.doc-body strong { color: var(--text); font-weight: 600; }
.doc-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc-body a:hover { color: #6240DD; } /* 6.37:1 on white — violet #7A5CFF is 4.37:1, below AA */
.doc-body code {
  font-size: .92em; padding: 1px 6px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--line);
}

.doc-callout {
  margin-top: 18px; padding: 16px 18px;
  border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: var(--r-sm); background: var(--surface-2);
}
.doc-callout p { font-size: var(--fs-sm); }
.doc-callout p + p { margin-top: 8px; }
.doc-callout__label {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: .74rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}

.doc-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: var(--fs-sm); }
.doc-table th, .doc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { font-family: var(--font-head); font-weight: 700; color: var(--text); background: var(--surface-2); }
.doc-table td { color: var(--text-soft); }

.doc-foot {
  border-top: 1px solid var(--line); padding-block: 26px 40px; background: var(--surface-2);
}
.doc-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.doc-foot p { font-size: var(--fs-sm); color: var(--muted); }
.doc-foot ul { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-sm); }
.doc-foot a { color: var(--text-soft); }
.doc-foot a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .doc-shell { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .doc-toc { position: static; }
  .doc-toc ol { grid-template-columns: 1fr 1fr; column-gap: 8px; }
}
@media (max-width: 560px) {
  .doc-toc ol { grid-template-columns: 1fr; }
  .doc-header__actions .btn--ghost { display: none; }
  .doc-body > section + section { margin-top: 30px; padding-top: 26px; }
}

@media (prefers-color-scheme: dark) {
  .doc-header { background: rgba(8, 13, 30, .82); }
  .doc-toc a:hover { color: #A9C4FF; }
  .doc-body a { color: #A9C4FF; }
  .doc-body a:hover { color: #B39BFF; }
  .doc-body ol li::before { color: #A9C4FF; background: rgba(127, 176, 255, .14); }
  .doc-callout__label { color: #A9C4FF; }
  .doc-meta .icon { color: #A9C4FF; }
  .doc-foot a:hover { color: #A9C4FF; }
}

/* 25. Legal tables stack on small screens --------------------------------- */
@media (max-width: 700px) {
  .doc-table { display: block; border-collapse: separate; margin-top: 14px; }
  .doc-table thead { display: none; }
  .doc-table tbody { display: grid; gap: 10px; }
  .doc-table tr {
    display: block; padding: 6px 0;
    border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  }
  .doc-table td {
    display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px;
    border: 0; padding: 7px 14px; font-size: var(--fs-sm); line-height: 1.5;
  }
  .doc-table td::before {
    content: attr(data-label);
    font-family: var(--font-head); font-weight: 700; font-size: .68rem;
    letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
    padding-top: 3px;
  }
  .doc-table td:first-child { padding-top: 10px; }
  .doc-table td:last-child { padding-bottom: 10px; }
}

/* 26. Floating glass header ----------------------------------------------- */
/* The bar is a rounded, blurred card that floats over the page instead of a
   full-bleed strip. It needs colour behind it to read as glass, which the hero
   gradient and the dark speaker band provide. */

:root {
  --glass-from: rgba(255, 255, 255, .82);
  --glass-to:   rgba(255, 255, 255, .58);
  --glass-brd:  rgba(255, 255, 255, .80);
  --glass-hi:   rgba(255, 255, 255, .95);
  --glass-r:    22px;
}

.site-header {
  padding-block: 10px;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  transition: padding-block .3s var(--ease);
}
/* The old full-bleed treatments are retired; the card carries the surface now. */
.site-header.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  padding-block: 7px;
}

.site-header__inner,
.doc-header__inner {
  position: relative;
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 18px;
  border-radius: var(--glass-r);
  border: 1px solid var(--glass-brd);
  background: linear-gradient(180deg, var(--glass-from), var(--glass-to));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 0 0 1px rgba(30, 91, 255, .05),
    0 14px 34px -22px rgba(11, 16, 32, .40),
    0 2px 6px rgba(11, 16, 32, .04);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header__inner { min-height: 62px; }
.doc-header__inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Slightly denser glass once content is passing underneath. */
.site-header.is-scrolled .site-header__inner,
.doc-header .doc-header__inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78));
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 0 0 1px rgba(30, 91, 255, .06),
    0 18px 42px -24px rgba(11, 16, 32, .46),
    0 2px 8px rgba(11, 16, 32, .06);
}

/* No backdrop-filter (older Safari / Firefox ESR): fall back to a near-opaque card. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__inner,
  .doc-header__inner,
  .site-header.is-scrolled .site-header__inner {
    background: rgba(255, 255, 255, .97);
  }
}

/* Header controls sit on glass, so they lose their own solid fill. */
.nav-toggle {
  border-color: rgba(30, 91, 255, .16);
  background: rgba(255, 255, 255, .55);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav-toggle:hover { background: rgba(30, 91, 255, .09); border-color: rgba(30, 91, 255, .3); }
.nav__link:hover { background: rgba(30, 91, 255, .09); }

.doc-header {
  padding-block: 10px;
  background: transparent;
  border-bottom: 0;
  transition: padding-block .3s var(--ease);
}

/* The mobile sheet starts where the floating bar ends. */
.mobile-menu { inset: calc(var(--header-h-real, var(--header-h)) - 4px) 0 0; }

@media (max-width: 640px) {
  :root { --glass-r: 18px; }
  .site-header { padding-block: 8px; }
  .site-header.is-scrolled { padding-block: 6px; }
  .site-header__inner,
  .doc-header__inner { padding-inline: 12px 10px; min-height: 56px; }
  .site-header__inner { gap: 10px; }
  .brand__mark { width: 32px; }
  .nav-toggle { width: 40px; height: 40px; border-radius: 12px; }
  .doc-header { padding-block: 8px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --glass-from: rgba(23, 34, 64, .74);
    --glass-to:   rgba(11, 18, 38, .60);
    --glass-brd:  rgba(255, 255, 255, .12);
    --glass-hi:   rgba(255, 255, 255, .09);
  }
  .site-header.is-scrolled .site-header__inner,
  .doc-header .doc-header__inner {
    background: linear-gradient(180deg, rgba(20, 29, 56, .90), rgba(10, 17, 36, .82));
    box-shadow:
      inset 0 1px 0 var(--glass-hi),
      0 18px 44px -26px rgba(0, 0, 0, .95),
      0 2px 8px rgba(0, 0, 0, .4);
  }
  .nav-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
  .nav-toggle:hover { background: rgba(127, 176, 255, .16); border-color: rgba(127, 176, 255, .34); }
  .nav__link:hover { background: rgba(127, 176, 255, .14); }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header__inner,
    .doc-header__inner,
    .site-header.is-scrolled .site-header__inner { background: rgba(14, 23, 48, .97); }
  }
}

/* 27. Glass header refinement --------------------------------------------- */
/* Two things made the first pass read as a plain white bar:
   1. the header was sticky and in normal flow, so nothing was ever *behind* it
      at the top of the page — the glass had only white body background to blur;
   2. the fill was 82% white, which over a pale hero is indistinguishable from
      solid white.
   The header is now fixed with the hero running underneath it, and the fill is
   a tinted, more transparent glass with a gradient edge. */

:root {
  --glass-from: rgba(255, 255, 255, .66);
  --glass-to:   rgba(240, 246, 255, .34);
  --glass-tint: linear-gradient(135deg,
                  rgba(255, 255, 255, .70) 0%,
                  rgba(236, 243, 255, .40) 52%,
                  rgba(232, 238, 255, .30) 100%);
}

.site-header,
.doc-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
}

.site-header__inner,
.doc-header__inner {
  background: var(--glass-tint);
  -webkit-backdrop-filter: blur(22px) saturate(200%);
  backdrop-filter: blur(22px) saturate(200%);
  border-color: rgba(255, 255, 255, .55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(11, 16, 32, .04),
    0 14px 38px -22px rgba(11, 16, 32, .34),
    0 2px 6px rgba(11, 16, 32, .04);
}

/* Gradient edge instead of a flat 1px line — this is what makes it read as glass. */
.site-header__inner::after,
.doc-header__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg,
    rgba(255, 255, 255, .95) 0%,
    rgba(122, 92, 255, .28) 34%,
    rgba(30, 91, 255, .32) 68%,
    rgba(255, 255, 255, .75) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* Once content is moving underneath, thicken the fill so labels stay legible
   over dark bands (the speaker section) as well as light ones. */
.site-header.is-scrolled .site-header__inner,
.doc-header .doc-header__inner {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .90) 0%,
    rgba(245, 249, 255, .80) 55%,
    rgba(240, 246, 255, .78) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(11, 16, 32, .05),
    0 18px 44px -24px rgba(11, 16, 32, .42),
    0 2px 8px rgba(11, 16, 32, .06);
}

/* The hero now starts at the viewport top, behind the glass. */
.hero { padding-block-start: calc(var(--header-h-real, 82px) + clamp(18px, 3vw, 40px)); }
.doc-hero { padding-block-start: calc(var(--header-h-real, 82px) + clamp(24px, 4vw, 48px)); }

@media (max-width: 640px) {
  .hero { padding-block-start: calc(var(--header-h-real, 72px) + 24px); }
  .doc-hero { padding-block-start: calc(var(--header-h-real, 72px) + 22px); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__inner,
  .doc-header__inner,
  .site-header.is-scrolled .site-header__inner { background: rgba(247, 250, 255, .97); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --glass-tint: linear-gradient(135deg,
                    rgba(26, 38, 70, .66) 0%,
                    rgba(14, 22, 46, .50) 55%,
                    rgba(10, 16, 36, .46) 100%);
  }
  .site-header__inner,
  .doc-header__inner {
    border-color: rgba(255, 255, 255, .10);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .10),
      0 18px 44px -26px rgba(0, 0, 0, .9),
      0 2px 8px rgba(0, 0, 0, .38);
  }
  .site-header__inner::after,
  .doc-header__inner::after {
    background: linear-gradient(120deg,
      rgba(255, 255, 255, .26) 0%,
      rgba(122, 92, 255, .34) 38%,
      rgba(47, 128, 255, .34) 70%,
      rgba(255, 255, 255, .16) 100%);
  }
  .site-header.is-scrolled .site-header__inner,
  .doc-header .doc-header__inner {
    background: linear-gradient(135deg, rgba(22, 32, 60, .92), rgba(11, 18, 38, .86));
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header__inner,
    .doc-header__inner,
    .site-header.is-scrolled .site-header__inner { background: rgba(14, 22, 46, .97); }
  }
}

/* 28. Colour behind the glass -------------------------------------------- */
/* Glass only reads as glass when there is something to blur. The hero wash was
   near-white across the whole header band, so even a 30%-alpha fill composited
   to off-white. These stops give the top of the page real colour, which the
   header then blurs and tints. */

.hero__wash {
  background:
    radial-gradient(1000px 460px at 84% -14%, rgba(122, 92, 255, .30), transparent 64%),
    radial-gradient(880px 420px at 8% -16%, rgba(47, 128, 255, .34), transparent 62%),
    radial-gradient(620px 300px at 46% -26%, rgba(30, 91, 255, .16), transparent 70%),
    linear-gradient(180deg, #E4EDFF 0%, #EFF5FF 26%, #FFFFFF 68%);
}

.doc-hero {
  background:
    radial-gradient(820px 380px at 88% -22%, rgba(122, 92, 255, .26), transparent 64%),
    radial-gradient(760px 360px at 4% -18%, rgba(47, 128, 255, .28), transparent 62%),
    linear-gradient(180deg, #EDF3FF 0%, #FFFFFF 58%);
}

:root {
  --glass-tint: linear-gradient(135deg,
                  rgba(255, 255, 255, .58) 0%,
                  rgba(238, 244, 255, .34) 50%,
                  rgba(228, 236, 255, .26) 100%);
}

@media (prefers-color-scheme: dark) {
  .hero__wash {
    background:
      radial-gradient(1000px 460px at 84% -10%, rgba(122, 92, 255, .38), transparent 64%),
      radial-gradient(880px 420px at 8% -14%, rgba(30, 91, 255, .40), transparent 62%),
      linear-gradient(180deg, #0C1530 0%, #080D1E 58%);
  }
  .doc-hero {
    background:
      radial-gradient(820px 380px at 88% -18%, rgba(122, 92, 255, .34), transparent 64%),
      radial-gradient(760px 360px at 4% -16%, rgba(47, 128, 255, .32), transparent 62%),
      linear-gradient(180deg, #0C1530 0%, #080D1E 60%);
  }
  :root {
    --glass-tint: linear-gradient(135deg,
                    rgba(30, 44, 78, .58) 0%,
                    rgba(15, 24, 50, .48) 55%,
                    rgba(10, 16, 36, .44) 100%);
  }
}
