/* Chirpoo site v2: colour is the ground, bubbles are the motif. Tokens from brand/tokens.css v1.0, light only. */
:root {
  color-scheme: light;
  --deep: #142266;
  --cobalt: #2563EB;
  --cobalt-press: #1D4FD0;
  --sky: #6E9BFF;
  --pink: #E5337F;
  --mist: #E6EDFD;
  --cloud: #F5F7FC;
  --white: #FFFFFF;
  --tile: #1E3080;
  --muted: #4A5578;
  --muted-on-deep: #A9BCF0;
  --line: #D9E1F4;
  --line-strong: #B7C4E6;
  --danger: #B42318;
  --lift: 0 24px 48px -24px rgba(20, 34, 102, 0.45);
  --lift-sm: 0 3px 0 rgba(20, 34, 102, 0.16);

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --tail: 8px;
  --gutter: 16px;
  --section: clamp(40px, 1.5rem + 3.4vw, 80px);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cloud);
  color: var(--deep);
  font: 400 16px/1.6 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-press); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .band-cobalt :focus-visible, .band-deep :focus-visible, .chirp-band :focus-visible, .os :focus-visible, .site-footer :focus-visible, .bar :focus-visible { outline-color: var(--white); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.375rem); line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.5rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 22ch; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.1; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Sticker tags (replace the old grey kickers) */
.tag, .label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--mist); color: var(--deep);
  font: 800 13px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: var(--lift-sm); transform: rotate(-2.5deg);
}
.label { margin-bottom: 20px; background: var(--mist); }
.tag-sm { padding: 6px 12px; font-size: 12px; }
.tag-mist { background: var(--mist); }
.tag-sky { background: var(--sky); color: var(--deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--cobalt); color: var(--white);
  font: 800 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.btn:hover { background: var(--cobalt-press); color: var(--white); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-white { background: var(--white); color: var(--deep); }
.btn-white:hover { background: var(--mist); color: var(--deep); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-wide { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.8; cursor: progress; }
.btn[aria-busy="true"] .btn-text::after { content: "…"; }
.btn-hero:hover, .hero-nav .btn:hover, .bar .btn:hover { background: var(--sky); color: var(--deep); }
.link-light { color: var(--sky); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.link-light:hover { color: var(--mist); text-decoration-color: var(--mist); }

/* Bands */
.band-white { background: var(--white); }
.band-mist { background: var(--mist); }
.band-cloud { background: var(--cloud); }
.band-cobalt { background: var(--cobalt); color: var(--white); }
.band-deep { background: var(--deep); color: var(--white); }
.sec-head { margin-bottom: 28px; }
.sec-head .intro { margin-top: 10px; max-width: 60ch; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--muted); }
.band-cobalt .sec-head .intro { color: var(--white); }
.band-deep .sec-head .intro { color: var(--mist); }
.sec-head-c { text-align: center; }
.sec-head-c h2, .sec-head-c .intro { margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 40px; } }

/* ---------- Hero ---------- */
.hero { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; position: relative; background: var(--deep); color: var(--white); }
.hero::before {
  content: ""; position: absolute; z-index: 0; border-radius: 50%; background: var(--cobalt);
  width: 150vw; height: 150vw; right: -100vw; bottom: -118vw;
}
.hero-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; flex: none; }
.brand img { width: 120px; height: auto; }
.hero-links { display: none; gap: 36px; }
.hero-links a { color: var(--mist); font-weight: 700; text-decoration: none; font-size: 16px; }
.hero-links a:hover { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero-main { position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 8px; padding-bottom: 20px; }
.hero-copy { flex: none; }
.tag-hero { margin-bottom: 20px; }
.hero h1 { color: var(--white); }
.hero h1 .pink { color: var(--pink); }
.hero-line { margin-top: 16px; max-width: 34ch; color: var(--mist); font-size: 17px; font-weight: 500; }
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* The big oo, peeking over the inbox. Counters blink once when a chirp lands. */
.mock { --peek: 36px; position: relative; margin: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; padding-top: var(--peek); }
.eyes { position: absolute; z-index: 0; top: 0; right: 20px; width: 96px; height: auto; }
.eyes .o-l { fill: var(--sky); }
.eyes .o-r { fill: var(--pink); }
.eyes .ctr { fill: var(--white); transform-box: fill-box; transform-origin: 50% 50%; }
.eyes .lens { fill: var(--white); }
.blink .ctr { animation: blink 120ms ease-in-out; }
@keyframes blink { 50% { transform: scaleY(0.08); } }

.mock-win { position: relative; z-index: 1; flex: 1; min-height: 0; overflow: hidden; background: var(--white); color: var(--deep); border-radius: var(--r-lg); box-shadow: 0 32px 64px -28px rgba(10, 20, 80, 0.6); display: flex; flex-direction: column; }
.mock-top { display: none; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1.5px solid var(--mist); flex: none; }
.mock-title { font: 800 20px/1 var(--font-display); }
.mock-count { padding: 6px 12px; border-radius: 999px; background: var(--mist); font-size: 12px; font-weight: 700; }
.mock-body { flex: 1; min-height: 0; display: flex; }
.mock-list { display: none; list-style: none; margin: 0; padding: 12px; width: 40%; border-right: 1.5px solid var(--mist); }
.mock-list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm); transition: background-color 250ms ease-out; }
.mock-list li.is-open { background: var(--mist); }
.av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--font-body); background: var(--deep); color: var(--white); }
.av-2 { background: var(--cobalt); }
.av-3 { background: var(--sky); color: var(--deep); }
.av-4 { background: var(--mist); color: var(--deep); }
.av-5 { background: var(--tile); }
.who { min-width: 0; display: flex; flex-direction: column; }
.who b { font-size: 14px; }
.who small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 16px; gap: 12px; transition: opacity 250ms ease-in-out; }
.mock-thread.swap { opacity: 0; }
.thread-head { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; }
.thread-head b { font: 800 18px/1.2 var(--font-display); }
.owner { display: grid; font-size: 12px; font-weight: 700; color: var(--muted); }
.owner > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity 300ms ease-in-out; }
.owner .o-b { opacity: 0; color: var(--deep); }
.owned .owner .o-a { opacity: 0; }
.owned .owner .o-b { opacity: 1; }
.window-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--mist); font: 700 11px/1.4 var(--font-body); color: var(--cobalt); white-space: nowrap; }
.mock .window-chip { margin-left: auto; opacity: 0; transform: translateY(4px); transition: opacity 300ms ease-out, transform 300ms ease-out; }
.win-on .window-chip { opacity: 1; transform: none; }
.clock { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--cobalt); border-right-color: transparent; }
.thread-meta { font-size: 12px; font-weight: 600; color: var(--muted); }
.chirp { position: relative; flex: none; margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--white); opacity: 0; transition: opacity 300ms ease-out; }
.mock-list li.is-open .chirp { box-shadow: 0 0 0 4px var(--mist); }
.chirp.on { opacity: 1; }
.chirp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--pink); opacity: 0; }
.chirp.ring::after { animation: ripple 600ms ease-out; }
@keyframes ripple { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3.2); opacity: 0; } }
.chirp-head { display: none; position: absolute; left: -13px; top: calc(50% - 5px); box-shadow: none; }
.stages { position: relative; display: flex; list-style: none; margin: 0; padding: 4px; gap: 4px; background: var(--cloud); border-radius: 999px; }
.stages::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 20px) / 4); border-radius: 999px; background: var(--deep); transition: transform 400ms ease-in-out; }
.stages[data-s="1"]::before { transform: translateX(calc(100% + 4px)); }
.stages li { position: relative; flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 6px 0; border-radius: 999px; color: var(--muted); transition: color 300ms ease-in-out; }
.stages[data-s="0"] li:nth-child(1), .stages[data-s="1"] li:nth-child(2) { color: var(--white); }
.bubbles { flex: 1; min-height: 0; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px); mask-image: linear-gradient(to bottom, transparent 0, #000 40px); }
.track { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; }
.track .new { animation: bub-in 400ms ease-out; }
.track .wait { opacity: 0; animation: none; }
@keyframes bub-in { from { opacity: 0; } to { opacity: 1; } }
.bubbles .day { align-self: center; padding: 2px 10px; font-size: 11px; font-weight: 700; color: var(--muted); }
.bubbles p:not(.day), .fly { max-width: 82%; margin: 0; padding: 9px 14px; border-radius: 18px; font: 500 14px/1.4 var(--font-body); }
.bubbles .in, .fly { background: var(--mist); color: var(--deep); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubbles .out { background: var(--cobalt); color: var(--white); border-bottom-right-radius: 6px; align-self: flex-end; }
/* The chirp in flight: a bubble from the edge of the hero, carrying the pink dot. */
.fly { position: absolute; z-index: 5; max-width: none; pointer-events: none; }
.fly::before { content: ""; position: absolute; left: -5px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px var(--white); }
.composer { flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
/* Inner padding keeps the first glyph inside the clip box at fractional offsets. */
.c-text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; line-height: 20px; padding: 0 4px; }
.c-text.typing { color: var(--deep); }
.composer i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt); transition: background-color 250ms ease-out; }
.composer.ready i { background: var(--deep); }

@media (max-width: 719px) {
  .chirp-head { display: block; left: 0; }
  .thread-head { padding-left: 18px; }
  .thread-meta, .wc-long { display: none; }
}
@media (min-width: 720px) {
  .mock-list { display: block; }
  .mock-top { display: flex; }
  .mock { --peek: 56px; }
  .eyes { width: 150px; right: 40px; }
}
@media (min-width: 1024px) {
  .hero::before { width: 72vw; height: 72vw; right: -20vw; bottom: -40vw; }
  .hero-nav { height: 88px; }
  .brand img { width: 140px; }
  .hero-links { display: flex; }
  .hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; padding-bottom: 48px; }
  .hero h1 { max-width: 12ch; }
  .hero-line { font-size: 20px; margin-top: 24px; }
  .hero-cta { margin-top: 36px; }
  .mock { height: min(640px, 100%); --peek: 72px; }
  .eyes { width: 190px; right: 48px; }
  .mock-thread { padding: 20px 24px; gap: 14px; }
  .bubbles p:not(.day), .fly { font-size: 15px; }
}

/* ---------- Waitlist ---------- */
.form-card { position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--lift); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.opt { font-weight: 600; color: var(--muted); font-size: 13px; margin-left: 4px; }
input, select { width: 100%; min-height: 52px; padding: 0 16px; border: 2px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); color: var(--deep); font: 600 16px/1.2 var(--font-body); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23142266' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
input:hover, select:hover { border-color: var(--cobalt); }
input:focus-visible, select:focus-visible { outline: 3px solid var(--mist); outline-offset: 0; border-color: var(--cobalt); }
.phone { display: flex; }
.phone span { display: grid; place-items: center; padding: 0 16px; border: 2px solid var(--line-strong); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--mist); font-weight: 800; }
.phone input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.err { font-size: 14px; color: var(--danger); font-weight: 700; margin-top: 6px; }
[aria-invalid="true"] { border-color: var(--danger); }
.form-err { margin-top: 12px; color: var(--danger); font-weight: 700; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 40px 16px; outline: none; }
.eyes.eyes-sm { position: static; display: block; width: 76px; margin: 0 auto 16px; }
.eyes-sm .lens { fill: none; }
.done-title { font: 800 26px/1.1 var(--font-display); margin-bottom: 8px; }
.done p:not(.done-title) { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .done:not([hidden]) .eyes-sm { animation: chirp 300ms ease-out; }
  @keyframes chirp { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
}

/* ---------- Inner pages ---------- */
.bar { background: var(--deep); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.bar .brand img { width: 126px; }
.doc { padding: 64px 0 var(--section); }
.doc article { max-width: 70ch; }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; max-width: none; letter-spacing: -0.01em; line-height: 1.2; }
.doc p, .doc li { color: var(--deep); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc .updated { color: var(--muted); }
.notice { padding: 96px 0 var(--section); min-height: 60vh; }
.notice h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); max-width: 14ch; margin-bottom: 16px; }
.notice p:not(.label) { color: var(--muted); max-width: 46ch; }
.notice .btn { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--white); padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: 160px; height: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted-on-deep); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.footer-brand a { font-weight: 700; text-decoration: underline; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer .label { display: block; margin: 0 0 4px; padding: 0; background: none; box-shadow: none; transform: none; color: var(--muted-on-deep); font: 800 15px/1.4 var(--font-display); letter-spacing: 0; text-transform: none; }
/* Embossed wordmark: the mono wordmark used as a mask three times (highlight, shadow, body in the ground colour) so only the edges read. */
.foot-mark { position: relative; width: 100%; aspect-ratio: 3214 / 867; margin-top: 48px; }
.foot-mark i { position: absolute; inset: 0; display: block; -webkit-mask: url(/chirpoo-wordmark-mono-white.svg) no-repeat center / contain; mask: url(/chirpoo-wordmark-mono-white.svg) no-repeat center / contain; }
.foot-mark .hi { background: rgba(255, 255, 255, 0.16); transform: translate(-3px, -3px); }
.foot-mark .lo { background: rgba(0, 0, 0, 0.5); transform: translate(3px, 3px); }
.foot-mark .body { background: var(--deep); }
@media (max-width: 719px) { .foot-mark { margin-top: 32px; } .foot-mark .hi { transform: translate(-1.5px, -1.5px); } .foot-mark .lo { transform: translate(1.5px, 1.5px); } }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(169, 188, 240, 0.25); font-size: 13px; color: var(--muted-on-deep); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}


@media (prefers-reduced-motion: reduce) {
  .lead-move, .ctr { transition: none; animation: none; }
}


/* v3: nav wordmark with blinking oo (Deep counters shrink to reveal the Sky / Pink under-fills). */
.wm { display: block; width: 120px; height: auto; }
.wm .cu-l { fill: var(--sky); }
.wm .cu-r { fill: var(--pink); }
.wm .ctr { fill: var(--deep); transform-box: fill-box; transform-origin: 50% 50%; }
@media (min-width: 1024px) { .wm { width: 140px; } }


/* Waitlist success and the pricing message: a chirp ripple round the card. */
.form-card.ring::before, .form-card.ring::after, .pm-bubble.ring::before, .pm-bubble.ring::after { content: ""; position: absolute; pointer-events: none; border: 2px solid var(--pink); opacity: 0; }
.form-card.ring::before, .pm-bubble.ring::before { inset: -10px; border-radius: 40px; animation: ripple-card 700ms ease-out; }
.form-card.ring::after, .pm-bubble.ring::after { inset: -22px; border-radius: 50px; animation: ripple-card 700ms 140ms ease-out backwards; }
@keyframes ripple-card { from { opacity: 0.8; transform: scale(0.97); } to { opacity: 0; transform: scale(1.02); } }

/* ===== v4 below the hero: the page is one conversation. Bands end in speech-bubble tails. ===== */
.b { --br: 28px; position: relative; padding: var(--section) 0; overflow-x: clip; }
@media (min-width: 720px) { .b { --br: 48px; } }
.tail-l, .tail-r { border-radius: 0 0 var(--br) var(--br); }
.tail-l::after, .tail-r::after { content: ""; position: absolute; top: calc(100% - 1px); width: 40px; height: 26px; background: inherit; }
.tail-l::after { left: calc(var(--br) + var(--gutter)); clip-path: polygon(0 0, 100% 0, 0 100%); }
.tail-r::after { right: calc(var(--br) + var(--gutter)); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ov { margin-top: calc(-1 * var(--br)); padding-top: calc(var(--section) + var(--br)); }
.z9 { z-index: 9; } .z8 { z-index: 8; } .z7 { z-index: 7; } .z6 { z-index: 6; } .z5 { z-index: 5; } .z4 { z-index: 4; } .z3 { z-index: 3; }
.intro { margin-top: 10px; max-width: 60ch; color: var(--muted); font-weight: 500; }
.av-ic, .a-av, .msg-av, .faq-a img { flex: none; width: 36px; height: 36px; border-radius: 10px; }

/* ---------- Chirps on a wire ---------- */
.wire-band { background: var(--white); padding-bottom: 48px; }
.wire { --top: 44px; --h: 130px; position: relative; display: grid; gap: 16px; margin-top: 20px; }
.wire-run { position: relative; height: calc(var(--top) + var(--h) * 0.56); }
.wire-line { position: absolute; left: 0; top: var(--top); width: 100%; height: var(--h); overflow: visible; }
.wire-line path { fill: none; stroke: var(--deep); stroke-width: 2; vector-effect: non-scaling-stroke; }
.perch { position: absolute; top: calc(var(--top) + var(--h) * var(--y) - 3px); padding: 7px 12px; border-radius: 16px 16px 16px 4px; background: var(--mist); font: 600 13px/1.3 var(--font-body); white-space: nowrap; }
.p1 { --y: 0.176; left: 3%; translate: 0 -100%; }
.p2 { --y: 0.436; left: 30%; translate: -50% -100%; display: none; }
.p3 { --y: 0.49; left: 58%; translate: -50% -100%; }
.p5 { --y: 0.176; left: 97%; translate: -100% -100%; border-radius: 16px 16px 4px 16px; }
.flyer { z-index: 3; translate: none; pointer-events: none; }
.wi { width: 100%; max-width: 400px; justify-self: end; padding: 14px; border-radius: var(--r-md); background: var(--deep); color: var(--white); box-shadow: var(--lift); }
.wi-top { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 10px; font-size: 13px; color: var(--muted-on-deep); }
.wi-top b { font: 800 18px/1 var(--font-display); color: var(--white); }
.wi-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm); background: var(--tile); transition: opacity 300ms ease-out; }
.wi-row .who small { color: var(--muted-on-deep); }
.wi-row .chirp { box-shadow: 0 0 0 4px var(--tile); }
.anim .wire:not(.landed) .wi-row { opacity: 0; }
@media (min-width: 720px) {
  .wire { --h: 100px; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 40px; margin-top: 8px; }
  .wire-run { height: calc(var(--top) + var(--h) * 0.6 + 16px); }
  .p2 { display: block; }
  .perch { font-size: 14px; }
}

/* ---------- Features as a chat with Chirpoo ---------- */
.feat-band { background: var(--mist); }
.ph { display: none; }
.chs { display: grid; gap: 40px; max-width: 680px; }
.ch { display: flex; flex-direction: column; gap: 12px; }
.q { align-self: flex-end; display: block; max-width: 88%; padding: 12px 14px 12px 18px; border-radius: 20px 20px 6px 20px; background: var(--cobalt); color: var(--white); font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.tick { display: inline-block; width: 18px; height: 12px; margin-left: 8px; vertical-align: baseline; }
.tick path { fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 300ms ease-out; }
.a { display: flex; align-items: flex-end; gap: 10px; max-width: 94%; }
.a-b { position: relative; min-width: 0; display: grid; gap: 10px; padding: 16px 18px; border-radius: 20px 20px 20px 6px; background: var(--white); box-shadow: var(--lift-sm); }
.a-b > p:not(.a-lead) { color: var(--muted); }
.a-lead, .pa .a-lead { font: 800 17px/1.3 var(--font-body); color: var(--deep); }
.mini { display: grid; justify-items: start; gap: 8px; padding: 12px; border-radius: var(--r-sm); background: var(--cloud); }
.mi-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.mi-row .av, .avs .av { width: 32px; height: 32px; font-size: 13px; }
.mi-own { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.ow { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt); color: var(--white); font: 800 11px/1 var(--font-body); font-style: normal; }
.mini .window-chip { background: var(--white); }
.mi-pills { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; padding: 4px; list-style: none; border-radius: 999px; background: var(--white); }
.mi-pills li { padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); }
.mi-pills .on { background: var(--deep); color: var(--white); }
.mi-tags, .mi-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mi-tags span, .mi-pill, .mi-stop { padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 12px; font-weight: 700; }
.mi-ad, .mi-pill-c { border-color: var(--cobalt) !important; background: var(--cobalt) !important; color: var(--white); }
.mi-stop { border-color: var(--deep); background: var(--deep); color: var(--white); }
.mi-arrow { position: relative; width: 18px; height: 2px; background: var(--deep); }
.mi-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left: 6px solid var(--deep); border-right: 0; }
.mi-tpl { width: 100%; max-width: 260px; overflow: hidden; border-radius: 12px; background: var(--white); }
.mi-media { display: grid; place-items: center; height: 64px; background: var(--sky); }
.mi-media svg { width: 26px; height: 26px; fill: none; stroke: var(--deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mi-lines { display: grid; gap: 6px; padding: 10px; }
.mi-lines i, .mi-bars i { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w55 { width: 55%; }
.mi-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.sw { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--cobalt); }
.sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); }
.mi-flow { display: grid; gap: 6px; width: 100%; max-width: 300px; }
.mi-node { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--white); font-size: 13px; font-weight: 600; }
.mi-node span { width: 38px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cobalt-press); }
.mi-send { background: var(--deep); color: var(--white); }
.mi-send span { color: var(--sky); }
.avs { display: flex; }
.avs .av { box-shadow: 0 0 0 3px var(--cloud); }
.avs .av + .av { margin-left: -8px; }
.mi-bars { display: grid; gap: 6px; width: 100%; max-width: 300px; }
.mi-bars span { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; font-size: 12px; }
.mi-bars i { height: 8px; background: var(--cobalt); }

/* Desktop with JS: a sticky phone on the left replays the chat while the chapters scroll. */
@media (min-width: 1024px) {
  .has-phone .feat-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 80px; align-items: start; }
  .has-phone .ph { position: sticky; top: max(24px, calc(50vh - 300px)); display: flex; flex-direction: column; height: min(600px, calc(100vh - 48px)); overflow: hidden; border: 10px solid var(--deep); border-radius: 44px; background: var(--deep); box-shadow: var(--lift); }
  .has-phone .chs { gap: 24px; }
  .has-phone .ch { min-height: 28vh; justify-content: center; gap: 16px; }
  .has-phone .ch:first-child { min-height: 24vh; justify-content: flex-start; padding-top: 24px; }
  .has-phone .q { align-self: flex-start; max-width: 22ch; padding: 0; border-radius: 0; background: none; color: var(--deep); font-size: clamp(1.75rem, 1rem + 1.2vw, 2.25rem); line-height: 1.08; letter-spacing: -0.02em; }
  .has-phone .tick { width: 26px; height: 16px; margin-left: 10px; }
  .has-phone .tick path { stroke: var(--line-strong); }
  .has-phone .read .tick path { stroke: var(--cobalt); }
  .has-phone .a { max-width: 54ch; }
  .has-phone .a-av, .has-phone .ch .mini { display: none; }
  .has-phone .a-b { padding: 0; background: none; box-shadow: none; }
  .has-phone .a-lead { color: var(--cobalt-press); }
}
.ph-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--deep); color: var(--white); }
.ph-head img { width: 36px; height: 36px; border-radius: 10px; }
.ph-head span { display: grid; line-height: 1.2; }
.ph-head b { font-size: 15px; }
.ph-status { font-size: 12px; color: var(--muted-on-deep); }
.ph-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px 12px; overflow: hidden; background: var(--cloud); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 56px); mask-image: linear-gradient(to bottom, transparent 0, #000 56px); }
.pq, .pa { flex: none; animation: bub-in 300ms ease-out; }
.ph-thread [hidden] { display: none; }
.pq { align-self: flex-end; max-width: 84%; padding: 9px 12px; border-radius: 16px 16px 4px 16px; background: var(--cobalt); color: var(--white); font: 600 14px/1.35 var(--font-body); }
.pa { position: relative; align-self: flex-start; display: grid; gap: 8px; max-width: 92%; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: var(--white); box-shadow: var(--lift-sm); }
.pa .a-lead { font-size: 14px; }
.pa .mini { padding: 10px; }
.ph-comp { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--white); }
.ph-comp span { flex: 1; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.ph-comp i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cobalt); }
@media (prefers-reduced-motion: reduce) { .pq, .pa { animation: none; } }

/* Typing dots: the bubble keeps its box (no layout shift), three dots sit over it. */
.typing .a-b > *, .pa.typing > *, .faq details.typing .faq-a p { visibility: hidden; }
.typing .a-b::after, .pa.typing::after, .faq details.typing .faq-a::after {
  content: ""; position: absolute; left: 20px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--deep); box-shadow: 14px 0 var(--deep), 28px 0 var(--deep); animation: dots 500ms ease-out infinite alternate;
}
.faq details.typing .faq-a::after { left: 62px; }
@keyframes dots { from { opacity: 0.25; } to { opacity: 0.8; } }

/* ---------- The giant chirp ---------- */
.chirp-band { background: var(--deep); color: var(--white); }
.cb-grid { display: grid; gap: 24px; align-items: center; }
.giant { font: 800 clamp(96px, 20vw, 220px)/0.85 var(--font-display); letter-spacing: -0.045em; color: var(--pink); font-variation-settings: "opsz" 96; }
.giant .dot { position: relative; display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.05em; border-radius: 50%; background: var(--pink); }
.giant .dot::before, .giant .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--pink); opacity: 0; }
.anim .chirp-band.seen .dot::before { animation: ripple 500ms 200ms ease-out backwards; }
.anim .chirp-band.seen .dot::after { animation: ripple 500ms 380ms ease-out backwards; }
.push { display: flex; align-items: center; gap: 12px; max-width: 320px; margin-bottom: 24px; padding: 12px 14px; border-radius: 18px; background: var(--white); color: var(--deep); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); transition: opacity 400ms ease-out, transform 400ms ease-out; }
.push img { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.push span { display: grid; line-height: 1.3; }
.push b { font-size: 14px; }
.push small { font-size: 13px; color: var(--muted); }
.anim .chirp-band:not(.seen) .push { opacity: 0; transform: translateY(-12px); }
.cb-copy h2 { color: var(--white); }
.cb-copy p { margin-top: 10px; color: var(--mist); font-size: 17px; font-weight: 500; }
@media (min-width: 900px) { .cb-grid { grid-template-columns: auto minmax(0, 1fr); gap: 80px; } }

/* ---------- Pricing as a message ---------- */
.price-sec { background: var(--cloud); }
.price-chat { display: grid; gap: 16px; }
.day-chip { justify-self: center; padding: 4px 12px; border-radius: 8px; background: var(--white); font-size: 12px; font-weight: 700; color: var(--muted); box-shadow: var(--lift-sm); }
.msg { display: flex; align-items: flex-end; gap: 10px; min-width: 0; }
.msg-av { width: 40px; height: 40px; border-radius: 12px; }
.msg-av-gap { display: block; }
.pm-col { flex: 1; min-width: 0; max-width: 580px; display: grid; gap: 6px; }
.pm-bubble { position: relative; padding: clamp(20px, 3vw, 32px); border-radius: 24px 24px 24px 6px; background: var(--white); box-shadow: var(--lift); }
.pm-from { margin-bottom: 8px; font-size: 13px; font-weight: 800; color: var(--cobalt-press); }
.pm-bubble h2 { max-width: 18ch; }
.pm-sub { margin-top: 8px; color: var(--muted); }
.price { margin-top: 20px; font: 800 clamp(3rem, 2.2rem + 2.6vw, 4.25rem)/1 var(--font-display); letter-spacing: -0.03em; font-variation-settings: "opsz" 96; }
.price .cur { font-size: 0.55em; vertical-align: 0.5em; margin-right: 2px; }
.price .per { margin-left: 4px; font: 600 16px/1 var(--font-body); letter-spacing: 0; color: var(--muted); }
.price-inc { margin-top: 8px; font-weight: 700; }
.pm-lines { margin: 20px 0 16px; padding: 0; list-style: none; border-top: 1.5px solid var(--line); }
.pm-lines li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 10px 0; border-bottom: 1.5px solid var(--line); font-size: 15px; }
.pm-lines span { color: var(--muted); }
.pm-lines b { font-weight: 800; }
.price-note { font-size: 14px; color: var(--muted); }
.pm-foot { margin-top: 12px; text-align: right; font-size: 12px; font-weight: 600; color: var(--muted); }
.qr { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; background: var(--cobalt); color: var(--white); font-weight: 800; text-decoration: none; transition: background-color 150ms ease-out; }
.qr:hover { background: var(--cobalt-press); color: var(--white); }
.qr svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pm-later { max-width: 580px; flex: 1; min-width: 0; padding: 20px 24px; box-shadow: var(--lift-sm); transition: opacity 400ms 300ms ease-out, transform 400ms 300ms ease-out; }
.coming-h { margin-bottom: 8px; font-weight: 800; }
.pm-later ul { margin: 0; padding-left: 18px; color: var(--muted); }
.pm-later li + li { margin-top: 4px; }
.anim .price-chat:not(.seen) .pm-later { opacity: 0; transform: translateY(8px); }
@media (min-width: 900px) {
  .price-chat { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); column-gap: 40px; align-items: start; }
  .day-chip { grid-column: 1 / -1; }
  .pm-2 { margin-top: 160px; }
}

/* ---------- Built in the open: a quoted bubble inside a quoted bubble ---------- */
.os { background: var(--cobalt); color: var(--white); }
.os-grid { display: grid; gap: 32px; }
.os-copy h2 { color: var(--white); }
.os-copy .lede { margin: 12px 0; font-size: 18px; font-weight: 700; max-width: 40ch; }
.os-copy p + p { margin-top: 8px; }
.os-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.os-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); color: var(--deep); font-weight: 800; text-decoration: none; transition: background-color 150ms ease-out; }
.os-links a:hover { background: var(--mist); color: var(--deep); }
.nest, .nest ol { margin: 0; padding: 0; list-style: none; }
.nest li { display: block; color: var(--deep); transition: opacity 300ms ease-out, transform 300ms ease-out; }
.nest b { display: block; font: 800 20px/1.2 var(--font-display); }
.nest li > span:not(.tag) { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.nest ol { margin-top: 16px; }
.n1 { padding: 20px; border-radius: 26px 26px 26px 6px; background: var(--white); box-shadow: var(--lift); }
.n1 > b img { width: 130px; height: auto; }
.n1 > .tag { margin-bottom: 12px; }
.n2 { padding: 16px; border-radius: 20px 20px 20px 6px; background: var(--mist); }
.n3 { padding: 14px 16px; border-radius: 16px 16px 16px 6px; background: var(--deep); }
.nest .n3 b { color: var(--white); }
.nest .n3 > span { color: var(--muted-on-deep) !important; }
.anim .nest:not(.seen) .n2, .anim .nest:not(.seen) .n3 { opacity: 0; transform: translateY(8px); }
.nest.seen .n2 { transition-delay: 150ms; }
.nest.seen .n3 { transition-delay: 300ms; }
.sys-note { justify-self: center; padding: 8px 16px; border-radius: 10px; background: var(--mist); color: var(--deep); font-size: 14px; font-weight: 600; text-align: center; }
.sys-note a { color: var(--cobalt-press); font-weight: 800; }
@media (min-width: 900px) { .os-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 56px; align-items: center; } .sys-note { grid-column: 1 / -1; } }

/* ---------- FAQ as a conversation ---------- */
.faq { background: var(--white); }
.faq-wrap { display: grid; gap: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq summary { margin-left: auto; width: fit-content; max-width: 88%; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 20px 20px 6px 20px; background: var(--cobalt); color: var(--white); font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; transition: background-color 150ms ease-out; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 20px; text-align: center; font: 800 20px/1 var(--font-body); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { background: var(--cobalt-press); }
.faq-a { position: relative; display: flex; align-items: flex-end; gap: 10px; max-width: 92%; margin-top: 10px; }
.faq-a img { width: 32px; height: 32px; border-radius: 9px; }
.faq-a p { padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: var(--mist); }
@media (prefers-reduced-motion: no-preference) { .faq details[open]:not(.typing) .faq-a p { animation: bub-in 250ms ease-out; } }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; } }

/* ---------- Waitlist: Chirpoo asks, you answer ---------- */
.waitlist { background: var(--mist); }
.wl-chat { display: grid; gap: 20px; }
.wl-in { display: flex; align-items: flex-end; gap: 10px; max-width: 560px; }
.wl-bubble { min-width: 0; padding: 20px 24px; border-radius: 24px 24px 24px 6px; background: var(--white); box-shadow: var(--lift-sm); }
.wl-bubble h2 { margin-bottom: 10px; }
.wl-bubble p { color: var(--muted); }
.wl-chat .form-card { justify-self: end; width: 100%; max-width: 520px; border-radius: 32px 32px 10px 32px; }
@media (min-width: 900px) { .wl-chat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } .wl-chat .form-card { margin-top: 96px; } }
body:has(#waitlist) .site-footer { position: relative; z-index: 2; margin-top: -28px; padding-top: 84px; }
@media (min-width: 720px) { body:has(#waitlist) .site-footer { margin-top: -48px; padding-top: 104px; } }

/* ---------- Buddy: the oo keep an eye on you ---------- */
.buddy { position: fixed; z-index: 50; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border-radius: 999px; background: var(--deep); color: var(--white); font-weight: 800; text-decoration: none; box-shadow: var(--lift); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 300ms ease-out, transform 300ms ease-out, visibility 0s 300ms, background-color 150ms ease-out; }
.buddy.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.buddy:hover { background: var(--tile); color: var(--white); }
.buddy:focus-visible { outline: 3px solid var(--white); box-shadow: 0 0 0 6px var(--deep); }
.buddy svg { width: 52px; height: auto; overflow: visible; }
.buddy .o-l { fill: var(--sky); }
.buddy .o-r { fill: var(--pink); }
.buddy .lens, .buddy .ctr { fill: var(--white); }
.buddy .pupil { fill: var(--deep); transition: translate 200ms ease-out; }
.buddy .eye { transform-box: fill-box; transform-origin: 50% 50%; }
.buddy.bl .eye { animation: blink 140ms ease-in-out; }
.buddy.wk .eye-r { animation: wink 300ms ease-in-out; }
@keyframes wink { 50% { transform: scaleY(0.08); } }
.buddy span { display: none; padding-right: 8px; }
@media (min-width: 720px) { .buddy { right: 24px; bottom: 24px; } .buddy span { display: inline; } }
@media (prefers-reduced-motion: reduce) { .buddy, .buddy .pupil, .buddy .eye { transition: none; animation: none; } }
