/* ============================================================
   WASP · marketing site
   Obsidian Chrome: Onyx / Alabaster / White / Blue Slate.
   Color is escalation-only. Everything else is chrome.
   ============================================================ */

:root {
  /* Palette · locked (DESIGN.md) */
  --onyx: #0a0a0a;
  --surface-low: #131417;
  --surface: #181a1e;
  --surface-high: #20242a;
  --alabaster: #e5e4e2;
  --white: #ffffff;
  --muted: #9aa1ab;
  --outline: #3a4049;
  --outline-variant: #23272d;
  --slate: #536878;
  --slate-2: #63788a; /* the app's lighter slate — primary-button gradient top */

  /* Temperature · the only color on the page */
  --calm: #536878;
  --warn: #c39a5c;
  --urgent: #c2685a;
  --critical: #c2453c;
  --success: #6f9b6a;

  /* Light section tokens */
  --paper: #e5e4e2;
  --paper-hi: #ffffff;
  --ink: #0a0a0a;
  --outline-light: #d2d4d7;

  /* Type — DM Sans everywhere (locked 2026-07-08: NO monospace anywhere in the platform).
     --font-mono is deliberately aliased to DM Sans so the .mono-label motif + any legacy
     var(--font-mono) still render the brand sans, never a mono face. Alte Haas Grotesk stays the
     display/wordmark face. NOTE: DM Sans has opsz+wght axes, not Archivo's wdth — the wdth
     font-variation-settings elsewhere are harmlessly ignored. */
  --font-sans: "DM Sans", "Helvetica Neue", sans-serif;
  --font-mono: "DM Sans", "Helvetica Neue", sans-serif;

  /* Motion (matched to JS CustomEase curves) */
  --dur-fast: .3s;
  --dur: .65s;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --gutter: clamp(1.25rem, 3vw, 3rem);
  --nav-h: 4.25rem;
}

/* ---------- fonts (self-hosted) ---------- */
/* Alte Haas Grotesk · Yann Le Coroller, freeware (licence in fonts/).
   Wordmark trial face while the custom wordmark is developed. */
@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("../fonts/AlteHaasGroteskRegular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("../fonts/AlteHaasGroteskBold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: initial;
  overflow-x: clip;
  /* keep declared sizes when a phone rotates to landscape */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--onyx);
  color: var(--alabaster);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .95rem + .3vw, 1.175rem);
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--slate); color: var(--white); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
sup { font-size: .45em; vertical-align: super; letter-spacing: 0; }
em { font-style: normal; }

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

/* ---------- shared atoms ---------- */
.mono-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

[data-theme-section="light"] .mono-label { color: var(--slate); }

/* Split-text line masking */
.split-line { overflow: clip; }
/* keep each word atomic so split lines break at spaces, never mid-word */
.split-word { display: inline-block; white-space: nowrap; }

/* Section scaffold */
.section, .engine, .trust, .pricing, .manifesto {
  position: relative;
  padding: clamp(6rem, 12vh, 10rem) var(--gutter);
}

[data-theme-section="light"] {
  background: var(--paper);
  color: var(--ink);
}

.section__head { margin-bottom: clamp(3rem, 7vh, 5.5rem); }

.section__idx {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: .35rem .6rem;
  border: 1px solid var(--outline-variant);
  border-radius: 999px;
}
[data-theme-section="light"] .section__idx { border-color: var(--outline-light); }

.section__title {
  font-size: clamp(2.6rem, 7.2vw, 6.5rem);
  line-height: .96;
  letter-spacing: -.025em;
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  color: var(--white);
}
[data-theme-section="light"] .section__title { color: var(--ink); }

.section__title em {
  font-variation-settings: "wdth" 72;
  font-weight: 350;
  letter-spacing: 0;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--onyx);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  gap: 1rem;
}
.preloader__row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  color: var(--muted);
}
.preloader__label { color: var(--white); line-height: 0; }
.wordmark--preloader { height: .6rem; width: auto; vertical-align: -.02em; }
.preloader__count { font-size: clamp(2.5rem, 8vw, 5rem); color: var(--white); font-family: var(--font-sans); font-weight: 200; font-variation-settings: "wdth" 80; line-height: 1; }
.preloader__bar { height: 1px; background: var(--outline-variant); position: relative; overflow: hidden; }
.preloader__bar-fill { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; display: block; }
.preloader__row--bottom { opacity: .55; }

/* ============================================================
   CURSOR · retro pixel arrow (alabaster fill, onyx outline),
   generated PNG, hotspot at the tip. Replaces the old dot follower.
   ============================================================ */
:root {
  --cursor-arrow: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAgCAYAAAAWl4iLAAAAZklEQVR42t3WSw4AEAxFUePuf4XCOghDSePT3wtJZ5w7QyKiNiZpL3NYPWAO15LnqAXcYLWAOywOhMHPgXD4OgADHwfg4G0AFmYD4fD6IHATB4uvUzd4PfgcMIe5jXjwv685zF+vA2PgncZllp77AAAAAElFTkSuQmCC");
}
html, body { cursor: var(--cursor-arrow) 0 0, auto; }
a, button, input, select, textarea, label, [data-hover] {
  cursor: var(--cursor-arrow) 0 0, pointer;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--alabaster);
  transition: color .5s var(--ease);
}
html[data-nav-theme="light"] .nav { color: var(--ink); }

.nav::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.72), rgba(10,10,10,0));
  opacity: 1; transition: opacity .5s var(--ease);
  pointer-events: none;
}
html[data-nav-theme="light"] .nav::before {
  background: linear-gradient(to bottom, rgba(229,228,226,.8), rgba(229,228,226,0));
}

.nav > * { position: relative; }

.nav__brand { color: var(--white); line-height: 1; }
.wordmark--nav { height: .82rem; width: auto; vertical-align: -.12em; }
.nav__brand sup { font-size: .62rem; vertical-align: super; margin-left: .12em; color: var(--muted); }

.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav__links a {
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .07em; text-transform: uppercase;
  opacity: .75; transition: opacity var(--dur-fast) var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__idx { opacity: .45; margin-right: .4em; }

.nav__cta {
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .55rem .9rem;
  border: 1px solid currentColor; border-radius: 999px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__cta:hover { background: var(--white); color: var(--onyx); border-color: var(--white); }
html[data-nav-theme="light"] .nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  position: relative;
  background: var(--onyx);
  overflow: clip;
}
.hero > :not(.hero__atmos) { position: relative; z-index: 1; }

/* Living Obsidian Chrome atmosphere · hero only.
   Lava-lamp motion: each blob rides a drift carrier while wandering on its own
   period. Two stacked loops with mismatched durations = a composite path that
   never visibly repeats. Same colors/opacities as ever; only motion changed. */
.hero__atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__atmos-drift { position: absolute; inset: 0; will-change: transform; }
.hero__atmos-blob { position: absolute; border-radius: 50%; will-change: transform; }

/* Halftone field shader (js/atmos.js) · the living, dithered grain.
   Sits above the gradient blobs, below the hero content. */
.hero__atmos-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; transition: opacity .6s var(--ease);
}

.hero__atmos-drift--a { animation: drift-a 21s ease-in-out infinite alternate; }
.hero__atmos-drift--b { animation: drift-b 17s ease-in-out infinite alternate; }
.hero__atmos-drift--c { animation: drift-c 26s ease-in-out infinite alternate; }

.hero__atmos-blob--slate {
  width: 130vmax; height: 100vmax;
  left: 50%; top: 42%;
  margin: -50vmax 0 0 -65vmax;
  background: radial-gradient(closest-side, rgba(83,104,120,.78), rgba(83,104,120,.34) 48%, transparent 78%);
  animation: wander-slate 13s ease-in-out infinite alternate;
}
.hero__atmos-blob--bloom {
  width: 90vmax; height: 70vmax;
  left: 44%; top: 78%;
  margin: -35vmax 0 0 -45vmax;
  background: radial-gradient(closest-side, rgba(229,228,226,.48), rgba(174,187,196,.24) 46%, transparent 74%);
  animation: wander-bloom 9.5s ease-in-out infinite alternate;
}
.hero__atmos-blob--deep {
  width: 150vmax; height: 80vmax;
  left: 50%; top: -8%;
  margin: -40vmax 0 0 -75vmax;
  background: radial-gradient(closest-side, rgba(10,10,10,.94), rgba(10,10,10,.55) 55%, transparent 78%);
  animation: wander-deep 15s ease-in-out infinite alternate;
}

/* Carriers: broad, slow figure-eight-ish sweeps (percent of hero box) */
@keyframes drift-a {
  0%   { transform: translate(-4%, 2%); }
  33%  { transform: translate(3%, -3%); }
  66%  { transform: translate(6%, 2.5%); }
  100% { transform: translate(-2%, -4%); }
}
@keyframes drift-b {
  0%   { transform: translate(5%, -2%); }
  40%  { transform: translate(-5%, 3%); }
  100% { transform: translate(2%, 6%); }
}
@keyframes drift-c {
  0%   { transform: translate(2%, -1.5%); }
  100% { transform: translate(-3%, 2.5%); }
}

/* Wanderers: tighter, livelier local motion + breathing scale */
@keyframes wander-slate {
  0%   { transform: translate(-3%, 2%) scale(1); }
  45%  { transform: translate(2.5%, -3%) scale(1.1); }
  100% { transform: translate(4%, 1.5%) scale(.94); }
}
@keyframes wander-bloom {
  0%   { transform: translate(-4%, 3%) scale(.9); opacity: .7; }
  50%  { transform: translate(4.5%, -2.5%) scale(1.16); opacity: 1; }
  100% { transform: translate(-1.5%, -4%) scale(1.02); opacity: .8; }
}
@keyframes wander-deep {
  0%   { transform: translate(-2%, -1.5%) scale(1.06); }
  100% { transform: translate(2.5%, 2%) scale(.96); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__atmos-blob, .hero__atmos-drift { animation: none; }
}

.hero__meta {
  display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}

/* ---- WASP wordmark · merged single-vector lockup (W+A welded to one stroke) ---- */
.wordmark { display: inline-block; fill: currentColor; }

.hero__wordmark {
  display: block;
  color: var(--white);
  margin: auto 0;
}
/* mask so the whole wordmark rises into view on load (see js/main.js intro) */
.hero__wordmark-mask { display: block; overflow: hidden; }
.wordmark--hero {
  display: block;
  width: min(100%, 82rem);   /* fills the content box; capped on ultra-wide screens */
  height: auto;
  will-change: transform;
}

.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  flex-wrap: wrap;
}
.hero__tagline {
  max-width: 26ch;
  font-size: clamp(1.15rem, 1rem + 1vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--alabaster);
  font-weight: 450;
}
.hero__foot-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: .5rem;
}
@media (max-width: 760px) {
  .hero__foot-right { flex-direction: row; align-items: baseline; justify-content: space-between; width: 100%; }
}
.hero__scroll-cue { animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.35rem); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant);
  overflow: clip;
  padding: 1.1rem 0;
  background: var(--onyx);
}
.marquee__track { display: flex; white-space: nowrap; will-change: transform; }
.marquee__unit {
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  font-weight: 250;
  font-variation-settings: "wdth" 78;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee__unit i { font-style: normal; color: var(--slate); }

/* ============================================================
   MANIFESTO (LIGHT)
   ============================================================ */
.manifesto {
  padding-top: clamp(8rem, 16vh, 13rem);
  padding-bottom: clamp(8rem, 16vh, 13rem);
}
.manifesto__label { display: inline-block; margin-bottom: 2.5rem; }
.manifesto__text {
  font-size: clamp(1.7rem, 4.4vw, 3.7rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  font-weight: 550;
  font-variation-settings: "wdth" 96;
  max-width: 22ch;
  color: var(--ink);
}
.manifesto__text .hl-word { opacity: .14; transition: none; }
.manifesto__foot { margin-top: 3rem; }

/* ============================================================
   01 · CAPTURE
   ============================================================ */
.capture__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) { .capture__grid { grid-template-columns: 1fr; } }

.capture__copy p { max-width: 44ch; color: var(--alabaster); }

.capture__sources { list-style: none; margin-top: 2.5rem; }
.capture__sources li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--outline-variant);
  font-weight: 600; font-variation-settings: "wdth" 110;
  letter-spacing: .01em;
}
.capture__sources li:first-child { border-top: 1px solid var(--outline-variant); }

.capture__visual { display: flex; flex-direction: column; gap: 1.25rem; }

/* Suggestion card — mirrors the app's ambient "Detected a task" card (frosted glass, slate micro-label
   + sparkles glyph, title, due·confidence meta, slate-gradient primary + ghost secondaries). */
.sg-card {
  background: rgba(24, 27, 31, .66);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--outline-variant);
  border-radius: .95rem;
  padding: 1.35rem 1.5rem 1.5rem;
  max-width: 27rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sg-card:hover { transform: translateY(-4px); border-color: var(--outline); }
.sg-card__lbl {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate-2); margin-bottom: 1rem;
}
.sg-card__glyph { width: .82rem; height: .82rem; flex: 0 0 auto; }
.sg-card__title { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; color: var(--white); line-height: 1.35; }
.sg-card__meta { margin-top: .6rem; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.sg-card__actions { display: flex; gap: .5rem; margin-top: 1.3rem; }
.sg-card__actions button {
  font-size: .8rem; padding: .55rem .9rem;
  border: 1px solid var(--outline); border-radius: .5rem;
  background: transparent; color: var(--muted);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease);
}
.sg-card__actions button:hover { color: var(--white); border-color: var(--muted); }
.sg-card__add {
  flex: 1; border: 0 !important;
  background: linear-gradient(var(--slate-2), var(--slate)); color: var(--white); font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.sg-card__add:hover { filter: brightness(1.1); color: var(--white); }
.capture__visual-note { max-width: 30rem; }

/* ============================================================
   02 · ENGINE (pinned; heats through the temperature scale)
   ============================================================ */
.engine { padding: 0; }
.engine__pin {
  min-height: 100svh;
  display: flex; flex-direction: column;
  /* auto margins on head/stage = "safe center": centered while the content
     fits, top-anchored (never clipped both ends) when a short viewport
     can't hold the whole pinned stage */
  justify-content: flex-start;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 3rem;
  --heat: var(--calm);
  background:
    radial-gradient(52% 40% at 50% 112%, color-mix(in srgb, var(--heat) 26%, transparent), transparent 72%),
    var(--onyx);
  transition: background .2s linear;
}
.engine__head { margin-top: auto; margin-bottom: clamp(2rem, 5vh, 4rem); }
.engine__head .section__title { font-size: clamp(2rem, 4.6vw, 4.2rem); }
.engine__head .section__idx { margin-bottom: .9rem; }

.engine__stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  max-width: 62rem;
  margin-bottom: auto; /* pairs with .engine__head's margin-top: auto */
}
@media (max-width: 760px) { .engine__stage { grid-template-columns: 1fr; } }

.engine__meter {
  position: relative;
  width: 3px; border-radius: 999px;
  background: var(--outline-variant);
  overflow: visible;
}
@media (max-width: 760px) { .engine__meter { display: none; } }
.engine__meter-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  border-radius: inherit;
  background: var(--heat, var(--calm));
  display: block;
}
.engine__meter-tick {
  position: absolute; left: -3px; width: 9px; height: 1px;
  background: var(--outline);
  top: calc((var(--i) + .5) * 25%);
}

.engine__card {
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-left: none; /* NO colored left-edge bars · locked decision */
  border-radius: .875rem;
  outline: 1px solid color-mix(in srgb, var(--heat) 34%, transparent);
  outline-offset: -1px;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: 0 40px 110px color-mix(in srgb, var(--heat) 14%, rgba(0,0,0,.5));
  transition: outline-color .2s linear, box-shadow .2s linear;
}
.engine__card-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: 1.6rem; }
.engine__card-head [data-engine-rung] { color: var(--heat); transition: color .2s linear; }
.engine__card-head [data-engine-day] { white-space: nowrap; }
.engine__card-task {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 650; letter-spacing: -.015em; line-height: 1.15;
  color: var(--white);
}
.engine__card-line {
  margin-top: 1.2rem; max-width: 46ch;
  color: var(--muted); font-size: 1.05rem;
  min-height: 3.2em;
}
.engine__choices {
  display: flex; gap: .6rem; margin-top: 1.8rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(8px);
}
.engine__choices span {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .6rem 1rem; border: 1px solid var(--outline); border-radius: 999px;
  color: var(--alabaster);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  cursor: default;
}
.engine__choices span:hover { background: var(--alabaster); color: var(--onyx); border-color: var(--alabaster); }

.engine__aside { grid-column: 2; margin-top: 1.4rem; opacity: 0; }
@media (max-width: 760px) { .engine__aside { grid-column: auto; } }

/* ============================================================
   03 · PROMISES
   ============================================================ */
.promises__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 900px) { .promises__grid { grid-template-columns: 1fr; } .promises__visual { order: 2; } }

.promises__copy p { max-width: 40ch; }
.promises__kicker { margin-top: 2rem; }
.promises__kicker .mono-label { color: var(--white); border-bottom: 1px solid var(--outline); padding-bottom: .3rem; }

.msg {
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: .875rem;
  padding: 1.5rem;
  max-width: 32rem;
}
.msg__head { margin-bottom: 1rem; }
.msg__body { font-size: 1.1rem; line-height: 1.55; color: var(--alabaster); }
.msg__body mark {
  background: transparent; color: var(--white);
  background-image: linear-gradient(color-mix(in srgb, var(--slate) 38%, transparent), color-mix(in srgb, var(--slate) 38%, transparent));
  background-repeat: no-repeat; background-size: 0% 100%;
  border-radius: .2em;
  padding: .06em .12em; margin: -.06em -.12em;
}

.promise-chip {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.25rem; margin-left: 2rem;
  padding: .7rem 1.1rem;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600; font-size: .95rem;
  color: var(--white);
  opacity: 0; transform: translateY(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
}
.promise-chip__arrow { color: var(--slate); font-weight: 400; }
.promise-chip__state { color: var(--slate); padding-left: .5rem; border-left: 1px solid var(--outline-variant); }
.promise-chip.is-kept .promise-chip__state { color: var(--success); }

/* ============================================================
   04 · MODEL
   ============================================================ */
.model__grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 900px) { .model__grid { grid-template-columns: 1fr; } }
.model__copy { max-width: 42ch; }

.model__panel {
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: .875rem;
  padding: 1.5rem;
}
.model__panel-head { display: flex; justify-content: space-between; margin-bottom: 1.25rem; }
.model__panel-head span:last-child { color: var(--white); }

/* Trend — kept-rate line + area, risk/rescue event marks, live "now" dot */
.model__trend { position: relative; }
.model__chart { width: 100%; height: auto; }
.model__line { stroke: var(--slate-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.model__axis { stroke: var(--outline-variant); stroke-width: 1; }
.model__gridline { stroke: var(--outline-variant); stroke-width: 1; }
.model__gridline--dash { stroke-dasharray: 2 5; }
.model__marker { transform-box: fill-box; transform-origin: center; }
.model__marker-risk { fill: var(--warn); }
.model__marker-rescue { fill: var(--success); stroke: var(--surface-low); stroke-width: 2; }
.model__now { fill: var(--white); }
.model__now-pulse {
  fill: none; stroke: var(--white); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: model-pulse 2.6s var(--ease) infinite;
}
@keyframes model-pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .model__now-pulse { animation: none; opacity: 0; } }

.model__yl {
  position: absolute; right: 0; transform: translateY(-115%);
  font-size: .58rem; letter-spacing: .06em; color: var(--muted); opacity: .65;
}
.model__callout {
  position: absolute; transform: translate(-50%, 6px);
  opacity: 0; visibility: hidden;
  padding: .22rem .55rem;
  border-radius: 999px; border: 1px solid;
  background: rgba(19, 20, 23, .85);
  font-size: .6rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap; pointer-events: none;
}
.model__callout--risk { color: var(--warn); border-color: rgba(195, 154, 92, .45); }
.model__callout--rescue { color: var(--success); border-color: rgba(111, 155, 106, .45); }

/* Readouts — the two learned patterns under the trend */
.model__readouts {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.4rem; padding-top: 1.3rem;
  border-top: 1px solid var(--outline-variant);
}
@media (max-width: 480px) {
  .model__readouts { grid-template-columns: 1fr; }
  .model__yl, .model__callout { display: none; }
}
.model__readout > .mono-label { display: block; margin-bottom: .8rem; font-size: .62rem; }
.model__note { margin-top: .7rem; font-size: .78rem; color: var(--muted); }

.model__week { display: flex; gap: 4px; }
.model__day {
  flex: 1; display: flex; flex-direction: column; gap: .4rem;
  font-size: .58rem; letter-spacing: .05em; color: var(--muted); text-align: center;
}
.model__day i {
  display: block; height: 30px; border-radius: 4px;
  background: rgba(99, 120, 138, var(--w, .15));
  border: 1px solid var(--outline-variant);
}
.model__day--peak { color: var(--warn); }
.model__day--peak i {
  background: rgba(195, 154, 92, .3);
  border-color: rgba(195, 154, 92, .65);
}

.model__avoid { display: flex; flex-direction: column; gap: .55rem; }
.model__avoid-row { display: flex; align-items: center; gap: .7rem; }
.model__avoid-tag {
  width: 5.2rem; flex: none;
  font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--alabaster);
}
.model__avoid-n { width: 1.9rem; flex: none; text-align: right; font-size: .62rem; color: var(--muted); }
.model__bar {
  flex: 1; height: 6px; border-radius: 3px;
  background: var(--outline-variant); overflow: clip;
}
.model__bar-fill {
  display: block; height: 100%; width: calc(var(--w, 0) * 100%);
  border-radius: 3px; background: var(--slate-2);
  transform-origin: left center;
}
.model__bar-fill--warn { background: var(--warn); }

/* Footer counters, marks keyed to the chart's event shapes */
.model__flags {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.4rem; padding-top: 1.3rem;
  border-top: 1px solid var(--outline-variant);
}
.model__flags > span { display: inline-flex; align-items: center; gap: .5rem; }
.model__mark { display: inline-block; width: 7px; height: 7px; flex: none; }
.model__mark--risk { background: var(--warn); transform: rotate(45deg); }
.model__mark--rescue { background: var(--success); border-radius: 50%; }

/* ============================================================
   TRUST (LIGHT)
   ============================================================ */
.trust__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--outline-light);
  border: 1px solid var(--outline-light);
}
@media (max-width: 760px) { .trust__grid { grid-template-columns: 1fr; } }
.trust__item {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background var(--dur-fast) var(--ease);
}
.trust__item:hover { background: var(--paper-hi); }
.trust__item .mono-label { display: block; margin-bottom: 1rem; }
.trust__item p { max-width: 38ch; color: var(--ink); font-size: 1.02rem; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__lead { max-width: 62ch; margin-top: clamp(2rem, 5vw, 3rem); color: var(--alabaster); }

/* Billing period control */
.pricing__billing {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.pricing__toggle {
  display: inline-flex; gap: .25rem; padding: .3rem;
  border: 1px solid var(--outline-variant); border-radius: 999px;
  background: var(--surface-low);
}
.pricing__toggle button {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .55rem 1.15rem; border-radius: 999px; color: var(--muted);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pricing__toggle button[aria-selected="true"] { background: var(--alabaster); color: var(--onyx); }
.pricing__save { color: var(--slate); }

/* Plan cards */
.pricing__cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 6vw, 4rem); align-items: stretch;
}
@media (max-width: 820px) { .pricing__cards { grid-template-columns: 1fr; } }

.plan {
  display: flex; flex-direction: column;
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: 1rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--outline); }
.plan--featured { background: var(--surface-high); box-shadow: 0 44px 96px rgba(0,0,0,.5); }

.plan__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.plan__name { color: var(--alabaster); font-size: .8rem; }
.plan--featured .plan__name { color: var(--white); }
.plan__role--flag { color: var(--slate); }

.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .7rem; }
.plan__amount {
  font-size: clamp(3rem, 6vw, 4.5rem); line-height: .9; font-weight: 200;
  font-variation-settings: "wdth" 80; letter-spacing: -.03em; color: var(--white);
}
.plan__per { flex-basis: 100%; margin-top: .6rem; }

.plan__pitch { margin-top: 1.1rem; color: var(--alabaster); max-width: 34ch; }

.plan__features { list-style: none; margin-top: 1.75rem; flex: 1; }
.plan__features li {
  display: flex; gap: .65rem; align-items: baseline;
  padding: .85rem 0; border-bottom: 1px solid var(--outline-variant);
  font-weight: 500; font-size: .98rem;
}
.plan__features li:first-child { border-top: 1px solid var(--outline-variant); }
.plan__features li::before { content: "→"; color: var(--slate); font-size: .85em; flex: none; }

.plan__cta {
  margin-top: 2rem; text-align: center;
  padding: .95rem 1.25rem; border-radius: .6rem;
  border: 1px solid var(--outline); color: var(--alabaster); font-weight: 600;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.plan__cta:hover { border-color: var(--muted); }
.plan--featured .plan__cta { background: var(--alabaster); color: var(--onyx); border-color: var(--alabaster); }
.plan--featured .plan__cta:hover { background: var(--white); border-color: var(--white); }

.pricing__foot { margin-top: clamp(2rem, 4vw, 2.75rem); color: var(--muted); }

/* ============================================================
   CTA / WAITLIST
   ============================================================ */
.cta {
  padding: clamp(7rem, 16vh, 12rem) var(--gutter);
  text-align: left;
  background:
    radial-gradient(60% 45% at 50% -12%, rgba(83,104,120,.22), transparent 70%),
    var(--onyx);
}
.cta__title {
  font-size: clamp(3rem, 10.5vw, 10rem);
  line-height: .92;
  font-weight: 850;
  font-variation-settings: "wdth" 120;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
}
.cta__arrow { display: inline-block; margin-left: .18em; color: var(--slate); }

.cta__form {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; gap: .75rem; max-width: 38rem; flex-wrap: wrap;
}
.cta__form input {
  flex: 1 1 16rem;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--outline);
  border-radius: 999px;
  color: var(--white);
  font: inherit;
  padding: 1.05rem 1.5rem;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
}
.cta__form input::placeholder { color: var(--muted); }
.cta__form input:focus { border-color: var(--alabaster); }
.cta__form button {
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  background: var(--white); color: var(--onyx);
  font-weight: 650;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.cta__form button:hover { transform: translateY(-2px); }
.cta__note { margin-top: 1.5rem; }
.cta__note.is-success { color: var(--success); }
.cta__note.is-error { color: var(--urgent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--outline-variant);
  padding: 3.5rem var(--gutter) 2rem;
}
.footer__brand {
  display: block;
  line-height: 0;
  color: var(--surface-high);
  user-select: none;
}
.wordmark--footer { height: clamp(2.9rem, 13.7vw, 13rem); width: auto; vertical-align: baseline; }
/* The ® rides high off the P, sized to the oversized watermark. */
.footer__brand sup { font-size: clamp(1.5rem, 6.4vw, 6rem); vertical-align: clamp(1.7rem, 8vw, 7.4rem); margin-left: .06em; line-height: 0; }
.footer__meta {
  display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  margin-top: 2.5rem;
}
.footer__meta a:hover { color: var(--alabaster); }

/* ============================================================
   GRAIN
   ============================================================ */
.grain {
  position: fixed; inset: -50%; z-index: 98;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__scroll-cue { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ============================================================
   CONNECTORS · bento grid (appended, namespaced under .connectors)
   Monochrome chrome; the full-color connector marks are the
   only color in the section. Live tiles large, roadmap 1x1.
   ============================================================ */
.connectors .section__head { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.connectors .section__title { font-size: clamp(2rem, 4.6vw, 4.2rem); }

/* The honesty line · quiet but readable */
.connectors__status {
  display: flex; align-items: baseline; gap: .7rem;
  max-width: 46ch;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--alabaster);
  margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
}
.connectors__status::before {
  content: "";
  flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--slate);
  transform: translateY(-.1em);
  animation: connectors-pulse 2.6s var(--ease) infinite;
}
.connectors__status strong { color: var(--white); font-weight: 600; }
@keyframes connectors-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(83,104,120,.45); }
  50% { box-shadow: 0 0 0 6px rgba(83,104,120,0); }
}

/* ---------- the bento · 8 columns on desktop ---------- */
.connectors .bento {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: minmax(clamp(6rem, 12vh, 9rem), auto);
  gap: clamp(.5rem, .9vw, .8rem);
}
.connectors .b-voice { grid-column: span 4; grid-row: span 2; }
.connectors .b-gmail,
.connectors .b-gcal,
.connectors .b-slack { grid-column: span 2; grid-row: span 2; }

/* ---------- tile ---------- */
.connectors .tile {
  position: relative;
  display: flex; flex-direction: column;
  padding: .9rem 1rem .95rem;
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: 1rem;
  overflow: clip;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
/* Soft sheen from the top edge on hover */
.connectors .tile::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 50% -12%, rgba(229,228,226,.055), transparent 62%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.connectors .tile:hover {
  transform: translateY(-4px);
  border-color: var(--outline);
  background: var(--surface);
  box-shadow:
    0 22px 55px rgba(0,0,0,.5),
    0 0 0 1px color-mix(in srgb, var(--slate) 42%, transparent);
}
.connectors .tile:hover::after { opacity: 1; }

.connectors .tile--lg { padding: 1.1rem 1.25rem 1.2rem; }

.connectors .tile__logo {
  position: relative;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 3.5rem;
}
/* Soft plinth glow so full-color marks sit in light, not in a void */
.connectors .tile__logo::before {
  content: "";
  position: absolute;
  width: 74%; height: 74%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.05), transparent 75%);
  transition: transform var(--dur) var(--ease);
}
.connectors .tile:hover .tile__logo::before { transform: scale(1.15); }

.connectors .tile__logo img {
  position: relative;
  width: auto; height: auto;
  max-height: 2rem; max-width: 68%;
  transition: transform var(--dur) var(--ease);
}
.connectors .tile--lg .tile__logo img { max-height: 3.4rem; max-width: 55%; }
.connectors .tile:hover .tile__logo img { transform: scale(1.07); }

/* CONTRAST FIX 1 · inherently-dark monochrome marks (GitHub)
   are rendered in white so they never vanish on Onyx. */
.connectors .tile__logo img.logo--invert { filter: brightness(0) invert(1); opacity: .92; }

/* CONTRAST FIX 2 · mixed dark marks (Notion) sit on a light
   alabaster chip so the black strokes keep their contrast. */
.connectors .tile__chip {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: .5rem .65rem;
  background: var(--paper);
  border-radius: .55rem;
  max-width: 78%;
  transition: transform var(--dur) var(--ease);
}
.connectors .tile__chip img { max-height: 1.35rem; max-width: 100%; }
.connectors .tile:hover .tile__chip { transform: scale(1.07); }

.connectors .tile__foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: .6rem;
  margin-top: .55rem;
}
.connectors .tile__name {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--alabaster);
  line-height: 1.2;
  transition: color var(--dur-fast) var(--ease);
}
.connectors .tile--lg .tile__name { font-size: .95rem; }
.connectors .tile:hover .tile__name { color: var(--white); }

.connectors .tile__cat { flex: none; font-size: .55rem; letter-spacing: .12em; }

/* Live marker · tiny mono tag, slate dot. Absence marks the rest. */
.connectors .tile__live {
  position: absolute; top: .8rem; right: .9rem;
  display: flex; align-items: center; gap: .38rem;
  font-family: var(--font-mono);
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--alabaster);
}
.connectors .tile__live::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--slate);
}

/* Big-tile top-left category label */
.connectors .tile__tag {
  position: absolute; top: .85rem; left: 1.25rem;
  font-size: .58rem; letter-spacing: .12em;
}

/* ---------- Voice + Text keystroke tile ---------- */
.connectors .tile__keys {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  min-height: 4rem;
}
.connectors .tile__keys kbd {
  font-family: var(--font-mono);
  font-size: clamp(.8rem, 1vw, .95rem);
  letter-spacing: .04em;
  color: var(--white);
  padding: .5rem .7rem;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-bottom-width: 2px;
  border-radius: .5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.connectors .tile__keys kbd:last-of-type { padding-inline: 1.3rem; }
.connectors .b-voice:hover kbd { border-color: var(--muted); transform: translateY(-2px); }
.connectors .b-voice:hover kbd:nth-of-type(2) { transition-delay: .04s; }
.connectors .b-voice:hover kbd:nth-of-type(3) { transition-delay: .08s; }
.connectors .tile__keys-plus { color: var(--muted); font-family: var(--font-mono); font-size: .7rem; }
.connectors .tile__sub { display: block; margin-top: .3rem; }

/* ---------- foot line ---------- */
.connectors__foot {
  display: flex; justify-content: space-between; gap: .6rem 2rem; flex-wrap: wrap;
  margin-top: clamp(1rem, 2.5vh, 1.75rem);
}

/* ---------- responsive · the mosaic reflows, never scrolls sideways ---------- */
@media (max-width: 1060px) {
  .connectors .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(7rem, auto);
  }
  .connectors .b-voice { grid-column: span 4; grid-row: span 1; }
  .connectors .b-gmail,
  .connectors .b-gcal,
  .connectors .b-slack { grid-column: span 2; grid-row: span 1; }
  .connectors .tile--lg .tile__logo img { max-height: 2.6rem; }
  .connectors .tile__keys { min-height: 4.5rem; }
}
@media (max-width: 640px) {
  .connectors .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(6rem, auto);
  }
  .connectors .b-voice,
  .connectors .b-gmail,
  .connectors .b-gcal,
  .connectors .b-slack { grid-column: span 3; grid-row: span 1; }
  .connectors .tile__tag { left: 1rem; }
  .connectors .tile__name { font-size: .72rem; }
  .connectors .tile__foot { flex-direction: column; gap: .15rem; }
  .connectors .tile__cat { display: none; }
}

/* ---------- reduced motion (connectors) ---------- */
@media (prefers-reduced-motion: reduce) {
  .connectors__status::before { animation: none; }
}

/* App-icon rounded edge to match LinkedIn/Read.ai's baked-in corner.
   Granola is a filled square (round it directly); TickTick's marks get a
   white app-icon chip (its real icon bg); Notion's chip radius aligned. */
.connectors .tile__logo img[src*="granola"] { border-radius: .42rem; }
.connectors .tile__logo img[src*="ticktick"] {
  background: #fff; border-radius: .42rem; padding: .28rem; box-sizing: border-box;
}
.connectors .tile__chip { border-radius: .42rem; }

/* ============================================================
   TOUCH · no sticky hovers. On touch devices :hover latches after
   a tap, leaving tiles/cards floated and recolored — neutralize
   every transform/surface hover so taps stay inert.
   ============================================================ */
@media (hover: none) {
  .sg-card:hover, .plan:hover { transform: none; border-color: var(--outline-variant); }
  .cta__form button:hover { transform: none; }
  .engine__choices span:hover { background: transparent; color: var(--alabaster); border-color: var(--outline); }
  .connectors .tile:hover {
    transform: none;
    border-color: var(--outline-variant);
    background: var(--surface-low);
    box-shadow: none;
  }
  .connectors .tile:hover::after { opacity: 0; }
  .connectors .tile:hover .tile__logo::before,
  .connectors .tile:hover .tile__logo img,
  .connectors .tile:hover .tile__chip { transform: none; }
  .connectors .tile:hover .tile__name { color: var(--alabaster); }
  .connectors .b-voice:hover kbd { transform: none; border-color: var(--outline); }
}

/* ============================================================
   MOBILE · ≤760px rhythm + type pass.
   Same voices, tuned floors: the display headings are large, so the
   desktop size floors clip words like EVERYTHING. /
   DROPPING at ≤360px. Floors here are measured against 320px + the
   real fonts. Spacing tightens so small screens keep the editorial
   rhythm without desktop-scale voids.
   ============================================================ */
@media (max-width: 760px) {
  .section, .trust, .pricing { /* .engine keeps padding: 0 (the pin owns its spacing) */
    padding-top: clamp(4.5rem, 10vh, 6.5rem);
    padding-bottom: clamp(4.5rem, 10vh, 6.5rem);
  }
  .manifesto {
    padding-top: clamp(5.5rem, 12vh, 8rem);
    padding-bottom: clamp(5.5rem, 12vh, 8rem);
  }
  .section__head { margin-bottom: clamp(2.25rem, 6vh, 3.5rem); }
  .section__title { font-size: clamp(2.05rem, 7.2vw, 6.5rem); }

  .cta {
    padding-top: clamp(5rem, 12vh, 9rem);
    padding-bottom: clamp(5rem, 12vh, 9rem);
  }
  .cta__title { font-size: clamp(2.6rem, 10.5vw, 10rem); }
  .cta__form button { flex: 1 1 auto; } /* full-width row under the input */

  /* comfortable tap targets */
  .nav__cta { padding: .6rem 1rem; }
  .sg-card__actions button { padding: .6rem 1rem; }
  .pricing__toggle button { padding: .6rem 1.1rem; }

  .promise-chip { margin-left: 1rem; }
  .footer__meta { margin-top: 2rem; }
}

/* ============================================================
   SHORT VIEWPORTS · the pinned Engine stage must fit inside one
   screen for the whole scrub. Phones (≤760w) and short windows
   (≤700h) get a compact stage; paired with the safe-center auto
   margins above, nothing is ever pinned out of reach.
   ============================================================ */
@media (max-width: 760px), (max-height: 700px) {
  .engine__pin { padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 1.75rem; }
  .engine__head { margin-bottom: 1.4rem; }
  .engine__head .section__idx { margin-bottom: .7rem; }
  .engine__head .section__title { font-size: clamp(1.5rem, 6.4vw, 2.6rem); }
  .engine__card { padding: clamp(1.2rem, 3vw, 2rem); }
  .engine__card-head { margin-bottom: 1.15rem; }
  .engine__card-task { font-size: clamp(1.2rem, 5vw, 2rem); }
  .engine__card-line { margin-top: .95rem; font-size: .98rem; }
  .engine__choices { margin-top: 1.2rem; gap: .5rem; }
  .engine__choices span { padding: .5rem .85rem; }
  .engine__aside { margin-top: 1.1rem; }
}

/* Ultra-short (landscape phones): give the pinned card the screen */
@media (max-height: 480px) {
  .engine__pin { padding-top: calc(var(--nav-h) + .25rem); padding-bottom: 1rem; }
  .engine__head { margin-bottom: .9rem; }
  .engine__head .section__idx { display: none; }
  .engine__head .section__title { font-size: 1.15rem; }
  .engine__head .section__title br { display: none; }
  .engine__card { padding: 1rem 1.1rem; }
  .engine__card-head { margin-bottom: .7rem; }
  .engine__card-task { font-size: 1.1rem; }
  .engine__card-line { margin-top: .6rem; font-size: .9rem; }
  .engine__choices { margin-top: .8rem; }
  .engine__aside { margin-top: .8rem; }
}
