/* uno's landing page. The design is the "Section · Site · getunoinbox.app"
   section of Uno.pen (desktop 1440 and phone 390 keyframes); this file
   follows it. The
   three bubbles are drawn by landing.js in one page-sized layer (.flock); the page
   itself always scrolls. Scroll-linked reveals use CSS scroll-driven
   animations, only with motion allowed and where the browser supports them. */

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

:root {
  color-scheme: light dark;
  --bg: #fbf8f5;
  --ink: #1d1d1f;
  --ink-2: #5b5b63;
  --ink-3: #6e6e73;
  --panel: #fff;
  --line: #0000000a;
  --hair: #1d1d1f40;
  --sep: #c6c6c8;
  --label: #000;
  --label-2: #00000099;
  --shadow: 0 20px 50px #3a202017;
  --card-shadow: 0 10px 28px #3a20300f;
  --glow: 0.12;
  --accent: #1570EC;
  --wa-a: #e9faef; --wa-b: #effbf3;
  --sl-a: #f0e9f0; --sl-b: #f3eef3;
  --tg-a: #eaf6fd; --tg-b: #eff8fd;
  --t-orange: #e5820f24; --t-pink: #d9468f24; --t-teal: #0e9f9a24;
  --ch: #ece6fb; --ch-ink: #7a4fd6;
  --seg: #0000000a;
  --ink-soft: #8e8e93;
  --ok: #1f9d55; --err: #d70015; --warn: #a35400;
  --field-line: #1d1d1f24; --field-shadow: 0 8px 24px #3a202014;
  --pad: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f14;
    --ink: #f5f5f7;
    --ink-2: #a1a1aa;
    --ink-3: #8e8e93;
    --panel: #1c1c1e;
    --line: #ffffff14;
    --hair: #ffffff40;
    --sep: #38383a;
    --label: #fff;
    --label-2: #ffffff99;
    --shadow: 0 20px 50px #00000080;
    --card-shadow: 0 10px 28px #00000066;
    --glow: 0.08;
    --accent: #3D8BFF;
    --wa-a: #151c18; --wa-b: #111613;
    --sl-a: #1a161b; --sl-b: #151216;
    --tg-a: #14191d; --tg-b: #111518;
    --t-orange: #ffa23a38; --t-pink: #ff6fb038; --t-teal: #3cc8c238;
    --ch: #332e40; --ch-ink: #b49af5;
    --seg: #ffffff14;
    --ink-soft: #6e6e73;
    --ok: #32d74b; --err: #ff6961; --warn: #ffb340;
    --field-line: #ffffff2e; --field-shadow: 0 8px 24px #00000066;
  }
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.5 "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size-adjust: from-font;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Nothing may widen the page: animations fly things in from the sides. */
html, main, .foot { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 20; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- The flock: three bubbles in one page-sized layer, moved by landing.js ---------- */
/* The flock spans the whole page (not the viewport), so resting bubbles scroll
   with the content; it clips at the page's sides. */
body { position: relative; }
.flock { position: absolute; inset: 0; z-index: 5; pointer-events: none; display: none; overflow: hidden; }
.js .flock { display: block; }
.bee { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; will-change: transform, opacity; opacity: 0; }
.bee svg { position: relative; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 14px 18px var(--sh)); }
/* The logo's three colours (design/logo/README.md): pink, amber, blue. */
.flock, .note { --pink: #F5325E; --amber: #FFAA00; --blue: #1570EC; }
.bee[data-k="pink"] { --sh: #F5325E24; }
.bee[data-k="amber"] { --sh: #FFAA0024; }
.bee[data-k="blue"] { --sh: #1570EC24; }
.halo { position: absolute; left: 0; top: 0; width: 100px; height: 100px; border-radius: 50%; opacity: 0; will-change: transform, opacity; background: radial-gradient(closest-side, var(--gc), transparent); }
.halo[data-k="pink"], .tap[data-k="pink"] { --gc: var(--pink); } .halo[data-k="amber"], .tap[data-k="amber"] { --gc: var(--amber); } .halo[data-k="blue"], .tap[data-k="blue"] { --gc: var(--blue); }
/* Cursor stops: a station with data-x/data-y is a point in its image; the bubble's
   tail tip lands on it, and a ring taps it on arrival. */
.st.tip { --s: 30px; }
.tap { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gc); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes tap { from { opacity: 0.8; scale: 0.35; } to { opacity: 0; scale: 1.5; } }
  .tap.on { animation: tap 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
}
/* Measuring ignores the scroll reveals, so targets land where the images settle. */
.measuring .mac-list, .measuring .pane, .measuring .win, .measuring .crop,
.measuring .tiles li, .measuring .checks li, .measuring .fact, .measuring .ring { animation: none !important; }

/* A station is an invisible point where a bubble perches; landing.js reads it. */
.st { position: absolute; width: var(--s, 44px); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
/* Where the logo stands (mark.svg, 183 x 240). With JS the three bubbles draw
   it (landing.js); the image is for no JS. */
.logo-slot { position: relative; aspect-ratio: 183 / 240; }
.logo-slot img { display: block; width: 100%; height: 100%; }
.js .logo-slot img { visibility: hidden; }

/* ---------- Top bar and type ---------- */
.top, .beat, .foot { width: min(1200px, 100% - 2 * var(--pad)); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; height: 100px; position: relative; z-index: 1; }
/* The footer's lockup (logo/lockup.svg, lockup-dark.svg in dark mode). The
   top bar's is split in two, see "1 The fold" below. */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: auto; height: 28px; }
.top nav { display: flex; gap: 32px; }
.top nav a, .foot nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover, .foot nav a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.copy { display: grid; gap: 18px; }
.copy h2 { font-size: 64px; line-height: 1.04; font-weight: 800; letter-spacing: -0.038em; text-wrap: balance; }
.copy p { font-size: 20px; color: var(--ink-2); max-width: 720px; text-wrap: pretty; }
.beat { padding-block: 150px 40px; position: relative; }
.stage { position: relative; }

/* ---------- Chat rows: uno's iOS/Chat row component ---------- */
.row { display: flex; align-items: center; gap: 12px; padding-left: 16px; position: relative; color: var(--label); }
.av { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff; font-size: 19px; font-weight: 600; letter-spacing: 0.2px; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.ch { border-radius: 15px; background: var(--ch); color: var(--ch-ink); font-size: 24px; font-weight: 600; }
.c-teal { background: #4a9a8d; } .c-pink { background: #c26c86; } .c-blue { background: #5a8fbc; }
.c-orange { background: #c97f45; } .c-indigo { background: #6c77c4; } .c-purple { background: #8876c0; } .c-green { background: #639a61; }
.nb { position: absolute; left: 46px; top: 50%; margin-top: 4px; width: 27px; height: 27px; padding: 2.5px; border-radius: 50%; background: var(--panel); }
.tx { flex: 1; min-width: 0; display: grid; gap: 2px; padding: 12px 16px 12px 0; border-bottom: 0.5px solid var(--sep); }
li:last-child > .row .tx, .card .tx { border-bottom: 0; }
.l1, .l2 { display: flex; gap: 6px; min-width: 0; }
.l1 { align-items: center; }
.l1 b { flex: 1; min-width: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l1 time, .pv { font-size: 15px; letter-spacing: -0.2px; color: var(--label-2); }
.l2 { gap: 10px; align-items: flex-start; }
.pv { flex: 1; min-width: 0; line-height: 1.27; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cnt { flex: none; margin-top: 2px; height: 22px; min-width: 22px; padding: 0 7px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #fff; background: #F5325E; }
.cnt.at { color: #17181f; background: #FFAA00; }
/* The app's count colours (docs/design/DESIGN.md, "Color from the logo"): solid pink unread, solid amber mentions. */
@media (prefers-color-scheme: dark) { .cnt { background: #FF4D74; } .cnt.at { background: #FFB01A; } }
.cnt.muted { color: var(--label-2); background: var(--seg); }
.ic { width: 15px; height: 15px; color: #3c3c434d; flex: none; }
.l2 .ic { position: absolute; right: 18px; bottom: 12px; }
.ic.pin { width: 13px; height: 13px; }
@media (prefers-color-scheme: dark) { .ic { color: #ebebf54d; } }
.panel { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- 2 Three apps, one list ---------- */
.pour { margin-top: 48px; }
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 30px; }
.source { display: flex; align-items: center; gap: 14px; height: 72px; }
.source .slot { position: relative; translate: none; flex: none; --s: 72px; }
.source-label { font-size: 18px; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 30px; row-gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--card-shadow); overflow: hidden; width: calc(100% - 14px); }
.card.c1 { grid-column: 1; --tx: 410px; } .card.c2 { grid-column: 2; --tx: 0px; } .card.c3 { grid-column: 3; --tx: -410px; }
.card.r1 { grid-row: 1; } .card.r2 { grid-row: 2; margin-left: 14px; } .card.r3 { grid-row: 3; } .card.r4 { grid-row: 4; margin-left: 14px; }
.c1.r1 { rotate: -2.5deg; } .c1.r2 { rotate: 1.8deg; } .c1.r3 { rotate: -1.2deg; } .c1.r4 { rotate: 2deg; }
.c2.r1 { rotate: 2deg; } .c2.r2 { rotate: -1.6deg; } .c2.r3 { rotate: 1deg; } .c2.r4 { rotate: -2.2deg; }
.c3.r1 { rotate: -1.8deg; } .c3.r2 { rotate: 2.4deg; } .c3.r3 { rotate: -1deg; } .c3.r4 { rotate: 1.5deg; }
.card.r4 { opacity: 0.55; }

/* ---------- Mac shots: exported from the Site section, light and dark ---------- */
.shot { position: relative; }
.shot img { width: 100%; border-radius: var(--r, 24px); box-shadow: var(--shadow); }
.crop { overflow: hidden; border-radius: var(--r, 18px); box-shadow: var(--shadow); }
.crop img { max-width: none; border-radius: 0; box-shadow: none; }

/* ---------- 1 The fold: a conversation on ink (Uno.pen, "Direction C · network mix"; Ariel's idea and pick, 2026-11-30) ----------
   Ink in light and dark. A glass top bar holds the lockup, whose 1 is the
   bubbles' logo slot. The fold is a chat across the three apps: WhatsApp says
   the headline from the left, Telegram replies from the right, and the beta
   form is your turn, beside Slack; uno answers it from the right. One shape
   system: every sender is the same white circle with its official logo, every
   bubble has one tail at its bottom corner, no names or times. */
.top { top: 24px; margin-bottom: 24px; height: 56px; padding: 0 28px; border-radius: 28px; background: #25262a; color: #fff; box-shadow: 0 0 0 100vmax #121317; clip-path: inset(-24px -100vmax 0 -100vmax); }
.top nav a { color: #fff; font-size: 16px; }
/* The lockup in two pieces at the lockup's own geometry (510 x 166 units):
   the 1 (mark.svg at 0.657, a logo slot) and the lettering. */
.top .brand { --u: calc(28px / 166); position: relative; width: calc(510 * var(--u)); height: calc(166 * var(--u)); }
.top .brand-1 { position: absolute; left: calc(4.12 * var(--u)); top: calc(4.12 * var(--u)); width: calc(120.23 * var(--u)); }
.top .brand .word { position: absolute; left: calc(144.48 * var(--u)); top: calc(21 * var(--u)); width: calc(366 * var(--u)); height: auto; }
.hero { position: relative; isolation: isolate; overflow-x: clip; padding: 62px var(--pad) 0; background: #121317; color: #fff; }
.hero-copy { width: min(960px, 100%); margin: 0 auto; }
.thread { display: grid; gap: 18px; }
.hero .msg { position: relative; display: flex; align-items: flex-end; gap: 16px; }
.hero .msg.out { justify-content: flex-end; }
.hero .av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.hero .av img { height: auto; }
.hero .av.wa img { width: 62%; } .hero .av.tg img { width: 80%; } .hero .av.sl img { width: 56%; } .hero .av.uno img { width: 47%; }
/* A bubble and its tail share one shadow (the filter); the tail is the bubble's
   colour (--bub) through one mask, mirrored for the right side. */
.bub { --bub: #fff; position: relative; margin: 0; min-width: 0; background: var(--bub); color: #1d1d1f; filter: drop-shadow(0 14px 17px rgb(0 0 0 / 0.4)); }
.bub::after { content: ""; position: absolute; bottom: 0; width: 9px; height: 17px; background: var(--bub); -webkit-mask: url(/img/tail.svg) 0 0 / 100% 100% no-repeat; mask: url(/img/tail.svg) 0 0 / 100% 100% no-repeat; }
.in .bub::after { left: -8.5px; }
.out .bub::after { right: -8.5px; scale: -1 1; }
.hero .head { border-radius: 34px 34px 34px 0; padding: 18px 34px 24px; font-size: 76px; font-weight: 800; letter-spacing: -3.2px; line-height: 1.08; }
.hero .head::after { width: 12.6px; height: 23.8px; left: -12.1px; }
.hero .line, .sent-msg, .reply-bub { padding: 17px 26px 18px; font-size: 22px; font-weight: 500; line-height: 1.23; }
.hero .line { --bub: #1f77c0; color: #fff; border-radius: 28px 28px 0 28px; }
.typing { --bub: #1f77c0; position: absolute; right: 60px; bottom: 0; height: 46px; padding: 0 17px; display: flex; align-items: center; gap: 5px; border-radius: 23px 23px 0 23px; opacity: 0; pointer-events: none; }
.typing i, .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / 0.85); }

/* Your turn: the beta form beside Slack (join.js). Sending, your address goes
   out from the Slack slot and uno answers from the right. */
.hero .beta { width: 100%; min-height: 186px; margin-top: 52px; align-content: start; gap: 0; }
.compose { align-items: center; }
.hero .beta-field { position: relative; flex: 0 1 496px; min-width: 0; height: 64px; padding: 7px 7px 7px 26px; border: 0; border-radius: 32px; background: #fff; box-shadow: 0 14px 34px rgb(0 0 0 / 0.4); }
.hero .beta-field:focus-within { border: 0; box-shadow: 0 0 0 3px rgb(245 50 94 / 0.4), 0 14px 34px rgb(0 0 0 / 0.4); }
.hero .beta-field input { padding-left: 6px; color: #1d1d1f; font-size: 18px; caret-color: #f5325e; }
.hero .beta-field input::placeholder { color: #8e8e93; }
.caret { display: none; position: absolute; left: 28px; top: 50%; width: 2px; height: 24px; margin-top: -12px; border-radius: 1px; background: #f5325e; }
.hero .beta-field:has(input:placeholder-shown):not(:focus-within) .caret { display: block; }
.hero .beta button { height: 50px; padding: 0 18px 0 24px; gap: 10px; border-radius: 25px; background: #f5325e; color: #fff; font-size: 17px; font-weight: 600; }
.hero .beta button:hover { background: #e3244f; }
.send { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.hero .beta[data-state="sending"] .send { display: none; }
.hero .beta[data-state="invalid"] .beta-field { border: 0; box-shadow: 0 0 0 3px #ff6961, 0 14px 34px rgb(0 0 0 / 0.4); }
.hero .beta .after { margin-top: 12px; padding-left: 86px; max-width: 556px; }
.hero .beta .beta-note, .hero .beta[data-state] .beta-note { width: auto; padding: 0; gap: 7px; font-size: 15px; line-height: 1.35; color: rgb(255 255 255 / 0.6); }
.hero .beta .beta-note .i { width: 16px; height: 16px; margin-top: 2px; }
.hero .beta:is([data-state="invalid"], [data-state="error"]) .beta-note { color: #ff6961; }
.hero .beta[data-state="slow"] .beta-note { color: #ffb340; }
.hero .sent-row, .hero .reply { display: none; }
.sent-msg { border-radius: 28px 28px 28px 0; overflow-wrap: anywhere; }
.reply { margin-top: 18px; }
.reply-bub { --bub: #f5325e; min-height: 62px; display: flex; align-items: center; color: #fff; border-radius: 28px 28px 0 28px; }
.dots { display: none; align-items: center; gap: 5px; }
.hero .beta .beta-done { display: none; width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 22px; font-weight: 700; line-height: 1.23; }
.hero .beta:is([data-state="sending"], [data-state="sent"]) .compose { display: none; }
.hero .beta:is([data-state="sending"], [data-state="sent"]) :is(.sent-row, .reply) { display: flex; }
.hero .beta:has(.addr:empty) .sent-row { display: none; }
.hero .beta:has(.addr:empty) .reply { margin-top: 0; }
.hero .beta[data-state="sending"] .dots { display: flex; }
.hero .beta[data-state="sending"] .after { display: none; }
.hero .beta[data-state="sent"] .beta-done { display: block; }
.hero .beta[data-state="sent"] { padding-bottom: 44px; }
.hero .beta[data-state="sent"] .after { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; max-width: none; margin-top: 18px; padding: 0 60px 0 0; text-align: right; }
.hero .beta-again { padding: 0; font-size: 15px; color: rgb(255 255 255 / 0.6); text-decoration: underline; }
.hero .beta-again:hover { color: #fff; }

/* The window, and the soft edge from the ink into the page under it. */
.hero .stage::before { content: ""; position: absolute; z-index: -1; top: 258px; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; border-radius: 56px 56px 0 0; background: var(--bg); }
.hero-win { width: min(960px, 100%); margin: 0 auto; }
.hero-win img { --r: 14px; box-shadow: 0 30px 70px rgb(0 0 0 / 0.67); }
@media (prefers-color-scheme: dark) { .hero .stage::before { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.09); } }

/* The entrance plays once on load, in CSS: WhatsApp's avatar pops and the
   headline grows from its tail; Telegram's avatar pops, typing dots turn into
   the line, growing from the right; Slack's avatar pops as your field and the
   window rise. Scrolling, a tap or focusing finishes it at once (landing.js
   adds .intro-done). Paused (the pause button), the caret holds still. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes pop { from { opacity: 0; scale: 0.6; } 70% { opacity: 1; scale: 1.05; } to { scale: 1; } }
  @keyframes grow { from { opacity: 0; scale: 0.84; } 60% { opacity: 1; scale: 1.015; } to { scale: 1; } }
  @keyframes typing { 0% { opacity: 0; scale: 0.7; } 18%, 82% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 0.9; } }
  @keyframes hop { 0%, 60%, 100% { translate: 0 0; opacity: 0.5; } 30% { translate: 0 -4px; opacity: 1; } }
  @keyframes up12 { from { opacity: 0; translate: 0 12px; } }
  @keyframes up40 { from { opacity: 0; translate: 0 40px; } }
  @keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
  .thread .wa { animation: pop 0.3s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
  .hero .head { transform-origin: 0 100%; animation: grow 0.5s 0.08s cubic-bezier(0.3, 1.3, 0.5, 1) both; }
  .thread .tg { animation: pop 0.3s 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
  .typing { transform-origin: 100% 100%; animation: typing 0.85s 0.55s both; }
  .typing i { animation: hop 0.5s 0.62s 2 both; }
  .typing i:nth-child(2) { animation-delay: 0.72s; } .typing i:nth-child(3) { animation-delay: 0.82s; }
  .hero .line { transform-origin: 100% 100%; animation: grow 0.45s 1.32s cubic-bezier(0.3, 1.3, 0.5, 1) both; }
  .hero .beta { animation: up12 0.45s 1.5s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
  .compose .sl { animation: pop 0.3s 1.58s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
  .hero-win { animation: up40 0.65s 1.45s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
  .caret { animation: blink 1.1s 1.8s steps(1) infinite; }
  .intro-done :is(.thread .av, .hero .head, .hero .line, .hero .beta, .compose .sl, .hero-win, .typing, .typing i) { animation: none; }
  .paused .caret { animation: none; }
  .dots i { animation: hop 0.9s infinite; }
  .dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
  /* On send: your address grows out from the Slack slot, then uno answers. */
  .hero .beta[data-state="sending"] .sent-msg { transform-origin: 0 100%; animation: grow 0.32s cubic-bezier(0.3, 1.3, 0.5, 1) both; }
  .hero .beta[data-state="sending"] .reply .av { animation: pop 0.3s 0.3s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
  .hero .beta[data-state="sending"] .reply-bub { transform-origin: 100% 100%; animation: grow 0.32s 0.35s cubic-bezier(0.3, 1.3, 0.5, 1) both; }
  /* Scrolling away, the two messages drift up faster than the page and fade. */
  @supports (animation-timeline: scroll()) {
    @keyframes drift { to { translate: 0 -110px; opacity: 0; } }
    .thread { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 60vh; }
  }
}
@media (prefers-reduced-motion: reduce) { .typing { display: none; } }


/* ---------- The beta form (hero and close): join.js, or a plain post without JS ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.beta { position: relative; width: min(600px, 100%); display: grid; gap: 14px; text-align: left; }
.beta-field, .beta-done { width: min(468px, 100%); }
.beta-field, .beta-done { height: 56px; border-radius: 28px; background: var(--panel); border: 1px solid var(--field-line); box-shadow: var(--field-shadow); }
.beta-field { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 22px; transition: border-color 0.15s, box-shadow 0.15s; }
.beta-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--field-shadow); }
.beta-field input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; }
.beta-field input:focus-visible { outline: none; }
.beta-field input::placeholder { color: var(--ink-3); opacity: 1; }
.beta button { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 22px; background: var(--ink); color: var(--bg); font: 600 16px/1 "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; cursor: pointer; transition: background-color 0.15s, scale 0.1s; }
.beta button:hover { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); }
.beta button:active { scale: 0.97; }
.spin { display: none; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { @keyframes spin { to { rotate: 1turn; } } .spin { animation: spin 0.8s linear infinite; } }
.beta[data-state="sending"] .spin { display: inline-block; }
.beta[data-state="sending"] button { opacity: 0.85; cursor: progress; }
.beta[data-state="sending"] input { color: var(--ink-3); }
.beta[data-state="invalid"] .beta-field { border-color: var(--err); box-shadow: 0 0 0 0.5px var(--err), var(--field-shadow); }
.beta-done { display: none; align-items: center; gap: 10px; padding: 0 22px; font-size: 17px; font-weight: 600; outline: none; }
.beta-done svg { width: 20px; height: 20px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.beta[data-state="sent"] .beta-field { display: none; }
.beta[data-state="sent"] .beta-done { display: flex; }
.beta .beta-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; max-width: none; padding: 0 8px; font-size: 16px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.beta-note .mark { flex: none; width: 15px; height: 20px; margin-top: 2px; }
.beta-note .i { display: none; flex: none; width: 17px; height: 17px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.beta:is([data-state="invalid"], [data-state="error"]) .beta-note { color: var(--err); }
.beta[data-state="slow"] .beta-note { color: var(--warn); }
.beta:is([data-state="invalid"], [data-state="error"]) .i-alert, .beta[data-state="slow"] .i-timer { display: block; }
.beta:is([data-state="invalid"], [data-state="error"], [data-state="slow"], [data-state="sent"]) .mark { display: none; }
.beta[data-state] .beta-note { width: min(468px, 100%); }
.beta-again { display: none; justify-self: start; padding-left: 8px; font-size: 15px; color: var(--ink-3); text-underline-offset: 0.2em; }
.beta-again:hover { color: var(--ink-2); }
.beta[data-state="sent"] .beta-again { display: inline; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 2b One list: the real Mac list card ---------- */
.merged { margin-top: 110px; }
.list-wrap { position: relative; width: 360px; margin: 92px auto 0; }
.mac-list { height: 640px; overflow: hidden; border-radius: 22px; -webkit-mask-image: linear-gradient(#000 74%, transparent); mask-image: linear-gradient(#000 74%, transparent); }
.mac-list img { --r: 22px; box-shadow: none; }
.note { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.note i { flex: 1; height: 1px; background: var(--hair); }
.note b { flex: none; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg); }
.d-pink { background: var(--pink); } .d-amber { background: var(--amber); } .d-blue { background: var(--blue); }
.n-style { right: calc(100% - 5px); top: 176px; width: 355px; text-align: right; }
.n-badge { right: calc(100% - 63px); top: 344px; width: 413px; text-align: right; }
.n-time { left: calc(100% - 6px); top: 132px; width: 350px; }

/* ---------- 3 Every chat looks like the real app ---------- */
.convos { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.convo .source { position: relative; height: 44px; margin-bottom: 24px; gap: 12px; padding-left: 4px; }
.convo .source .slot { --s: 43px; }
.source-text { display: grid; gap: 1px; text-align: left; }
.source-text b { font-size: 17px; font-weight: 700; }
.source-text span { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.pane img { --r: 24px; }
.st.narrow { display: none; }

/* ---------- Split beats: copy on one side, the Mac on the other ---------- */
.split { display: grid; align-items: center; column-gap: 64px; }
.spaces-beat { grid-template-columns: minmax(0, 1fr) minmax(0, 604px); }
.mac-beat { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); align-items: start; }
.fast-beat { grid-template-columns: minmax(0, 1fr) minmax(0, 496px); column-gap: 120px; }
.win img { --r: 22px; }
/* The ⌘K palette on its own (Uno.pen, "Components · clean cut-outs"), not a window. */
.se-win { max-width: 640px; }
.se-win img { --r: 16px; }
.split .copy h2 { font-size: 56px; }
.sp-phone { display: none; }

.tiles { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.tiles li, .checks li { border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.tiles h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.tiles p { font-size: 15px; line-height: 1.45; color: var(--ink-2); }

.checks { margin: 64px 0 0 54px; display: grid; gap: 22px; }
.checks li { position: relative; padding-top: 18px; }
.checks .st { left: -38px; top: 31px; --s: 30px; }
.checks h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.checks p { font-size: 17px; color: var(--ink-2); }
.convo-win { aspect-ratio: 496 / 690; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); view-timeline: --cw; }
.convo-win img { box-shadow: none; border-radius: 0; }

/* ---------- 6 and 6b: the dark band ---------- */
.band {
  --bg: #0e0f14; --ink: #f5f5f7; --ink-2: #a1a1aa; --ink-3: #8e8e93; --hair: #ffffff40; --line: #ffffff1f; --glow: 0.08; --accent: #3D8BFF;
  color-scheme: dark; color: var(--ink); background: #0e0f14; margin-block: 400px 280px; padding: 40px 0 150px;
}
.band { position: relative; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 280px; pointer-events: none; }
.band::before { bottom: 100%; background: linear-gradient(to bottom, #0e0f1400, #0e0f14 92%); }
.band::after { top: 100%; background: linear-gradient(to top, #0e0f1400, #0e0f14 92%); }
.private-stage { margin-top: 64px; display: grid; grid-template-columns: 360px 1fr; gap: 110px; align-items: start; }
.seal { position: relative; width: 360px; aspect-ratio: 1; margin-left: 10px; }
.ring { position: absolute; border-radius: 50%; }
.r1 { inset: 0; border: 1px solid #ffffff24; background: #ffffff05; }
.r2 { inset: 22px; border: 1px solid #ffffff12; }
.seal-slot { position: absolute; width: 44%; left: 50%; top: 50%; translate: -50% -50%; }
.lock { position: absolute; z-index: 6; left: 67%; top: 73%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; background: #0e0f14; border: 1px solid #ffffff33; display: grid; place-items: center; color: #fff; }
.lock svg { width: 24px; height: 24px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; padding-top: 18px; }
.fact { position: relative; border-top: 1px solid #ffffff1f; padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.fact h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.fact p { font-size: 16px; color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; text-underline-offset: 0.2em; grid-column: 1 / -1; justify-self: start; }
.more svg { width: 16px; height: 16px; }

/* ---------- Network logos: the official marks, unmodified, beside each network's name ---------- */
.nl, .nl img { display: inline-block; flex: none; width: 20px; height: 20px; }
.nl img { display: block; }
.source .nl, .source .nl img { width: 22px; height: 22px; }
.source-text b { display: inline-flex; align-items: center; gap: 7px; }
.source-text b .nl, .source-text b .nl img { width: 18px; height: 18px; }
.fact h3 { display: flex; align-items: center; gap: 9px; }
.legal { display: grid; gap: 10px; }
.works-with { display: flex; gap: 10px; }
.works-with .nl, .works-with .nl img { width: 18px; height: 18px; }

/* ---------- 7 Close and footer ---------- */
.close { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px var(--pad) 120px; }
.close .logo-slot { width: 200px; }
.close h2 { margin-top: 40px; font-size: 72px; line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
.close p { margin-top: 18px; font-size: 21px; color: var(--ink-2); max-width: 640px; text-wrap: balance; }
.close .beta { margin-top: 34px; justify-items: center; }
.close .beta-note { justify-content: center; text-align: center; }
.close .beta-again { justify-self: center; padding-left: 0; }
.foot { border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); padding: 24px 0 40px; display: grid; gap: 12px; position: relative; z-index: 6; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.foot .brand img { height: 22px; }
.foot nav { display: flex; gap: 28px; flex-wrap: wrap; }
.foot nav a { font-size: 14px; }
.foot p { font-size: 13px; color: var(--ink-3); }

.calm { position: fixed; right: 16px; bottom: 16px; z-index: 8; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 80%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--card-shadow); }
.calm[hidden] { display: none; }
.calm svg { width: 16px; height: 16px; fill: currentColor; }
.calm span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calm .i-play, .calm[aria-pressed="true"] .i-pause { display: none; }
.calm[aria-pressed="true"] .i-play { display: block; }

/* ---------- Narrow: the same page in a phone browser ---------- */
@media (max-width: 999px) {
  .top { height: 72px; }
  .top nav { gap: 20px; }
  .beta-field { height: 56px; padding: 5px 5px 5px 18px; }
  .beta-field input { font-size: 16px; }
  .beta button { height: 46px; padding: 0 18px; }
  .beta-done { height: 56px; }
  .beta .beta-note { padding: 0 4px; font-size: 15px; }
  .beta-again { padding-left: 0; font-size: 14px; }
  .sources .nl { display: none; }
  .source-text b .nl, .source-text b .nl img { width: 18px; height: 18px; }
  .fact h3 .nl, .fact h3 .nl img { width: 18px; height: 18px; }
  .beat { padding-block: 110px 30px; }
  .copy { gap: 12px; }
  .copy h2, .split .copy h2 { font-size: 40px; letter-spacing: -1.5px; }
  .copy p { font-size: 17px; }

  .pour { margin-top: 40px; }
  .sources { gap: 8px; margin-bottom: 20px; }
  .source { height: 40px; gap: 8px; }
  .source .slot { --s: 36px; }
  .source-label { font-size: 13px; }
  .cards { grid-template-columns: 1fr; row-gap: 14px; }
  .card { grid-column: 1 !important; grid-row: auto !important; width: min(330px, 100% - 30px); margin-left: 0; opacity: 1; }
  .card.c1, .card.c2, .card.c3 { --tx: 0px; }
  .card[data-p="0"] { display: none; }
  .card[data-p="1"] { order: 1; margin-left: 30px; rotate: 1.5deg; }
  .card[data-p="2"] { order: 2; margin-left: 8px; rotate: -2deg; }
  .card[data-p="3"] { order: 3; margin-left: 30px; rotate: 2deg; }
  .card[data-p="4"] { order: 4; margin-left: 4px; rotate: -1.5deg; }
  .card[data-p="5"] { order: 5; margin-left: 26px; rotate: 1.2deg; opacity: 0.55; }

  .merged { margin-top: 80px; }
  .list-wrap { width: 100%; max-width: 360px; margin-top: 64px; }
  .st.tip { --s: 26px; }
  .mac-list { height: 560px; }
  .note { display: none; }

  .convos { grid-template-columns: 1fr; gap: 56px; margin-top: 40px; }
  .convo .source { margin-bottom: 18px; }
  .convo .source .slot { --s: 40px; }
  .st.narrow { display: block; }
  .st.wide { display: none; }
  .wait-a, .wait-q { top: 50%; --s: 28px; }
  .wait-a { left: calc(100% - 52px); } .wait-q { left: calc(100% - 16px); }
  .pane { max-width: 420px; }

  .split { grid-template-columns: minmax(0, 1fr) !important; row-gap: 36px; }
  .sp-win { display: none; }
  .sp-phone { display: grid; gap: 16px; }
  .sp-side { width: 240px; height: 220px; }
  .sp-side img { width: 604px; translate: 0 -180px; }
  .sp-list { width: min(360px, 100%); height: 288px; }
  .sp-list img { width: 604px; translate: -240px 0; }

  .mac-beat .side { display: contents; }
  .mac-beat .copy { order: 1; }
  .mac-beat .search-stage { order: 2; }
  .mac-beat .tiles { order: 3; margin-top: 0; grid-template-columns: 1fr; gap: 18px; }
  .se-win { max-width: none; width: calc(100% + var(--pad)); height: 300px; margin-top: 40px; }
  /* The palette at 0.8, running off the right edge. */
  .se-win picture { display: block; height: 300px; overflow: hidden; border-radius: 13px 0 0 13px; box-shadow: var(--shadow); }
  .se-win img { width: 520px; max-width: none; border-radius: 0; box-shadow: none; }

  .checks { margin: 0 0 0 40px; gap: 16px; }
  .checks .st { left: -26px; top: 25px; --s: 26px; }
  .checks li { padding-top: 14px; }
  .checks h3 { font-size: 18px; }
  .checks p { font-size: 15px; }
  .convo-win { aspect-ratio: auto; height: 374px; border-radius: 18px; }
  .convo-win img { width: 496px; max-width: none; margin-left: -150px; translate: 0 -420px; }

  .band { margin-block: 100px 200px; padding-bottom: 110px; }
  .band::before, .band::after { height: 100px; }
  .private-stage { grid-template-columns: 1fr; gap: 32px; margin-top: 44px; }
  .seal { width: 200px; margin: 0 auto; }
  .lock { width: 44px; height: 44px; }
  .lock svg { width: 20px; height: 20px; }
  .facts { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
  .fact { padding-top: 16px; gap: 6px; }
  .fact h3 { font-size: 18px; }
  .fact p { font-size: 15px; }

  .close { padding-top: 30px; }
  .close .logo-slot { width: 138px; }
  .close h2 { font-size: 40px; letter-spacing: -1.5px; margin-top: 30px; }
  .close p { font-size: 17px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot nav { flex-direction: column; gap: 10px; }
}

/* The fold on a phone (Uno.pen, "Direction C · network mix", phone). */
@media (max-width: 999px) {
  .top { width: calc(100% - 28px); top: 12px; margin-bottom: 12px; height: 48px; padding: 0 18px; border-radius: 24px; clip-path: inset(-12px -100vmax 0 -100vmax); }
  .top nav { gap: 22px; }
  .top nav a { font-size: 15px; }
  .top .brand { --u: calc(24px / 166); }
  .hero { padding: 40px 14px 0; }
  .thread { gap: 12px; }
  .hero .msg { gap: 10px; }
  .hero .av { width: 30px; height: 30px; }
  .bub { filter: drop-shadow(0 10px 13px rgb(0 0 0 / 0.4)); }
  .hero .head { border-radius: 26px 26px 26px 0; padding: 16px 22px 20px; font-size: min(46px, 12.5vw); letter-spacing: -0.044em; line-height: 1; }
  .hero .head span { display: block; white-space: nowrap; }
  .hero .head::after { width: 9px; height: 17px; left: -8.5px; }
  .hero .line, .sent-msg, .reply-bub { padding: 13px 18px 14px; font-size: 17px; line-height: 1.35; }
  .hero .line { max-width: 207px; text-wrap: balance; border-radius: 22px 22px 0 22px; }
  .typing { right: 40px; height: 40px; padding: 0 15px; border-radius: 20px 20px 0 20px; }
  .hero .beta { min-height: 212px; margin-top: 32px; }
  .compose { align-items: flex-end; }
  .hero .beta-field { flex: 1; height: auto; flex-direction: column; align-items: stretch; gap: 12px; padding: 10px 7px 7px; border-radius: 26px; }
  .hero .beta-field input { flex: none; height: 26px; padding: 0 0 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 17px; }
  .hero .beta-field input:focus { border: 0; box-shadow: none; }
  .caret { left: 21px; top: 23px; height: 22px; margin-top: -11px; }
  .hero .beta button { width: 100%; height: 46px; padding: 0 18px 0 24px; gap: 8px; justify-content: center; border-radius: 23px; font-size: 16px; }
  .send { width: 16px; height: 16px; }
  .hero .beta .after { margin-top: 10px; padding-left: 48px; max-width: none; }
  .hero .beta .beta-note { font-size: 14px; line-height: 1.45; }
  .sent-msg { border-radius: 22px 22px 22px 0; }
  .reply { margin-top: 12px; }
  .reply-bub { min-height: 50px; border-radius: 22px 22px 0 22px; }
  .hero .beta .beta-done { font-size: 19px; }
  .hero .beta[data-state="sent"] .after { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 12px; padding: 0 40px 0 48px; text-align: left; }
  .hero .beta-again { font-size: 14px; }
  .hero .beta[data-state="sent"] { padding-bottom: 36px; }
  .hero .stage::before { top: 212px; border-radius: 40px 40px 0 0; }
  .hero-win { width: 400px; height: 300px; margin: 0 0 0 6px; overflow: hidden; border-radius: 12px 0 0 0; box-shadow: 0 20px 50px rgb(0 0 0 / 0.67); }
  .hero-win img { width: 667px; max-width: none; border-radius: 0; box-shadow: none; }
}
/* The smallest phones: the button goes under the field. */
@media (max-width: 369px) {
  .beta-field { flex-direction: column; align-items: stretch; gap: 10px; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .beta-field:focus-within { box-shadow: none; }
  .beta-field input { flex: none; height: 52px; padding: 0 18px; border-radius: 26px; background: var(--panel); border: 1px solid var(--field-line); box-shadow: var(--field-shadow); }
  .beta-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--field-shadow); }
  .beta button { width: 100%; height: 52px; border-radius: 26px; }
  .hero .beta[data-state="sent"] .after { padding-right: 0; }
}

/* ---------- Scroll-linked reveals (motion allowed, supported browsers only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes card-in { from { opacity: 0; translate: 0 -70px; scale: 0.6; } }
    @keyframes card-out { to { opacity: 0; translate: var(--tx) 60px; } }
    /* Over a good stretch of scroll each (a card is short, so its own entry
       and exit would flick it in and out): in as it rises into the lower
       quarter, and out across the top third, drifting to the middle. */
    .card {
      animation: card-in linear backwards, card-out linear forwards;
      animation-timeline: view(), view();
      animation-range: entry 0% cover 25%, cover 62% cover 100%;
    }
    @keyframes rise { from { opacity: 0; translate: 0 22px; } }
    @keyframes swell { from { opacity: 0; scale: 0.92; } }
    @keyframes lift { from { opacity: 0; translate: 0 60px; scale: 0.96; } }
    /* The hero window is on the first screen, so it has no reveal. */
    .mac-list, .pane, .win, .crop { animation: lift linear backwards; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .tiles li, .checks li, .fact { animation: rise linear backwards; animation-timeline: view(); animation-range: entry 0% cover 25%; }
    .ring { animation: swell linear backwards; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    /* The long chat scrolls with the page. */
    @keyframes chat-scroll { from { translate: 0 0; } to { translate: 0 -21.9%; } }
    .convo-win img { animation: chat-scroll linear both; animation-timeline: --cw; animation-range: cover 10% cover 90%; }
    @media (max-width: 999px) {
      @keyframes chat-scroll-n { from { translate: 0 -200px; } to { translate: 0 -510px; } }
      .convo-win img { animation-name: chat-scroll-n; }
    }
  }
}
