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

/* ============ TOKENS ============ */
:root {
  --ink: #0B0B0C;
  --ink-soft: #34343A;
  --muted: #6B6B72;
  --paper: #FFFFFF;
  --surface: #FAFAF8;
  --surface-2: #F2F2EF;
  --line: #E5E5E5;
  --line-strong: #D2D2CE;
  --amber: #FCA311;
  --amber-deep: #E89000;
  --navy: #14213D;
  --gw-bg: #0B0B0C;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html {
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.06; font-weight: 800; }

.display {
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 65ch;
}

.body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 65ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.amber-text { color: var(--amber); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  letter-spacing: -.01em;
  line-height: 1;
  text-decoration: none;
}

.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn-amber:hover { background: var(--amber); transform: translateY(-2px); box-shadow: 0 8px 24px -4px rgba(252,163,17,.55), 0 0 0 3px rgba(252,163,17,.2); }
.btn-amber:active { transform: scale(.97) translateY(0); box-shadow: none; transition-duration: .08s; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(11,11,12,.5); }
.btn-ink:active { transform: scale(.97) translateY(0); box-shadow: none; transition-duration: .08s; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost:active { transform: scale(.97) translateY(0); transition-duration: .08s; }

/* ============ NAV ============ */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

header.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.85); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.link {
  font-size: .95rem; color: var(--ink-soft); font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a.link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--amber);
  transition: right .25s var(--ease);
}
.nav-links a.link:hover { color: var(--ink); }
.nav-links a.link:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 11px 18px; font-size: .95rem; }
.nav-login { font-size: .95rem; color: var(--ink-soft); font-weight: 500; }
.nav-login:hover { color: var(--ink); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s var(--ease), opacity .15s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { padding: 140px 0 0; position: relative; }

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 72px;
}

.hero-eyebrow { margin-bottom: 26px; }
.hero-check { color: var(--amber); font-weight: 500; margin-right: 2px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .stat { color: var(--amber); white-space: nowrap; }
.hero .lead { margin-bottom: 36px; text-align: center; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-note {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.hero-note b { color: var(--ink); font-weight: 600; }

/* charge bar */
.charge {
  height: 3px; width: 0; background: var(--amber);
  margin: 0 auto 28px; border-radius: 2px; max-width: 280px;
}

/* hero visual */
.hero-visual { position: relative; margin-bottom: 0; padding-bottom: 80px; }

.hero-screen {
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(11,11,12,.2),
    0 16px 32px rgba(11,11,12,.1);
  transform: translateZ(0); /* forces GPU compositing layer — fixes Safari overflow:hidden clip */
}

/* macOS-style chrome bar */
.hero-chrome {
  background: #EBEBEB;
  border-bottom: 0.5px solid rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  padding: 10px 14px;
}

.hero-dots { display: flex; gap: 6px; }
.hero-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.hero-dots i:nth-child(1) { background: #FF5F57; }
.hero-dots i:nth-child(2) { background: #FEBC2E; }
.hero-dots i:nth-child(3) { background: #28C840; }

.hero-screen-img {
  display: block;
  width: 100%;
  height: auto;
}

.bolt-badge {
  position: absolute; z-index: 3; right: 24px; top: -28px;
  width: 62px; height: 62px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -16px rgba(11,11,12,.28);
}
.bolt-badge img { height: 36px; width: auto; animation: flicker 6s 1.2s infinite; }

@keyframes flicker {
  0%, 88%, 100%  { filter: none; opacity: 1; }
  90%            { filter: brightness(1.6); opacity: .9; }
  91%            { filter: brightness(.7);  opacity: .7; }
  92%            { filter: brightness(1.5); opacity: 1; }
  93%            { filter: brightness(.85); opacity: .85; }
  94%            { filter: brightness(1.3); opacity: 1; }
}

/* ============ PLACEHOLDERS ============ */
.ph { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }

.ph--shot .ph-chrome {
  height: 40px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; padding: 0 14px; background: var(--paper);
}

.ph-dots { display: flex; gap: 7px; }
.ph-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); display: block; }

.ph-url {
  font-family: var(--mono); font-size: .74rem; color: var(--muted);
  background: var(--surface-2); padding: 5px 12px; border-radius: 6px;
  flex: 1; max-width: 260px; text-align: center; letter-spacing: .02em;
}

.ph-body {
  aspect-ratio: 16/10; display: grid; place-items: center; position: relative;
  background: repeating-linear-gradient(135deg, transparent 0 16px, rgba(11,11,12,.022) 16px 17px);
}

.ph--photo .ph-body { aspect-ratio: 4/3; }

.ph-cap {
  font-family: var(--mono); font-size: .8rem; color: var(--muted);
  letter-spacing: .02em; text-align: center;
  padding: 14px 22px; max-width: 88%; line-height: 1.5;
}
.ph-cap::before { content: "▦  "; color: var(--line-strong); }

.ph-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px;
  background: var(--paper);
}

/* ============ SECTIONS ============ */
section { position: relative; }
.sec { padding: 104px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 { margin-bottom: 0; }

/* PROBLEM */
.problem { background: var(--navy); border-top: none; border-bottom: none; }
.problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.problem-h2 { margin-bottom: 28px; color: #fff; }
.problem-grid .copy p { margin-bottom: 20px; color: rgba(255,255,255,.68); }
.problem .pm { background: transparent; border-color: transparent; }
.problem .pm-b { background: #fff; }

/* ============ PROBLEM MEME GRAPHIC ============ */
.pm {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 12px;
  background: var(--surface);
  border: 0.5px solid var(--line);
  overflow: visible;
}

.pm-gif-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  padding-bottom: 65%;
  border-radius: 6px;
  overflow: hidden;
  z-index: 1;
}

/* Bubble wrapper — handles position + rotation */
.pm-bw { position: absolute; z-index: 2; }
.pm-bw--1 { top: 10px;    left: 8px;    transform: rotate(-2deg);   }
.pm-bw--2 { top: 10px;    right: 8px;   transform: rotate(3deg);    }
.pm-bw--3 { top: 36%;     left: 4px;    transform: rotate(-1.5deg); }
.pm-bw--4 { top: 90px;    right: 8px;   transform: rotate(-1.5deg); }
.pm-bw--5 { bottom: 10px; left: 12px;   transform: rotate(1.5deg);  }
.pm-bw--6 { bottom: 10px; right: 8px;   transform: rotate(-2.5deg); }

/* Bubble card — animated */
.pm-b {
  width: 168px;
  background: #fff;
  border: 0.5px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 9px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.18);
  opacity: 0;
  animation: pm-pop .45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-play-state: paused;
}

.pm-b--reminder { background: rgba(245,158,11,.08); }
.pm-b--task     { background: rgba(59,130,246,.08); }
.pm-b--slack    { background: rgba(124,58,237,.08); }

.pm-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pm-b--reminder .pm-label { color: #D97706; }
.pm-b--task     .pm-label { color: #2563EB; }
.pm-b--slack    .pm-label { color: #6D28D9; }

.pm-sender {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 3px;
  letter-spacing: .005em;
  color: #111;
}

.pm-msg {
  font-size: 11.5px;
  color: #444;
  line-height: 1.4;
}

/* Staggered delays — 0.8s head start for container reveal to finish */
.pm-bw--1 .pm-b { animation-delay: 0.8s;  }
.pm-bw--2 .pm-b { animation-delay: 1.25s; }
.pm-bw--3 .pm-b { animation-delay: 1.7s;  }
.pm-bw--4 .pm-b { animation-delay: 2.15s; }
.pm-bw--5 .pm-b { animation-delay: 2.6s;  }
.pm-bw--6 .pm-b { animation-delay: 3.05s; }

/* Trigger on scroll-in */
.reveal.is-in .pm-b { animation-play-state: running; }

@keyframes pm-pop {
  0%   { opacity: 0; transform: scale(.5);   }
  60%  { opacity: 1; transform: scale(1.06); }
  80%  {             transform: scale(.97);  }
  100% { opacity: 1; transform: scale(1);    }
}

@media (prefers-reduced-motion: reduce) {
  .pm-b { animation: none !important; opacity: 1 !important; }
}

.pullquote {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
  background: var(--amber);
  color: var(--ink);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 36px 0 0;
  text-wrap: balance;
}

/* HOW IT WORKS */
.steps { display: grid; gap: 28px; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr 1.15fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  width: 54px; height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: grid; place-items: center;
}

.step.you .step-num { background: var(--amber); border-color: var(--amber); }
.step-copy { align-self: center; }
.step-copy h3 { font-size: 1.5rem; margin-bottom: 12px; }

.you-tag {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
  background: var(--amber); padding: 6px 11px; border-radius: 6px; font-weight: 600;
}

/* GOOGLE WORKSPACE */
.gw { background: var(--navy); color: #fff; }
.gw .wrap { padding-top: 76px; padding-bottom: 76px; }
.gw-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.gw h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); text-wrap: balance; }
.gw p { color: rgba(255,255,255,.66); margin-top: 16px; max-width: 42em; font-size: 1.05rem; line-height: 1.6; }
.gw-chips { display: flex; gap: 12px; flex-wrap: wrap; }

.chip {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font); font-size: 1.15rem; font-weight: 500; letter-spacing: 0; color: #fff;
  border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 16px 24px; white-space: nowrap;
  background: rgba(255,255,255,.06);
}
.chip-logo {
  width: 33px; height: 33px; flex-shrink: 0;
}

/* FEATURES */
.feat-shot { margin: 56px 0 64px; }
.feat-screen {
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(11,11,12,.2),
    0 16px 32px rgba(11,11,12,.1);
}
.feat-screen-img {
  display: block;
  width: 100%;
  height: auto;
}
.ftable {}
.ftable .frow {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 26px 4px; border-bottom: 1px solid var(--line); align-items: baseline;
}
.ftable .frow .what { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; display: flex; gap: 14px; align-items: center; }
.feat-icon { width: 20px; height: 20px; flex-shrink: 0; }
.ftable .frow .means { color: var(--muted); font-size: 1.05rem; line-height: 1.5; }

.feat-foot {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
  font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: .01em;
}
.feat-foot span { display: inline-flex; align-items: center; gap: 10px; }
.feat-foot span::before { content: "✕"; color: var(--amber); font-size: .85rem; }

/* WHO IT'S FOR */
.who { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

.persona {
  padding: 36px 32px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--paper);
  display: flex; flex-direction: column;
}
.persona .pk {
  font-family: var(--mono); font-size: .88rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 20px;
}
.persona p { font-size: 1.18rem; line-height: 1.42; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }

.persona-detail {
  margin-top: 28px;
  padding-top: 20px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
  border-top: 1px solid var(--line);
}


/* WAITLIST */
.waitlist { background: var(--navy); color: #fff; padding: 112px 0; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.wl h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.2rem); text-wrap: balance; }
.wl .eyebrow { color: rgba(255,255,255,.6); margin-bottom: 22px; display: block; }
.wl p.body { color: rgba(255,255,255,.62); margin-top: 24px; font-size: 1.1rem; max-width: 30em; }

.wl-form {
  background: #fff; border-radius: 16px; padding: 36px; color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}

.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.field input, .field select {
  width: 100%; font-family: var(--font); font-size: 1.02rem; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 9px; padding: 14px 15px;
  background: var(--paper);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.field input::placeholder { color: #A6A6AC; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(252,163,17,.16);
  transform: translateY(-1px);
}

.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg button {
  font-family: var(--font); font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--line-strong); background: var(--paper);
  border-radius: 9px; padding: 12px 6px; cursor: pointer;
  transition: all .15s var(--ease);
}
.seg button:hover { border-color: var(--ink); }
.seg button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.wl-form .btn { width: 100%; justify-content: center; margin-top: 18px; padding: 16px; }
.wl-fine { margin-top: 16px; font-family: var(--mono); font-size: .74rem; color: var(--muted); text-align: center; letter-spacing: .02em; }

@keyframes spin { to { transform: rotate(360deg); } }
.btn-spin {
  width: 14px; height: 14px; flex-shrink: 0;
  border: 2px solid rgba(11,11,12,.2);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .55s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .btn-spin { animation: none; opacity: .5; } }
.wl-error { margin-top: 10px; font-size: .875rem; color: #C0271E; display: none; }

.wl-success { display: none; text-align: center; padding: 30px 10px; }
.wl-success.show { display: block; animation: pop .5s var(--ease); }

@keyframes pop {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

.wl-success .chk {
  width: 62px; height: 62px; border-radius: 50%; background: var(--amber);
  display: grid; place-items: center; margin: 0 auto 22px;
}
.wl-success .chk svg { width: 30px; height: 30px; }
.wl-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.wl-success p { color: var(--muted); }

/* FOOTER */
footer.foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.foot-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-logo { height: 30px; width: auto; }

.foot-copy {
  font-size: .875rem;
  color: var(--muted);
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.foot-links a {
  font-size: .875rem;
  color: var(--muted);
}

.foot-links a:hover { color: var(--ink); }

/* ============ ANIMATION GRAPHIC WRAPPER ============ */
/* Fixed 535×334 inner coordinate space. JS sets transform:scale() on narrow
   viewports so all pixel-positioned elements scale proportionally.
   WARNING: changing these dimensions breaks two things —
     1. translateY(-254px) in ce-toast-anim (Step 01 toast travel distance)
     2. cursor translate() coordinates in Step 03 em-cursor-anim
   Recalculate both if width/height change. */
.g-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 535px;
  height: 334px;
  transform-origin: top left;
}

/* ============ CALL ENDS GRAPHIC (Step 01) ============ */
.tg {
  border: 0.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background: var(--surface);
  font-family: var(--font);
}

/* ── Replay button (shared by .tg and .zr) ── */
.tg-replay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0.5px solid var(--amber-deep);
  background: var(--amber);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background .15s ease;
  padding: 0;
}
.tg:hover .tg-replay,
.zr:hover .tg-replay,
.em:hover .tg-replay { opacity: 1; }
.tg-replay:hover { background: var(--amber); transform: scale(1.12); box-shadow: 0 0 0 3px rgba(252,163,17,.28); }
.tg-replay:active { transform: scale(.88); }
@media (prefers-reduced-motion: reduce) { .tg-replay { display: none; } }

/* ── Meet tile (Phase 1 — fades out) ── */
.ce-meet {
  position: absolute;
  inset: 0;
  background: #202124;
  display: flex;
  flex-direction: column;
  z-index: 1;
  opacity: 0;
  animation: ce-meet-anim 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

.ce-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  padding: 12px 14px 8px;
  position: relative;
}

.ce-tile {
  background: #3C4043;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ce-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
}

.ce-tile-name {
  position: absolute;
  left: 8px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.82);
  font-size: 10px;
  letter-spacing: .01em;
}

.ce-left-call {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  animation: ce-left-call-anim 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
  pointer-events: none;
}

.ce-meet-foot {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 12px;
  flex-shrink: 0;
}

.ce-timer {
  width: 128px;
  color: rgba(255,255,255,.6);
  font-size: 10px;
  letter-spacing: .02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.ce-ctrls {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.ce-ctrl {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ce-ctrl-end {
  background: #EA4335;
  animation: ce-end-pulse 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

.ce-dots { display: inline-flex; gap: 2.5px; align-items: center; }
.ce-dots i { width: 3px; height: 3px; border-radius: 50%; background: #fff; display: block; }

/* ── Cursor ── */
.ce-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 24px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
  animation: ce-cursor-anim 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

/* ── Drive toast pill (appears at call end, floats up into Drive card) ── */
.ce-toast {
  position: absolute;
  bottom: 14px;
  left: calc(50% - 120px);
  width: 240px;
  height: 38px;
  background: rgba(255,255,255,.97);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,.32);
  opacity: 0;
  z-index: 5;
  animation: ce-toast-anim 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

/* ── Drive file card (Phase 2) ── */
.ce-drive {
  position: absolute;
  left: calc(50% - 160px);
  top: 28px;
  width: 320px;
  height: 56px;
  background: var(--paper);
  border: 0.5px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 28px rgba(20,33,61,.11);
  opacity: 0;
  z-index: 3;
  animation: ce-drive-anim 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

.ce-doc-icon {
  width: 26px;
  height: 34px;
  border-radius: 3px;
  background: #1A73E8;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.ce-doc-line {
  width: 14px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 1px;
}
.ce-doc-line--short { width: 9px; }

.ce-doc-name {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
  white-space: nowrap;
}

.ce-doc-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Amber arrow ── */
.ce-arrow-svg {
  position: absolute;
  left: calc(50% - 12px);
  top: 90px;
  width: 24px;
  height: 52px;
  z-index: 2;
  opacity: 0;
  animation: ce-arrow-fade 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

.ce-arrow-line {
  animation: ce-arrow-draw 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

.ce-arrow-head {
  animation: ce-arrowhead-in 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

/* ── Zerk summary card (Phase 2) ── */
.ce-zerk {
  position: absolute;
  left: calc(50% - 190px);
  top: 148px;
  width: 380px;
  background: var(--paper);
  border: 0.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 14px 40px rgba(20,33,61,.13);
  opacity: 0;
  z-index: 4;
  animation: ce-zerk-anim 5.5s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

.ce-zerk-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}

.ce-zlogo { height: 36px; width: auto; }

.ce-recv {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E6F4EC;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #0F5A36;
  white-space: nowrap;
}

.ce-recv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2A9D5C;
  flex-shrink: 0;
}

.ce-pulled {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.ce-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2A9D5C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ce-check svg { width: 10px; height: 10px; }

.ce-pulled-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
}

.ce-pulled-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 11px;
  padding-left: 26px;
}

.ce-hdivider {
  height: 0.5px;
  background: var(--line);
  margin: 0 -20px 11px;
}

.ce-lines { display: flex; flex-direction: column; gap: 8px; }

.ce-line {
  display: grid;
  grid-template-columns: 50px 32px 1fr;
  gap: 5px;
  align-items: baseline;
  opacity: 0;
  animation: ce-line-in .4s ease-out forwards;
  animation-play-state: paused;
}

.ce-line-1 { animation-delay: 4.8s; }
.ce-line-2 { animation-delay: 5.05s; }
.ce-line-3 { animation-delay: 5.3s; }

.ce-spk {
  font-size: .68rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .005em;
  white-space: nowrap;
}

.ce-ts {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--muted);
  letter-spacing: .01em;
}

.ce-tx {
  font-size: .68rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Trigger: run when step scrolls into view ── */
.step.is-in .ce-cursor,
.step.is-in .ce-meet,
.step.is-in .ce-left-call,
.step.is-in .ce-ctrl-end,
.step.is-in .ce-toast,
.step.is-in .ce-drive,
.step.is-in .ce-arrow-svg,
.step.is-in .ce-arrow-line,
.step.is-in .ce-arrow-head,
.step.is-in .ce-zerk,
.step.is-in .ce-line { animation-play-state: running; }

/* ── Keyframes ── */

/* Cursor: appear → glide to end-call button → click → disappear */
@keyframes ce-cursor-anim {
  0%    { opacity: 0;   transform: translate(390px, 130px) scale(1);    }
  10%   { opacity: 0;   transform: translate(390px, 130px) scale(1);    } /* appear idle */
  14%   { opacity: 1;   transform: translate(390px, 130px) scale(1);    }
  33%   { opacity: 1;   transform: translate(414px, 305px) scale(1);    } /* arrive at button */
  37%   { opacity: 1;   transform: translate(414px, 309px) scale(.78);  } /* press down */
  40%   { opacity: 1;   transform: translate(414px, 309px) scale(1);    } /* release */
  44%   { opacity: 0;   transform: translate(414px, 309px) scale(1);    } /* fade out */
  100%  { opacity: 0;   transform: translate(414px, 309px) scale(1);    }
}

/* Meet tile: fade in → hold → fade out cleanly */
@keyframes ce-meet-anim {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  42%  { opacity: 1; }
  60%  { opacity: 0; }
  100% { opacity: 0; }
}

/* "You left the call": fades in then out with the tile */
@keyframes ce-left-call-anim {
  0%, 37% { opacity: 0; }
  44%     { opacity: 1; }
  58%     { opacity: 0; }
  100%    { opacity: 0; }
}

/* End call button pulse */
@keyframes ce-end-pulse {
  0%, 18%  { box-shadow: none; }
  22%      { box-shadow: 0 0 0 5px rgba(234,67,53,.28); }
  26%      { box-shadow: none; }
  29%      { box-shadow: 0 0 0 4px rgba(234,67,53,.18); }
  33%      { box-shadow: none; }
  100%     { box-shadow: none; }
}

/*
 * Step 01 sequence (all share 5.5s duration, coordinated via % offsets):
 *   toast in → hold → float up → fade  →  drive card in  →  arrow draws  →  zerk card in
 *
 * MAGIC NUMBER: translateY(-254px) = distance from toast resting position to drive card top.
 *   Derived from: container height 334px − toast bottom offset 14px − toast height 38px
 *   = toast top edge at 282px. Drive card top: 28px. Travel = 282 − 28 = 254px upward.
 *   If .g-inner height, .ce-drive top, or .ce-toast bottom change — recalculate this value.
 */
/* Drive toast: appears at bottom, floats up and fades (morphs into Drive card) */
@keyframes ce-toast-anim {
  0%, 40%  { opacity: 0; transform: translateY(0);       }
  46%      { opacity: 1; transform: translateY(0);       }
  56%      { opacity: 1; transform: translateY(0);       }
  68%      { opacity: 1; transform: translateY(-254px);  }
  76%      { opacity: 0; transform: translateY(-254px);  }
  100%     { opacity: 0; transform: translateY(-254px);  }
}

/* Drive card: appears after toast is fully gone */
@keyframes ce-drive-anim {
  0%, 72%  { opacity: 0; transform: translateY(6px); }
  82%      { opacity: 1; transform: translateY(0);   }
  100%     { opacity: 1; transform: translateY(0);   }
}

/* Arrow container: appear after drive card */
@keyframes ce-arrow-fade {
  0%, 79%  { opacity: 0; }
  85%      { opacity: 1; }
  100%     { opacity: 1; }
}

/* Arrow line: stroke-dashoffset draw */
@keyframes ce-arrow-draw {
  0%, 79%  { stroke-dashoffset: 42; }
  90%      { stroke-dashoffset: 0;  }
  100%     { stroke-dashoffset: 0;  }
}

/* Arrowhead: appear after line draws */
@keyframes ce-arrowhead-in {
  0%, 88%  { opacity: 0; }
  94%      { opacity: 1; }
  100%     { opacity: 1; }
}

/* Zerk card: slide up + fade in after arrow */
@keyframes ce-zerk-anim {
  0%, 82%  { opacity: 0; transform: translateY(8px); }
  92%      { opacity: 1; transform: translateY(0);   }
  100%     { opacity: 1; transform: translateY(0);   }
}

/* Transcript lines: individual stagger */
@keyframes ce-line-in {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion: skip to final state immediately */
@media (prefers-reduced-motion: reduce) {
  .ce-cursor, .ce-toast, .ce-meet { display: none !important; }
  .ce-drive,
  .ce-arrow-svg,
  .ce-zerk      { animation: none !important; opacity: 1 !important; transform: translateY(0) !important; }
  .ce-arrow-line { animation: none !important; stroke-dashoffset: 0 !important; }
  .ce-arrow-head { animation: none !important; opacity: 1 !important; }
  .ce-line       { animation: none !important; opacity: 1 !important; }
}

/* ============ ZERK READS GRAPHIC (Step 02) ============ */

/* Container — identical treatment to .tg */
.zr {
  border: 0.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background: var(--surface);
  font-family: var(--font);
}

/* ── Phase 1: brief transcript scan ── */
.zr-scan {
  position: absolute;
  left: calc(50% - 185px);
  top: 20px;
  width: 370px;
  background: var(--paper);
  border: 0.5px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(20,33,61,.09);
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  animation: zr-scan-out .4s ease-out forwards;
  animation-play-state: paused;
  animation-delay: 1.2s;
}

.zr-scan-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 10px;
  flex-shrink: 0;
}
.zr-scan-icon {
  width: 24px; height: 30px;
  background: var(--paper);
  border: 0.5px solid var(--line);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 4px;
}
.zr-scan-icon-line { height: 2px; background: var(--muted); border-radius: 1px; opacity: .5; }
.zr-scan-icon-line--s { width: 55%; }
.zr-scan-hd-name { display: block; font-size: .66rem; font-weight: 500; color: var(--ink); }
.zr-scan-hd-sub  { display: block; font-size: .58rem; color: var(--muted); margin-top: 1px; }
.zr-scan-div { height: 0.5px; background: var(--line); margin: 0; flex-shrink: 0; }

.zr-scanbar {
  position: absolute;
  left: 0; right: 0;
  top: -32px;
  height: 32px;
  background: linear-gradient(180deg, rgba(252,163,17,0) 0%, rgba(252,163,17,.1) 50%, rgba(252,163,17,0) 100%);
  border-bottom: 1px solid rgba(252,163,17,.28);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  animation: zr-scanbar-move 1.15s cubic-bezier(.2,.7,.2,1) forwards;
  animation-play-state: paused;
}

.zr-tl {
  display: grid;
  grid-template-columns: 48px 28px 1fr;
  gap: 4px;
  align-items: baseline;
  padding: 9px 20px;
  position: relative;
}

.zr-tl-spk { font-size: .64rem; font-weight: 500; color: var(--ink); }
.zr-tl-ts  { font-family: var(--mono); font-size: .58rem; color: var(--muted); }
.zr-tl-tx  { font-size: .64rem; color: var(--ink-soft); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.zr-tl--1 { animation: zr-tl-flash .42s ease-out forwards; animation-play-state: paused; animation-delay: .1s; }
.zr-tl--2 { animation: zr-tl-flash .42s ease-out forwards; animation-play-state: paused; animation-delay: .36s; }
.zr-tl--3 { animation: zr-tl-flash .42s ease-out forwards; animation-play-state: paused; animation-delay: .62s; }
.zr-tl--4 { animation: zr-tl-flash .42s ease-out forwards; animation-play-state: paused; animation-delay: .88s; }

/* ── Toast: floats up, morphs into card ── */
.zr-toast {
  position: absolute;
  bottom: 14px;
  left: calc(50% - 104px);
  width: 208px;
  height: 36px;
  background: rgba(255,255,255,.97);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,.22);
  opacity: 0;
  z-index: 5;
  animation: zr-toast-float 1.4s cubic-bezier(.2,.7,.2,1) forwards;
  animation-play-state: paused;
  animation-delay: 1.35s;
}

.zr-toast-bolt { height: 14px; width: auto; }

/* ── Phase 2: card floating on surface bg (same as .ce-zerk in Step 01) ── */
.zr-card {
  position: absolute;
  left: calc(50% - 185px);
  top: 46px;
  width: 370px;
  background: var(--paper);
  border: 0.5px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(20,33,61,.13);
  opacity: 0;
  z-index: 4;
  animation: zr-card-in .5s cubic-bezier(.2,.7,.2,1) forwards;
  animation-play-state: paused;
  animation-delay: 2.35s;
}

.zr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 11px;
}

.zr-clogo { height: 36px; width: auto; }

.zr-cbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(252,163,17,.1);
  border: 0.5px solid rgba(252,163,17,.28);
  border-radius: 999px;
  padding: 4px 10px;
  animation: zr-badge-flip .35s ease-out forwards;
  animation-play-state: paused;
  animation-delay: 7.7s;
}

.zr-cbdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  animation: zr-dot-pulse 1.1s ease-in-out infinite;
  animation-play-state: paused;
}

.zr-cbi {
  position: relative;
  font-family: var(--mono);
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.zr-cb-a {
  display: block;
  color: #92620A;
  animation: zr-fade-out .3s ease-out forwards;
  animation-play-state: paused;
  animation-delay: 7.7s;
}

.zr-cb-d {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  color: #0F5A36;
  opacity: 0;
  animation: zr-fade-in .3s ease-out forwards;
  animation-play-state: paused;
  animation-delay: 7.7s;
}

.zr-card-div { height: 0.5px; background: var(--line); margin: 0 16px; }
.zr-card-body { padding: 2px 0; }

.zr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 0.5px solid var(--line);
  min-height: 40px;
}
.zr-row:last-child { border-bottom: none; }

.zr-lbl {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  width: 72px;
  flex-shrink: 0;
}

.zr-chg { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }

.zr-old {
  position: relative;
  display: inline-block;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: -.01em;
  white-space: nowrap;
  opacity: 0;
  animation: zr-fade-in .28s ease-out forwards;
  animation-play-state: paused;
}

.zr-st {
  position: absolute;
  left: 0; top: 50%;
  height: 1.5px;
  width: 0;
  background: var(--ink-soft);
  transform: translateY(-50%);
  border-radius: 1px;
  animation: zr-strike-draw .4s cubic-bezier(.2,.7,.2,1) forwards;
  animation-play-state: paused;
}

.zr-arr {
  font-size: .75rem;
  color: var(--muted);
  flex-shrink: 0;
  opacity: 0;
  animation: zr-fade-in .2s ease-out forwards;
  animation-play-state: paused;
}

.zr-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  opacity: 0;
  animation: zr-pill-pop .5s cubic-bezier(.34,1.56,.64,1) forwards;
  animation-play-state: paused;
}

.zr-pill--amber  { background: var(--amber); color: var(--ink); }
.zr-pill--green  { background: #16A34A;       color: #fff; }
.zr-pill--blue   { background: #2563EB;       color: #fff; }
.zr-pill--purple { background: #7C3AED;       color: #fff; }

/* Row delays — card lands at ~2.6s, first row starts at 3.0s */
.zr-old--1  { animation-delay: 3.0s; }
.zr-st--1   { animation-delay: 3.45s; }
.zr-arr--1  { animation-delay: 3.85s; }
.zr-pill--1 { animation-delay: 4.0s; }

.zr-old--2  { animation-delay: 4.5s; }
.zr-st--2   { animation-delay: 4.95s; }
.zr-arr--2  { animation-delay: 5.35s; }
.zr-pill--2 { animation-delay: 5.5s; }

.zr-old--3  { animation-delay: 6.0s; }
.zr-st--3   { animation-delay: 6.45s; }
.zr-arr--3  { animation-delay: 6.85s; }
.zr-pill--3 { animation-delay: 7.0s; }

.zr-old--4  { animation-delay: 7.5s; }
.zr-arr--4  { animation-delay: 7.65s; }
.zr-pill--4 { animation-delay: 7.78s; }

/* Triggers */
.step.is-in .zr-scan,
.step.is-in .zr-scanbar,
.step.is-in .zr-tl--1,
.step.is-in .zr-tl--2,
.step.is-in .zr-tl--3,
.step.is-in .zr-tl--4  { animation-play-state: running; }

.step.is-in .zr-toast  { animation-play-state: running; }

.step.is-in .zr-card,
.step.is-in .zr-cbdot,
.step.is-in .zr-cbadge,
.step.is-in .zr-cb-a,
.step.is-in .zr-cb-d,
.step.is-in .zr-old,
.step.is-in .zr-st,
.step.is-in .zr-arr,
.step.is-in .zr-pill   { animation-play-state: running; }

/* Keyframes */
@keyframes zr-scan-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes zr-scanbar-move {
  0%   { opacity: 0; top: -32px; }
  8%   { opacity: 1; top: 0; }
  88%  { opacity: 1; top: calc(100% - 32px); }
  100% { opacity: 0; top: calc(100% - 32px); }
}

@keyframes zr-tl-flash {
  0%   { background: rgba(252,163,17,0); }
  35%  { background: rgba(252,163,17,.13); }
  100% { background: rgba(252,163,17,0); }
}

@keyframes zr-toast-float {
  0%   { opacity: 0; transform: translateY(0); }
  12%  { opacity: 1; transform: translateY(0); }
  68%  { opacity: 1; transform: translateY(-216px); }
  100% { opacity: 0; transform: translateY(-216px); }
}

@keyframes zr-card-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes zr-badge-flip {
  from { background: rgba(252,163,17,.1);  border-color: rgba(252,163,17,.28); }
  to   { background: rgba(22,163,74,.1);   border-color: rgba(22,163,74,.28); }
}

@keyframes zr-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes zr-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes zr-strike-draw {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes zr-pill-pop {
  0%   { opacity: 0; transform: scale(.52); }
  60%  { opacity: 1; transform: scale(1.08); }
  80%  {             transform: scale(.97); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes zr-dot-pulse {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .3; transform: scale(.6); }
}

/* Reduced motion: skip to final state */
@media (prefers-reduced-motion: reduce) {
  .zr-scan  { display: none !important; }
  .zr-toast { display: none !important; }
  .zr-card  { animation: none !important; opacity: 1 !important; transform: none !important; }
  .zr-cbdot { animation: none !important; }
  .zr-cbadge { animation: none !important; background: rgba(22,163,74,.1) !important; border-color: rgba(22,163,74,.28) !important; }
  .zr-cb-a  { animation: none !important; opacity: 0 !important; }
  .zr-cb-d  { animation: none !important; opacity: 1 !important; }
  .zr-old   { animation: none !important; opacity: 1 !important; }
  .zr-st    { animation: none !important; width: 100% !important; }
  .zr-arr   { animation: none !important; opacity: 1 !important; }
  .zr-pill  { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============ STEP 03 — EMAIL + ACTIONS GRAPHIC ============ */

.em {
  border: 0.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background: var(--surface);
  font-family: var(--font);
}

/* ── Cursor ── */
.em-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 24px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
  animation: em-cursor-anim 4s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

/* ── Phase 1: email draft card ── */
.em-card {
  position: absolute;
  left: calc(50% - 160px);
  top: 20px;
  width: 320px;
  background: var(--paper);
  border: 0.5px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(20,33,61,.12);
  opacity: 0;
  z-index: 4;
  animation:
    em-card-in .5s cubic-bezier(.2,.7,.2,1) 0s forwards,
    em-card-out .35s ease-in 3.3s forwards;
  animation-play-state: paused;
}

.em-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
}

.em-clogo { height: 32px; width: auto; }

.em-cbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(252,163,17,.1);
  border: 0.5px solid rgba(252,163,17,.28);
  border-radius: 999px;
  padding: 4px 10px;
}

.em-cbdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  animation: zr-dot-pulse 1.1s ease-in-out infinite;
  animation-play-state: paused;
}

.em-cbi {
  font-family: var(--mono);
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #92620A;
}

.em-div { height: 0.5px; background: var(--line); margin: 0; }

.em-fields { padding: 2px 0; }

.em-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 7px 14px;
  border-bottom: 0.5px solid var(--line);
}

.em-field:last-child { border-bottom: none; }

.em-lbl {
  font-size: .58rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.em-val {
  font-size: .66rem;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.em-val--sub { color: var(--ink-soft); font-weight: 400; }

.em-preview {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.em-pl {
  font-size: .65rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}

.em-pl--sig { color: var(--muted); margin-top: 2px; }

.em-send-row {
  padding: 9px 14px 12px;
  display: flex;
  justify-content: flex-end;
}

.em-send-btn {
  background: var(--amber);
  color: var(--ink);
  border: none;
  border-radius: 4px;
  font-size: .66rem;
  font-weight: 500;
  padding: 7px 14px;
  cursor: default;
  font-family: var(--font);
  animation: em-btn-pulse .55s ease-out 2.9s forwards;
  animation-play-state: paused;
}

/* ── Toast ── */
.em-toast {
  position: absolute;
  bottom: 14px;
  left: calc(50% - 104px);
  width: 208px;
  height: 36px;
  background: rgba(255,255,255,.97);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,.22);
  opacity: 0;
  z-index: 5;
  animation: em-toast-float 1.5s cubic-bezier(.2,.7,.2,1) 3.5s forwards;
  animation-play-state: paused;
}

.em-toast svg { color: #16A34A; flex-shrink: 0; }

/* ── Action items card ── */
.em-actions {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -210px;
  width: 420px;
  background: var(--paper);
  border: 0.5px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(20,33,61,.12);
  opacity: 0;
  z-index: 3;
  animation: em-actions-in .5s cubic-bezier(.2,.7,.2,1) 4.8s forwards;
  animation-play-state: paused;
}

.em-actions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.em-abadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(252,163,17,.1);
  border: 0.5px solid rgba(252,163,17,.28);
  border-radius: 999px;
  padding: 4px 10px;
  animation: em-badge-flip .35s ease-out 7.0s forwards;
  animation-play-state: paused;
}

.em-abdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  animation: zr-dot-pulse 1.1s ease-in-out 4.8s infinite;
  animation-play-state: paused;
}

.em-abwrap {
  position: relative;
  font-family: var(--mono);
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.em-ab-saving {
  display: block;
  color: #92620A;
  animation: zr-fade-out .3s ease-out 7.0s forwards;
  animation-play-state: paused;
}

.em-ab-saved {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  color: #0F5A36;
  opacity: 0;
  animation: zr-fade-in .3s ease-out 7.0s forwards;
  animation-play-state: paused;
}

.em-ai-heading {
  padding: 12px 16px 6px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
}

.em-ai-list { padding: 2px 0; }

.em-ai {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--line);
  opacity: 0;
}

.em-ai:last-child { border-bottom: none; }

.em-ai-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
  margin-top: 5px;
}

.em-ai-tx {
  font-size: .67rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.em-ai--1 { animation: em-ai-in .35s ease-out 5.3s forwards; animation-play-state: paused; }
.em-ai--2 { animation: em-ai-in .35s ease-out 5.8s forwards; animation-play-state: paused; }
.em-ai--3 { animation: em-ai-in .35s ease-out 6.3s forwards; animation-play-state: paused; }

/* ── is-in triggers ── */
.step.is-in .em-cursor   { animation-play-state: running; }

.step.is-in .em-card,
.step.is-in .em-send-btn,
.step.is-in .em-cbdot    { animation-play-state: running; }

.step.is-in .em-toast    { animation-play-state: running; }

.step.is-in .em-actions,
.step.is-in .em-abadge,
.step.is-in .em-abdot,
.step.is-in .em-ab-saving,
.step.is-in .em-ab-saved,
.step.is-in .em-ai--1,
.step.is-in .em-ai--2,
.step.is-in .em-ai--3    { animation-play-state: running; }

/* ── Keyframes ── */
@keyframes em-cursor-anim {
  0%    { opacity: 0; transform: translate(220px, 95px)  scale(1);   }
  28%   { opacity: 0; transform: translate(220px, 95px)  scale(1);   }
  35%   { opacity: 1; transform: translate(220px, 95px)  scale(1);   }
  62%   { opacity: 1; transform: translate(362px, 268px) scale(1);   }
  68%   { opacity: 1; transform: translate(362px, 268px) scale(1);   }
  73%   { opacity: 1; transform: translate(362px, 272px) scale(.76); }
  78%   { opacity: 1; transform: translate(362px, 268px) scale(1);   }
  83%   { opacity: 0; transform: translate(362px, 268px) scale(1);   }
  100%  { opacity: 0; transform: translate(362px, 268px) scale(1);   }
}

@keyframes em-card-in {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes em-card-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-4px); }
}

@keyframes em-btn-pulse {
  0%   { box-shadow: none; }
  40%  { box-shadow: 0 0 0 4px rgba(252,163,17,.28); }
  100% { box-shadow: none; }
}

@keyframes em-toast-float {
  0%   { opacity: 0; transform: translateY(0); }
  12%  { opacity: 1; transform: translateY(0); }
  68%  { opacity: 1; transform: translateY(-200px); }
  100% { opacity: 0; transform: translateY(-200px); }
}

@keyframes em-actions-in {
  from { opacity: 0; transform: translateY(calc(-50% + 10px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

@keyframes em-ai-in {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes em-badge-flip {
  from { background: rgba(252,163,17,.1); border-color: rgba(252,163,17,.28); }
  to   { background: rgba(22,163,74,.1);  border-color: rgba(22,163,74,.28); }
}

/* Reduced motion: skip to final state */
@media (prefers-reduced-motion: reduce) {
  .em-cursor { display: none !important; }
  .em-card  { display: none !important; }
  .em-toast { display: none !important; }
  .em-actions  { animation: none !important; opacity: 1 !important; transform: none !important; }
  .em-abadge   { animation: none !important; background: rgba(22,163,74,.1) !important; border-color: rgba(22,163,74,.28) !important; }
  .em-abdot    { animation: none !important; }
  .em-ab-saving { animation: none !important; opacity: 0 !important; }
  .em-ab-saved  { animation: none !important; opacity: 1 !important; }
  .em-ai { animation: none !important; opacity: 1 !important; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal { transition: opacity .55s cubic-bezier(0.16, 1, 0.3, 1), transform .55s cubic-bezier(0.16, 1, 0.3, 1); }
.anim .reveal { opacity: 0; transform: translateY(20px) scale(0.99); }
.anim .reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

/* Feature table row cascade */
.ftable .frow.reveal:nth-child(2) { transition-delay: .06s; }
.ftable .frow.reveal:nth-child(3) { transition-delay: .12s; }
.ftable .frow.reveal:nth-child(4) { transition-delay: .18s; }
.ftable .frow.reveal:nth-child(5) { transition-delay: .24s; }

/* Hero load animation */
.hero .load { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.anim .hero .load { opacity: 0; transform: translateY(28px); }
.anim .hero.ready .load { opacity: 1; transform: none; }
.hero.ready .load.l1 { transition-delay: .05s; }
.hero.ready .load.l2 { transition-delay: .16s; }
.hero.ready .load.l3 { transition-delay: .27s; }
.hero.ready .load.l4 { transition-delay: .38s; }
.hero.ready .load.l5 { transition-delay: .5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .problem-grid, .gw-grid, .wl-grid { grid-template-columns: 1fr; gap: 44px; }
  .step { grid-template-columns: 54px 1fr; gap: 20px; }
  .step .ph { grid-column: 1/-1; margin-top: 6px; }
  .step .tg { grid-column: 1/-1; margin-top: 6px; }
  .step .zr { grid-column: 1/-1; margin-top: 6px; }
  .step .em { grid-column: 1/-1; margin-top: 6px; }
  .personas { grid-template-columns: 1fr; }
  .ftable .frow { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual .navyblock { left: 30px; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links a.link { padding: 13px 24px; font-size: 1rem; }
  .nav-links a.link::after { display: none; }
  .hero { padding: 120px 0 0; }
  .sec { padding: 72px 0; }
  .gw .wrap { padding-top: 52px; padding-bottom: 52px; }
  .ftable .frow .means { font-size: 1rem; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .foot-inner { height: auto; padding: 20px 0; flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-links { flex-wrap: wrap; gap: 16px 20px; }
}

@media (max-width: 640px) {
  .pm-b { width: 140px; }
  .wl-form { padding: 24px; }

  /* Thinner chrome bar on mobile */
  .hero-chrome { padding: 6px 10px; }
  .hero-dots { gap: 5px; }
  .hero-dots i { width: 9px; height: 9px; }

  /* Crop screenshot to summary area so it's legible, not micro-copy */
  .hero-screen-img {
    height: 260px;
    object-fit: cover;
    object-position: center 8%;
  }
}

@media print {
  .anim .reveal, .anim .hero .load { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal, .hero .load { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Summary page animation (.sv) ────────────────────────────────────────── */

.sv {
  border: 0.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #F7F7F5;
  font-family: var(--font);
  font-size: 10px;
  color: #0d0d0d;
}

/* Browser chrome */
.sv-chrome {
  height: 28px;
  background: #e8e8e6;
  border-bottom: 0.5px solid rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  flex-shrink: 0;
}
.sv-chrome .sv-dots { display: flex; gap: 5px; }
.sv-chrome .sv-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.18); display: block; }
.sv-url {
  font-size: 9px;
  color: rgba(0,0,0,.4);
  font-family: var(--mono);
  background: rgba(255,255,255,.7);
  border-radius: 4px;
  padding: 2px 10px;
  letter-spacing: .02em;
}

/* Page container — fills remaining space below chrome */
.sv-page {
  position: absolute;
  top: 28px;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Sticky header ── */
.sv-hdr {
  background: #fff;
  border-bottom: 0.5px solid rgba(0,0,0,.08);
  padding: 6px 14px 8px;
  flex-shrink: 0;
}
.sv-back {
  font-size: 8px;
  color: rgba(0,0,0,.35);
  margin-bottom: 4px;
}
.sv-hdr-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.sv-hdr-eyebrow {
  font-size: 8px;
  color: rgba(0,0,0,.4);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sv-stage {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  color: rgba(0,0,0,.5);
  border: 0.5px solid rgba(0,0,0,.2);
  border-radius: 3px;
  padding: 1px 4px;
}
.sv-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.sv-co { color: rgba(0,0,0,.35); font-weight: 400; }
.sv-meta {
  font-size: 8px;
  color: rgba(0,0,0,.38);
  font-family: var(--mono);
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.sv-badge {
  font-size: 8px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 999px;
}
.sv-badge--high { background: #dcfce7; color: #15803d; }
.sv-badge--pos  { background: #dcfce7; color: #15803d; }

/* Header action buttons */
.sv-hdr-right {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding-bottom: 2px;
}
.sv-btn-ghost {
  height: 22px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(0,0,0,.15);
  border-radius: 4px;
  background: #fff;
  color: rgba(0,0,0,.4);
  cursor: default;
}
.sv-send {
  height: 22px;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 500;
  font-family: var(--font);
  border: 0.5px solid rgba(0,0,0,.2);
  border-radius: 4px;
  background: #fff;
  color: rgba(0,0,0,.7);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
  min-width: 88px;
  animation: sv-send-anim 12s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}
.sv-send-idle,
.sv-send-spin,
.sv-send-done {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 0; right: 0;
  justify-content: center;
}
.sv-send-idle  { opacity: 1; }
.sv-send-spin  { opacity: 0; }
.sv-send-done  { opacity: 0; }

.sv-send-idle  { animation: sv-idle-hide  12s cubic-bezier(.2,0,0,1) forwards; animation-play-state: paused; }
.sv-send-spin  { animation: sv-spin-show  12s cubic-bezier(.2,0,0,1) forwards; animation-play-state: paused; }
.sv-send-done  { animation: sv-done-show  12s cubic-bezier(.2,0,0,1) forwards; animation-play-state: paused; }

.sv-spin { animation: sv-rotate .8s linear infinite; }

.sv-save {
  height: 22px;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 500;
  font-family: var(--font);
  border: none;
  border-radius: 4px;
  background: #0d0d0d;
  color: #fff;
  cursor: default;
  animation: sv-save-anim 12s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

/* ── AI Summary band ── */
.sv-sum {
  background: #fff;
  border-bottom: 0.5px solid rgba(0,0,0,.08);
  border-left: 2.5px solid #FCA311;
  padding: 6px 10px 6px 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-shrink: 0;
}
.sv-sum-lbl {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b87d00;
  flex-shrink: 0;
  margin-top: 1px;
}
.sv-sum-tx {
  font-size: 9px;
  color: rgba(0,0,0,.55);
  line-height: 1.55;
}

/* ── Scrollable body ── */
.sv-body {
  flex: 1;
  overflow: hidden;
  padding: 8px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: sv-scroll 12s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

/* ── Accordion shell ── */
.sv-acc {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,.1);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.sv-acc-hdr {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
}
.sv-acc-hdr--open { border-bottom: 0.5px solid rgba(0,0,0,.07); }
.sv-chev {
  color: rgba(0,0,0,.25);
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform .2s;
}
.sv-chev--open { transform: rotate(90deg); }
.sv-chev--actions {
  animation: sv-chev-open 12s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}
.sv-acc-icon {
  width: 18px; height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  background: rgba(0,0,0,.05);
  border: 0.5px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.4);
}
.sv-acc-icon--on {
  background: rgba(252,163,17,.12);
  border-color: rgba(252,163,17,.4);
  color: #b87d00;
}
.sv-acc-icon--actions {
  animation: sv-icon-activate 12s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}
.sv-acc-title {
  flex: 1;
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(0,0,0,.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-acc-pill {
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(0,0,0,.35);
  background: rgba(0,0,0,.05);
  border: 0.5px solid rgba(0,0,0,.1);
  border-radius: 999px;
  padding: 1px 6px;
  flex-shrink: 0;
}

/* ── Email body ── */
.sv-acc-body { padding: 8px 10px 10px; }
.sv-email-hdr {
  border: 0.5px solid rgba(0,0,0,.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}
.sv-email-row {
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  font-size: 8.5px;
  border-bottom: 0.5px solid rgba(0,0,0,.07);
  align-items: baseline;
}
.sv-email-row:last-child { border-bottom: none; }
.sv-lbl {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.3);
  width: 36px;
  flex-shrink: 0;
}
.sv-subject { font-weight: 500; font-size: 9px; }
.sv-email-body {
  font-size: 8.5px;
  color: rgba(0,0,0,.55);
  line-height: 1.55;
  padding: 6px 8px;
  background: rgba(0,0,0,.02);
  border: 0.5px solid rgba(0,0,0,.08);
  border-radius: 6px;
}
.sv-email-body p { margin: 0 0 3px; }
.sv-email-body p:last-child { margin-bottom: 0; }
.sv-sig { color: rgba(0,0,0,.35); }

/* ── Lead card body ── */
.sv-diff {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: rgba(0,0,0,.02);
  border: 0.5px solid rgba(0,0,0,.08);
  border-radius: 6px;
  margin-bottom: 8px;
}
.sv-diff-from {
  font-size: 9px;
  color: rgba(0,0,0,.4);
  background: rgba(0,0,0,.06);
  padding: 2px 7px;
  border-radius: 4px;
  text-decoration: line-through;
}
.sv-diff-arrow { color: rgba(0,0,0,.3); font-size: 9px; }
.sv-diff-to {
  font-size: 9px;
  font-weight: 500;
  color: #b87d00;
  background: rgba(252,163,17,.12);
  border: 0.5px solid #FCA311;
  padding: 2px 7px;
  border-radius: 4px;
}
.sv-diff-ctrls { display: flex; gap: 4px; margin-left: auto; }
.sv-ctrl {
  font-size: 8px;
  font-family: var(--font);
  padding: 2px 8px;
  border-radius: 4px;
  border: 0.5px solid rgba(0,0,0,.15);
  background: #fff;
  color: rgba(0,0,0,.5);
  cursor: default;
}
.sv-ctrl--on {
  background: #0d0d0d;
  color: #fff;
  border-color: #0d0d0d;
}
.sv-objs { display: flex; flex-direction: column; gap: 4px; }
.sv-obj {
  border: 0.5px solid rgba(0,0,0,.08);
  border-left: 2px solid #f59e0b;
  border-radius: 5px;
  padding: 5px 8px;
}
.sv-obj-type {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 2px;
}
.sv-obj-tx { font-size: 8px; color: rgba(0,0,0,.6); line-height: 1.4; }

/* ── Calendar row (closed) ── */
.sv-acc-hdr--actions {
  animation: sv-hdr-actions 12s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

/* ── Action items body ── */
.sv-acc-body--actions {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  animation: sv-actions-open 12s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}
.sv-ai {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(0,0,0,.07);
  opacity: 0;
}
.sv-ai:last-child { border-bottom: none; }
.sv-ai-tx { font-size: 8.5px; font-weight: 500; color: rgba(0,0,0,.8); line-height: 1.35; }
.sv-ai-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.sv-ai-due {
  font-size: 7.5px;
  color: rgba(0,0,0,.35);
  font-family: var(--mono);
}
.sv-ai-owner {
  font-size: 7px;
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(0,0,0,.3);
}
.sv-ai--1 { animation: sv-ai-in 12s cubic-bezier(.2,0,0,1) forwards; animation-play-state: paused; }
.sv-ai--2 { animation: sv-ai-in 12s cubic-bezier(.2,0,0,1) forwards; animation-delay: .5s; animation-play-state: paused; }
.sv-ai--3 { animation: sv-ai-in 12s cubic-bezier(.2,0,0,1) forwards; animation-delay: 1s; animation-play-state: paused; }
.sv-ai--4 { animation: sv-ai-in 12s cubic-bezier(.2,0,0,1) forwards; animation-delay: 1.5s; animation-play-state: paused; }

/* ── Cursor ── */
.sv-cursor {
  position: absolute;
  width: 14px;
  height: 18px;
  pointer-events: none;
  z-index: 20;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
  animation: sv-cursor-anim 12s cubic-bezier(.2,0,0,1) forwards;
  animation-play-state: paused;
}

/* ── Trigger animations when sv has is-in ── */
.sv.is-in .sv-body,
.sv.is-in .sv-send,
.sv.is-in .sv-send-idle,
.sv.is-in .sv-send-spin,
.sv.is-in .sv-send-done,
.sv.is-in .sv-save,
.sv.is-in .sv-cursor,
.sv.is-in .sv-chev--actions,
.sv.is-in .sv-acc-icon--actions,
.sv.is-in .sv-acc-hdr--actions,
.sv.is-in .sv-acc-body--actions,
.sv.is-in .sv-ai--1,
.sv.is-in .sv-ai--2,
.sv.is-in .sv-ai--3,
.sv.is-in .sv-ai--4 { animation-play-state: running; }

/* ── Keyframes ── */

/* Body scroll: holds, then scrolls down to reveal action items */
@keyframes sv-scroll {
  0%   { transform: translateY(0); }
  24%  { transform: translateY(0); }    /* 2.9s — hold */
  38%  { transform: translateY(-96px); } /* 4.6s — scrolled */
  100% { transform: translateY(-96px); }
}

/* Action items body expands */
@keyframes sv-actions-open {
  0%   { max-height: 0; padding-top: 0; padding-bottom: 0; }
  35%  { max-height: 0; padding-top: 0; padding-bottom: 0; }
  42%  { max-height: 200px; padding-top: 4px; padding-bottom: 8px; }
  100% { max-height: 200px; padding-top: 4px; padding-bottom: 8px; }
}

/* Chevron rotates to open */
@keyframes sv-chev-open {
  0%   { transform: rotate(0deg); }
  35%  { transform: rotate(0deg); }
  40%  { transform: rotate(90deg); }
  100% { transform: rotate(90deg); }
}

/* Actions header gets open style */
@keyframes sv-hdr-actions {
  0%   { border-bottom: 0.5px solid transparent; }
  40%  { border-bottom: 0.5px solid transparent; }
  41%  { border-bottom: 0.5px solid rgba(0,0,0,.07); }
  100% { border-bottom: 0.5px solid rgba(0,0,0,.07); }
}

/* Icon activates */
@keyframes sv-icon-activate {
  0%   { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.08); color: rgba(0,0,0,.4); }
  38%  { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.08); color: rgba(0,0,0,.4); }
  42%  { background: rgba(252,163,17,.12); border-color: rgba(252,163,17,.4); color: #b87d00; }
  100% { background: rgba(252,163,17,.12); border-color: rgba(252,163,17,.4); color: #b87d00; }
}

/* Action items stagger in — each has a different animation-delay */
@keyframes sv-ai-in {
  0%   { opacity: 0; transform: translateY(4px); }
  39%  { opacity: 0; transform: translateY(4px); }
  44%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Send button: idle → click pulse → sending → sent */
@keyframes sv-send-anim {
  0%   { transform: scale(1); background: #fff; color: rgba(0,0,0,.7); border-color: rgba(0,0,0,.2); }
  68%  { transform: scale(1); }            /* 8.16s — cursor arrives */
  70%  { transform: scale(.92); }          /* 8.4s — click press */
  71%  { transform: scale(1); }            /* 8.52s — release */
  72%  { background: rgba(0,0,0,.06); }    /* sending... */
  81%  { background: #dcfce7; color: #15803d; border-color: #86efac; } /* 9.72s — sent */
  100% { background: #dcfce7; color: #15803d; border-color: #86efac; }
}

/* Save button: normal → click at the end */
@keyframes sv-save-anim {
  0%   { transform: scale(1); }
  88%  { transform: scale(1); }
  90%  { transform: scale(.93); }
  92%  { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Send label states */
@keyframes sv-idle-hide {
  0%   { opacity: 1; }
  70%  { opacity: 1; }
  72%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes sv-spin-show {
  0%   { opacity: 0; }
  72%  { opacity: 0; }
  73%  { opacity: 1; }
  80%  { opacity: 1; }
  81%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes sv-done-show {
  0%   { opacity: 0; }
  80%  { opacity: 0; }
  81%  { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes sv-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Cursor: starts off-screen, moves to Send button, then Save */
@keyframes sv-cursor-anim {
  0%   { left: 120%; top: 50%; opacity: 0; }
  63%  { left: 120%; top: 50%; opacity: 0; }  /* 7.6s — invisible */
  66%  { left: 120%; top: 13%; opacity: 1; }  /* 7.9s — appear right side */
  69%  { left: 74%;  top: 13%; opacity: 1; }  /* 8.3s — slide to Send */
  72%  { left: 74%;  top: 13%; opacity: 1; }  /* hold at Send for click */
  85%  { left: 74%;  top: 13%; opacity: 1; }  /* 10.2s — hold */
  88%  { left: 88%;  top: 13%; opacity: 1; }  /* 10.56s — slide to Save */
  91%  { left: 88%;  top: 13%; opacity: 1; }  /* hold at Save */
  96%  { left: 88%;  top: 13%; opacity: 1; }
  99%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .sv-cursor { display: none !important; }
  .sv.is-in .sv-body { transform: translateY(-96px); }
  .sv.is-in .sv-acc-body--actions { max-height: 200px; padding-top: 4px; padding-bottom: 8px; }
  .sv.is-in .sv-chev--actions { transform: rotate(90deg); }
  .sv.is-in .sv-ai--1,
  .sv.is-in .sv-ai--2,
  .sv.is-in .sv-ai--3,
  .sv.is-in .sv-ai--4 { opacity: 1; transform: none; }
  .sv.is-in .sv-send { background: #dcfce7; color: #15803d; border-color: #86efac; }
  .sv.is-in .sv-send-idle { opacity: 0; }
  .sv.is-in .sv-send-done { opacity: 1; }
}

/* Fieldset reset for team-size group */
fieldset.field { border: none; padding: 0; margin: 0; }
fieldset.field legend {
  display: block; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 9px; padding: 0;
}

/* ============================================================
   ASTRO MIGRATION ADDITIONS
   Nav wordmark (live text),
   h3 tag tweaks, and consolidated policy-page styles.
   ============================================================ */

/* --- Nav wordmark: bolt icon + live "Zerk CRM" text --- */
.brand { gap: 9px; }
.brand img.brand-icon { height: 34px; width: auto; object-fit: contain; }
.brand-word {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--ink); line-height: 1;
}

/* --- h3 tag on feature/persona labels (was div) --- */
.persona h3.pk { line-height: 1.25; }
.ftable .frow h3.what { line-height: 1.2; }

/* ============ POLICY PAGES (about / privacy / terms) ============ */
.policy-wrap { max-width: 680px; margin: 0 auto; padding: 120px 32px 80px; }
.policy-wrap h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.policy-wrap .updated { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-bottom: 48px; display: block; }
.policy-wrap h2 { font-size: 1.1rem; font-weight: 700; margin: 36px 0 10px; letter-spacing: -.01em; }
.policy-wrap h3 { font-size: .95rem; font-weight: 700; margin: 24px 0 8px; letter-spacing: -.01em; }
.policy-wrap p { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; max-width: 65ch; }
.policy-wrap ul { margin: 0 0 14px 20px; }
.policy-wrap li { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 6px; }
.policy-wrap a { color: var(--amber); }
.policy-wrap a:hover { text-decoration: underline; }
.scope-table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: .9rem; }
.scope-table th { text-align: left; font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--ink-soft); }
.scope-table td { padding: 10px 12px; border-bottom: 1px solid rgba(128,128,128,.25); color: var(--ink-soft); line-height: 1.6; vertical-align: top; }
.scope-table code { font-family: var(--mono); font-size: .8rem; white-space: nowrap; }
@media (max-width: 560px) { .scope-table code { white-space: normal; word-break: break-all; } }
