/* optionOS landing capsule — self-contained visual source. */

/* Foundations */
/* optionOS website — base layer
   reset · tokens · the scrollable one-page · two scaled poster stages · shared brand */

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

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* semantic role değerleri = ürün authority'sinin kopyası:
     projects/theme/Resources/theme.palette.json + theme.interface.json — elle düzenleme,
     mekanik kapı: projects/site/verification/py/optionos-site.probe.theme-token-drift.py (drift'te exit 1).
     Tint'ler color-mix(token) ile türetilir, yeni renk literal'i yazma.
     void, panel ailesi ve blue-hi site-local marka/budget değerleridir (zemin = uzay, ürün chrome'u değil). */
  --void:     #04050a;
  --panel:    rgba(10,10,13,.82);
  --panel-2:  rgba(16,16,20,.88);
  --panel-3:  #1c1c22;
  --line:     rgba(255,255,255,.10);
  --line-2:   rgba(255,255,255,.10);

  --text:     rgba(255,255,255,.92);
  --muted:    rgba(255,255,255,.62);
  --dim:      rgba(255,255,255,.55);

  --blue:     #4c8ff0;  /* emphasis.highlight */
  --blue-hi:  #7ab0ff;  /* highlight'ın koyu-zemin metin tonu */
  --purple:   #b880ff;  /* activity.composing — üründe Image/GIF rozeti */
  --cyan:     #4cc7c7;  /* activity.paste.ready — session çıktısı */
  --green:    #4cdb80;  /* activity.paste.active */
  --orange:   #ff9400;  /* activity.saving — süre/timing rozetleri */
  --red:      #ff4c52;  /* activity.recording — konuşma/ses */
  --transcribe: #52a8ff;/* activity.transcribing — işleme telleri */
  --danger:   #eb3333;  /* feedback.error — hata durumu */
}

html {
  height: 100%;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--void);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

[data-localized-copy][lang] { display: inline; }
html[lang="en"] [data-localized-copy][lang="tr"],
html[lang="tr"] [data-localized-copy][lang="en"] { display: none; }

.semantic-atom {
  color: var(--danger);
  font-weight: 720;
  text-decoration: underline wavy currentColor;
}

.semantic-atom:is(
  [data-semantic="speech"],
  [data-semantic="evidence"],
  [data-semantic="timing"],
  [data-semantic="relation"],
  [data-semantic="output"]
) {
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  font-weight: inherit;
  text-decoration: none;
}

.semantic-atom[data-focus]:is(
  [data-semantic="speech"],
  [data-semantic="evidence"],
  [data-semantic="timing"],
  [data-semantic="relation"],
  [data-semantic="output"]
) {
  color: var(--blue-hi);
  font-weight: 720;
  text-decoration: none;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .semantic-atom[data-focus]:is(
    [data-semantic="speech"],
    [data-semantic="evidence"],
    [data-semantic="timing"],
    [data-semantic="relation"],
    [data-semantic="output"]
  ) {
    background: linear-gradient(90deg, var(--blue-hi), var(--purple));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

@media (prefers-contrast: more) {
  .semantic-atom[data-focus]:is(
    [data-semantic="speech"],
    [data-semantic="evidence"],
    [data-semantic="timing"],
    [data-semantic="relation"],
    [data-semantic="output"]
  ) {
    background: none;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    color: var(--blue-hi);
    -webkit-text-fill-color: currentColor;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: .09em;
    text-underline-offset: .14em;
  }
}

/* ---- galaxy canvas : fixed cosmic backdrop behind the whole page ---- */
#space {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  display: block;
}

/* ---- language selector — static public links; preview may inject the same shell ---- */
.lang-pill {
  position: fixed;
  top: 14px; right: 16px;
  z-index: 60;
  display: flex; gap: 2px;
  padding: 3px;
  background: rgba(10,10,13,.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.lang-pill button {
  border: 0; border-radius: 999px;
  padding: 4px 11px;
  background: transparent;
  color: var(--dim);
  font-family: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.lang-pill button:hover { color: var(--text); }
.lang-pill button.on { background: color-mix(in srgb, var(--blue) 22%, transparent); color: var(--text); cursor: default; }
/* statik varyant: tek-dil sayfalar (home + whats-new + guide) — link kardeş URL'e götürür */
.lang-pill-static a {
  display: inline-block; border-radius: 999px; padding: 4px 11px;
  color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  transition: color .15s ease, background .15s ease;
}
.lang-pill-static a:hover { color: var(--text); }
.lang-pill-static a.on { background: color-mix(in srgb, var(--blue) 22%, transparent); color: var(--text); cursor: default; }

/* ---- shared brand mark ---- */
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 9px; overflow: hidden;
  box-shadow: 0 0 24px rgba(135,105,225,.5);
}
.brand .mark img { width: 100%; height: 100%; }
.brand .name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

/* page snap decision lives in live-panel.css (single owner) — no override here */
#home {
  min-height: 100vh;
  padding: 26px 28px 66px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#home .page {
  width: min(1360px, 100%);
  margin: 0 auto;
}

#home .topbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 132px;
}

#home .site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

#home .wn-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  transition: color .16s ease;
}

#home .wn-link:hover { color: var(--text); }

#home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(40px, 5vw, 72px);
}

#home .hero-copy { max-width: 620px; }

#home .eyebrow,
.section-head .eyebrow {
  color: var(--blue-hi);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}

#home h1 {
  max-width: 700px;
  margin-top: 18px;
  font-size: clamp(56px, 6.2vw, 88px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 730;
  text-wrap: balance;
}

#home .sub {
  max-width: 600px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.48;
  letter-spacing: -.015em;
}

#home .hero-proof {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20,23,31,.9), rgba(8,9,14,.95));
  box-shadow: 0 38px 100px rgba(0,0,0,.5), 0 0 70px color-mix(in srgb, var(--blue) 10%, transparent);
}

#home .hero-proof img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

#home .hero-proof figcaption {
  padding: 16px 20px 18px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.5;
}

#home .hero-proof figcaption strong:not(.semantic-atom) {
  color: var(--text);
  font-weight: 650;
}

#home .ai-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

#home .ai {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
}

#home .ai img,
#home .ai .spark {
  width: 17px;
  height: 17px;
}

#home .ai img { opacity: .78; }
#home .ai .spark { fill: var(--blue-hi); }

#final-cta .eyebrow {
  color: var(--blue-hi);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}

#final-cta h2 {
  margin-top: 13px;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 700;
  text-wrap: balance;
}

#final-cta .sub {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

#home .signup {
  width: 100%;
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

#home .field,
#home .cta {
  min-width: 0;
  height: 48px;
  border-radius: 11px;
  font: 600 13px var(--font);
}

#home .field {
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  outline: 0;
  background: rgba(7,8,12,.78);
  color: var(--text);
  transition: border-color .16s ease, background .16s ease;
}

#home .field::placeholder { color: var(--dim); font-weight: 500; }
#home .field:focus { border-color: color-mix(in srgb, var(--blue) 68%, transparent); background: rgba(10,12,18,.94); }

#home .cta,
.final-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(92deg, var(--blue-hi), var(--purple));
  color: white;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--blue) 24%, transparent);
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}

#home .cta {
  grid-column: 1 / -1;
  width: 100%;
}

#home .cta:hover,
.final-button:hover { transform: translateY(-1px); filter: brightness(1.07); }
#home .cta:disabled { cursor: wait; opacity: .72; }
#home .cta.success { background: color-mix(in srgb, var(--green) 78%, var(--void)); }

#home .signup-status {
  grid-column: 1 / -1;
  min-height: 18px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.45;
}

#home .signup-status.ok { color: var(--green); }
#home .signup-status.error { color: var(--red); }

/* which part brought you here — funnel chips; the choice travels inside the
   waitlist "answer" field (came-for: …), no API shape change */
#home .here-for {
  grid-column: 1 / -1;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 13px;
}
#home .hf-label { color: var(--muted); margin-right: 2px; }
#home .hf-chip {
  font: 600 12.5px var(--font); color: var(--text);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 7px 14px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
#home .hf-chip:hover { background: rgba(255,255,255,.11); }
#home .hf-chip.is-on { background: rgba(59,130,246,.22); border-color: rgba(106,166,255,.7); color: #dce9ff; }

/* attention-sweep on arrival: "Get early access" lands on the full hero screen
   (#home is the anchor = the snap station) and the form flashes once, then fades */
#home:target .signup { animation: signup-arrive 1.6s ease-out 1; border-radius: 14px; }
@keyframes signup-arrive {
  0% { box-shadow: 0 0 0 4px rgba(122,167,255,.85), 0 0 70px rgba(122,167,255,.45); }
  100% { box-shadow: 0 0 0 4px rgba(122,167,255,0), 0 0 70px rgba(122,167,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  #home:target .signup { animation: none; }
}

/* final CTA is its own full screen — the walk ends on a clean station, nothing
   from the panel section bleeds in above */
#final-cta {
  text-align: center; padding-bottom: 76px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
/* the footer is reachable as the very last stop */
.ffoot { scroll-snap-align: end; }
#final-cta .final-wrap { max-width: 780px; }
#final-cta .sub { margin-left: auto; margin-right: auto; }

.final-button {
  min-width: 190px;
  height: 50px;
  margin-top: 28px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

#final-cta .builder-signature {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

#final-cta .builder-signature span,
#final-cta .builder-signature strong {
  display: block;
}

#final-cta .builder-signature span {
  color: var(--blue-hi);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
}

#final-cta .builder-signature strong {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.ffoot {
  width: min(1360px, calc(100% - 56px));
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.ffoot .fmark { margin-left: auto; }
.ffoot .fmark img { width: 24px; height: 24px; border-radius: 7px; }
.ffoot a { transition: color .16s ease; }
.ffoot a:hover { color: var(--text); }

/* Proof stage — every product image opens in the same viewer */
.pk-stage {
  border: 0; padding: 0; background: transparent;
  max-width: min(1400px, 92vw);
  position: fixed; inset: 0; margin: auto;
}
.pk-stage[open] { animation: pk-stage-in .32s cubic-bezier(.2,.9,.3,1); }
@keyframes pk-stage-in { from { opacity: 0; transform: scale(.94); } }
.pk-stage::backdrop { background: rgba(4,5,8,.82); backdrop-filter: blur(4px); animation: pk-backdrop-in .32s ease; }
@keyframes pk-backdrop-in { from { opacity: 0; } }
.pk-frame { position: relative; }
.pk-fit { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); width: fit-content; margin: 0 auto; }
.pk-fit img { display: block; max-width: 92vw; max-height: 82vh; width: auto; height: auto; }
.pk-box {
  position: absolute; border: 2.5px solid #ff4245; border-radius: 8px;
  box-shadow: 0 0 0 6px rgba(255,66,69,.18);
  animation: pk-pulse 1.3s ease-out infinite;
}
@keyframes pk-pulse { 0% { box-shadow: 0 0 0 3px rgba(255,66,69,.35); } 100% { box-shadow: 0 0 0 14px rgba(255,66,69,0); } }
.pk-cap { margin-top: 10px; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; }
.pk-close {
  position: absolute; top: -14px; right: -14px; z-index: 2; width: 32px; height: 32px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,11,16,.95); color: #fff; font-size: 18px; cursor: pointer;
}

/* Responsive projection */
@media (max-width: 1100px) {
  #home .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 84px;
  }

  #home .hero-copy { max-width: 760px; }
  #home h1 { max-width: 820px; }
  #home .hero-proof { max-width: 940px; }

}

@media (max-width: 820px) {
  #home { padding: 22px 20px 54px; }
  #home .topbar { align-items: flex-start; padding-right: 104px; }
  #home .site-nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  #home .hero-grid { padding-top: 68px; }

  #final-cta { padding: 82px 20px; }

  .ffoot {
    width: calc(100% - 40px);
    flex-wrap: wrap;
  }

  .ffoot > span:first-child { flex: 1 0 100%; }
  .ffoot .fmark { margin-left: 0; }
}

@media (max-width: 620px) {
  .lang-pill { top: 10px; right: 10px; }
  .brand .name { display: none; }
  #home .topbar { padding-right: 90px; }
  #home .site-nav { gap: 12px; }
  #home .wn-link { font-size: 12px; }
  #home .site-nav .wn-link:first-child { display: none; }

  #home .hero-grid { padding-top: 56px; }
  #home h1 { font-size: clamp(46px, 15vw, 68px); }
  #home .sub { font-size: 17px; }
  #home .signup { grid-template-columns: 1fr; }
  #home .cta { grid-column: 1; }
  #home .signup-status { grid-column: 1; }
  #home .hero-proof { border-radius: 16px; }
  #home .hero-proof figcaption { padding: 13px 15px 15px; }
  #home .ai-row { justify-content: flex-start; gap: 12px 18px; }

  #final-cta h2 { font-size: 38px; }

  .ffoot { gap: 14px 18px; }
  .ffoot .fmark { display: none; }
}

/* ======================================================================
   Flow stations — Point → Cockpit → Jumpdeck → Hand over.
   Every station: one big claim, one sentence, three glyphs, one real proof.
   Text is either large or a glyph; small explanatory copy does not live here.
   ====================================================================== */

.capability-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 112px 24px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.capability-wrap {
  width: min(1360px, 100%);
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}
.capability-section--reverse .capability-wrap { grid-template-columns: minmax(560px, 1.12fr) minmax(0, .88fr); }
.capability-section--reverse .capability-copy { grid-column: 2; grid-row: 1; }
.capability-section--reverse .capability-frame { grid-column: 1; grid-row: 1; }

.capability-copy .eyebrow {
  color: var(--blue-hi);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.capability-copy h2 {
  margin: 12px 0 22px;
  font-size: clamp(44px, 5.5vw, 82px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 730;
  text-wrap: balance;
}
.capability-title-line { display: block; white-space: nowrap; }
/* Gradient text is clipped to its box; a block-level line at line-height 1 cuts the
   descenders of “g” and “y”. Padding grows the paint box, the negative margin keeps rhythm. */
.capability-copy h2 strong[data-focus],
#final-cta h2 strong[data-focus],
#home h1 strong[data-focus] {
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.capability-copy .sub {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.42;
  letter-spacing: -.015em;
}

/* ---- glyph row: hieroglyphs, one word each ---- */
.glyph-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  max-width: 560px;
}
.glyph {
  display: grid;
  gap: 14px;
  justify-items: start;
  align-content: start;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 12, 20, .55);
  min-height: 128px;
}
.glyph-art {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
}
.glyph-name {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.01em;
}

/* keycaps — drawn the way the Mac keyboard shows them */
.key {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 9px;
  font: 600 20px/1 var(--font);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 3px 0 rgba(0,0,0,.6), 0 4px 10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.key--release { opacity: .48; }
.is-in .key { animation: key-press .9s ease-in-out 1; }
.is-in .key:nth-child(2) { animation-delay: .12s; }
.is-in .key:nth-child(3) { animation-delay: .24s; }
@keyframes key-press {
  0%, 100% { transform: translateY(0); box-shadow: 0 3px 0 rgba(0,0,0,.6), 0 4px 10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18); }
  40% { transform: translateY(3px); box-shadow: 0 0 0 rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.1); }
}

/* drawn rectangle glyph: the red box the product draws, numbered in speech order */
.draw-box {
  position: relative;
  width: 62px;
  height: 42px;
  border: 2.5px solid #ff4245;
  border-radius: 7px;
  box-shadow: 0 0 0 5px rgba(255,66,69,.16);
}
.draw-num,
.drawn-num {
  position: absolute;
  top: -11px; left: -11px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #ff4245;
  color: #fff;
  font: 700 12px/1 var(--font);
  font-style: normal;
  box-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.is-in .draw-box { animation: draw-in .9s cubic-bezier(.2,.9,.3,1) both; transform-origin: top left; }
@keyframes draw-in { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* the mark as it lands inside the sentence — InlineBadge anatomy from the product */
.word-chip { display: inline-flex; align-items: center; gap: 7px; }
.word-stub { display: inline-block; width: 26px; height: 9px; border-radius: 5px; background: rgba(255,255,255,.18); }
.mark-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  background: rgba(255,66,69,.16);
  color: #ff8a8c;
  font: 700 12.5px/1 var(--mono);
}
.mark-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff4245; }
.is-in .mark-badge { animation: badge-land .7s cubic-bezier(.2,1.4,.4,1) .5s both; }
@keyframes badge-land { from { transform: translateY(-14px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* provider identity: the real logos, nothing to read */
.provider-pair { display: inline-flex; gap: 8px; }
.provider-pair img {
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

/* state trio: working pulses, waiting breathes amber, done is settled green */
.state-trio { display: inline-flex; gap: 12px; align-items: center; }
.st { display: inline-block; width: 16px; height: 16px; border-radius: 50%; }
.st--working { background: var(--blue-hi); box-shadow: 0 0 0 0 rgba(122,176,255,.6); animation: st-working 1.6s ease-out infinite; }
.st--waiting { background: var(--orange); box-shadow: 0 0 14px rgba(255,148,0,.5); animation: st-waiting 2.2s ease-in-out infinite; }
.st--done { background: var(--green); box-shadow: 0 0 10px rgba(76,219,128,.45); }
@keyframes st-working { 0% { box-shadow: 0 0 0 0 rgba(122,176,255,.6); } 100% { box-shadow: 0 0 0 14px rgba(122,176,255,0); } }
@keyframes st-waiting { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.return-arrow { width: 50px; height: 34px; fill: none; stroke: var(--blue-hi); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.return-arrow--small { width: 40px; height: 28px; }
.is-in .return-arrow path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: stroke-in 1s ease-out .2s forwards; }
@keyframes stroke-in { to { stroke-dashoffset: 0; } }

.glyph-svg { width: 40px; height: 40px; fill: none; stroke: var(--blue-hi); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- proof frames ---- */
.capability-frame {
  margin: 0;
  border: 1px solid rgba(150, 170, 230, .2);
  border-radius: 24px;
  padding: 10px;
  background: rgba(9, 12, 24, .72);
  box-shadow: 0 26px 90px rgba(0, 0, 0, .45), 0 0 72px rgba(109, 116, 255, .08);
}
.capability-frame img { width: 100%; height: auto; display: block; border-radius: 16px; }
/* proof frames never crop: the real frame is shown whole, at its own ratio, as tall as the copy beside it or taller */
#jumpdeck-proof .capability-frame img { background: transparent; }

/* Point proof: the real captured frame + the exact rectangle drawn on it while speaking */
.annotation-fit { position: relative; border-radius: 16px; overflow: hidden; }

/* Hand-over proof: one conversation leaving a Claude card and arriving at a Codex card */
.handoff-frame { padding: 28px 24px; }
.handoff-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 200px) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 300px;
}
.handoff-sources { display: grid; gap: 14px; }
.agent-card--web { padding-top: 14px; }
.agent-card--web .browser-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 2px; }
.agent-card--web .browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.agent-card--web .browser-bar .url { flex: 1; height: 18px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font: 500 10px/18px var(--mono); color: var(--dim); padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-card--web .agent-avatar { width: 40px; height: 40px; border-radius: 12px; }
.agent-card--web .agent-avatar img { width: 24px; height: 24px; }
.agent-card--web .web-row { display: flex; align-items: center; gap: 10px; }
.agent-card--web .web-images { display: inline-flex; gap: 6px; }
.agent-card--web .web-images i { width: 30px; height: 30px; border-radius: 7px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, rgba(122,176,255,.35), rgba(196,160,255,.35)); position: relative; }
.agent-card--web .web-images i::after { content: ""; position: absolute; left: 7px; bottom: 6px; width: 16px; height: 8px; border-radius: 2px 2px 0 0; background: rgba(255,255,255,.55); clip-path: polygon(0 100%, 35% 30%, 60% 70%, 78% 45%, 100% 100%); }
.agent-card--web .web-images b { align-self: center; font: 700 12px/1 var(--mono); color: var(--blue-hi); }
.handoff-sources .agent-card { padding: 16px 16px 14px; gap: 12px; }
.source-tag { position: absolute; top: 12px; right: 12px; font: 700 10px/1 var(--mono); letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.agent-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px 20px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(160deg, rgba(20,23,31,.95), rgba(9,10,15,.98));
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.agent-avatar {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.agent-avatar img { width: 32px; height: 32px; }
.agent-avatar--codex { background: #17181c; }
.agent-lines { display: grid; gap: 9px; }
.agent-lines i { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.16); }
.agent-lines i:nth-child(1) { width: 92%; }
.agent-lines i:nth-child(2) { width: 74%; }
.agent-lines i:nth-child(3) { width: 84%; }
.agent-lines i:nth-child(4) { width: 52%; }
.agent-lines--arriving i { background: rgba(122,176,255,.28); transform-origin: left; transform: scaleX(0); }
.is-in .agent-lines--arriving i { animation: line-arrive .5s ease-out forwards; }
.is-in .agent-lines--arriving i:nth-child(1) { animation-delay: 1.2s; }
.is-in .agent-lines--arriving i:nth-child(2) { animation-delay: 1.35s; }
.is-in .agent-lines--arriving i:nth-child(3) { animation-delay: 1.5s; }
.is-in .agent-lines--arriving i:nth-child(4) { animation-delay: 1.65s; }
@keyframes line-arrive { to { transform: scaleX(1); } }
.agent-state {
  position: absolute; top: 18px; right: 18px;
  width: 12px; height: 12px; border-radius: 50%;
}
.agent-state--waiting { background: var(--orange); animation: st-waiting 2.2s ease-in-out infinite; }
.agent-state--working { background: var(--blue-hi); animation: st-working 1.6s ease-out infinite; }
.handoff-flow { width: 100%; height: auto; overflow: visible; }
.handoff-path { fill: none; stroke: var(--blue-hi); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 12; opacity: .9; }
.handoff-head { fill: none; stroke: var(--blue-hi); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.is-in .handoff-path { animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }

/* ---- hero proof tag: a recording badge, not a paragraph ---- */
#home .hero-proof figcaption.proof-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
}
#home .hero-proof figcaption strong { color: var(--text); font-weight: 700; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: rec-blink 1.4s ease-in-out infinite; }
@keyframes rec-blink { 50% { opacity: .35; } }

/* ---- final station: the mark itself, then the claim ---- */
.final-mark {
  display: block;
  width: 96px; height: 96px;
  margin: 0 auto 26px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 24px 70px rgba(135,105,225,.45), 0 0 120px rgba(76,143,240,.25);
}
.final-mark img { width: 100%; height: 100%; }
.is-in .final-mark { animation: mark-rise 1.1s cubic-bezier(.2,.9,.3,1) both; }
@keyframes mark-rise { from { transform: translateY(24px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
#final-cta .sub { font-size: clamp(19px, 1.7vw, 25px); }

/* ---- zoom affordance shared by every proof image ---- */
.hero-proof img,
.capability-frame img { cursor: zoom-in; }
.hero-proof img:focus-visible,
.capability-frame img:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 4px; }

/* ---- scroll reveal: copy rises first, the proof follows ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal--late { transition-delay: .18s; }
.reveal.is-in { opacity: 1; transform: none; }
.glyph { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.is-in .glyph { opacity: 1; transform: none; }
.is-in .glyph:nth-child(2) { transition-delay: .12s; }
.is-in .glyph:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .glyph { opacity: 1; transform: none; transition: none; }
  .is-in .key, .is-in .draw-box, .is-in .mark-badge, .is-in .return-arrow path,
  .is-in .agent-lines--arriving i, .is-in .handoff-path, .is-in .final-mark,
  .st--working, .st--waiting, .agent-state, .rec-dot { animation: none; }
  .agent-lines--arriving i { transform: none; }
  .is-in .return-arrow path { stroke-dashoffset: 0; }
}

/* ---- phone & narrow ---- */
@media (max-width: 1180px) {
  html { scroll-snap-type: none; }
}
@media (max-width: 900px) {
  .capability-section { min-height: auto; padding: 88px 20px; }
  .capability-wrap,
  .capability-section--reverse .capability-wrap { grid-template-columns: 1fr; gap: 34px; }
  .capability-section--reverse .capability-copy,
  .capability-section--reverse .capability-frame { grid-column: auto; grid-row: auto; }
  .capability-copy h2 { font-size: clamp(36px, 11vw, 64px); }
  .capability-title-line { white-space: normal; }
  .glyph-row { max-width: none; }
  .handoff-stage { grid-template-columns: 1fr; min-height: 0; }
  .handoff-stage .handoff-flow { display: none; }
  .handoff-flow { transform: rotate(90deg); width: 120px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .glyph-row { grid-template-columns: 1fr; }
  .glyph { grid-template-columns: auto 1fr; align-items: center; min-height: 0; padding: 14px 16px; }
  .key { min-width: 36px; height: 36px; font-size: 17px; }
  .final-mark { width: 76px; height: 76px; border-radius: 20px; }
  #final-cta h2 { font-size: clamp(30px, 9.5vw, 38px); }
  #final-cta .sub { font-size: 18px; }
}

/* ======================================================================
   Vision hero additions — dock, speak / copy / gestures stations, centered close.
   ====================================================================== */

/* Returning header: not the nav — only the mark and the one action, centered, glyph-first. */
.dock {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 55;
  transform: translate(-50%, -140%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10,10,13,.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  transition: transform .45s cubic-bezier(.2,.9,.3,1), opacity .3s ease;
  opacity: 0;
}
.dock[hidden] { display: inline-flex; }
.dock.is-on { transform: translate(-50%, 0); opacity: 1; }
.dock-mark { width: 30px; height: 30px; border-radius: 9px; overflow: hidden; box-shadow: 0 0 18px rgba(135,105,225,.5); }
.dock-mark img { width: 100%; height: 100%; }
.dock-cta {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border-radius: 999px; font: 700 13px var(--font); color: #fff;
  background: linear-gradient(92deg, var(--blue-hi), var(--purple));
}
@media (max-width: 620px) { .dock { top: 10px; } }

/* speak: waveform and timing chip glyphs */
.wave { display: inline-flex; align-items: center; gap: 3px; height: 40px; }
.wave i { display: block; width: 4px; height: 12px; border-radius: 2px; background: var(--red); animation: wave 1.1s ease-in-out infinite alternate; }
.wave i:nth-child(2n) { height: 26px; animation-delay: .12s; }
.wave i:nth-child(3n) { height: 34px; animation-delay: .24s; }
.wave i:nth-child(4n) { height: 18px; animation-delay: .36s; }
@keyframes wave { to { transform: scaleY(.35); } }
.time-chip {
  display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 8px;
  background: rgba(255,148,0,.16); color: var(--orange); font: 700 15px/1 var(--mono); letter-spacing: .01em;
}
.speak-frame img { background: #0c0e14; }

/* copy: chat link + stack glyphs, and the fan-into-sentence proof */
.chat-link { display: inline-flex; align-items: center; gap: 6px; }
.chat-link img { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.link-glyph { width: 22px; height: 22px; fill: none; stroke: var(--blue-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stack-badge { position: relative; display: inline-grid; place-items: center; width: 58px; height: 42px; }
.stack-badge i { position: absolute; inset: 0; border-radius: 9px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.stack-badge i:nth-child(1) { transform: translate(6px, -6px) rotate(6deg); opacity: .5; }
.stack-badge i:nth-child(2) { transform: translate(3px, -3px) rotate(3deg); opacity: .75; }
.stack-badge b { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 9px; background: rgba(255,170,60,.16); color: #ffd9a1; font: 800 15px var(--font); border: 1px solid rgba(255,170,60,.35); }
.copy-frame { padding: 28px 24px; }
.copy-stage { display: grid; grid-template-columns: minmax(0, .9fr) 120px minmax(0, 1.4fr); align-items: center; gap: 12px; min-height: 300px; }
.copy-fan { position: relative; height: 200px; }
.copy-card {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 120px; margin: -60px 0 0 -46px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(160deg, rgba(40,44,60,.95), rgba(14,16,24,.98));
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
  transform: rotate(var(--r)) translateY(var(--y));
  display: grid; place-items: end start; padding: 10px;
}
.copy-card em { font: 800 14px var(--font); font-style: normal; color: #ffd9a1; background: rgba(255,170,60,.18); border-radius: 999px; padding: 3px 8px; }
.is-in .copy-card { animation: card-in .7s cubic-bezier(.2,.9,.3,1) both; animation-delay: calc(var(--i) * .08s); }
@keyframes card-in { from { opacity: 0; transform: translate(-40px, 30px) rotate(-20deg); } to { opacity: 1; transform: rotate(var(--r)) translateY(var(--y)); } }
.copy-flow { width: 100%; height: auto; overflow: visible; }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 7px; row-gap: 12px; }
.mark-badge--img { background: rgba(255,170,60,.16); color: #ffd9a1; }
.mark-badge--img i { background: #d98b28; }
.mark-badge--code { background: rgba(140,160,190,.16); color: #b9c6da; }
.mark-badge--code i { background: #5c718c; }
.mark-badge--chat { background: rgba(108,124,250,.2); color: #cfd6ff; }
.mark-badge--chat i { background: #6c7cfa; }
.word-stub--short { width: 14px; }
.is-in .copy-line .mark-badge { animation: badge-land .6s cubic-bezier(.2,1.4,.4,1) both; }
.is-in .copy-line .mark-badge:nth-of-type(2) { animation-delay: .75s; }
.is-in .copy-line .mark-badge:nth-of-type(3) { animation-delay: .9s; }
.is-in .copy-line .mark-badge:nth-of-type(4) { animation-delay: 1.05s; }
.is-in .copy-line .mark-badge:nth-of-type(5) { animation-delay: 1.2s; }
.is-in .copy-line .mark-badge:nth-of-type(6) { animation-delay: 1.35s; }

/* gestures: finger-count glyphs and the real recording */
.fingers { display: inline-flex; align-items: flex-end; gap: 5px; height: 40px; padding-bottom: 4px; }
.fingers i { display: block; width: 14px; height: 22px; border-radius: 7px 7px 5px 5px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.55)); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.fingers i:nth-child(2) { height: 26px; }
.fingers i:nth-child(3) { height: 22px; }
.is-in .fingers i { animation: tap .9s ease-in-out 1; }
@keyframes tap { 40% { transform: translateY(5px); } }
.gesture-arrow { font-size: 26px; line-height: 1; color: var(--blue-hi); margin-left: 4px; }

/* the close: everything sits on the page axis */
#final-cta .final-wrap { width: min(1360px, 100%); margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .wave i, .is-in .copy-card, .is-in .copy-line .mark-badge, .is-in .fingers i { animation: none; }
  .dock { transition: none; }
}
@media (max-width: 900px) {
  .copy-stage { grid-template-columns: 1fr; min-height: 0; gap: 18px; }
  .copy-flow { transform: rotate(90deg); width: 80px; margin: 0 auto; }
  .copy-fan { height: 170px; }
}

/* ======================================================================
   Hero story loop — real moments in sequence, big lines in between, the mark at the end.
   ====================================================================== */
#home .hero-proof.story {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  /* same height as the copy column: the frame stretches to the grid row, the row is the copy */
  align-self: stretch;
  height: 100%;
  background: linear-gradient(145deg, rgba(20,23,31,.92), rgba(8,9,14,.96));
}
.scene {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: auto 1fr; gap: 12px;
  padding: 22px 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .55s ease;
}
.scene.is-active { opacity: 1; pointer-events: auto; }
.scene-line { font-size: clamp(22px, 2vw, 30px); font-weight: 760; letter-spacing: -.03em; color: var(--text); }
.scene-line span { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.is-active .scene-line span { opacity: 1; transform: none; }
.scene--think, .scene--end { grid-template-rows: 1fr; place-items: center; text-align: center; }
.scene-big { max-width: 22ch; font-size: clamp(26px, 2.6vw, 40px); font-weight: 730; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; opacity: 0; transform: translateY(10px); transition: opacity .6s ease .15s, transform .6s ease .15s; }
.is-active .scene-big { opacity: 1; transform: none; }
.story-mark { width: 68px; height: 68px; border-radius: 19px; margin: 0 0 18px; opacity: 0; transform: scale(.7); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.9,.3,1); }
.scene--end.is-active .story-mark { opacity: 1; transform: none; }
.scene--end { grid-template-rows: auto auto; align-content: center; justify-items: center; }

/* talk */
.talk-stage { display: grid; align-content: center; gap: 22px; justify-items: start; }
.talk-stage .keys { display: inline-flex; gap: 6px; }
.scene--talk.is-active .key { animation: key-press .9s ease-in-out .2s 1; }
.scene--talk.is-active .wave i { animation-play-state: running; }
.stream { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.7; color: var(--text); max-width: 34ch; }
.stream > span { opacity: 0; }
.is-active .stream > span { animation: word-in .3s ease forwards; animation-delay: calc(.6s + var(--w) * .16s); }
@keyframes word-in { to { opacity: 1; } }
.stream--badge { display: inline-flex; align-items: center; gap: 8px; }
.stream--badge > span { opacity: 1; }

/* point */
.point-stage { display: grid; grid-template-rows: 1fr auto; gap: 12px; min-height: 0; }
.point-stage .annotation-fit { min-height: 0; height: 100%; }
.point-stage .annotation-fit img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.scene--point .stream--badge .mark-badge { opacity: 0; }
.scene--point.is-active .stream--badge .mark-badge { animation: badge-land .6s cubic-bezier(.2,1.4,.4,1) 1.5s both; }

/* copy (reuses the fan) */
.scene--copy .copy-stage { min-height: 0; grid-template-columns: minmax(0, .8fr) 90px minmax(0, 1.2fr); }
.scene--copy .copy-fan { height: 150px; }
.scene--copy .copy-card { width: 70px; height: 92px; margin: -46px 0 0 -35px; }
.scene--copy.is-active .copy-card { animation: card-in .7s cubic-bezier(.2,.9,.3,1) both; animation-delay: calc(.2s + var(--i) * .08s); }
.scene--copy .copy-line .mark-badge { opacity: 0; }
.scene--copy.is-active .copy-line .mark-badge { animation: badge-land .6s cubic-bezier(.2,1.4,.4,1) both; }
.scene--copy.is-active .copy-line .mark-badge:nth-of-type(1) { animation-delay: 1s; }
.scene--copy.is-active .copy-line .mark-badge:nth-of-type(2) { animation-delay: 1.15s; }
.scene--copy.is-active .copy-line .mark-badge:nth-of-type(3) { animation-delay: 1.3s; }
.scene--copy.is-active .copy-line .mark-badge:nth-of-type(4) { animation-delay: 1.45s; }
.scene--copy.is-active .copy-line .mark-badge:nth-of-type(5) { animation-delay: 1.6s; }
.scene--copy.is-active .handoff-path { animation: flow 1.1s linear infinite; }

/* paste */
.paste-stage { display: grid; grid-template-columns: auto 80px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 0; }
.packet-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 150px; padding: 10px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(10,12,20,.8); opacity: 0; transform: scale(.85); }
.scene--paste.is-active .packet-chip { animation: chip-in .5s cubic-bezier(.2,.9,.3,1) .2s forwards; }
@keyframes chip-in { to { opacity: 1; transform: none; } }
.scene--paste.is-active .handoff-path { animation: flow 1.1s linear infinite; }
.cockpit-fit { position: relative; height: 100%; min-height: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.cockpit-fit img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; opacity: .9; }
.agent-state--wake { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px rgba(255,148,0,.5); }
.agent-state--wake:nth-of-type(1) { left: 6%; top: 8%; }
.agent-state--wake:nth-of-type(2) { left: 39%; top: 8%; }
.agent-state--wake:nth-of-type(3) { left: 72%; top: 8%; }
.agent-state--wake:nth-of-type(4) { left: 6%; top: 40%; }
.agent-state--wake:nth-of-type(5) { left: 39%; top: 40%; }
.agent-state--wake:nth-of-type(6) { left: 72%; top: 40%; }
.scene--paste.is-active .agent-state--wake { animation: wake .5s ease forwards, st-working 1.6s ease-out infinite; animation-delay: calc(1.1s + var(--d)), calc(1.6s + var(--d)); }
@keyframes wake { to { background: var(--blue-hi); box-shadow: 0 0 0 0 rgba(122,176,255,.6); } }

/* small keycaps used under gesture glyphs and inside the packet chip */
.key--sm { min-width: 28px; height: 28px; padding: 0 7px; font-size: 14px; border-radius: 7px; }
.glyph-keys { display: inline-flex; gap: 4px; }

/* trackpad glyph — the same language as Settings › Trackpad rows: a pad outline with finger dots */
.trackpad {
  position: relative; display: grid; place-items: center;
  width: 58px; height: 42px;
  border-radius: 9px; border: 2px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
}
.trackpad i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 8px rgba(122,176,255,.6); margin: 0 2px; }
.trackpad { display: flex; align-items: center; justify-content: center; gap: 2px; }
/* the tapping finger: a ring beside the resting dots, it taps down and back (rest N, tap beside) */
.trackpad b { display: inline-block; width: 11px; height: 11px; margin-left: 7px; border-radius: 50%; border: 2px solid var(--text); box-sizing: border-box; background: transparent; }
.is-in .trackpad b { animation: tip-tap 1.1s ease-in-out .3s 2; }
@keyframes tip-tap { 35% { transform: scale(.72); background: var(--text); } 55% { transform: none; background: transparent; } }

@media (prefers-reduced-motion: reduce) {
  .scene { transition: none; }
  .scene-line span, .scene-big, .story-mark, .stream > span, .scene--point .stream--badge .mark-badge, .scene--copy .copy-line .mark-badge, .packet-chip { opacity: 1; transform: none; animation: none !important; }
  .is-active .stream > span { animation: none; }
  .trackpad i, .trackpad b { animation: none; }
}
@media (min-width: 1101px) {
  #home .hero-proof.story { aspect-ratio: auto; min-height: 520px; }
}
@media (max-width: 900px) {
  #home .hero-proof.story { aspect-ratio: 4 / 3; }
  .scene--copy .copy-stage { grid-template-columns: 1fr; }
  .scene--copy .copy-flow { display: none; }
  .paste-stage { grid-template-columns: 1fr; }
  .paste-stage .copy-flow { display: none; }
  .cockpit-fit { height: 140px; }
}
