/* 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: #8a9099;
  background: var(--page); line-height: 1.5;
}
@media (prefers-color-scheme: dark) { .home { --page: var(--bg); --panel: var(--surface); --line: #2e3137; --hush: #7d838c; } }
.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: 1000px; margin: 0 auto; padding: 72px 24px 0; text-align: center; }
.pill { display: inline-flex; align-items: center; 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 h1 { font-size: clamp(42px, 6vw, 76px); 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 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; 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); }
.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; }
.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); }
.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); }
.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); }
.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: one large mark that breathes while on screen. */
.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; }
/* The box is exactly the art's extent, centred in its column at every width. */
.mark-art { position: relative; left: 50%; width: 330px; margin-left: -165px; height: 300px; }
.mark-art span { position: absolute; border-radius: 26%; }
.mark-art .m1 { width: 150px; height: 150px; left: 0; top: 30px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mark-art .m2 { width: 190px; height: 190px; left: 50px; top: 70px; background: #dadde1; }
.mark-art .m3 { width: 220px; height: 220px; left: 110px; top: 90px; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.mark-art .m3 i { position: absolute; left: 50%; bottom: 34px; width: 110px; height: 30px; margin-left: -55px; border-radius: 99px; background: var(--lime); transform-origin: left center; }
/* The mark art loops on screen (see home.js); without it, or with reduced motion, it stands still as above. Live, each card
   rides in a lane that holds the camera: the art box plus 400 px all round (a mask paints only inside its box). */
.talk { isolation: isolate; }
.mark-art.live { margin-bottom: 72px; }                                  /* the ticket comes down 120 px below the art; the panel clips */
.mark-art.live .lane { position: absolute; left: -400px; top: -400px; width: 1130px; height: 1100px; perspective: 1000px; perspective-origin: 565px 550px; pointer-events: none; }
.mark-art.live .lane span { left: 0; top: 0; width: 220px; height: 220px; transform-origin: 110px 110px; }
.mark-art.live .lane i { position: absolute; left: 50%; bottom: 34px; width: 110px; height: 30px; margin-left: -55px; border-radius: 99px; background: var(--lime); }

/* 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(--hush); }
.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; }

/* Sign-up dialog */
.signup-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; }
.signup-dialog::backdrop { background: rgba(10, 12, 14, .35); backdrop-filter: blur(4px); }
.signup-dialog h2 { font-size: 24px; margin: 0 0 8px; }
.dlg-sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.dlg-close { position: absolute; top: 12px; right: 12px; margin: 0; }
.dlg-close button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--panel); color: var(--muted); font-size: 18px; cursor: pointer; }
.signup { display: grid; gap: 10px; }
.sso { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; width: 100%; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; border: 0; }
.sso-apple { background: #000; color: #fff; }
.sso-google { background: #fff; color: #1f1f1f; box-shadow: inset 0 0 0 1px #747775; }
.sso-ico { width: 18px; height: 18px; flex: none; }
@media (prefers-color-scheme: dark) { .sso-apple { background: #fff; color: #000; } .sso-google { background: #131314; color: #e3e3e3; box-shadow: inset 0 0 0 1px #8e918f; } }
.signup-status { margin: 0; font-size: 14px; color: var(--muted); }
.signup-status:empty { display: none; }
.email-only { margin-top: 6px; }
.email-only summary { cursor: pointer; font-size: 14px; color: var(--muted); list-style: none; text-decoration: underline; text-underline-offset: 4px; }
.email-only summary::-webkit-details-marker { display: none; }
.email-only[open] summary { margin-bottom: 12px; }
.signup-fine { margin: 8px 0 0; font-size: 13px; color: var(--hush); }
.notify-form { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.notify-form input[type=email] { flex: 1 1 200px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--page); color: var(--text); font: inherit; font-size: 15px; }
.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; }
  .mark-art { transform: scale(.8); transform-origin: 50% 0; margin-bottom: -60px; }
  .mark-art.live { margin-bottom: 40px; }
  .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; }
  /* Sign-up is a sheet from the bottom edge. */
  .signup-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)); }
  .signup-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, .signup-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; }
}
