@font-face { font-family: "BDO Grotesk"; src: url("fonts/BDOGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("fonts/BDOGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("fonts/BDOGrotesk-DemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bauziet"; src: url("fonts/Bauziet-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bauziet"; src: url("fonts/Bauziet-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #171717;
  --text: #f5f5f3;
  --muted: #a3a39e;
  --dim: #6f6f6a;
  --line: rgba(255, 255, 255, 0.09);
  --chip: #252522;
  --canvas: #eceee7;           /* Comedia cream: the apps are dark, so they sit on light */
  --teal: #40bed1;
  --violet: #a3a9ff;
  --yellow: #f1e31a;
  --focus: #a3a9ff;

  --sans: "BDO Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bauziet", "BDO Grotesk", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Geist Mono", Menlo, monospace;

  --float: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 16px rgba(0, 0, 0, 0.2);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Top bar: wordmark left, two quiet links right ───────── */
.top { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.top .wrap { max-width: none; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 17px/1 var(--display); text-decoration: none; }
.brand svg { width: 26px; height: 18px; }
.top nav { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }
.top nav .signin { color: var(--text); }

/* ── Hero: one sentence, one swapping word, one live canvas ─ */
.hero { padding: 168px 0 0; text-align: center; }
.hero h1 {
  margin: 0 auto; max-width: 19em; text-wrap: balance;
  font: 500 48px/1.33 var(--sans); letter-spacing: -0.01em;
}
.swap {
  position: relative; display: inline-grid; vertical-align: bottom;
  height: 1.33em; overflow: hidden; padding: 0 .32em; margin: 0 .04em;
  border: 0; border-radius: 999px; background: var(--chip); color: inherit; font: inherit;
  box-shadow: inset 0 1px 0 #383836; cursor: pointer;
  transition: width .45s cubic-bezier(.3, .7, .2, 1);
}
.swap span {
  grid-area: 1 / 1; line-height: 1.33em; white-space: nowrap;
  transform: translateY(100%); transition: transform .5s cubic-bezier(.3, .7, .2, 1);
}
.swap span.on { transform: none; }
.swap span.out { transform: translateY(-100%); }
.hint { margin: 22px 0 0; font-size: 13px; color: var(--dim); }

/* The hero's one action: white on the dark page, sized to be unmissable. */
.cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 30px; height: 54px; padding: 0 40px; border-radius: 999px; background: var(--text); color: var(--bg); font: 600 14px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: transform 0.15s ease, opacity 0.15s ease; }
.cta:hover { opacity: 0.88; transform: translateY(-1px); }
.cta:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.stage {
  position: relative; margin: 56px auto 0; max-width: 1100px; height: 600px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center; --s: 1.3;
}
/* Pieces stack in the middle of the stage, so a swap crossfades in place. */
.stage > .piece { position: absolute; left: 50%; top: 50%; translate: -50% -50%; transition: opacity .35s ease; }
.stage > .piece.leaving { opacity: 0; }
.stage .label {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  font-size: 13px; color: var(--muted); background: rgba(23, 23, 23, .86);
  backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 10px; box-shadow: var(--float);
}

/* ── Sections ────────────────────────────────────────────── */
section { padding: 136px 0 0; }
.h2 { margin: 0 auto; text-align: center; max-width: 18em; text-wrap: balance; font: 500 48px/1.25 var(--sans); letter-spacing: -0.01em; }
.sub { margin: 18px auto 0; max-width: 560px; text-align: center; color: var(--muted); font-size: 17px; }

/* ── The day: a time rail, the why, and the real screen ──── */
.day { margin-top: 72px; position: relative; }
.day::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.step { display: grid; grid-template-columns: 96px minmax(0, 5fr) minmax(0, 7fr); gap: 0 40px; align-items: start; padding: 0 0 88px; }
.step:last-child { padding-bottom: 0; }
.time {
  position: relative; z-index: 1; justify-self: center; margin-top: 2px;
  font: 500 13px/1 var(--mono); color: var(--muted); background: var(--bg); padding: 6px 0;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin: 0; font: 500 26px/1.3 var(--sans); letter-spacing: -0.01em; text-wrap: balance; }
.step p { margin: 14px 0 0; color: var(--muted); }
.step .app { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--dim); }
.step .app i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--yellow)); }
.frame { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; --s: 1; }

/* ── Agents in every app: a request to Claude, and what it made ── */
.works { margin: 56px auto 0; max-width: 1100px; }
.works-stage { position: relative; height: 520px; }
.win {
  --ui-bg: #0c0c0c; --ui-card: #171717; --ui-raised: #262626; --ui-line: #262626;
  --ui-text: #ffffff; --ui-muted: #b4b4b4; --ui-dim: #6b7075;
  --ui-yellow: #f1e31a; --ui-blue: #2a6aff; --ui-green: #2dcb8f; --ui-amber: #fcd048;
  position: absolute; left: 50%; top: 50%; width: 960px; height: 476px; translate: -50% -50%;
  display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  background: var(--ui-bg); border: 1px solid var(--ui-line);
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 30px 60px -20px rgba(0,0,0,.5);
  font: 400 13px/1.45 "Funnel Sans", var(--sans); color: var(--ui-text); text-align: left;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
.win.on { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.win-bar { position: relative; flex: none; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--ui-line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2e2e2e; }
.win-bar span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ui-muted); font-size: 13px; pointer-events: none; }
.win-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 290px 1fr; grid-template-rows: minmax(0, 1fr); }

.chat { display: flex; flex-direction: column; padding: 18px; border-right: 1px solid var(--ui-line); }
.ask { background: var(--ui-card); border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #ececec; }
.did { list-style: none; margin: 18px 0 0; padding: 0 4px; display: grid; gap: 12px; color: var(--ui-muted); }
.did li { display: flex; gap: 10px; }
.did li::before { content: "✓"; color: var(--ui-dim); }
.stg > * { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.play .stg > * { opacity: 1; transform: none; }
.play .did > :nth-child(1) { transition-delay: .5s; }
.play .did > :nth-child(2) { transition-delay: 1.1s; }
.play .out .stg > :nth-child(2) { transition-delay: 1.8s; }
.play .out .stg > :nth-child(3) { transition-delay: 2.2s; }
.play .out .stg > :nth-child(4) { transition-delay: 2.6s; }
.reply { margin-top: auto; height: 58px; border: 1px solid var(--ui-line); border-radius: 12px; padding: 12px 14px; color: var(--ui-dim); font-size: 14px; }

.out { min-width: 0; background: var(--ui-card); opacity: 0; transition: opacity .5s ease; }
.play .out { transition-delay: 1.4s; }
.play .out { opacity: 1; }
.o-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--ui-line); font-weight: 500; }
.o-meta { display: flex; align-items: center; gap: 12px; font-weight: 400; font-size: 12px; }
.o-live { display: flex; align-items: center; gap: 7px; font-weight: 400; font-size: 12px; }

/* Slides: the deck it published */
.o-deck { display: grid; grid-template-columns: 128px 1fr; gap: 18px; padding: 18px; align-items: start; }
.thumbs { display: grid; gap: 9px; }
.thumbs .slide { padding: 6px 7px; border-radius: 4px; }
.thumbs .slide .k { font-size: 4.5px; }
.thumbs .slide .h { font-size: 9px; }
.thumbs .slide.on { outline: 2px solid var(--ui-blue); outline-offset: 2px; }
.big.slide { padding: 26px 30px; border-radius: 8px; }
.big.slide .k { font-size: 10px; }
.big.slide .h { font-size: 44px; max-width: 9em; }
.big.slide .c { font-size: 11px; opacity: .75; }

/* Mail: outreach, with the letters and the question */
.o-mail, .o-pat { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: minmax(0, 1fr); }
.side { padding: 10px 8px; border-right: 1px solid var(--ui-line); display: grid; align-content: start; gap: 2px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 10px; border-radius: 6px; color: var(--ui-muted); }
.nav.on { background: var(--ui-raised); color: var(--ui-text); }
.nav .n { font: 400 11px/1 "DM Mono", var(--mono); color: var(--ui-muted); }
.o-mail .main { min-width: 0; }
.o-mail .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--ui-line); }

/* Outreach status: a quiet dot and words, the way the app's table shows it */
.st { display: inline-flex; align-items: center; gap: 7px; color: var(--ui-muted); font-size: 12px; white-space: nowrap; }
.st i { width: 6px; height: 6px; border-radius: 50%; background: var(--ui-green); }
.st i.wait { background: var(--ui-amber); }
.ql { display: block; margin-top: 3px; color: var(--ui-muted); font-size: 12px; }
.ql:empty { display: none; }
.ask-row { align-items: start !important; }
.ask-row .st { margin-top: 1px; }

/* The change: typed into the box, sent, thought about, then made */
.reply .typed { color: #ececec; }
.reply.typing .ph { display: none; }
.reply.typing .typed::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: #ececec; animation: blink 1s steps(2) infinite; }
.follow { margin-top: 16px; margin-left: 28px; padding: 10px 14px; font-size: 13.5px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.follow.sent { opacity: 1; transform: none; }
.did2 { margin-top: 12px; opacity: 0; transition: opacity .3s ease; }
.did2.on { opacity: 1; }
.did2 li.think { align-items: center; gap: 6px; }
.did2 li.think::before { content: none; }
.changed { animation: changed 1.6s ease-out; }
@keyframes changed { 0% { box-shadow: 0 0 0 0 rgba(42,106,255,0); } 18% { box-shadow: 0 0 0 3px rgba(42,106,255,.75); } 100% { box-shadow: 0 0 0 3px rgba(42,106,255,0); } }

/* Patterns: the phone concept on its canvas */
.o-pat .canvas { display: grid; place-items: center; overflow: hidden; background: var(--canvas) var(--noise); }
.o-pat .phone { transform: scale(.8); margin: -47px auto; }

.tabs { display: flex; justify-content: center; gap: 28px; margin-top: 22px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; font: 400 14px/1 var(--sans); color: var(--dim); cursor: pointer; border-bottom: 1px solid transparent; }
.tabs button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: .5; }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.tabs button[aria-selected="true"] i { opacity: 1; }
.tabs button:hover { color: var(--text); }

.points { margin: 64px auto 0; max-width: 960px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.points h3 { margin: 0; font: 500 19px/1.35 var(--sans); }
.points p { margin: 8px 0 0; color: var(--muted); }

/* ── Close ───────────────────────────────────────────────── */
.close { padding-bottom: 136px; text-align: center; }
.close .link { display: inline-block; margin-top: 26px; font-size: 17px; color: var(--text); text-underline-offset: 5px; text-decoration-color: var(--dim); }
.close .link:hover { text-decoration-color: var(--text); }
footer { border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 13px; color: var(--dim); }
footer .wrap { max-width: none; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Scroll-in: content rises a touch, once. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: 0; } }

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

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero h1, .h2 { font-size: 38px; }
  .stage { height: 480px; --s: 1.05; }
  .day::before { display: none; }
  .step { grid-template-columns: 1fr; gap: 0; padding-bottom: 72px; }
  .time { justify-self: start; margin: 0 0 10px; }
  .frame { margin-top: 24px; }
  .works-stage { height: auto; }
  .win { position: relative; left: auto; top: auto; translate: none; width: auto; height: auto; display: none; }
  .win.on { display: flex; }
  .win-body { grid-template-columns: 1fr; }
  .chat { border-right: 0; border-bottom: 1px solid var(--ui-line); padding: 14px; }
  .reply { display: none; }
  .follow { margin-top: 12px; }
  .did { margin-top: 12px; }
  .o-mail .row { padding: 10px 14px; }
  .out { height: 320px; overflow: hidden; }
  .o-meta .mu, .o-live { display: none; }
  .ask { min-height: 132px; }
  .ask.follow { min-height: 0; }
  .o-deck { grid-template-columns: 1fr; padding: 14px; }
  .thumbs { display: none; }
  .big.slide .h { font-size: 26px; }
  .o-mail, .o-pat { grid-template-columns: 1fr; }
  .side { display: none; }
  .o-pat .phone { transform: scale(.6); margin: -94px auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .top nav a:first-child { display: none; }
  .brand { white-space: nowrap; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 30px; }
  .h2 { font-size: 30px; }
  .stage { height: 360px; border-radius: 16px; margin-top: 40px; --s: .66; }
  .stage .label { bottom: 14px; font-size: 12px; }
  section { padding-top: 96px; }
  .step h3 { font-size: 22px; }
  .frame { height: 300px; --s: .66; }
  .points { grid-template-columns: 1fr; gap: 28px; }
  .close { padding-bottom: 96px; }
}

/* ── Pieces: one moment from each app, drawn from its real UI ──
   Mail, Slides, Patterns and Builder share Comedia Mail's near-black tokens
   (Oct 2026 palette: shell #0c0c0c, panel #171717, accent #2a6aff) with
   Funnel Sans and DM Mono; decks use Anton. Each piece is laid out at one
   size and scaled by --s to fit its frame. */
.piece {
  --ui-bg: #0c0c0c; --ui-card: #171717; --ui-raised: #262626; --ui-line: #262626;
  --ui-text: #ffffff; --ui-muted: #b4b4b4; --ui-dim: #54595d;
  --ui-yellow: #f1e31a; --ui-blue: #2a6aff; --ui-green: #2dcb8f; --ui-amber: #fcd048;
  position: relative; flex: none; width: 500px; transform: scale(calc(var(--s, 1) * var(--f, 1))); transform-origin: center;
  font: 400 13px/1.45 "Funnel Sans", var(--sans); color: var(--ui-text); text-align: left;
}
.ui { background: var(--ui-bg); border: 1px solid var(--ui-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 18px 40px -12px rgba(0,0,0,.45); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--ui-line); font-weight: 500; }
.ui-body { padding: 12px 14px; }
.mu { color: var(--ui-muted); }
.dm { font-family: "DM Mono", var(--mono); font-size: 11px; letter-spacing: .02em; }
.bdg { display: inline-flex; align-items: center; gap: 4px; height: 19px; padding: 0 7px; border-radius: 5px; font: 600 10px/1 "DM Mono", var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.bdg.draft { background: var(--ui-yellow); color: #0c0c0c; }
.bdg.wait { background: rgba(45, 203, 143, .14); color: var(--ui-green); }
.bdg.out { border: 1px solid var(--ui-line); color: var(--ui-muted); }
.bdg.amber { background: rgba(252, 208, 72, .14); color: var(--ui-amber); }
.bdg.high { background: rgba(219, 7, 102, .16); color: #ffa1a9; }
.btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; font-weight: 500; font-size: 12px; }
.btn.send { background: var(--ui-blue); color: #fff; }
.btn.pri { background: #e5e5e5; color: #171717; }
.btn.ghost { border: 1px solid var(--ui-line); color: var(--ui-muted); }
.ln { height: 7px; border-radius: 4px; background: var(--ui-raised); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ui-green); flex: none; }
.dot.live { animation: live 1.6s ease-in-out infinite; }

/* Sequenced entry: children arrive one by one when the piece is shown. */
.seq > * { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.in .seq > * { opacity: 1; transform: none; }
.in .seq > *:nth-child(2) { transition-delay: .35s; }
.in .seq > *:nth-child(3) { transition-delay: .7s; }
.in .seq > *:nth-child(4) { transition-delay: 1.05s; }
.in .seq > *:nth-child(5) { transition-delay: 1.4s; }
.in .seq > *:nth-child(6) { transition-delay: 1.75s; }

/* Mail choreography extras (main.js drives them; hidden at rest) */
.clockchip { position: absolute; top: -30px; left: 0; font: 500 11px/1 "DM Mono", var(--mono); letter-spacing: .04em;
  color: var(--muted); background: rgba(255,255,255,.06); border-radius: 6px; padding: 5px 8px; }
.pcursor, .piece .cursor { position: absolute; width: 14px; height: 14px; z-index: 5; pointer-events: none; }
.piece .cursor svg { display: block; width: 14px; height: 14px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.piece .ring { position: absolute; width: 26px; height: 26px; border: 2px solid #fff; border-radius: 50%; left: -6px; top: -6px; opacity: 0; }

/* 1 · Mail: the inbox with a draft waiting, and the draft itself */
.p-replies .inbox .row { display: grid; grid-template-columns: 112px 1fr auto; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--ui-line); }
.p-replies .inbox .row:last-child { border-bottom: 0; }
.p-replies .inbox b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-replies .inbox .sj { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-replies .compose { position: relative; margin: -14px 0 0 56px; }
.p-replies .compose .ui-body p { margin: 0 0 8px; color: #e5e5e5; }
.p-replies .compose .foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--ui-line); }
.caret { display: inline-block; width: 1.5px; height: 1.05em; vertical-align: -.15em; background: var(--ui-blue); animation: blink 1s steps(2) infinite; }

/* 2 · Mail: a task with its brief */
.p-tasks { display: grid; grid-template-columns: 236px 1fr; gap: 14px; align-items: start; }
.task { padding: 12px 13px; }
.task + .task { margin-top: 10px; }
.task h4 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.task .meta { display: flex; gap: 6px; align-items: center; margin-top: 9px; flex-wrap: wrap; }
.brief { padding: 14px 15px; font-size: 12px; }
.brief h4 { margin: 0 0 8px; font-size: 13px; }
.brief dl { margin: 0; display: grid; grid-template-columns: 62px 1fr; gap: 6px 8px; }
.brief dt { color: var(--ui-muted); }
.brief dd { margin: 0; color: #e5e5e5; }

/* 3 · Slides: notes in, slides out */
.p-deck { display: grid; grid-template-columns: 180px 248px; justify-content: center; gap: 18px; align-items: center; }
.p-deck .notes .ui-body { font-size: 12px; color: #d4d4d4; }
.slides { display: grid; gap: 8px; }
.slide { aspect-ratio: 16 / 9; border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.slide .k { font: 600 7px/1 "Funnel Sans", var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.slide .h { font: 400 16px/1.04 "Anton", Impact, sans-serif; letter-spacing: .005em; }
.slide .c { font-size: 7.5px; line-height: 1.3; opacity: .9; }
/* Slides' real deck palettes (PALETTES in the app's deck schema) */
.sl-navy { background: #001882; color: #ffa1a9; }
.sl-maroon { background: #7b113a; color: #ffc62a; }
.sl-green { background: #035525; color: #ffa1a9; }
.slides .status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

/* 4 · Slides: an upload held for review, slide by slide */
.p-merge .row { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--ui-line); }
.p-merge .row:last-of-type { border-bottom: 0; }
.p-merge .pick { display: flex; gap: 6px; padding: 0 14px 12px 82px; }
.p-merge .foot { padding: 10px 14px; border-top: 1px solid var(--ui-line); color: var(--ui-dim); font-size: 11px; }

/* 5 · Patterns: a phone concept that really works */
.phone {
  width: 236px; height: 470px; margin: 0 auto; border-radius: 38px; padding: 54px 16px 18px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2a1b3d 0%, #5a2e55 55%, #8c4a5a 100%);
  border: 7px solid #111; box-shadow: 0 24px 48px -16px rgba(0,0,0,.55);
  font-family: "Funnel Sans", var(--sans); color: #fff;
}
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #000; }
.phone .say { font-size: 21px; font-weight: 300; line-height: 1.2; margin: 6px 2px 16px; }
.held { border-radius: 20px; padding: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); position: relative; }
.held .tag { position: absolute; top: -9px; right: 12px; background: #f6d36b; color: #2a1b3d; font: 600 9.5px/1 var(--sans); padding: 4px 7px; border-radius: 6px; }
.held .r { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 12px; }
.held .r span:first-child { opacity: .75; }
.phone .act { margin-top: 14px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: #fff; color: #2a1b3d; font-weight: 600; font-size: 13px; }
.phone .tap { position: absolute; left: 50%; bottom: 36px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); opacity: 0; }
.in .phone .tap { animation: tap 2.8s ease-out 1.6s infinite; }
.p-proto { width: 300px; --f: .72; }
.p-build { --f: .76; }

/* 6 · Builder: a sketch becomes a screen */
.p-build { display: grid; grid-template-columns: 186px 34px 196px; justify-content: center; align-items: center; gap: 6px; }
.sketch { background: #fffdf6; border-radius: 10px; padding: 14px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); transform: rotate(-2.5deg); color: #2b2b2b; }
.sketch svg { display: block; width: 100%; height: auto; }
.sketch p { margin: 10px 0 0; font: 400 13px/1.35 "Caveat", "Comic Sans MS", cursive; color: #444; }
.arrow { font-size: 22px; color: #6f6f6a; text-align: center; }
/* The screen opens as its wire, then the presented screen wipes in from the top.
   Wire is the resting state; .in (scroll reveal, or the hero mounting it) lights it. */
.mini { position: relative; width: 196px; aspect-ratio: 960 / 2200; border-radius: 28px; background: #0c0c10; box-shadow: 0 20px 40px -14px rgba(0,0,0,.55); }
.mini .wire, .mini .shot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 28px; }
.mini .wire { transition: opacity .5s ease 2.2s; }
.mini .shot { clip-path: inset(0 0 100% 0 round 28px); transition: clip-path 1.3s cubic-bezier(.6,.05,.3,1) 1s; }
.in .mini .shot { clip-path: inset(0 0 0 0 round 28px); }
.in .mini .wire { opacity: 0; }
.compiled { margin-top: 12px; text-align: center; white-space: nowrap; font: 500 11px/1 "DM Mono", var(--mono); color: #7bd88f; }

/* 7 · Mail: outreach while we're away */
.p-out .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--ui-line); }
.p-out .row:last-child { border-bottom: 0; }

@keyframes live { 50% { opacity: .35; } }
@keyframes dots { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes tap { 0% { opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: scale(1); } 45% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .seq > *, .stg > *, .out { opacity: 1; transform: none; }
}

