/* Zero marketing site. Plain CSS, no build step.
   Layout, type and motion follow docs/design/website-reference/analysis.md (Crossover for Zero). */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@property --zip {
  syntax: "<color>";
  inherits: true;
  initial-value: #FD6F76;
}

:root {
  --bg: #ffffff;
  --card: #f8f7f5;          /* dot.com ivory, a touch warmer than the app's grey */
  --card-2: #f1f0ee;        /* inner panels */
  --app-grey: #f2f2f3;      /* the app's Bubble and Field color */
  --pill-grey: #edecea;
  --pill-grey-hover: #e4e3e0;
  --ink: #0a0a0a;
  --ink-hover: #1f2228;
  --muted: #6a6e74;         /* darker than the reference #7d8187 so body copy passes 4.5:1 on white and ivory */
  --muted-2: #8c9097;
  --rule: rgba(0, 0, 0, .1);
  --hair: rgba(0, 0, 0, .07);
  --zero: #FECE0D;

  --ease: cubic-bezier(.22, 1, .36, 1);           /* primary */
  --ease-std: cubic-bezier(.4, 0, .2, 1);         /* hovers */
  --ease-bubble: cubic-bezier(.25, 1, .5, 1);
  --ease-loop: cubic-bezier(.645, .045, .355, 1);
  --ease-pop: cubic-bezier(.2, .9, .3, 1.15);
  --ease-pop-big: cubic-bezier(.2, .9, .3, 1.3);

  --t0: .5s;                /* when the headline starts revealing */
  --header-h: 64px;
  --radius-card: 24px;
  --radius-inner: 16px;
  --radius-tile: 53px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-feature-settings: "ss01" off;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.pill:focus-visible, .chip:focus-visible, .seg-btn:focus-visible, .menu-btn:focus-visible, .demo-toggle:focus-visible { border-radius: 999px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.wrap-wide { max-width: 1024px; margin-inline: auto; padding-inline: 24px; }
.center { text-align: center; }

/* Type */
.hero-title { font-size: 60px; line-height: 60px; letter-spacing: -0.01em; }
h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; }
h3 { font-size: 16px; line-height: 26px; }
.lead { font-size: 18px; line-height: 29px; color: var(--muted); }
.lead.ink { color: var(--ink); }

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .15s var(--ease-std), transform .15s var(--ease-std);
}
.pill .i { font-size: 18px; }
.pill-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.pill-black { background: var(--ink); color: #fff; }
.pill-grey { background: var(--pill-grey); color: var(--ink); }
.pill:active { transform: scale(.98); }
.pill.is-soon { cursor: default; }
.pill.is-soon:active { transform: none; }
.soon {
  font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: 999px; margin-left: 4px;
  background: rgba(255, 255, 255, .16);
}
.pill-grey .soon { background: rgba(0, 0, 0, .07); }

/* Header (A1) */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  animation: fade-in .5s var(--ease) both;
}
.header-inner {
  height: 100%; display: flex; align-items: center; gap: 40px;
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease-std);
  max-width: 1280px;
}
.site-header.is-scrolled .header-inner { border-bottom-color: var(--hair); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand .zip { width: 26px; height: 26px; }
.nav { display: flex; gap: 4px; }
.nav a, .mobile-menu a {
  font-size: 14px; line-height: 20px; font-weight: 500; padding: 8px 12px; border-radius: 999px;
  transition: background-color .15s var(--ease-std);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pill-grey);
  align-items: center; justify-content: center; font-size: 20px;
}
.mobile-menu {
  position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--hair); padding: 8px 16px 20px;
  animation: menu-in .24s var(--ease-bubble) both;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a { font-size: 17px; padding: 14px 4px; border-radius: 8px; border-bottom: 1px solid var(--hair); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* Hero (A2 to A5) */
.hero { padding-top: calc(var(--header-h) + 84px); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--ink);
  padding: 4px 4px 4px 14px; border-radius: 999px; transition: background-color .15s var(--ease-std);
}
.announce strong { font-weight: 600; }
.announce-arrow {
  width: 24px; height: 24px; border-radius: 50%; background: var(--pill-grey);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
  transition: background-color .15s var(--ease-std);
}
.hero-title { margin-top: 22px; perspective: 1200px; }
.hero-title .chars { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; animation: char-in .65s var(--ease) both; animation-delay: calc(var(--t0) + 100ms + 55ms * var(--i)); }
.ch.sp { width: .16em; }
.ch.mark { vertical-align: -0.11em; }
.zip-mark { width: 1em; height: 1em; display: block; }
.hero-lead { max-width: 640px; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
[data-intro="blur"] { animation: blur-in 1.1s var(--ease) both; animation-delay: calc(var(--t0) + .48s); }
.hero-lead[data-intro="blur"] { animation-delay: calc(var(--t0) + .55s); }
[data-intro="buttons"] { animation: blur-in-still 1s var(--ease) both; animation-delay: calc(var(--t0) + .65s); }
[data-intro="stage"] { animation: stage-in 1s var(--ease) both; animation-delay: calc(var(--t0) + .8s); }

@keyframes fade-in { from { opacity: 0; } }
@keyframes char-in { from { opacity: 0; } }
@keyframes blur-in { from { opacity: 0; filter: blur(12px); transform: translateY(10px); } }
@keyframes blur-in-still { from { opacity: 0; filter: blur(12px); } }
@keyframes stage-in { from { opacity: 0; transform: translateY(-20px); } }

.hero-stage { margin-top: 64px; }
.stage-tile {
  position: relative; height: 740px; border-radius: var(--radius-card); overflow: hidden;
  isolation: isolate;
}
.tile-hero {
  background:
    radial-gradient(70% 60% at 8% 0%, #ffe7a0 0%, rgba(255, 231, 160, 0) 70%),
    radial-gradient(60% 70% at 100% 15%, #ffcdb6 0%, rgba(255, 205, 182, 0) 70%),
    radial-gradient(90% 70% at 40% 105%, #cde3f5 0%, rgba(205, 227, 245, 0) 70%),
    #fff1d6;
}
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .32; mix-blend-mode: soft-light;
}

/* Floating cards beside the hero phone */
.float-card {
  position: absolute; z-index: 1; background: #fff; border-radius: 18px;
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .04);
}
.zips-card { width: 250px; padding: 16px 16px 8px; top: 132px; left: calc(50% - 168px - 56px - 250px); }
.float-title { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); text-transform: none; margin-bottom: 4px; }
.zip-rows li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--hair); }
.zip-rows li:first-child { border-top: 0; }
.zip-rows .zip { width: 30px; height: 30px; }
.zr-text { display: flex; flex-direction: column; min-width: 0; }
.zr-text b { font-size: 13.5px; line-height: 18px; font-weight: 600; }
.zr-status { font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zr-status .i { font-size: 12px; vertical-align: -2px; margin-right: 3px; color: #17703f; }
.needs-card {
  top: 196px; left: calc(50% + 168px + 56px); width: 230px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
}
.needs-icon {
  width: 30px; height: 30px; border-radius: 9px; background: #c6520c; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
}
.needs-chev { margin-left: auto; color: var(--muted-2); }
.needs-card.is-clear .needs-icon { background: #1f8a4c; }

.demo-toggle {
  position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
  transition: background-color .15s var(--ease-std);
}
.demo-toggle .i-play { display: none; }
.demo-toggle[aria-pressed="true"] .i-play { display: block; }
.demo-toggle[aria-pressed="true"] .i-pause { display: none; }

/* Phone frame: drawn here, neutral, no maker's marks */
.phone {
  position: relative; width: 316px; height: 660px; padding: 9px; border-radius: 54px;
  background: #151517;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 30px 60px -16px rgba(0, 0, 0, .32), 0 10px 20px -10px rgba(0, 0, 0, .2);
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2a2a2d;
}
.phone::before { left: -3px; top: 150px; height: 56px; box-shadow: 0 72px 0 #2a2a2d; }
.phone::after { right: -3px; top: 190px; height: 84px; }
.phone-screen {
  position: relative; height: 100%; border-radius: 45px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; font-size: 13.5px; line-height: 19px; color: #141414;
}
.phone-screen::before { /* front camera */
  content: ""; position: absolute; top: 13px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: #0b0b0c; z-index: 3;
}
.statusbar {
  height: 38px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 2px 28px 0 30px; font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.sb-icons { display: inline-flex; gap: 4px; font-size: 15px; }
.chat-head {
  flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 12px 8px;
  position: relative; z-index: 2;
}
.round-btn {
  width: 34px; height: 34px; border-radius: 50%; background: var(--app-grey);
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: none;
}
.round-btn.white { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.round-btn.black { background: #0a0a0a; color: #fff; }
.name-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 8px; border-radius: 999px;
  background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); font-size: 14.5px; font-weight: 600; margin-right: auto; margin-left: 8px;
}
.name-pill .zip { width: 22px; height: 22px; }
.chat-body {
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 26px);
}
.chat-body .stack {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px;
  padding: 10px 12px 10px;
}
.chat-body.top .stack { top: 0; bottom: auto; }
.stamp { align-self: center; font-size: 11px; line-height: 14px; color: var(--muted); margin: 2px 0; }
.delivered { align-self: flex-end; font-size: 10.5px; line-height: 12px; color: var(--muted); margin: -4px 4px 0 0; }
.msg {
  align-self: flex-start; max-width: 84%; padding: 8px 12px; border-radius: 18px; background: var(--app-grey);
}
.msg.mine { align-self: flex-end; background: #0a0a0a; color: #fff; }
.msg.from-zip { display: flex; gap: 7px; align-items: flex-start; }
.msg.from-zip .zip { width: 18px; height: 18px; margin-top: 1px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9ca1; animation: dots 1.2s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.chat-body:not(.is-live) .live-only { display: none !important; }
.is-hidden { display: none !important; }

.status-line { align-self: center; display: flex; align-items: center; gap: 6px; font-size: 11.5px; line-height: 16px; color: var(--muted); }
.status-line .zip { width: 16px; height: 16px; }
.work-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  background: #f6ead6; color: #7c5100; font-size: 11.5px; line-height: 16px; font-weight: 600;
  transition: background-color .3s var(--ease-std), color .3s var(--ease-std);
}
.work-pill .i { font-size: 12px; }
.work-pill .ok { display: none; }
.work-pill.is-done { background: #e2f3e8; color: #17703f; }
.work-pill.is-done .spin { display: none; }
.work-pill.is-done .ok { display: block; }
.spin { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Approval card (from the app's send and sign-in cards) */
.ask-card { position: relative; background: var(--app-grey); border-radius: 22px; padding: 11px; max-width: 92%; align-self: flex-start; }
.ask-head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 16px; font-weight: 500; margin: 2px 2px 9px; }
.ask-head .zip { width: 16px; height: 16px; }
.ask-inner { background: #fff; border-radius: 16px; padding: 11px 12px; }
.ask-title { font-size: 13px; line-height: 17px; font-weight: 600; }
.ask-sub { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 2px; }
.ask-mail { background: var(--app-grey); border-radius: 10px; padding: 7px 9px; margin: 8px 0 6px; font-size: 11.5px; line-height: 16px; }
.ask-mail p + p { margin-top: 6px; }
.ask-note { font-size: 11px; line-height: 15px; color: var(--muted); margin-top: 4px; }
.ask-site { display: flex; gap: 10px; align-items: flex-start; }
.site-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--app-grey); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.ask-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.ask-btns.single { grid-template-columns: auto; justify-content: start; }
.btn-dark, .btn-light {
  height: 36px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 13px; font-weight: 500; transition: opacity .25s var(--ease-std), transform .15s var(--ease-std), background-color .25s;
}
.ask-btns.single .btn-dark { padding: 0 18px; border-radius: 999px; }
.btn-dark { background: #0a0a0a; color: #fff; }
.btn-light { background: #fff; border: 1px solid #e3e3e6; }
.btn-dark .lbl-sent { display: none; align-items: center; gap: 4px; }
.ask-card.is-sent .lbl-send { display: none; }
.ask-card.is-sent .lbl-sent { display: inline-flex; }
.ask-card.is-sent .btn-light { opacity: .35; }
.btn-dark.is-pressed { transform: scale(.96); }
.tap {
  position: absolute; width: 34px; height: 34px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: rgba(10, 10, 10, .14); box-shadow: 0 0 0 2px rgba(255, 255, 255, .7);
}
.tap.is-on { animation: tap .6s var(--ease) both; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.6); } 35% { opacity: 1; transform: scale(1); } 70% { opacity: 1; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.2); } }

.list-card { align-self: flex-start; width: 86%; background: #fff; border: 1px solid #ececef; border-radius: 16px; overflow: hidden; }
.lc-row { display: flex; flex-direction: column; padding: 8px 12px; border-top: 1px solid #f0f0f2; font-size: 12.5px; line-height: 17px; }
.lc-row:first-child { border-top: 0; }
.lc-row b { font-weight: 600; }
.lc-row span { color: var(--muted); font-size: 11.5px; }

.composer { flex: none; display: flex; align-items: center; gap: 7px; padding: 6px 10px 16px; background: #fff; position: relative; z-index: 2; }
.field {
  flex: 1; min-width: 0; height: 36px; border-radius: 999px; background: #fff; border: 1px solid #ececef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05); display: flex; align-items: center; gap: 6px; padding: 0 10px 0 13px;
  font-size: 13px; color: #a3a5aa; white-space: nowrap; overflow: hidden;
}
.field .i { margin-left: auto; font-size: 16px; color: #6a6e74; }
.field-text { color: var(--ink); overflow: hidden; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
.field-text:empty { display: none; }
.field-text:not(:empty) + .field-ph { display: none; }
.field-text:not(:empty)::after { content: ""; display: inline-block; width: 1.5px; height: 15px; background: var(--ink); margin-left: 1px; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Hero phone placement */
.phone-hero { position: absolute; z-index: 1; left: 50%; top: 44px; margin-left: -158px; }

/* Entry pop (A7, B10) */
.pop-in { animation: pop .38s var(--ease-pop) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.fade-out { animation: fade-out .4s var(--ease-std) both; }
@keyframes fade-out { to { opacity: 0; } }
.swap-in { animation: swap .26s var(--ease-std) both; }
@keyframes swap { from { opacity: 0; transform: translateY(4px); } }

/* Zips (inline SVG from zips.js) */
.zip { display: inline-block; flex: none; width: var(--zip-size, 24px); height: var(--zip-size, 24px); line-height: 0; }
.zip-svg { width: 100%; height: 100%; overflow: visible; display: block; }
.zip-eyes { transform: translate(calc(var(--gx, 0) * 1px), calc(var(--gy, 0) * 1px)); transition: transform .45s var(--ease); }
.zip-eye { transform-box: fill-box; transform-origin: 50% 60%; transition: transform .12s var(--ease-std); }
.zip-eye .eye-happy { opacity: 0; transition: opacity .2s var(--ease-std); }
.zip-eye .eye-open { transition: opacity .2s var(--ease-std); }
.zip.is-blink .zip-eye { transform: scaleY(.1); }
.zip[data-state="asleep"] .zip-eye { transform: scaleY(.1); }
.zip[data-state="waking"] .zip-eye { animation: waking 2.2s var(--ease) both; }
@keyframes waking { 0%, 20% { transform: scaleY(.1); } 45% { transform: scaleY(1); } 60% { transform: scaleY(.1); } 72%, 100% { transform: scaleY(1); } }
.zip[data-state="happy"] .eye-open { opacity: 0; }
.zip[data-state="happy"] .eye-happy { opacity: 1; }
.zip[data-state="curious"] .zip-eyes { transform: translate(2.4px, -2.6px); }
.zip[data-state="curious"] .zip-eye { transform: scale(1.12); }

/* Sections */
.section { padding: 112px 0; }
.section-head { max-width: 680px; margin-inline: auto; }
.section-head .lead { margin-top: 16px; }

/* Statement (A9) */
.statement-wrap { padding: 56px 0 56px; }
.card-ivory { background: var(--card); border-radius: var(--radius-card); }
.statement { position: relative; overflow: hidden; min-height: 480px; padding: 64px 48px; }
.statement-copy { position: relative; z-index: 1; max-width: 560px; }
.statement-copy .lead { max-width: 470px; }
.statement-copy .lead { margin-top: 20px; }
.statement-zero { position: absolute; right: -24px; bottom: -220px; width: 600px; aspect-ratio: 1; }
.zero-stack { position: relative; width: 100%; height: 100%; }
/* One Zero who moves (Colin's review, Oct 11): the picture has no eyes; the eyes are drawn on top and follow the
   cursor, blink and smile, and the body breathes and leans (site.js, liveZero). */
.zero-body { position: absolute; inset: 0; transform-origin: 50% 88%; will-change: transform; }
.zero-body img, .zero-eyes { position: absolute; inset: 0; width: 100%; height: 100%; }
.zero-eyes .eye-socket { fill: rgba(92, 52, 0, .3); filter: url(#zero-soft); }
.zero-eyes .eye-rim { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 2; }
.zero-eyes .eye-shine ellipse { fill: #fff; opacity: .9; }
.zero-eyes .eye-shine circle { fill: #fff; opacity: .16; }
.zero-eyes .eye-happy { fill: none; stroke: #0b0b0b; stroke-width: 7.5; stroke-linecap: round; opacity: 0; }
.will-reveal .statement-zero { transform: translate(14%, 30%) rotate(8deg); opacity: 0; }
.will-reveal.is-in .statement-zero { transform: none; opacity: 1; transition: transform 1.1s var(--ease), opacity .5s var(--ease); }

/* Features (A11, B5 to B8) */
.features { padding-top: 112px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.feature { display: flex; flex-direction: column; min-height: 420px; overflow: hidden; padding: 32px 32px 0; }
.feature-copy p { color: var(--ink); opacity: .82; }
.feature-demo { flex: 1; display: flex; align-items: flex-end; justify-content: center; margin-top: 28px; font-size: 13px; line-height: 18px; }

/* 1. Computer */
.mini-card { width: 100%; background: var(--card-2); border-radius: 16px 16px 0 0; padding: 12px 14px 0; }
.mini-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.mini-head b { font-weight: 600; }
.mini-sub { font-size: 13px; margin: 2px 0 10px; }
.fc-pill { display: inline-grid; grid-template-columns: auto 1fr; }
.fc-pill .spin { grid-column: 1; grid-row: 1; }
.fc-pill .fc-working, .fc-pill .fc-done { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: 3px; }
.fc-pill .fc-done .i { font-size: 12px; }
.screen { position: relative; border-radius: 12px 12px 0 0; height: 210px; overflow: hidden; isolation: isolate; }
.screen.small { height: 104px; border-radius: 12px; }
.screen-sunset { background: linear-gradient(180deg, #5f87b9 0%, #b9a3b2 34%, #e7a189 52%, #e2873e 72%, #586f3c 100%); }
.win { position: absolute; z-index: 1; left: 50%; top: 22px; width: 68%; margin-left: -34%; bottom: -10px; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.win.tiny { top: 16px; width: 60%; margin-left: -30%; bottom: 16px; }
.win-bar { display: flex; align-items: center; gap: 3px; height: 16px; padding: 0 7px; border-bottom: 1px solid #efefef; }
.win-bar i { width: 4px; height: 4px; border-radius: 50%; background: #d8d8d8; }
.win-bar .url { margin: 0 auto; width: 40%; height: 5px; border-radius: 3px; background: #ededed; }
.win-body { display: flex; height: calc(100% - 16px); }
.win-side { width: 22%; border-right: 1px solid #f0f0f0; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; }
.win-side i { height: 4px; border-radius: 2px; background: #ececec; }
.win-side i:nth-child(2) { width: 70%; }
.win-rows { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; }
.row .dot { width: 6px; height: 6px; border-radius: 50%; background: #d6d6d6; flex: none; }
.row .bar { height: 6px; border-radius: 3px; background: #e4e4e4; flex: 1; transform-origin: left; }
.row .price { font-size: 10px; line-height: 12px; color: #6a6e74; font-weight: 600; }
.row.r2 .bar { flex: .8; }
.row.r3 .bar { flex: .9; }
.row.r4 .bar { flex: .7; }
.row.r3 { background: #fff1cf; }
.row.r3 .dot { background: #e9a400; }
.tiny-lines { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.tiny-lines i { height: 5px; border-radius: 3px; background: #ececec; }
.tiny-lines i:nth-child(2) { width: 70%; }
.cursor { position: absolute; z-index: 2; width: 14px; height: 18px; left: 66%; top: 112px; }
.cursor svg { width: 100%; height: 100%; display: block; }

/* 2. Question */
.q-card { width: 100%; max-width: 400px; background: var(--app-grey); border-radius: 20px 20px 0 0; padding: 14px 14px 18px; }
.q-from { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.q-from .zip { width: 16px; height: 16px; }
.q-text { margin-top: 6px; font-size: 13.5px; line-height: 19px; }
.q-ask { margin-top: 6px; font-size: 14px; line-height: 19px; font-weight: 600; }
.q-opts { margin-top: 10px; background: #fff; border-radius: 14px; border: 1px solid #ececef; overflow: hidden; }
.q-opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid #f0f0f2; font-size: 13.5px; transition: background-color .3s; }
.q-opt:first-child { border-top: 0; }
.q-opt i { width: 20px; height: 20px; border-radius: 6px; background: var(--app-grey); font-style: normal; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; color: #555; }
.q-pick { background: #f4f4f5; font-weight: 500; }
.q-pick i { background: #0a0a0a; color: #fff; }
.q-check { margin-left: auto; font-size: 15px; }
.q-follow { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* 3. Routines */
.routine-list { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; padding-bottom: 32px; }
.rt { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.rt .zip { width: 34px; height: 34px; }
.rt-text { display: flex; flex-direction: column; min-width: 0; }
.rt-text b { font-size: 13.5px; font-weight: 600; }
.rt-text span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.rt-state { margin-left: auto; display: grid; justify-items: end; }
.rt-state > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.rt-next { background: var(--app-grey); color: var(--muted); }
.rt-run { background: #f6ead6; color: #7c5100; }
.rt-done { background: #e2f3e8; color: #17703f; }
.rt1 .rt-next, .rt1 .rt-run, .rt2 .rt-next, .rt2 .rt-run { opacity: 0; }

/* 4. Inbox and calendar */
.inbox { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 6px; padding-bottom: 32px; }
.ib-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.ib-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--app-grey); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.ib-text { display: flex; flex-direction: column; min-width: 0; }
.ib-text b { font-size: 13.5px; font-weight: 600; }
.ib-text span { font-size: 12px; color: var(--muted); }
.ib-time { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.ib-note { align-self: flex-start; margin: 0 0 6px 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 4px 10px 4px 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.ib-note .zip { width: 16px; height: 16px; }

/* Loops run only while the card is on screen (IntersectionObserver adds .is-playing) */
[data-loop] * { animation-play-state: paused; }
[data-loop].is-playing * { animation-play-state: running; }
[data-loop] .spin { animation-play-state: running; }

.demo-computer .row .bar { animation: fc-bar 10s var(--ease-loop) infinite; }
.demo-computer .r2 .bar { animation-name: fc-bar2; }
.demo-computer .r3 .bar { animation-name: fc-bar3; }
.demo-computer .r4 .bar { animation-name: fc-bar4; }
.demo-computer .row .price { animation: fc-price 10s var(--ease-loop) infinite; }
.demo-computer .r3 { animation: fc-pick 10s var(--ease-loop) infinite; }
.demo-computer .r3 .dot { animation: fc-pickdot 10s var(--ease-loop) infinite; }
.demo-computer .cursor { animation: fc-cursor 10s var(--ease-loop) infinite; }
.demo-computer .fc-working, .demo-computer .fc-pill .spin { animation: fc-working 10s linear infinite; }
.demo-computer .fc-pill .spin { animation: fc-working 10s linear infinite, spin 2.4s linear infinite; }
.demo-computer .fc-done { animation: fc-done 10s linear infinite; }
.demo-computer .fc-pill { animation: fc-pillc 10s linear infinite; }
.demo-computer .fc-working { opacity: 0; }
.demo-computer .fc-pill .spin { opacity: 0; }
.demo-computer .fc-pill { background: #e2f3e8; color: #17703f; }
@keyframes fc-bar { 0%, 4% { transform: scaleX(0); } 9%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fc-bar2 { 0%, 9% { transform: scaleX(0); } 14%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fc-bar3 { 0%, 14% { transform: scaleX(0); } 19%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fc-bar4 { 0%, 19% { transform: scaleX(0); } 24%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fc-price { 0%, 22% { opacity: 0; } 28%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fc-pick { 0%, 52% { background: rgba(255, 241, 207, 0); } 55%, 94% { background: #fff1cf; } 100% { background: rgba(255, 241, 207, 0); } }
@keyframes fc-pickdot { 0%, 52% { background: #d6d6d6; } 55%, 94% { background: #e9a400; } 100% { background: #d6d6d6; } }
@keyframes fc-cursor {
  0%, 26% { transform: translate(60px, 70px); opacity: 0; }
  30% { transform: translate(60px, 70px); opacity: 1; }
  48% { transform: translate(0, 0) scale(1); }
  52% { transform: translate(0, 0) scale(.82); }
  55%, 88% { transform: translate(0, 0) scale(1); opacity: 1; }
  94%, 100% { transform: translate(30px, 40px); opacity: 0; }
}
@keyframes fc-working { 0%, 62% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes fc-done { 0%, 62% { opacity: 0; } 64%, 100% { opacity: 1; } }
@keyframes fc-pillc { 0%, 62% { background: #f6ead6; color: #7c5100; } 64%, 100% { background: #e2f3e8; color: #17703f; } }

.demo-question .q-pick { animation: q-pick 10s var(--ease-loop) infinite; }
.demo-question .q-pick i { animation: q-pick-i 10s var(--ease-loop) infinite; }
.demo-question .q-check { animation: q-check 10s var(--ease-pop) infinite; }
.demo-question .q-follow { animation: q-follow 10s var(--ease-bubble) infinite; }
@keyframes q-pick { 0%, 38% { background: #fff; font-weight: 400; transform: scale(1); } 41% { background: #ececee; transform: scale(.985); } 44%, 94% { background: #f4f4f5; font-weight: 500; transform: scale(1); } 100% { background: #fff; } }
@keyframes q-pick-i { 0%, 41% { background: var(--app-grey); color: #555; } 44%, 94% { background: #0a0a0a; color: #fff; } 100% { background: var(--app-grey); color: #555; } }
@keyframes q-check { 0%, 43% { opacity: 0; transform: scale(.4); } 47%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes q-follow { 0%, 50% { opacity: 0; transform: translateY(8px) scale(.97); } 54%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.demo-routines .rt1 .rt-next { animation: rt-a 12s linear infinite; }
.demo-routines .rt1 .rt-run { animation: rt-b 12s linear infinite; }
.demo-routines .rt1 .rt-done { animation: rt-c 12s var(--ease-pop) infinite; }
.demo-routines .rt2 .rt-next { animation: rt-a2 12s linear infinite; }
.demo-routines .rt2 .rt-run { animation: rt-b2 12s linear infinite; }
.demo-routines .rt2 .rt-done { animation: rt-c2 12s var(--ease-pop) infinite; }
.demo-routines .rt1 { animation: rt-ring 12s var(--ease-loop) infinite; }
.demo-routines .rt2 { animation: rt-ring2 12s var(--ease-loop) infinite; }
@keyframes rt-a { 0%, 14% { opacity: 1; } 15%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rt-b { 0%, 14% { opacity: 0; } 15%, 36% { opacity: 1; } 37%, 100% { opacity: 0; } }
@keyframes rt-c { 0%, 36% { opacity: 0; transform: scale(.4); } 39%, 94% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; } }
@keyframes rt-a2 { 0%, 42% { opacity: 1; } 43%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rt-b2 { 0%, 42% { opacity: 0; } 43%, 64% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes rt-c2 { 0%, 64% { opacity: 0; transform: scale(.4); } 67%, 94% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; } }
@keyframes rt-ring { 0%, 14% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); transform: none; } 16%, 35% { box-shadow: 0 0 0 1.5px #0a0a0a, 0 8px 20px rgba(0, 0, 0, .08); transform: translateY(-1.5px); } 38%, 100% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); transform: none; } }
@keyframes rt-ring2 { 0%, 42% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); transform: none; } 44%, 63% { box-shadow: 0 0 0 1.5px #0a0a0a, 0 8px 20px rgba(0, 0, 0, .08); transform: translateY(-1.5px); } 66%, 100% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); transform: none; } }

.demo-inbox .ib1 { animation: ib-in 12s var(--ease-bubble) infinite; --a: 4%; }
.demo-inbox .ibn1 { animation: ib-in-1 12s var(--ease-bubble) infinite; }
.demo-inbox .ib2 { animation: ib-in-2 12s var(--ease-bubble) infinite; }
.demo-inbox .ibn2 { animation: ib-in-3 12s var(--ease-bubble) infinite; }
@keyframes ib-in { 0%, 3% { opacity: 0; transform: translateY(8px) scale(.97); } 7%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ib-in-1 { 0%, 16% { opacity: 0; transform: translateY(8px) scale(.97); } 20%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ib-in-2 { 0%, 38% { opacity: 0; transform: translateY(8px) scale(.97); } 42%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ib-in-3 { 0%, 54% { opacity: 0; transform: translateY(8px) scale(.97); } 58%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Use cases (A13) */
.usecases { padding-top: 96px; }
.usecases-grid { max-width: 1024px; display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; max-width: 420px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 7px; border-radius: 999px;
  border: 1px solid #d9dce2; font-size: 15px; color: #3a3d42; background: #fff;
  transition: background-color .15s var(--ease-std), border-color .15s var(--ease-std), color .15s var(--ease-std);
}
.chip .zip { width: 22px; height: 22px; filter: grayscale(1); opacity: .45; transition: filter .15s, opacity .15s; }
.chip[aria-selected="true"] {
  background: #f7f7f8; border-color: #bfc3cb; color: var(--ink);
  background: color-mix(in srgb, var(--zip) 12%, #fff); border-color: color-mix(in srgb, var(--zip) 45%, #fff);
}
.chip[aria-selected="true"] .zip { filter: none; opacity: 1; }
.uc-desc { margin-top: 40px; min-height: 96px; max-width: 440px; font-size: 16px; line-height: 24px; color: var(--muted); }
.uc-desc b { color: var(--ink); font-weight: 500; }
.uc-more { margin-top: 20px; font-size: 14px; color: var(--muted); }
.uc-right { position: relative; height: 680px; display: flex; align-items: center; justify-content: center; }
.uc-tile {
  position: absolute; inset: 40px 0; border-radius: 37px; overflow: hidden; isolation: isolate;
  background: #fbe3e4;
  background:
    radial-gradient(80% 60% at 20% 10%, color-mix(in srgb, var(--zip) 45%, #fff) 0%, transparent 70%),
    radial-gradient(70% 70% at 90% 90%, color-mix(in srgb, var(--zip) 70%, #fff) 0%, transparent 70%),
    color-mix(in srgb, var(--zip) 22%, #fff);
  transition: --zip .5s var(--ease);
}
.phone-uc { width: 300px; height: 620px; border-radius: 52px; }
.uc-body .stack { gap: 9px; }
.uc-body.is-switching .stack > * { animation: pop .35s var(--ease-pop) both; animation-delay: calc(var(--k, 0) * 80ms); }

/* Trust */
.trust { background: linear-gradient(#fff, #fafaf9 30%, #fafaf9 70%, #fff); }
.trust-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--zero); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 24px;
}
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 56px auto 0; max-width: 1024px; }
.trust-card { background: #f3f3f2; border-radius: 30px; padding: 20px 20px 28px; }
.trust-ui { height: 230px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; font-size: 13.5px; line-height: 19px; }
.trust-ui .ask-card { width: 100%; max-width: 280px; align-self: center; }
.trust-ui .mini-head { margin: 2px 2px 8px; }
.trust-card > h3 { margin-top: 20px; font-size: 18px; line-height: 24px; }
.trust-card > p { margin-top: 6px; font-size: 15px; line-height: 23px; color: var(--muted); }
.will-reveal[data-inview="pop"] { opacity: 0; transform: translateY(16px) scale(.98); }
.will-reveal[data-inview="pop"].is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--k, 0) * 80ms); }

/* Where you use Zero (B10 to B12, B15) */
.seg { display: flex; width: max-content; margin: 36px auto 0; padding: 4px; gap: 2px; background: var(--app-grey); border-radius: 999px; }
.seg-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: #3a3d42; transition: background-color .15s var(--ease-std), box-shadow .15s var(--ease-std), color .15s;
}
.seg-btn .i { font-size: 16px; }
.seg-btn[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 3.8px 7.7px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .04); }
.where-stage { position: relative; height: 600px; margin-top: 48px; display: flex; justify-content: center; }
.phone-where {
  width: 330px; height: 690px; box-shadow: 0 20px 80px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .05);
  -webkit-mask-image: linear-gradient(#000 62%, transparent 86%); mask-image: linear-gradient(#000 62%, transparent 86%);
}
.where-scene { position: absolute; inset: 38px 0 0; display: flex; flex-direction: column; }
.where-scene .chat-body.top { -webkit-mask-image: none; mask-image: none; }
.dictation { position: absolute; left: 12px; right: 12px; bottom: 150px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wave { display: flex; align-items: center; gap: 4px; height: 40px; }
.wave i { width: 4px; height: 100%; border-radius: 2px; background: #0a0a0a; transform: scaleY(.25); animation: wave 1s var(--ease-loop) infinite alternate; }
.wave i:nth-child(3n) { animation-duration: .8s; }
.wave i:nth-child(3n + 1) { animation-duration: 1.15s; animation-delay: -.3s; }
.wave i:nth-child(4n) { animation-delay: -.6s; }
@keyframes wave { from { transform: scaleY(.18); } to { transform: scaleY(1); } }
.dict-label { font-size: 12px; color: var(--muted); }
.dict-text { min-height: 40px; max-width: 250px; text-align: center; font-size: 15px; line-height: 20px; font-weight: 500; }
.dictation.is-off { opacity: 0; transition: opacity .3s; }
.call-scene { inset: 0; background: #1c1c1e; color: #fff; align-items: center; padding-top: 86px; }
.phone-where .phone-screen.is-dark .statusbar { color: #fff; position: relative; z-index: 2; }
.call-avatar { position: relative; width: 132px; height: 132px; border-radius: 50%; background: #3a3a3c; overflow: hidden; }
.call-avatar img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); opacity: 0; }
.call-avatar img.is-on { opacity: 1; }
.call-name { margin-top: 18px; font-size: 32px; line-height: 38px; }
.call-time { margin-top: 4px; font-size: 15px; color: #a1a1a6; font-variant-numeric: tabular-nums; }
.call-caption { margin: 22px 26px 0; text-align: center; font-size: 14px; line-height: 20px; color: #d1d1d6; min-height: 60px; }
.call-btns { display: flex; gap: 22px; margin-top: 26px; font-size: 12px; }
.call-btns > span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.call-btns i { width: 58px; height: 58px; border-radius: 50%; background: #3a3a3c; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.call-end { margin-top: 26px; width: 62px; height: 62px; border-radius: 50%; background: #eb4d3d; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; }
.companion { position: absolute; left: calc(50% + 210px); top: 210px; width: 132px; transition: transform .2s var(--ease); }
.companion img { width: 100%; }
.companion.is-pop img { animation: companion-pop .45s var(--ease-pop-big); }
@keyframes companion-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.where-stage .demo-toggle { right: auto; left: calc(50% + 200px); bottom: 64px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }

/* FAQ (A16) */
.faq { padding-top: 96px; }
.faq-grid { max-width: 1024px; display: grid; grid-template-columns: 1fr 456px; gap: 48px; align-items: start; }
.acc-item { border-bottom: 1px solid #e7e7ea; }
.acc-item h3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.acc-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 20px 0; border-radius: 6px;
}
.acc-icon { font-size: 18px; color: #6a6e74; transition: transform .3s var(--ease); display: inline-flex; }
.acc-item button[aria-expanded="true"] .acc-icon { transform: rotate(45deg); color: var(--ink); }
.acc-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s var(--ease), opacity .3s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 32px 24px 0; line-height: 28px; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; opacity: 1; }

/* Closing (A10, B17) */
.closing { padding-top: 104px; overflow: hidden; border-bottom: 1px solid var(--hair); }
.closing-copy .lead { margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin: 36px auto 0; text-align: left; }
.dl-card { padding: 28px 28px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.dl-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; }
.dl-card h3 { margin-top: 18px; font-size: 22px; line-height: 28px; font-weight: 600; }
.dl-card p { margin: 6px 0 22px; font-size: 16px; line-height: 25px; color: var(--muted); flex: 1; }
/* Setup with an AI assistant: the prompt to copy and the Open ChatGPT and Open Claude buttons. */
.setup { max-width: 760px; margin: 36px auto 0; padding: 28px 28px 30px; text-align: left; }
.setup h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.setup > p { margin: 6px 0 0; font-size: 16px; line-height: 25px; color: var(--muted); }
.prompt { position: relative; margin-top: 18px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-radius: var(--radius-inner); }
.prompt code { display: block; max-height: 176px; overflow-y: auto; padding: 16px 112px 16px 18px; white-space: pre-wrap; font: 400 14px/22px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }
.prompt .code-copy { position: absolute; top: 10px; right: 10px; background: var(--pill-grey); }
.setup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.setup-actions img { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .setup { padding: 22px 20px 24px; }
  .prompt code { padding: 16px; max-height: 200px; font-size: 13px; line-height: 21px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
  .prompt .code-copy { position: static; margin: 12px; width: calc(100% - 24px); }
  .setup-actions .pill { flex: 1 1 100%; justify-content: center; }
}
.dl-note { margin-top: 24px; font-size: 15px; line-height: 24px; color: var(--muted); }
.dl-note a, .hero-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hero-note { margin-top: 14px; font-size: 14px; line-height: 22px; color: var(--muted); }

/* Free and open source */
.opensource { padding: 24px 0 0; }
.os-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 36px 40px; max-width: 1024px; margin: 0 auto; }
.os-icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; }
.os-copy h2 { font-size: 28px; line-height: 34px; }
.os-copy .lead { margin-top: 8px; font-size: 17px; line-height: 27px; }
.os-actions { display: flex; flex-direction: column; gap: 8px; }
.os-actions .pill { justify-content: center; }
@media (max-width: 860px) {
  .os-card { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; }
  .os-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .downloads { grid-template-columns: 1fr; }
  .os-copy h2 { font-size: 24px; line-height: 30px; }
}

/* What it is like to work with Zero */
.traits { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 470px; }
.traits li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 24px; color: var(--muted); }
.traits .i { font-size: 20px; margin-top: 2px; color: var(--ink); }
.traits b { color: var(--ink); font-weight: 600; }
.strip { position: relative; height: 300px; margin-top: 40px; max-width: 1000px; margin-inline: auto; }
.strip img { position: absolute; bottom: -18%; height: auto; }
.strip .s1 { width: 190px; left: 6%; bottom: -12%; }
.strip .s2 { width: 200px; left: 22%; bottom: -14%; }
.strip .s3 { width: 290px; left: 50%; margin-left: -145px; bottom: -22%; z-index: 1; }
.strip .s4 { width: 200px; right: 22%; bottom: -14%; }
.strip .s5 { width: 140px; right: 8%; bottom: -10%; }
.will-reveal[data-inview="strip"] img { translate: 0 105%; }
.will-reveal[data-inview="strip"].is-in img { translate: 0 0; transition: translate .9s var(--ease-pop-big); }
.will-reveal[data-inview="strip"].is-in .s1 { transition-delay: .16s; }
.will-reveal[data-inview="strip"].is-in .s2 { transition-delay: .08s; }
.will-reveal[data-inview="strip"].is-in .s3 { transition-delay: 0s; }
.will-reveal[data-inview="strip"].is-in .s4 { transition-delay: .12s; }
.will-reveal[data-inview="strip"].is-in .s5 { transition-delay: .24s; }
.strip.is-floating img { animation: float 6s ease-in-out infinite alternate; }
.strip.is-floating .s2 { animation-delay: -1.5s; }
.strip.is-floating .s3 { animation-delay: -3s; animation-duration: 7s; }
.strip.is-floating .s4 { animation-delay: -4.5s; }
.strip.is-floating .s5 { animation-delay: -2s; animation-duration: 5.4s; }
@keyframes float { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-12px) rotate(2deg); } }

/* Footer */
.site-footer { padding: 48px 0 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand .brand .zip { width: 24px; height: 24px; }
.fine { font-size: 12px; line-height: 16px; color: var(--muted); }
.motion-toggle { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 6px 10px; border-radius: 999px; border: 1px solid #e7e7ea; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 160px); gap: 8px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 6px; }
.fh { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.footer-cols a, .soon-link { font-size: 14px; line-height: 22px; color: #3a3d42; }
.soon-link { color: var(--muted); }

/* Hover styles apply only where there is a real pointer, so a tap on a phone never leaves one stuck. */
@media (hover: hover) {
  .pill-black:hover { background: var(--ink-hover); }
  .pill-grey:hover { background: var(--pill-grey-hover); }
  .nav a:hover { background: rgba(0, 0, 0, .05); }
  .announce:hover { background: rgba(0, 0, 0, .04); }
  .announce:hover .announce-arrow { background: var(--pill-grey-hover); }
  .demo-toggle:hover { background: #fff; }
  .chip:hover { background: #f7f7f8; }
  .chip[aria-selected="false"]:hover .zip { opacity: .7; }
  .seg-btn:hover { color: var(--ink); }
  .companion:hover { transform: scale(1.04) rotate(-3deg); }
  .motion-toggle:hover { color: var(--ink); }
  .footer-cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .acc-item button:hover .acc-icon { color: var(--ink); }
}

/* Looping bits outside the feature cards (closing strip, hero stage, Where stage) pause while off screen. */
.js [data-offscreen-pause]:not(.is-onscreen) *, .js [data-offscreen-pause]:not(.is-onscreen) *::after { animation-play-state: paused; }

/* Paused motion (footer toggle) and reduced motion */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .will-reveal .statement-zero, .will-reveal[data-inview] , .will-reveal[data-inview] img { opacity: 1 !important; transform: none !important; translate: none !important; }
}

/* Responsive: 1024, 900 (nav), 768, 640 */
@media (max-width: 1100px) {
  .zips-card { left: 24px; }
  .needs-card { left: auto; right: 24px; }
}
@media (max-width: 1024px) {
  .feature-grid { gap: 16px; }
  .feature { padding: 28px 24px 0; }
  .usecases-grid { grid-template-columns: 1fr 380px; gap: 32px; }
  .trust-grid { gap: 12px; }
  .faq-grid { grid-template-columns: 1fr 1.4fr; }
  .statement-zero { width: 480px; right: -30px; bottom: -170px; }
  .companion { left: calc(50% + 196px); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .zips-card, .needs-card { display: none; }
  .stage-tile { height: 720px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-stage { margin-top: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature-demo { min-height: 260px; }
  .usecases-grid { grid-template-columns: 1fr; gap: 24px; }
  .uc-left { max-width: 560px; }
  .uc-desc { min-height: 0; margin-top: 28px; }
  .uc-right { height: 660px; }
  .uc-tile { inset: 20px 0; }
  .trust-grid { grid-template-columns: 1fr; max-width: 440px; }
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }
  .companion { display: none; }
  .where-stage .demo-toggle { left: auto; right: 16px; }
  .statement { min-height: 470px; padding: 40px 28px 270px; }
  .statement-zero { width: 360px; right: -30px; bottom: -110px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .strip { height: 240px; }
  .strip .s1 { width: 140px; left: 0; }
  .strip .s2 { width: 150px; left: 17%; }
  .strip .s3 { width: 220px; margin-left: -110px; }
  .strip .s4 { width: 150px; right: 15%; }
  .strip .s5 { width: 104px; right: 1%; }
}
@media (max-width: 640px) {
  .wrap, .wrap-wide { padding-inline: 16px; }
  .hero-title { font-size: 40px; line-height: 42px; }
  h2 { font-size: 30px; line-height: 36px; }
  .lead { font-size: 17px; line-height: 27px; }
  .pill { height: 44px; padding: 0 16px; font-size: 15px; gap: 6px; }
  .actions { gap: 8px; }
  .header-actions .pill-sm { height: 36px; }
  .stage-tile { height: 640px; border-radius: 20px; }
  .phone-hero { top: 28px; transform: scale(.92); transform-origin: top center; }
  .statement { padding: 32px 24px 230px; min-height: 500px; }
  .statement-zero { width: 300px; right: -36px; bottom: -96px; }
  .feature { padding: 24px 20px 0; }
  .feature-demo { margin-top: 20px; min-height: 0; }
  .screen { height: 180px; }
  .win { width: 84%; margin-left: -42%; }
  .uc-right { height: 640px; margin-inline: -16px; }
  .uc-tile { inset: 10px 16px; border-radius: 30px; }
  .where-stage { height: 560px; margin-top: 32px; }
  .phone-where { transform: scale(.94); transform-origin: top center; }
  .seg-btn { padding: 0 14px; }
  .strip { height: 190px; }
  .strip .s1 { width: 104px; }
  .strip .s2 { width: 112px; left: 16%; }
  .strip .s3 { width: 170px; margin-left: -85px; }
  .strip .s4 { display: none; }
  .strip .s5 { width: 84px; right: 4%; }
  .strip .s2 { left: 18%; }
  .closing { padding-top: 72px; }
  .actions .pill { flex: 0 1 auto; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 36px; line-height: 38px; }
  .chip { font-size: 14px; }
}


/* The visitor's cursor is the one Zips use on a Mac (Colin's review, Oct 11; TaffyMacBridge CursorView): an orange
   arrow with a white edge, a name tag, and a soft pulse on each click. Mouse and trackpad only; text fields keep the
   text cursor. */
@media (hover: hover) and (pointer: fine) {
  html.zip-cursor, html.zip-cursor a, html.zip-cursor button, html.zip-cursor [role="tab"], html.zip-cursor summary {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2230%22%20viewBox%3D%220%200%2024%2030%22%3E%3Cpath%20d%3D%22M4%202L4%2024L10%2018.5L14.5%2027L18%2025.5L13.5%2017L21%2017Z%22%20fill%3D%22%23F2711C%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") 4 2, auto;
  }
  html.zip-cursor input, html.zip-cursor textarea { cursor: text; }
}
.cursor-tag {
  position: fixed; left: 0; top: 0; z-index: 2147482000; pointer-events: none; opacity: 0;
  padding: 2px 8px; border-radius: 9px; background: #F2711C; color: #fff;
  font: 600 11px/14px "Geist", ui-sans-serif, system-ui, sans-serif; white-space: nowrap;
  transition: opacity .2s var(--ease-std);
}
.cursor-tag.is-on { opacity: 1; }
.cursor-pulse {
  position: fixed; left: 0; top: 0; z-index: 2147481999; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: rgba(242, 113, 28, .25); pointer-events: none;
  animation: cursor-pulse .45s var(--ease) forwards;
}
@keyframes cursor-pulse { from { transform: scale(.3); opacity: 1; } to { transform: scale(1); opacity: 0; } }

/* ---------- Inner pages: How It Works, Zips, Trust, FAQ (tools/pages.py) ---------- */
.page-hero { padding: 168px 0 24px; }
.page-hero h1 { font-size: 64px; line-height: 68px; letter-spacing: -0.03em; }
.page-hero .lead { max-width: 620px; margin: 20px auto 0; }
.page-section { padding: 88px 0; }
.page-section.tint { background: linear-gradient(#fff, #fafaf9 18%, #fafaf9 82%, #fff); }
.narrow { max-width: 600px; margin: 16px auto 0; }

.steps { list-style: none; margin: 48px auto 0; padding: 0; max-width: 720px; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 22px 24px; border-radius: var(--radius-inner); background: var(--card); }
.step-icon { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.steps h3 { font-size: 18px; line-height: 26px; font-weight: 600; }
.steps p { margin-top: 4px; font-size: 16px; line-height: 25px; color: var(--muted); }

.qa-list { max-width: 720px; display: grid; gap: 44px; }
.qa h2 { font-size: 28px; line-height: 34px; }
.qa p { margin-top: 12px; font-size: 17px; line-height: 28px; color: var(--muted); }
.qa a, .faq-page a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.zip-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.zip-card { padding: 26px 24px 28px; border-radius: var(--radius-card); background: var(--card); transition: transform .3s var(--ease); }
.zip-card:hover { transform: translateY(-3px); }
.zip-card h3 { margin-top: 16px; font-size: 20px; line-height: 26px; font-weight: 600; }
.zip-card p { margin-top: 6px; font-size: 15px; line-height: 23px; color: var(--muted); }

.faq-page { max-width: 720px; margin-inline: auto; }
.page-cta { padding: 96px 0 120px; border-top: 1px solid var(--hair); }
.page-cta .lead { margin: 12px auto 0; max-width: 520px; }
.page-cta .actions { margin-top: 28px; display: flex; justify-content: center; }

@media (max-width: 900px) {
  .zip-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page-hero { padding: 128px 0 8px; }
  .page-hero h1 { font-size: 42px; line-height: 46px; }
  .page-section { padding: 64px 0; }
  .zip-cards { grid-template-columns: 1fr; }
  .qa h2 { font-size: 24px; line-height: 30px; }
  .steps li { grid-template-columns: 44px 1fr; padding: 18px; }
  .step-icon { width: 44px; height: 44px; border-radius: 14px; }
}

/* How It Works: each step opens a panel with that moment of the request, on hover only (or focus, for keyboards and
   taps), with a slow, smooth open (Colin's review, Oct 11). */
.steps li { grid-template-rows: auto auto; transition: background-color .3s var(--ease-std), box-shadow .45s var(--ease); }
.steps li:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.step-panel {
  grid-column: 2; display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-6px);
  transition: grid-template-rows .6s var(--ease), opacity .45s var(--ease), transform .6s var(--ease);
}
.step-panel > div { overflow: hidden; min-height: 0; }
/* One step open at a time (site.js, hoverSteps): entering a step opens it as the last one closes, so the list moves
   as one accordion and the step under the cursor never slides away. */
.steps li { row-gap: 0; }
.steps li.is-open { background: #f1f0ed; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.steps li.is-open .step-panel, .steps li:focus-visible .step-panel { grid-template-rows: 1fr; opacity: 1; transform: none; }
.step-demo {
  display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding: 16px; border-radius: 18px;
  background: #fff; font-size: 13.5px; line-height: 19px; max-width: 420px;
}
.step-demo .msg { align-self: flex-start; }
.step-demo .msg.mine { align-self: flex-end; }
.step-demo .status-line { align-self: flex-start; }
.step-demo .mini-card { padding: 12px 14px 0; border-radius: 14px; overflow: hidden; }
.step-demo .screen { height: 150px; }
.step-demo .ask-card { max-width: 100%; }
.step-demo .show-full { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 25px; }
@media (prefers-reduced-motion: reduce) {
  .step-panel { transition: opacity .2s linear; transform: none; }
}


/* Pricing */
.plan-free { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 32px 36px; }
.plan-free h2 { font-size: 28px; line-height: 34px; }
.plan-free p { margin-top: 8px; font-size: 17px; line-height: 27px; color: var(--muted); max-width: 560px; }
.plan-free .plan-actions { display: flex; flex-direction: column; gap: 8px; }
.plan-free .pill { justify-content: center; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px 28px; border-radius: var(--radius-card); background: var(--card); display: flex; flex-direction: column; }
.plan.is-pick { background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.plan-tag { position: absolute; top: -13px; left: 26px; background: var(--ink); color: #fff; font-size: 13px; line-height: 20px; font-weight: 500; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; line-height: 26px; font-weight: 600; }
.plan-price { margin-top: 10px; font-size: 44px; line-height: 48px; letter-spacing: -0.02em; font-weight: 600; }
.plan-price small { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan-list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 23px; color: var(--muted); }
.plan-list li .i { font-size: 18px; margin-top: 2px; color: var(--ink); }
.plan-list b { color: var(--ink); font-weight: 500; }
.plan .pill { justify-content: center; }
.plan-note { margin-top: 22px; text-align: center; font-size: 14px; line-height: 22px; color: var(--muted); }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan-free { grid-template-columns: 1fr; padding: 28px 24px; }
  .plan-free .plan-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Copyable command */
.code { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 14px 14px 20px; background: #0a0a0a; border-radius: var(--radius-inner); }
.code code { flex: 1; min-width: 0; overflow-x: auto; white-space: normal; word-break: break-all; font: 500 14px/22px ui-monospace, "SF Mono", Menlo, monospace; color: #fff; scrollbar-width: none; }
.code code::-webkit-scrollbar { display: none; }
.code-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 500 14px/1 inherit; font-family: inherit; cursor: pointer; }
.code-copy .i { font-size: 16px; }
.code-copy:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.plan .pill[disabled] { opacity: .6; cursor: default; }
.plan .pill[disabled]:active { transform: none; }
@media (max-width: 640px) { .code { flex-direction: column; align-items: stretch; padding: 16px; } .code-copy { justify-content: center; height: 40px; } }
.qa { min-width: 0; }
@media (max-width: 640px) { .code code { white-space: normal; word-break: break-all; overflow-x: visible; } }
