/* one-by.one home. Every word has one job; quiet type, flat surfaces. Lime is the
   card's Start/Done and the brand mark, nothing else. Mockups keep the app's light palette. */
.home {
  --ink: #1a1c20; --lime: #c6ef4e; --paper: #f3f4f5; --sheet: #fff; --raised: #2e3137; --soft: #b0b3ba;
  --page: #fff; --panel: #f6f6f4; --line: #e8e9eb; --hush: #656c75;
  background: var(--page); line-height: 1.5;
}
@media (prefers-color-scheme: dark) { .home { --page: var(--bg); --panel: var(--surface); --line: #2e3137; --hush: #8b919a; } }
.home main { display: block; }
.home h1, .home h2, .home h3, .home p { overflow-wrap: normal; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 14px; text-wrap: balance; }
.home h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin: 0 0 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border: 0;
  border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 500; font-size: 17px; text-decoration: none; cursor: pointer;
}
.btn.soft { background: var(--panel); color: var(--text); }
.btn.small { height: 36px; padding: 0 16px; font-size: 15px; }
.btn.wide { width: 100%; }
@media (prefers-color-scheme: dark) { .btn:not(.soft) { background: var(--paper); color: var(--ink); } }
.link { font-weight: 500; text-underline-offset: 4px; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar .wordmark { white-space: nowrap; }

/* Hero */
.hero { max-width: 1140px; margin: 0 auto; padding: 64px 24px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 15px; color: var(--text); text-decoration: none; margin-bottom: 28px; }
.pill b { font-weight: 500; }
.pill span { color: var(--hush); }
.pill i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--panel); font-size: 13px; }
.hero-kicker { font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--muted); margin: -12px 0 12px; }
.hero h1 { font-size: clamp(42px, 5.2vw, 70px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 22px; text-wrap: balance; }
.h1-mark { display: inline-block; width: .82em; height: .82em; vertical-align: -.08em; margin: 0 .04em; }
.lede { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--muted); margin: 0 0 30px; }
/* Landing A/B: B swaps the headline and lede before the first paint that shows them (assets/ab.js). */
html[data-ab="b"]:not([data-ab-ready]) .hero h1, html[data-ab="b"]:not([data-ab-ready]) .hero .lede { visibility: hidden; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Product: a window you can click, and the phone it fills. */
.product { position: relative; max-width: 1080px; margin: 64px auto 0; padding: 0 24px; }
.window { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 600px; border-radius: 22px; background: var(--page); box-shadow: 0 0 0 1px var(--line), 0 24px 60px -40px rgba(0,0,0,.35); overflow: hidden; text-align: left; }
.win-side { background: #fafafa; border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
@media (prefers-color-scheme: dark) { .win-side { background: #141518; } }
.win-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; }
.lights { display: flex; gap: 7px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.win-plus { color: var(--hush); font-size: 20px; line-height: 1; }
.win-search { margin: 0; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 10px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); color: var(--hush); font-size: 14px; }
.win-search svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.threads { display: grid; gap: 2px; }
.threads button { display: grid; grid-template-columns: 34px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 9px 10px; border: 0; border-radius: 12px; background: none; color: var(--text); font: inherit; cursor: pointer; }
.threads button:hover { background: color-mix(in srgb, var(--panel) 70%, transparent); }
.threads button[aria-selected="true"] { background: var(--panel); }
.threads .av { grid-row: span 2; }
.threads b { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.threads time { font-size: 12px; color: var(--hush); }
.threads em { grid-column: 2 / 4; font-style: normal; font-size: 13px; color: var(--hush); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Each plan's mark: a small card with its Done bar. */
.av { width: 30px; height: 30px; border-radius: 9px; background: var(--c); position: relative; display: inline-block; flex: none; }
.av::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 22%; height: 16%; border-radius: 99px; background: rgba(255,255,255,.92); }
.win-you { margin: auto 0 0; display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 6px 2px; }
.win-you span { width: 28px; height: 28px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.win-main { display: flex; flex-direction: column; min-width: 0; }
.win-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.win-head .av { width: 22px; height: 22px; border-radius: 7px; }
.win-head b { font-weight: 500; font-size: 16px; }
.win-tag { margin-left: auto; font-size: 12px; color: var(--hush); }
.thread { flex: 1; padding: 24px 300px 24px 24px; display: grid; gap: 10px; align-content: start; }
.composer { margin: 0 300px 18px 20px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--hush); font-size: 15px; }
.c-plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); font-size: 18px; }
.c-field { flex: 1; }
.c-mic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); }
.c-mic svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.msg { margin: 0; max-width: 100%; padding: 12px 16px; border-radius: 20px; font-size: 16px; line-height: 1.45; width: fit-content; }
.msg.me { justify-self: end; background: var(--ink); color: #fff; }
.msg.ai { background: var(--panel); }
.msg.list { list-style: none; display: grid; gap: 6px; }
.msg.list li { display: flex; gap: 8px; align-items: baseline; }
/* One line of text that wraps as a sentence: the label never breaks inside, and the rest flows after it. */
.msg.list .l { flex: 1; min-width: 0; }
.msg.list b { font-weight: 500; white-space: nowrap; }
.ck { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: translateY(2px); }
.thread .msg { animation: msg-in .32s ease both; }
.thread .msg:nth-child(2) { animation-delay: .12s; } .thread .msg:nth-child(3) { animation-delay: .24s; } .thread .msg:nth-child(4) { animation-delay: .36s; }
/* Brain dump: pieces of the ramble light up as the AI's rows appear (today, later, dropped). */
.frag { border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-color .35s ease, opacity .35s ease; }
.frag.on[data-g="today"] { background: rgba(242,163,58,.55); }
.frag.on[data-g="later"] { background: rgba(98,150,246,.55); }
.frag.on[data-g="interest"] { background: rgba(63,182,168,.5); text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.msg.list li { transition: opacity .25s ease, transform .25s ease; }
.msg.list li.pre { opacity: 0; transform: translateX(-6px); }
.msg.list li[data-g="today"] .ck { color: #e0902a; } .msg.list li[data-g="later"] .ck { color: #4f86e8; } .msg.list li[data-g="interest"] .ck { color: #2fa293; }
.thread .msg.pre { animation: none; opacity: 0; }
.thread .msg.rev { animation-delay: 0s !important; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.product > .device { position: absolute; right: 64px; top: 74px; width: 252px; }

/* The phone and the card: the app's own Now screen (OneByOneNowTicketView).
   Top sheet: Undo, menu, greeting, and one "Up next" line. Below it, the ticket:
   title, one measure of time or the amounts, a note, a perforation, and the pill. */
.device { width: 270px; aspect-ratio: 9 / 15; padding: 9px; border-radius: 44px; background: #0b0c0e; box-shadow: 0 30px 60px -36px rgba(0,0,0,.4); }
@media (prefers-color-scheme: dark) { .device { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -36px rgba(0,0,0,.4); } }
.now { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; text-align: left; isolation: isolate; }
.sheet { position: relative; z-index: 3; flex: 1; min-height: 0; background: var(--sheet); border-radius: 0 0 22px 22px; padding: 22px 16px 0; display: flex; flex-direction: column; box-shadow: 0 6px 14px rgba(0,0,0,.08); }
.bar { display: flex; justify-content: space-between; align-items: center; }
.ic { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.ic svg { width: 17px; height: 17px; fill: none; stroke: #555d6d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.undo { margin-left: -6px; } .ic.undo svg { stroke: #9ba1aa; opacity: .6; }
.ic.menu { background: var(--paper); }
.now .greet { margin: 4px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: #555d6d; }
.now .upnext { margin: auto 0 0; height: 34px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6b7280; }
.now .upnext { position: relative; overflow: hidden; clip-path: inset(0); }
.now .upnext .nx-old { position: absolute; pointer-events: none; }
.now .upnext b { transform-origin: 50% 100%; font-size: 14px; font-weight: 600; color: #555d6d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Pip, the app's face (one-by.one/Now/OneByOnePrinterFace.swift): the near-black square at the right of the top sheet,
   its two white eyes set low and toward the ticket. It sits beside the greeting, centred between the top bar and Up next,
   at most about a quarter of the screen wide (the app: up to 140 pt beside the words), and steps aside while Up next is open. */
.now:not(.mini) { container-type: size; }
.now:not(.mini) > .sheet { --pip-top: 22px; --pip-room: calc(45cqh - 27px - var(--pip-top) - 42px); --pip: min(27cqw, var(--pip-room)); }
.now:not(.mini) > .sheet:has(> .bar) { --pip-top: 60px; }
.pip { position: absolute; z-index: 0; right: 16px; top: calc(var(--pip-top) + (var(--pip-room) - var(--pip)) / 2); width: var(--pip); height: var(--pip); border-radius: 26%; background: #1c1c1e; pointer-events: none; transition: opacity .2s ease; }
.pip i { position: absolute; top: 46.3%; left: 7.1%; width: 24.2%; height: 30.8%; border-radius: 99px; background: #fff; animation: pip-look 9s ease-in-out infinite, pip-blink 4.6s ease-in-out infinite; }
.pip i + i { left: 48.7%; animation-delay: .04s; }
.sheet:has(> .pip) > :is(.greet, .dayline, .sit) { margin-right: calc(var(--pip) + 10px); }
.sheet:has(.upnext[aria-expanded="true"]) > .pip { opacity: 0; }
/* Idle, as in the app: now and then it looks up at the person and back to the ticket, and blinks. */
@keyframes pip-look { 0%, 34% { translate: 0 0; } 40%, 62% { translate: 42% -36%; } 68%, 100% { translate: 0 0; } }
@keyframes pip-blink { 0%, 93%, 100% { scale: 1 1; } 96% { scale: 1 .12; } }
@media (prefers-reduced-motion: reduce) { .pip i { animation: none; } }
.slot { position: relative; z-index: 1; flex: none; height: 55%; margin: 14px 13px 13px; }
.ticket { position: absolute; inset: 0; display: flex; flex-direction: column; color: var(--paper); }
.ticket.inc { z-index: 2; pointer-events: none; }
.ticket p { margin: 0; max-width: none; color: inherit; }
/* Paper: two halves meeting at the perforation, each with its half-round notches. */
.t-body, .stub-in { background: var(--ink); }
/* Torn, each edge keeps the half-holes of the perforation it tore along (--teeth), as the app's slits do. */
.t-body, .stub-in { --teeth: linear-gradient(#000 0 0); --teeth-size: 100% 100%;
  -webkit-mask-size: 100% 100%, 100% 100%, var(--teeth-size); mask-size: 100% 100%, 100% 100%, var(--teeth-size);
  -webkit-mask-repeat: no-repeat, no-repeat, repeat-x; mask-repeat: no-repeat, no-repeat, repeat-x;
  -webkit-mask-composite: source-in, source-in, source-over; mask-composite: intersect; }
.t-body { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 16px 16px 6px; border-radius: 20px 20px 0 0;
  -webkit-mask-image: radial-gradient(circle 7px at 0 100%, #0000 98%, #000), radial-gradient(circle 7px at 100% 100%, #0000 98%, #000), var(--teeth);
  mask-image: radial-gradient(circle 7px at 0 100%, #0000 98%, #000), radial-gradient(circle 7px at 100% 100%, #0000 98%, #000), var(--teeth);
  -webkit-mask-position: 0 0, 0 0, 0 100%; mask-position: 0 0, 0 0, 0 100%; }
.ticket.torn .t-body { --teeth: radial-gradient(circle 2.4px at 4px 100%, #0000 92%, #000); --teeth-size: 8px 100%; }
.stub-b .stub-in { --teeth: radial-gradient(circle 2.4px at 4px 0, #0000 92%, #000); --teeth-size: 8px 100%; }
.t-stub { position: relative; flex: none; height: 63px; margin-top: -1px; }
.stub-a, .stub-b { position: absolute; inset: 0; overflow: hidden; }
.stub-b { z-index: 1; transform-origin: 100% 0; pointer-events: none; }
.stub-in { position: absolute; inset: 0; padding: 8px 10px 7px; border-radius: 0 0 20px 20px;
  -webkit-mask-image: radial-gradient(circle 7px at 0 0, #0000 98%, #000), radial-gradient(circle 7px at 100% 0, #0000 98%, #000), var(--teeth);
  mask-image: radial-gradient(circle 7px at 0 0, #0000 98%, #000), radial-gradient(circle 7px at 100% 0, #0000 98%, #000), var(--teeth);
  -webkit-mask-position: 0 0, 0 0, 0 0; mask-position: 0 0, 0 0, 0 0; }
.stub-a .stub-in::before { content: ""; position: absolute; left: 11px; right: 11px; top: 1px; border-top: 1.5px dashed rgba(176,179,186,.45); }
.t-shadow { position: absolute; inset: 0; border-radius: 20px; box-shadow: 0 16px 24px -10px rgba(0,0,0,.45); opacity: 0; pointer-events: none; z-index: -1; }
.t-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ticket .t-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-more { flex: none; width: 28px; height: 28px; margin: -4px -6px 0 0; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(176,179,186,.5); }
.t-more svg { width: 15px; height: 15px; fill: var(--paper); }
.ticket .t-clock { margin-top: 6px !important; font-size: 46px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ticket .t-clock.sm { margin-top: 4px !important; font-size: 15px; letter-spacing: 0; color: var(--soft); }
/* "Ready" replaces the number: smaller so it stays on one line in every language, in the same line box so nothing below it moves. */
.ticket .t-clock:not(.sm) { min-height: 48px; white-space: nowrap; }
.ticket .t-clock.done { font-size: 30px; line-height: 48px; letter-spacing: -.01em; }
.t-over { display: inline-block; min-width: 4.4ch; margin-left: 8px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--soft); }
/* The tile paragraph rule gives Korean paragraphs room (line-height 1.65); a card's own lines keep the card's rhythm. */
html:lang(ko) .home .tile .ticket .t-title { line-height: 1.12; }
html:lang(ko) .home .tile .ticket .t-clock { line-height: 1.05; }
html:lang(ko) .home .tile .ticket .t-clock.sm { line-height: 1.3; }
html:lang(ko) .home .tile .ticket .t-clock.done { line-height: 48px; }
html:lang(ko) .home .tile .ticket .t-note { line-height: 1.35; }
.ticket .t-amt { margin-top: 8px !important; padding: 4px 4px 4px 10px; border-radius: 14px; background: rgba(243,244,245,.07); --row: 44px; }
.ticket .t-amt.two { margin-top: 7px !important; padding-block: 3px; --row: 28px; }
.a-row { display: flex; align-items: center; height: var(--row); }
.ticket .a-label { flex: none; width: 42px; margin: 0 !important; font-size: 11px; color: var(--soft); }
/* − and + are real buttons: the circle is 26 px, the touch area 44 px wide and the row tall (28 px when two rows share the card). */
.a-step { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: var(--row); margin: 0 -9px; padding: 0; border: 0; background: none; color: var(--paper); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.a-step::before { content: ""; grid-area: 1 / 1; width: 26px; height: 26px; border-radius: 50%; background: rgba(176,179,186,.22); transition: transform .08s ease; }
.a-step svg { grid-area: 1 / 1; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.a-step:active::before { transform: scale(.9); }
.a-step:disabled { cursor: default; }
.a-step:disabled::before, .a-step:disabled svg { opacity: .35; }
.ticket .a-step:focus-visible { outline: 0; }
.a-step:focus-visible::before { outline: 2px solid var(--paper); outline-offset: 2px; }
.ticket .a-val { flex: 1; min-width: 0; margin: 0; display: flex; justify-content: center; align-items: baseline; gap: 3px; font-size: 12px; white-space: nowrap; color: rgba(243,244,245,.72); }
.a-val b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--paper); font-variant-numeric: tabular-nums; }
.ticket .t-note { margin-top: 6px !important; font-size: 12px; line-height: 1.35; color: rgba(243,244,245,.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* The pill: the track, and the lime Start/Done over it, uncovered by the fill (transforms only). */
.go { position: relative; overflow: hidden; display: block; width: 100%; height: 48px; padding: 0; border: 0; border-radius: 999px; background: rgba(243,244,245,.08); color: var(--paper); font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.go-lay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 18px; }
.go-lay b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(243,244,245,.12); }
.go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.go-lit { position: absolute; inset: 0; overflow: hidden; background: var(--lime); color: var(--ink); }
.go-lit .go-lay b { background: var(--ink); color: var(--lime); }
.go:active, .go.tap { transform: scale(.985); transition-duration: .12s; }
.go[aria-disabled="true"] { cursor: default; }
.go[aria-disabled="true"]:active { transform: none; }
.ticket :focus-visible { outline-color: var(--paper); outline-offset: -3px; }
/* The card's ⋯ (the stub splits), the queue, Undo, Pause. */
.now .upnext { width: 100%; padding: 0; border: 0; background: none; font-family: inherit; text-align: left; }
button.upnext { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.now .upnext span { flex: none; white-space: nowrap; }
.upnext .chev { flex: none; margin-left: auto; width: 14px; height: 14px; fill: none; stroke: #9ba1aa; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.upnext[aria-expanded="true"] .chev { transform: rotate(180deg); }
.upnext[aria-disabled="true"] .chev { opacity: 0; }
.upnext:focus-visible { outline: 2px solid #555d6d; outline-offset: -2px; border-radius: 10px; }
.bar-r { display: flex; align-items: center; gap: 6px; }
.ic.pause, .ic.undo { position: relative; border: 0; padding: 0; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ic.pause { background: var(--paper); }
.ic.pause[hidden] { display: none; }
.ic.pause svg { stroke: #555d6d; }
.ic.pause[aria-pressed="true"] { background: var(--ink); }
.ic.pause[aria-pressed="true"] svg { stroke: var(--paper); }
.ic.pause::after, .ic.undo::after { content: ""; position: absolute; inset: -7px; }
.ic.undo { background: none; }
.ic.undo:disabled { cursor: default; }
.ic.undo .u-t { display: none; }
.ic.undo.live { width: auto; display: flex; align-items: center; gap: 5px; padding: 0 12px 0 9px; border-radius: 99px; background: var(--paper); color: #555d6d; font-size: 12px; font-weight: 600; }
.ic.undo.live svg { stroke: #555d6d; opacity: 1; }
.ic.undo.live .u-t { display: inline; }
.ic:focus-visible { outline: 2px solid #555d6d; outline-offset: 1px; }
.toast { position: absolute; z-index: 2; left: 16px; right: 16px; top: 56px; margin: 0; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 99px; background: var(--paper); color: #555d6d; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.toast.on { opacity: 1; transform: none; }
.queue { position: absolute; z-index: 4; left: 0; right: 0; top: 0; bottom: 34px; padding: 10px 16px 4px; display: flex; flex-direction: column-reverse; gap: 6px; overflow-y: auto; overscroll-behavior: contain; background: var(--sheet); scrollbar-width: thin; }
.queue[hidden] { display: none; }
.qrow { position: relative; flex: none; height: 36px; border-radius: 12px; background: var(--ink); color: var(--paper); overflow: hidden; --s: 28px; --g: 4px; }
.q-t { position: absolute; inset: 0; width: 100%; display: flex; align-items: center; padding: 0 12px; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.q-t span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-act { position: absolute; right: 3px; top: 0; bottom: 0; display: flex; align-items: center; gap: 4px; padding-left: 22px; background: linear-gradient(90deg, transparent, var(--ink) 22px); opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.qrow.sel .q-act { opacity: 1; transform: none; pointer-events: auto; }
.q-now { position: relative; height: 28px; padding: 0 10px; border: 0; border-radius: 99px; background: rgba(243,244,245,.2); color: var(--paper); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.q-now::after, .qrow .ab::after { content: ""; position: absolute; inset: -4px -2px; }
.queue :focus-visible { outline: 2px solid var(--paper); outline-offset: -3px; }
.pair { display: flex; gap: var(--g, 8px); }
.ab { position: relative; flex: none; width: var(--s, 48px); height: var(--s, 48px); padding: 0; border: 0; border-radius: 99px; display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; background: rgba(243,244,245,.14); color: var(--paper); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: width .3s cubic-bezier(.22,.8,.26,1), opacity .2s ease, margin .3s cubic-bezier(.22,.8,.26,1); -webkit-tap-highlight-color: transparent; }
.ab svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab span { display: none; white-space: nowrap; }
.armable.arm-nt .ab.nt, .armable.arm-rm .ab.rm { width: calc(var(--s, 48px) * 2 + var(--g, 8px)); }
.armable.arm-nt .ab.nt span, .armable.arm-rm .ab.rm span { display: inline; }
.armable.arm-nt .ab.rm, .armable.arm-rm .ab.nt { width: 0; margin-left: calc(var(--g, 8px) * -1); opacity: 0; pointer-events: none; }
.armable.arm-rm .ab.rm { background: rgba(255,107,96,.24); color: #ffa097; }
.qrow .ab svg { width: 15px; height: 15px; }
.qrow .ab { font-size: 12px; }
.go { transition: transform .3s cubic-bezier(.22,.8,.26,1), opacity .2s ease; }
.ticket.menu .go { transform: translateX(-40px); opacity: 0; pointer-events: none; }
.mrow { position: absolute; inset: 8px 10px 7px; display: flex; align-items: center; gap: 8px; visibility: hidden; opacity: 0; transform: translateX(32px); transition: transform .3s cubic-bezier(.22,.8,.26,1), opacity .2s ease, visibility 0s .3s; }
.ticket.menu .mrow { visibility: visible; opacity: 1; transform: none; transition: transform .3s cubic-bezier(.22,.8,.26,1), opacity .2s ease, visibility 0s; }
.m-skip { flex: 1 1 0; min-width: 0; height: 48px; border: 0; border-radius: 99px; display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; background: rgba(243,244,245,.14); color: var(--paper); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.m-skip[hidden] { display: none; }
.m-skip svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mrow .pair { flex: none; }
.ticket .t-pause { display: none; margin-top: 4px !important; font-size: 15px; color: var(--soft); font-variant-numeric: tabular-nums; }
.ticket.paused .t-pause { display: block; }
.ticket.paused .t-note { display: none; }
.ticket.paused .t-clock { opacity: .55; }
.go .play { fill: currentColor; stroke: none; }
/* ⋯ is a real button: 28 px ring, 44 px to touch; open, it is a filled ✕. */
button.t-more { position: relative; padding: 0; border: 0; background: none; color: var(--paper); cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.t-more::after { content: ""; position: absolute; inset: -8px; }
.t-more .x { display: none; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.t-more[aria-expanded="true"] { background: var(--paper); box-shadow: none; }
.t-more[aria-expanded="true"] .dots { display: none; }
.t-more[aria-expanded="true"] .x { display: block; }
.t-more.off { visibility: hidden; }

/* Situation row (the app's chips) with the timer tray at its right end. Each ball owns one fixed slot; the list opens below. */
.sit { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 32px; margin-top: 6px; }
.sit[hidden], .tray[hidden], .tpanel[hidden], .tpeek[hidden] { display: none; }
.chip-s { margin: 0; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--paper); color: #555d6d; font-size: 13px; font-weight: 500; white-space: nowrap; }
.tray { flex: none; display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 6px; margin-left: auto; }
.ball { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); font: inherit; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ball::after { content: ""; position: absolute; inset: -6px -3px; }
.ball:focus-visible { outline: 2px solid #555d6d; outline-offset: 2px; }
.ball.pending { visibility: hidden; }
/* Due: the one new colour. The ring is full and red, with a small mark, until its card comes up. */
.ball.due .b-pr { stroke: #e5484d; }
.ball.due .b-tr { stroke: rgba(229,72,77,.35); }
.ball.due b { color: #ff9a9e; }
/* Due reads from the full red ring and its label alone; a corner dot cut into the ring. */
.ball.due { background: #3a1416; }
.ball.due b { font-weight: 700; }
.ball svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 2.5; }
.b-tr { stroke: rgba(243,244,245,.2); }
.b-pr { stroke: var(--paper); stroke-linecap: round; stroke-dasharray: 81.68; }
.ball b { position: relative; font-size: 10.5px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tpanel { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 8px); padding: 12px 14px 10px; border-radius: 18px; background: var(--raised); color: var(--paper); box-shadow: 0 0 0 1px rgba(243,244,245,.1), 0 14px 28px -12px rgba(0,0,0,.55); transform-origin: 100% 0; animation: tp-in .16s ease-out; }
.tpanel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tpanel p { margin: 0; max-width: none; color: inherit; }
.tp-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.tp-top b { font-weight: 600; }
.tp-top span { font-variant-numeric: tabular-nums; color: var(--soft); }
.tp-then { margin-top: 1px !important; font-size: 12px; color: var(--soft) !important; }
.tp-note { margin-top: 10px !important; font-size: 11px; color: var(--soft) !important; }
.tpeek { position: absolute; z-index: 5; top: calc(100% + 6px); width: 156px; padding: 9px 12px 10px; border-radius: 14px; background: var(--raised); color: var(--paper); box-shadow: 0 0 0 1px rgba(243,244,245,.1), 0 10px 22px -10px rgba(0,0,0,.55); pointer-events: none; }
.tpeek p { margin: 0; max-width: none; color: inherit; }
.pk-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.pk-top b { font-weight: 600; }
.pk-top span { font-variant-numeric: tabular-nums; color: var(--soft); }
.pk-then { margin-top: 1px !important; font-size: 12px; color: var(--soft) !important; }
@keyframes tp-in { from { transform: scale(.94); } to { transform: none; } }
/* In flight: the card's top part on its way to the tray, and the ball opening into the Up next line. */
.ticket.ghost { inset: auto; z-index: 4; pointer-events: none; overflow: hidden; }
.ticket.ghost .t-body { --teeth: radial-gradient(circle 2.4px at 4px 100%, #0000 92%, #000); --teeth-size: 8px 100%; }


/* Talk: Pip printing the day, large, while on screen. */
.better { max-width: 1080px; margin: 120px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.better article { padding: 48px 44px; border-radius: 24px; background: var(--panel); }
.better h2 { margin: 0 0 14px; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.better p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.talk { max-width: 1080px; margin: 120px auto 0; padding: 56px; border-radius: 24px; background: var(--panel); display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; overflow: hidden; }
.talk-copy p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 40ch; }
/* Pip prints your day: the app's face, eyes on the ticket coming out from under it; the ticket hangs a moment, then drops
   away and the next one prints. Plays once the section is on screen; with reduced motion one ticket stands under Pip. */
.talk { isolation: isolate; }
.pip-art { position: relative; left: 50%; width: 330px; margin-left: -165px; height: 330px; }
.pip-art span { position: absolute; }
.pa-pip { z-index: 2; left: 65px; top: 10px; width: 200px; height: 200px; border-radius: 26%; background: #1c1c1e; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.pa-pip i { position: absolute; top: 46.3%; left: 17.1%; width: 24.2%; height: 30.8%; border-radius: 99px; background: #fff; translate: 0 22%; }
.pa-pip i + i { left: 58.7%; }
.pa-ticket { z-index: 1; left: 95px; top: 130px; width: 140px; height: 180px; border-radius: 0 0 22px 22px; background:
  repeating-linear-gradient(90deg, rgba(26,28,32,.45) 0 6px, transparent 6px 11px) 14px 118px / 112px 2px no-repeat, var(--lime);
  -webkit-mask: radial-gradient(circle at 0 119px, transparent 7px, #000 7.6px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 119px, transparent 7px, #000 7.6px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 119px, transparent 7px, #000 7.6px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 119px, transparent 7px, #000 7.6px) right / 51% 100% no-repeat; }
.pa-ticket i { position: absolute; left: 35px; bottom: 22px; width: 70px; height: 18px; border-radius: 99px; background: var(--ink); }
.pip-art :is(.pa-pip, .pa-pip i, .pa-ticket) { animation-duration: 3.6s; animation-timing-function: cubic-bezier(.4,0,.2,1); animation-iteration-count: infinite; animation-play-state: paused; }
.on .pip-art :is(.pa-pip, .pa-pip i, .pa-ticket) { animation-play-state: running; }
.pa-ticket { animation-name: pa-print; }
.pa-pip { animation-name: pa-hop; }
.pa-pip i { animation-name: pa-look, pa-blink; animation-duration: 3.6s, 4.3s; }
@keyframes pa-print { 0% { translate: 0 -170px; opacity: 1; } 32%, 70% { translate: 0 0; opacity: 1; } 100% { translate: 0 170px; opacity: 0; } }
@keyframes pa-hop { 0%, 68%, 100% { translate: 0 0; } 74% { translate: 0 -7px; } 80% { translate: 0 0; } }
@keyframes pa-look { 0%, 6% { translate: 0 0; } 20%, 66% { translate: 0 22%; } 76%, 92% { translate: 34% -30%; } 100% { translate: 0 0; } }
@keyframes pa-blink { 0%, 90%, 100% { scale: 1 1; } 94% { scale: 1 .12; } }
@media (prefers-reduced-motion: reduce) { .pip-art :is(.pa-pip, .pa-pip i, .pa-ticket) { animation: none; } }

/* Values: what it does, shown small. */
.values { max-width: 1080px; margin: 120px auto 0; padding: 0 24px; text-align: center; }
.values-sub { margin: 0 auto 48px; max-width: 46ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.tile { background: var(--panel); border-radius: 24px; padding: 32px 32px 0; min-height: 340px; display: flex; flex-direction: column; overflow: hidden; }
.tile > p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 40ch; }
.viz { margin-top: auto; height: 220px; position: relative; display: grid; place-items: center; }

/* Next card: a slice of the app's Now screen; Done tears the stub off, the next card is printed over. */
.viz-next { height: 270px; }
.viz-next .now { width: min(100%, 300px); height: 100%; border-radius: 26px 26px 0 0; box-shadow: 0 0 0 1px var(--line); }
.now.mini .sheet { padding: 0 20px; border-radius: 0 0 22px 22px; justify-content: flex-end; }
.now.mini .slot { height: 180px; margin: 14px 13px 14px; }
.viz-next .now .upnext { margin: 0; height: 40px; }

/* Timer: a real countdown on the card's Done pill. */
.viz-wait { height: 270px; }
.viz-wait .now.mini .slot { height: 172px; margin: 12px 13px; }
.viz-wait .now { width: min(100%, 300px); height: 100%; border-radius: 26px 26px 0 0; box-shadow: 0 0 0 1px var(--line); }
.viz-wait .now .upnext { margin: 0; height: 34px; }

/* Share: the app's share image (OneByOneRecordsShareImage, 4:5, dark card), then the iOS share sheet. */
.viz-share { height: 250px; overflow: hidden; display: block; }
/* The share card and the iOS sheet, drawn at full size and scaled to fit the tile (count, 2 × 2 totals and footer all stay). */
.share-stage { position: absolute; left: 50%; top: 0; width: 300px; height: 364px; margin-left: -150px; transform: scale(.68); transform-origin: 50% 0; }
.share-img { position: absolute; left: 50%; top: 4px; width: 224px; height: 280px; margin-left: -112px; padding: 18px; border-radius: 14px; background: #1d2025; color: #f3f4f5; display: flex; flex-direction: column; box-shadow: 0 26px 44px -24px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.share-img p, .share-img span, .share-img i, .share-img em { margin: 0; max-width: none; }
.si-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 10px; color: #a7abb3; }
.si-top b { font-weight: 600; color: #f3f4f5; }
.si-mid { margin: auto 0; display: grid; gap: 14px; }
.si-count { display: grid; gap: 3px; }
.si-count b { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.si-count span { font-size: 13px; font-weight: 600; }
.si-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.si-grid p { display: grid; gap: 1px; padding: 8px 9px; border-radius: 10px; background: rgba(243,244,245,.08); }
.si-grid i { font-style: normal; font-size: 9.5px; color: #a7abb3; }
.si-grid b { font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.si-grid em { font-style: normal; font-size: 9.5px; color: #a7abb3; }
.share-img .si-foot { font-size: 8.5px; line-height: 1.3; color: #a7abb3; }
.sheet-up { position: absolute; left: 50%; top: 284px; width: 300px; max-width: 100%; height: 130px; margin-left: -150px; padding: 8px 18px 0; border-radius: 16px 16px 0 0; background: var(--page); box-shadow: 0 -10px 30px -16px rgba(0,0,0,.35), 0 0 0 1px var(--line); display: grid; align-content: start; justify-items: center; gap: 12px; transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.sheet-up.hide { transform: translateY(100%); }
.su-handle { width: 32px; height: 4px; border-radius: 2px; background: var(--line); }
.su-apps { display: flex; gap: 18px; }
.su-apps span { display: grid; justify-items: center; gap: 4px; font-size: 10px; color: var(--hush); }
.su-apps i { width: 36px; height: 36px; border-radius: 10px; background: var(--c); }

/* Calendar: a day column; suggestions appear around the meeting, then land. */
.viz-cal { height: 250px; }
.day { position: relative; width: 300px; height: 200px; }
.hr { position: absolute; left: 0; right: 0; top: calc(var(--y) * 70px + 6px); font-size: 11px; color: var(--hush); border-top: 1px solid var(--line); padding-top: 2px; }
.evt, .sug { position: absolute; left: 48px; right: 0; border-radius: 10px; padding: 8px 12px; display: grid; align-content: center; gap: 2px; line-height: 1.25; }
.evt { top: 76px; height: 64px; align-content: start; background: #e8eefc; color: #1e3a8a; }
@media (prefers-color-scheme: dark) { .evt { background: #1e2a4a; color: #c7d4ff; } }
.evt b, .sug b { font-size: 13px; font-weight: 500; }
.evt i, .sug i { font-style: normal; font-size: 11px; opacity: .75; }
.sug { height: 48px; background: var(--page); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--text); opacity: 0; transform: translateX(-10px); transition: opacity .4s ease, transform .4s ease, box-shadow .3s ease, background .3s ease; }
.sug em { position: absolute; right: 8px; top: 8px; font-style: normal; font-size: 10px; font-weight: 500; padding: 2px 6px; border-radius: 99px; background: var(--panel); color: var(--muted); transition: background .3s ease, color .3s ease; }
.sug.before { top: 22px; border: 1.5px dashed transparent; }
.sug.after { top: 146px; }
.sug.shown { opacity: 1; transform: none; box-shadow: inset 0 0 0 1.5px var(--hush); }
.sug.added { box-shadow: none; background: var(--ink); color: #fff; }
.sug.added em { background: rgba(255,255,255,.18); color: #fff; }

/* Jobs: pick one, or type your own. */
.jobs { max-width: 1080px; margin: 140px auto 0; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: center; }
.chips { display: grid; justify-items: start; gap: 8px; margin: 28px 0 28px; max-width: 560px; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--page); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chips .chip-own { border-style: dashed; color: var(--muted); }
.chips .chip-own[aria-pressed="true"] { border-style: solid; color: #fff; }
@media (prefers-color-scheme: dark) { .chips button[aria-pressed="true"], .chips .chip-own[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); } }
.job-desc { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 44ch; min-height: 3.2em; text-wrap: pretty; }
.job-desc b { color: var(--text); font-weight: 500; }
.own { margin-top: 20px; max-width: 480px; }
.own label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.own textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--page); color: var(--text); font: inherit; font-size: 16px; resize: none; line-height: 1.45; min-height: 46px; max-height: 360px; overflow-y: auto; box-sizing: border-box; }
.own-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.jobs .device { justify-self: center; }
/* Pricing */
.pricing { max-width: 520px; margin: 140px auto 0; padding: 0 24px; text-align: center; }
.price-card { background: var(--panel); border-radius: 24px; padding: 32px; text-align: left; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p-name { color: var(--muted); font-size: 16px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--text) 7%, transparent); }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--page); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.p-price { margin: 28px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.p-price b { font-size: 48px; font-weight: 500; letter-spacing: -.03em; }
.p-price span { font-size: 17px; color: var(--muted); }
.p-unit { margin: 0 0 28px; color: var(--muted); font-size: 16px; }
.p-inc { margin: 32px 0 12px; font-size: 16px; }
.p-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.p-list li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-size: 16px; }

/* Final CTA */
.notify { max-width: 820px; margin: 0 auto; padding: 120px 24px 64px; text-align: center; }
.notify h2 { margin-bottom: 24px; }

/* Launch-updates dialog */
.notify-dialog { width: min(420px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 32px 28px 24px; background: var(--page); color: var(--text); box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); text-align: center; }
.notify-dialog::backdrop { background: rgba(10, 12, 14, .35); backdrop-filter: blur(4px); }
@media (prefers-reduced-transparency: reduce) {
  .topbar { background: var(--page); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .notify-dialog::backdrop { background: rgba(10, 12, 14, .6); backdrop-filter: none; }
}
.notify-dialog h2 { font-size: 24px; margin: 0 0 8px; }
.dlg-sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
/* Centered on the title's first line, inset like the sheet's padding. */
.dlg-close { position: absolute; top: 28px; right: 20px; margin: 0; }
.dlg-close button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 0; background: var(--panel); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.dlg-close button:focus { outline: none; }
.dlg-close button:focus-visible { outline: 2px solid #555d6d; outline-offset: 2px; }
/* Opening focuses the heading (not the close button), so no ring appears on open. */
.notify-dialog h2:focus { outline: none; }
/* Focus shows as a firmer border, not a second ring around the pill. */
.notify-form input[type=email]:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
.dlg-fine { margin: 8px 0 0; font-size: 13px; color: var(--hush); }
.notify-form { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
/* 16px: iOS Safari zooms the page when a focused field is smaller. */
.notify-form input[type=email] { flex: 1 1 200px; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--page); color: var(--text); font: inherit; font-size: 16px; }
.notify-form button { height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
@media (prefers-color-scheme: dark) { .notify-form button { background: var(--paper); color: var(--ink); } }
.notify-status { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.notify-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Manifesto page */
.manifesto-title { max-width: 820px; margin: 0 auto; padding: 72px 24px 24px; font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -3px; text-wrap: balance; }

/* Manifesto: every word kept; editorial rhythm, always readable. */
.home .manifesto { max-width: 820px; margin: 0 auto; padding: 24px 24px 96px; }
.home .manifesto p { font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -.7px; font-weight: 600; margin: 0 0 36px; }
.home .manifesto .ln { display: block; text-wrap: balance; }
@media (max-width: 520px) { .home .manifesto p { font-size: 22px; letter-spacing: -.5px; } .home .manifesto .ln + .ln { margin-top: .45em; } .home .manifesto p { line-height: 1.18; } }
.home .manifesto p.beat { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -1.6px; font-weight: 800; }
.home .manifesto p.pause { margin-top: 72px; }
.home .manifesto .answer { margin: 8px 0 0; }
.home .manifesto .answer strong { display: block; font-size: clamp(76px, 13vw, 150px); line-height: 1; letter-spacing: -5px; color: var(--ink); }
@media (prefers-color-scheme: dark) { .home .manifesto .answer strong { color: var(--text); } }
.home .signoff { display: flex; align-items: center; gap: 14px; margin-top: 64px; }
.home .signoff img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.home .signoff .wordmark { font-size: 28px; letter-spacing: -1px; }
.home .manifesto p.soon { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin: 10px 0 0; }

.home .manifesto .scene + .scene { margin-top: 36px; }
.home .manifesto .scene > p:last-child { margin-bottom: 0; }

/* FAQ: separated disclosure rows */
.home #faq { max-width: 820px; margin: 0 auto; padding: 48px 24px 96px; }
.home #faq > h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 500; letter-spacing: -.02em; margin: 0 0 12px; }
.home #faq details { border-top: 1px solid var(--line); }
.home #faq details:last-of-type { border-bottom: 1px solid var(--line); }
.home #faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; }
.home #faq summary::-webkit-details-marker { display: none; }
.home #faq summary h3 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.home #faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.home #faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.home #faq [data-faq-answer] { margin: 0; padding: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq-more { margin: 20px 0 0; color: var(--muted); font-size: 15px; }


.home footer .footer-inner { max-width: 1120px; margin: 0 auto; padding: 22px 24px 32px; }
.home footer .footer-inner nav + nav { margin-left: 8px; padding-left: 20px; border-left: 1px solid var(--line); }

@media (max-width: 960px) {
  .window { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .msg { overflow-wrap: anywhere; }
  .win-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .threads { grid-auto-flow: column; grid-auto-columns: 220px; overflow-x: auto; scrollbar-width: none; }
  .win-search, .win-you { display: none; }
  .thread { padding: 20px; }
  .composer { margin: 0 16px 16px; }
  .product > .device { position: relative; right: auto; top: auto; margin: 32px auto 0; }
  .talk { grid-template-columns: 1fr; padding: 32px 24px; margin: 80px 16px 0; }
  .better { grid-template-columns: 1fr; margin: 80px 16px 0; gap: 16px; }
  .better article { padding: 32px 24px; }
  .pip-art { transform: scale(.8); transform-origin: 50% 0; margin-bottom: -50px; }
  .bento { grid-template-columns: 1fr; }
  .values { margin-top: 96px; }
  .tile { padding: 28px 24px 0; min-height: 340px; }
  .jobs { grid-template-columns: 1fr; gap: 36px; margin-top: 96px; }
  .pricing { margin-top: 96px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 40px; }
  .hero h1 { letter-spacing: -.03em; }
  .lede { font-size: 17px; }
  .pill { font-size: 14px; white-space: nowrap; }
  .pill-more { display: none; }
  /* Thumb reach: the two hero actions are full-width, stacked, Sign up first. */
  .cta-row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
  .cta-row .btn { width: 100%; height: 52px; font-size: 17px; }
  .btn.small { height: 40px; }
  /* Four examples in a tidy 2 × 2, and Your own… across the full width below. */
  .chips { justify-items: stretch; }
  .chip-set { display: grid; grid-template-columns: 1fr 1fr; }
  .chips button { width: 100%; height: 44px; padding: 0 12px; }
  .seg button { height: 40px; }
  .product { padding: 0 16px; }
  .day { width: 260px; }
  /* The launch-updates dialog is a sheet from the bottom edge. */
  .notify-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 24px 24px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  /* When the iOS keyboard opens, Safari lifts the sheet off the bottom edge.
     The sheet's own surface continues below it, so the page never shows in the gap. */
  .notify-dialog { overflow: visible; }
  .notify-dialog::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 100vh; background: var(--page); pointer-events: none; }
  .notify-dialog[open] { animation: sheet-in .28s cubic-bezier(.22,.8,.26,1); }
}
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 380px) {
  .device { width: 260px; }
  .topbar-inner { padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .thread .msg, .notify-dialog[open] { animation: none !important; }
  .sheet-up, .sug, .go, .a-step::before, .frag, .msg.list li { transition: none !important; }
  .tpanel { animation: none !important; }
  .go, .mrow, .ab, .q-act, .toast, .upnext .chev { transition: none !important; }
}

/* Pricing: how to cancel, under the plan. */
.p-cancel { margin: 14px 0 0; font-size: 14px; color: var(--muted, #6b6f76); }
.p-cancel a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.talk .talk-copy .talk-starter { margin-top: 14px; color: var(--text, #1a1c20); font-weight: 500; }

/* Hero: the price line and the language note under the buttons. */
.hero-price { margin: 16px 0 0; font-size: 14px; color: var(--hush); }
.hero .app-language { margin: 6px 0 0; font-size: 14px; color: var(--hush); }
/* The copy and the buttons on the left, the app's own Now on a big phone on the right. On phones: copy, phone, buttons. */
.hero { grid-template-areas: "copy phone" "act phone"; row-gap: 0; }
.hero-copy { grid-area: copy; align-self: end; }
.hero-act { grid-area: act; align-self: start; }
.hero-phone { grid-area: phone; display: grid; justify-items: center; }
.hero-phone .device { width: 340px; aspect-ratio: 2 / 3; }
.hero-phone .now .greet { font-size: 20px; }
.hero-phone .dayline { margin: 6px 0 0; font-size: 14px; line-height: 1.4; font-weight: 500; color: #6b7280; }
.hero-phone .sit { margin-top: 14px; }
.hero-phone .ticket .t-title { font-size: 26px; }
.hero-phone .ticket .t-note { font-size: 13px; }
/* After launch: the official badge leads the hero, and a QR code helps desktop visitors reach their iPhone. */
.store-badge { display: inline-flex; }
.store-badge img { display: block; height: 52px; width: auto; }
.store-qr { display: none; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; color: var(--hush); }
.store-qr img { border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 961px) and (hover: hover) { .store-qr:not([hidden]) { display: flex; } }
.dock { display: none; }
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "phone" "act"; gap: 28px; text-align: center; max-width: 560px; }
  .hero .lede { margin-bottom: 0; }
  .hero .cta-row { justify-content: center; }
  .hero .store-badge { align-self: center; }
  .lede { margin-left: auto; margin-right: auto; }
}
@media (max-width: 520px) {
  .site-nav .btn { display: none; }
  .hero-phone .device { width: 272px; aspect-ratio: 9 / 15; }
  .hero-phone .ticket .t-title { font-size: 22px; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--page) 92%, transparent); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .dock.on { transform: none; visibility: visible; transition: transform .25s ease; }
  .dock .btn { height: 52px; }
  .home footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* Widget: the app's home small widget and Lock Screen rectangular widget (OneByOneWidgetUI/WidgetCardView), on a wallpaper. */
.tile.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; min-height: 300px; padding: 32px; }
.wide-copy > p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 40ch; }
.viz-widget { margin: 0; height: 236px; }
.wall { width: 100%; max-width: 420px; height: 100%; border-radius: 22px; padding: 22px; display: flex; align-items: center; justify-content: center; gap: 22px; background: linear-gradient(150deg, #2a3756 0%, #563f69 55%, #8a5a45 100%); }
@media (prefers-color-scheme: dark) { .wall { background: linear-gradient(150deg, #24324a 0%, #3a2f4a 55%, #5a3e30 100%); } }
.w-small { position: relative; flex: none; width: 170px; height: 170px; border-radius: 24px; padding: 16px; background: #fff; color: var(--ink); display: flex; flex-direction: column; box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); }
@media (prefers-color-scheme: dark) { .w-small { background: #1c1d21; color: var(--paper); } }
.w-small p { margin: 0; max-width: none; }
.w-title { font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; padding-right: 40px; }
.w-skip { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(26,28,32,.08); color: #8b919a; }
@media (prefers-color-scheme: dark) { .w-skip { background: rgba(243,244,245,.12); } }
.w-skip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.w-skip .fill { fill: currentColor; stroke: none; }
.w-time { margin-top: auto !important; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.w-pill { margin-top: 8px; height: 40px; border-radius: 999px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 16px; font-size: 15px; font-weight: 600; }
.w-pill b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.w-pill svg, .w-cap svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.w-lockside { flex: 1; min-width: 0; max-width: 170px; display: grid; gap: 10px; color: #fff; }
.w-lockside p { margin: 0; max-width: none; }
.w-clock { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em; text-align: center; opacity: .95; }
.w-rect { display: grid; gap: 2px; }
.w-rt { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-rl { font-size: 13px; font-variant-numeric: tabular-nums; }
.w-cap { margin-top: 4px; height: 26px; border-radius: 999px; padding: 0 3px 0 10px; display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,.28); font-size: 13px; font-weight: 600; }
.w-cap b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; }
.w-cap svg { width: 11px; height: 11px; }
@media (max-width: 860px) {
  .tile.wide { grid-template-columns: 1fr; padding: 28px 24px 24px; }
  .viz-widget { justify-self: center; width: 100%; }
}
@media (max-width: 400px) {
  .viz-widget { height: auto; }
  .wall { flex-direction: column; padding: 18px; gap: 18px; }
  .w-lockside { width: 170px; }
}

/* One evening, card by card: the phone stays while the page scrolls, and each card is
   done, tears off and the next prints (assets/day-scroll.js, GSAP ScrollTrigger). The
   section is tall only where motion is allowed; still, it is the first card and the list. */
.ds { max-width: 1080px; margin: 120px auto 0; padding: 0 24px; }
.ds-pin { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; }
.ds-copy h2 { margin: 0 0 14px; }
.ds-copy > p { margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 36ch; }
.ds-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ds-steps li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 20px; }
.ds-steps time { flex: none; width: 74px; font-size: 14px; color: var(--hush); font-variant-numeric: tabular-nums; }
.ds-steps b { font-weight: 600; }
.ds-phone .device { margin: 0 auto; }
.ds .upnext .ds-nexts { position: relative; flex: 1; min-width: 0; height: 100%; }
.ds .upnext [data-ds-next] { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.ds .upnext [data-ds-next], .ds [data-ds-label] { transition: opacity .2s ease; }
.ds .upnext [data-ds-next]:not(:first-child) { opacity: 0; }
.ds .go { cursor: default; }
.ds .go-lit { clip-path: inset(0 100% 0 0); }
.ds .ticket:not(:first-child) { visibility: hidden; }
.ds .stub-b { opacity: 0; }
.ds .stub-b .go-lit { clip-path: none; }   /* the stub tears off after Done: filled */
.ds .ticket[data-torn] .t-body { --teeth: radial-gradient(circle 2.4px at 4px 100%, #0000 92%, #000); --teeth-size: 8px 100%; }
.ds .stub-b .stub-in { --teeth: radial-gradient(circle 2.4px at 4px 0, #0000 92%, #000); --teeth-size: 8px 100%; }
/* Tall and held only once the script has the timeline: without it (no script, a failed load,
   Reduce Motion) the section is the first card and the whole list, at its own height. */
.ds-steps li { color: var(--hush); transition: color .25s ease, opacity .25s ease; }
.ds-steps li b { color: inherit; }
.ds-steps li:first-child, .ds-live .ds-steps li[data-on] { color: var(--text); }
.ds-live .ds-steps li[data-off] { color: var(--hush); }
.ds-live { height: 380vh; }
.ds-live .ds-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 64px 0 24px; box-sizing: border-box; }
@media (max-width: 860px) {
  .ds { margin-top: 80px; padding: 0 16px; }
  .ds-pin { grid-template-columns: 1fr; gap: 18px; align-content: center; justify-items: center; text-align: center; }
  .ds-copy > p { display: none; }
  .ds-copy h2 { font-size: 26px; }
  .ds-steps { justify-items: center; }
  .ds-steps li { border: 0; padding: 0; font-size: 17px; }
  .ds-phone .device { width: min(250px, 62vw); }
  /* Clear of the header above and the launch bar below; a short screen gets a smaller phone. */
  .ds-live .ds-pin { padding: 64px 0 92px; gap: 14px; }
  /* One line under the heading: the card in hand. */
  .ds-live .ds-steps { display: block; position: relative; height: 26px; }
  .ds-live .ds-steps li { position: absolute; left: 0; right: 0; justify-content: center; opacity: 0; }
  .ds-live .ds-steps li[data-on] { opacity: 1; }
}
