/* Hushbox landing v4. Page tokens in OKLCH; the product scenes use the app's own tokens (tokens.css, ui.css). */
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* surfaces: L steps of about 0.025, hue 285 like the app greys */
  --pg: oklch(0.145 0.004 285);
  --pg-1: oklch(0.168 0.004 285);
  --pg-2: oklch(0.19 0.004 285);
  --hair: oklch(1 0 0 / 0.08);
  --hair-soft: oklch(1 0 0 / 0.05);
  --rule: oklch(0.27 0.006 285);
  /* text: every level passes 7:1 on --pg and --pg-2 */
  --t1: oklch(0.976 0.0013 285);
  --t2: oklch(0.875 0.006 285);
  --t3: oklch(0.745 0.008 285);
  /* brand */
  /* the primary button: a neutral off-white with near-black text, in the nav and in the page */
  --paper: oklch(0.93 0.0015 285);
  --paper-hover: oklch(0.975 0.001 285);
  --paper-ink: oklch(0.17 0.004 285);
  --indigo: oklch(0.6653 0.1809 280);
  /* the hero's account row: the app's account colors (tokens.css, dark). The app rings accounts 5 to 8 in colors 1 to 4;
     the hero fills every dot, so accounts 5 to 8 get hues of their own (Yahoo is account 5). */
  --a1: oklch(0.80 0.12 233);
  --a2: oklch(0.72 0.17 45);
  --a3: oklch(0.86 0.17 115);
  --a4: oklch(0.60 0.17 320);
  --a5: oklch(0.78 0.11 185);
  --a6: oklch(0.70 0.15 15);
  --a7: oklch(0.82 0.13 85);
  --a8: oklch(0.74 0.13 150);
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease-out-quart: cubic-bezier(.165, .84, .44, 1);
  /* one grid: text and scenes on x = outer + inset (80) to 1360 */
  --outer: 48px;
  --inset: 32px;
  --max: 1344px;
  --radius-scene: 12px;
}

* { box-sizing: border-box; }
html { background: var(--pg); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.page {
  margin: 0; background: var(--pg); color: var(--t1);
  font: 400 15px/24px var(--sans); letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
figure { margin: 0; }
::selection { background: oklch(0.6653 0.1809 280 / 0.35); color: var(--t1); }
:where(a, button):focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.pill:focus-visible { border-radius: 9999px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 9999px; background: var(--paper); color: var(--paper-ink); font-weight: 500; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--outer)); margin: 0 auto; padding: 0 var(--outer); }
.in { padding: 0 var(--inset); }

/* ---------- header: an opaque surface, so no blur runs over the moving scenes; no rule, so no second hairline ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; background: var(--pg); }
.top .wrap { height: 100%; }
.top .in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font: 500 17px/1 var(--sans); letter-spacing: -0.02em; margin-left: -2px; }
.brand img { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 9999px; font-size: 13px; color: var(--t3); letter-spacing: 0; transition: color .1s var(--ease-out-quart), background-color .1s var(--ease-out-quart); }
.nav a:hover { color: var(--t1); background: var(--hair-soft); }
.nav .sep { width: 1px; height: 16px; background: var(--hair); margin: 0 10px; }

/* one button style everywhere: off-white, near-black text, no ring */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 14px;
  border-radius: 9999px; font: 500 13px/1 var(--sans); letter-spacing: 0; white-space: nowrap;
  background: var(--paper); color: var(--paper-ink);
  transition: background-color .16s var(--ease-out-quart), transform .16s var(--ease-out-quart);
}
.pill:hover { background: var(--paper-hover); }
.pill:active { transform: translateY(1px); }
.pill--md { height: 40px; padding: 0 18px 0 16px; font-size: 15px; }
.pill svg { width: 16px; height: 16px; }
.nav .pill { margin-left: 4px; padding: 0 14px; color: var(--paper-ink); }
.nav .pill:hover { background: var(--paper-hover); color: var(--paper-ink); }
.note { font-size: 14px; color: var(--t3); letter-spacing: -0.005em; }

/* ---------- type: display 88 / 48, body 17; the headline is the only bright text in a section ---------- */
.h1, .h2 { font-weight: 500; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
.h1 { font-size: 88px; line-height: 88px; letter-spacing: -0.035em; }
.h2 { font-size: 48px; line-height: 50px; margin-left: -2px; }
.lede { font-size: 17px; line-height: 26px; letter-spacing: -0.011em; color: var(--t3); margin: 0; max-width: 44ch; text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ui { user-select: none; pointer-events: none; }
.ui [data-theme] { font-family: var(--font-sans); }
.win { position: absolute; left: 0; top: 0; }

/* ---------- one rhythm for sections that scroll: a rule on the section edge, 160 px to the content, 120 px after.
   A pinned scene (.m, wide and tall screens) is a scroll track instead: its pin holds the copy and the window still in
   the viewport while scroll plays the story (css/motion.css). ---------- */
.sec { padding: 160px 0 120px; border-top: 1px solid var(--hair); }
kbd { font-family: var(--mono); }
.lede kbd, .h3 kbd, .steps kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin: 0 1px; border-radius: 5px; vertical-align: 2px;
  font: 500 12px/1 var(--mono); letter-spacing: 0; color: var(--t2); background: var(--pg-2); box-shadow: inset 0 0 0 1px var(--hair);
}
.h3 { margin: 0; font-size: 28px; line-height: 34px; font-weight: 500; letter-spacing: -0.02em; }
.copy .lede { margin-top: 20px; }

/* the copy beside a scene: 360 px of words, the window takes the rest; .split--r puts the words on the right */
.split { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 72px; align-items: center; }
.split--r { grid-template-columns: minmax(0, 1fr) 340px; }
.stage { position: relative; min-width: 0; }

/* Steps: one per beat of the scene. Each has its keys, a bold verb and a short line; the step that plays is bright,
   with a bar on its left, the others rest at --t3 (7:1). Without motion every step is bright. */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; }
.steps li { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 10px 0 10px 16px; font-size: 15px; line-height: 22px; color: var(--t3); transition: color .2s var(--ease-out-quart); }
.steps li::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 1px; background: var(--indigo); transform: scaleY(0); transition: transform .24s var(--ease-out-quart); }
.steps li b { font-weight: 500; }
.steps .sk { display: flex; gap: 4px; white-space: nowrap; }
.steps .sk kbd { margin: 0; vertical-align: 0; transition: color .2s var(--ease-out-quart), box-shadow .2s var(--ease-out-quart); }
.steps li.on, html:not(.m) .steps li { color: var(--t1); }
.steps li.on::before { transform: none; }
.steps li.on kbd { color: var(--t1); box-shadow: inset 0 0 0 1px oklch(0.6653 0.1809 280 / 0.7); }
.steps--row { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; margin: 0; }
.steps--row li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 0 0 0 16px; }
.steps--row li::before { top: 0; bottom: 0; }

/* ---------- hero: the bird and the headline at the centre, the window under them ---------- */
.hero { overflow: clip; }
.hero-in { position: relative; }
.hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 128px; }
.hero-bird { width: 128px; height: auto; margin-bottom: 20px; }
.hero-sub { margin: 24px 0 0; max-width: 32ch; font-size: 20px; line-height: 28px; letter-spacing: -0.014em; color: var(--t2); text-wrap: balance; }
.hero-act { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.hero-stage { position: relative; margin: 56px 0 0; }
.frame {
  position: relative; height: 640px; padding: 7px 7px 0; border-radius: 14px 14px 0 0; overflow: hidden;
  background: var(--pg-1); border: 1px solid var(--hair); border-bottom: 0;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.07);
  --fade: 180px;
  -webkit-mask-image: linear-gradient(#000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(#000 calc(100% - var(--fade)), transparent);
}
.view { position: relative; border-radius: 8px 8px 0 0; overflow: hidden; height: 790px; box-shadow: 0 0 0 1px var(--hair-soft); }
.view.phone { display: none; }
.accts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 20px; margin: 0; font-size: 13px; line-height: 20px; color: var(--t3); }
.accts span { display: inline-flex; align-items: center; gap: 8px; }
.accts i { width: 7px; height: 7px; border-radius: 50%; }
.hero .ui :is(.hb-acct--5, .hb-acct--6, .hb-acct--7, .hb-acct--8) { border: 0; }
.hero .ui .hb-acct--5 { background: var(--a5); } .hero .ui .hb-acct--6 { background: var(--a6); }
.hero .ui .hb-acct--7 { background: var(--a7); } .hero .ui .hb-acct--8 { background: var(--a8); }
.hero .ui .hb-thread__meta :is(.hb-acct--5, .hb-acct--6, .hb-acct--7, .hb-acct--8) { width: 6px; height: 6px; margin: 0; }
/* the first message, sent by the bird: a copy of the top row that flies from the envelope into the list (site.js) */
.letter { display: none; }

/* ---------- numbers: the two measured times as the figures, one frame as a ruler, one line of mono ---------- */
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
.fig { display: flex; flex-direction: column; gap: 12px; }
.fv { font: 500 112px/1 var(--sans); letter-spacing: -0.045em; color: var(--t1); font-variant-numeric: tabular-nums; white-space: nowrap; margin-left: -4px; }
.fv small { margin-left: 10px; font-size: 28px; font-weight: 400; letter-spacing: -0.01em; color: var(--t3); }
.fl { font-size: 17px; line-height: 24px; color: var(--t2); }
.fig--frame .fv { color: var(--t3); }
.fig--frame .fv small { color: var(--t3); }
.fig--frame .fl { color: var(--t3); }
/* the ruler: 0 to 4.17 ms across the grid; the end of the frame in the accent */
.ruler { position: relative; margin-top: 72px; padding-top: 28px; --w: 100%; }
.ticks { position: absolute; inset: 0 0 auto; height: 28px; border-bottom: 1px solid oklch(1 0 0 / 0.2); }
.ticks i { position: absolute; left: calc(var(--x) / 4.17 * 100%); bottom: 0; height: 100%; padding-left: 6px; font: 400 12px/16px var(--mono); font-style: normal; color: var(--t3); border-left: 1px solid oklch(1 0 0 / 0.2); }
.ticks i.end { left: auto; right: 0; padding: 0 8px 0 0; border-left: 0; border-right: 1px solid var(--indigo); color: var(--t1); }
.lane { position: relative; height: 56px; border-bottom: 1px solid var(--hair-soft); }
.lane::after { content: ""; position: absolute; right: 0; top: 0; bottom: -1px; width: 1px; background: oklch(0.6653 0.1809 280 / 0.6); }
.lane b { position: absolute; left: 0; top: 18px; height: 20px; width: calc(var(--v) / 4.17 * 100%); border-radius: 0 3px 3px 0; background: oklch(0.80 0.006 285); transform-origin: 0 50%; }
.lane span { position: absolute; top: 18px; left: calc(var(--v) / 4.17 * 100% + 12px); font: 400 13px/20px var(--mono); color: var(--t3); }
.sweep { display: none; }
.mono-line { margin: 56px 0 0; max-width: 92ch; font: 400 17px/28px var(--mono); letter-spacing: -0.01em; color: var(--t2); text-wrap: pretty; }
.trace-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-top: 20px; font-size: 13px; line-height: 20px; color: var(--t3); }
.trace-note summary { cursor: pointer; list-style: none; color: var(--t2); }
.trace-note summary::-webkit-details-marker { display: none; }
.trace-note summary::after { content: " →"; }
.trace-note details[open] summary::after { content: " ↓"; }
.trace-note details p { margin: 8px 0 0; max-width: 720px; color: var(--t3); }

/* ---------- triage: LongThread in a 960 px window, cut at the crop's right edge ---------- */
.s-triage { position: relative; }
.tri-crop {
  position: relative; height: 610px; overflow: hidden; border-radius: 12px; border: 1px solid var(--hair); background: var(--pg-1);
}
.tri-crop .win { left: -54px; top: -1px; }
.tri-crop [data-theme] { --list-width: 380px; }
/* the end state without motion: the review request is archived, the next thread is selected */
html:not(.m) .s-triage .hb-thread.arch { display: none; }
/* the toast where the app puts it, centred on the reading pane */
.s-triage .toastbox { position: absolute; z-index: 5; left: 380px; right: 0; top: 540px; display: flex; justify-content: center; }
.keycap { display: none; }
.hb-toast { animation: none !important; }
.ui .hb-toast { box-shadow: 0 0 0 1px oklch(1 0 0 / 0.1), 0 8px 24px oklch(0 0 0 / 0.45); }
.hb-toast .tz { flex-shrink: 0; margin-left: -4px; padding-right: 4px; color: var(--fg-muted); white-space: nowrap; }
.hb-toast .tz kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin: 0 2px; border-radius: 4px; font: 500 11px/1 var(--font-mono, var(--mono)); color: var(--fg); background: var(--surface-raised-hover); }
/* the reader for each selected thread, stacked over the reader (site.js) */
.s-triage .rv { position: absolute; z-index: 3; left: 0; right: 0; top: 48px; bottom: 0; background: var(--canvas); }

/* ---------- palette: the keys as type, the copy and the steps in one row, the window under them ---------- */
.pal-top { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 48px; align-items: end; }
.bigkeys { display: flex; gap: 12px; }
.bigkeys kbd {
  display: grid; place-items: center; min-width: 104px; height: 104px; padding: 0 22px; border-radius: 18px;
  font: 500 52px/1 var(--mono); letter-spacing: -0.04em; color: var(--t1); background: var(--pg-2);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.12), inset 0 -3px 0 oklch(1 0 0 / 0.05);
}
.bigkeys kbd:first-child { font-size: 36px; }
.pal-top .lede { margin-top: 10px; font-size: 15px; line-height: 22px; }
.s-pal { position: relative; margin-top: 40px; }
.pal-crop {
  position: relative; height: 520px; overflow: hidden; border-radius: 12px 12px 0 0; border: 1px solid var(--hair); border-bottom: 0; background: var(--pg-1);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 120px), transparent); mask-image: linear-gradient(#000 calc(100% - 120px), transparent);
}
.pal-crop .win { left: -1px; top: -1px; }
.pal-dim { position: absolute; inset: 0; z-index: 4; background: var(--scrim); }
.pal-pop { position: absolute; z-index: 5; left: 0; right: 0; top: 100px; display: flex; justify-content: center; }
.pal-pop .hb-palette { animation: none; }
.pal-pop .hb-mark:empty { display: none; }
.pal-crop .hb-palette, .pal-pop .hb-palette { box-shadow: 0 0 0 1px oklch(1 0 0 / 0.08), 0 24px 64px -16px oklch(0 0 0 / 0.8); }

/* matches read in every scene: the accent at a quarter, bright text */
.ui .hb-palette .hb-mark, .ui .hb-thread .hb-mark { background: color-mix(in oklch, var(--accent-solid) 25%, transparent); color: var(--fg); border-radius: 3px; padding: 0 1px; }

/* ---------- search: the window beside the copy; the camera pans from the query to the receipt ---------- */
.s-search { position: relative; }
.sr-panel { position: relative; height: 520px; overflow: hidden; border-radius: 12px; border: 1px solid var(--hair); background: var(--pg-1); }
.sr-panel .win { left: -54px; top: -1px; }
.sr-panel [data-theme] { --list-width: 500px; }
.sr-panel .hb-msg__body .hb-rcpt { max-width: none !important; }
.sr-panel .hb-msg__body .hb-rcpt > :nth-child(n+4) { display: none !important; }
.sr-panel .hb-search input { field-sizing: content; min-width: 1ch; flex: 0 0 auto; }
/* the caret holds still: a blink would show an empty field in half of all frames and stills */
.sr-panel .hb-search .caret { width: 1.5px; height: 16px; margin-left: 1px; margin-right: auto; background: var(--accent-solid, var(--indigo)); }
.sr-panel .hb-search .hb-chip.off { display: none; }
.sr-panel .hb-search input:placeholder-shown { order: 1; }
.sr-panel .hb-search input:placeholder-shown + .caret { margin-right: -7px; }
.sr-panel .hb-search input:placeholder-shown ~ :not(.caret) { order: 2; visibility: hidden; }
/* before the first key: the inbox and its open thread, over the results (site.js copies them from the hero) */
.sr-panel .hb-listpane__rows, .sr-panel .hb-reader { position: relative; }
.sr-panel .pre { position: absolute; inset: 0; z-index: 3; background: var(--surface); overflow: hidden; }
.sr-panel .hb-reader > .pre { top: 48px; background: var(--canvas); }

/* ---------- calendar: the copy and the steps in a row, the week at 70% under them, the quick editor outside it ---------- */
.cal-top { display: grid; grid-template-columns: minmax(0, 1fr) calc(30% - 24px); column-gap: 24px; align-items: end; }
.cal-top .h2 { white-space: nowrap; }
.cal-top .steps { margin: 0; }
.cal-top .steps li { grid-template-columns: 34px minmax(0, 1fr); padding-top: 6px; padding-bottom: 6px; }
.s-cal { margin-top: 36px; }
.cal-crop { position: relative; width: 70%; height: 600px; overflow: hidden; border-radius: 12px 12px 0 0; border: 1px solid var(--hair); border-bottom: 0; background: var(--pg-1); -webkit-mask-image: linear-gradient(#000 calc(100% - 72px), transparent); mask-image: linear-gradient(#000 calc(100% - 72px), transparent); }
.cal-crop .win { left: -241px; top: -1px; }
.cal-crop .event-quick { animation: none; top: calc(anchor(center) - 210px); }
.js .cal-crop .event-quick { visibility: hidden; }
.cal-crop .hb-week__col { position: relative; }
/* the quick editor stands outside the window, level with the event (site.js copies it and places it) */
.cal-pop { position: absolute; z-index: 5; left: calc(70% + 24px); top: 0; }
.cal-pop .event-form { position: relative; inset: auto; animation: none; }
.drag-ptr { display: none; }
.cal-pop .ring { box-shadow: 0 0 0 2px var(--indigo); }
:is(.cal-crop, .cal-pop) .event-form { box-shadow: 0 0 0 1px var(--hair), 0 16px 40px -12px oklch(0 0 0 / 0.7); }
.cal-crop .hb-ev:not(.hb-ev--selected):not([aria-label^="Offsite venue"]) {
  --ev-fill: oklch(0.255 0.004 285) !important; --ev-hover: oklch(0.28 0.004 285) !important; --ev-bar: oklch(0.52 0.006 285) !important;
  --ev-ink: oklch(0.90 0.004 285) !important; --ev-past: oklch(0.215 0.004 285) !important; --ev-past-ink: oklch(0.80 0.004 285) !important;
}

/* ---------- offline: three list panes, cards in space; flat side by side without motion ---------- */
.fan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { min-width: 0; }
.off-pane { position: relative; height: 400px; overflow: hidden; border-radius: 12px; border: 1px solid var(--hair); background: var(--surface); --list-width: 100%; display: flex; }
.off-pane .hb-listpane { width: 100%; height: 100%; border-right: 0; }
.off-pane .hb-listpane__rows { overflow: hidden; }
.offban { padding: 0 12px 10px; }
.offdot { display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--warning-fg, oklch(0.8 0.15 75)); vertical-align: middle; }
.off-pane .toastbox { position: absolute; z-index: 5; left: 0; right: 0; bottom: 52px; display: flex; justify-content: center; }
#offline .steps li { grid-template-columns: 34px minmax(0, 1fr); }

/* ---------- colors: centred; one window in three palettes, the steps under it ---------- */
.col-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.col-top .lede { margin-top: 16px; max-width: 58ch; }
.s-colors { margin: 36px auto 0; max-width: 1180px; }
.col-win { position: relative; height: 520px; overflow: hidden; border-radius: 12px; border: 1px solid var(--hair); background: var(--pg-1); }
.col-layer { position: absolute; inset: 0; overflow: hidden; }
.col-layer .win { left: -1px; top: -1px; }
.col-steps { margin-top: 24px; }
.col-steps.steps--row li { grid-template-columns: 12px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.col-steps .sw { width: 12px; height: 12px; border-radius: 50%; }
.edge { display: none; }

/* ---------- privacy: the reader turned toward the copy ---------- */
.split--priv { grid-template-columns: minmax(0, 1fr) 380px; }
.pv-crop { position: relative; height: 560px; overflow: hidden; border-radius: 12px; border: 1px solid var(--hair); background: var(--canvas, var(--pg-1)); }
.pv-crop .win { left: -472px; top: -1px; }
.pv-crop .hb-msg__page > div > :first-child, .pv-crop .hb-msg__page .hb-imgrow { display: none !important; }
.pv-crop .hb-listpane__rows > :nth-child(-n+4) { display: none !important; }

/* ---------- download: on the page grid, left-aligned, the install lines beside the action ---------- */
.get-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
.get .lede { margin-top: 24px; }
.get .acts { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.cmd { padding-top: 6px; }
.tabs { display: grid; grid-template-columns: auto auto 1fr; border-radius: 8px; background: var(--pg-1); border: 1px solid var(--hair); overflow: hidden; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs label { padding: 10px 16px; font-size: 13px; line-height: 20px; color: var(--t3); cursor: pointer; border-bottom: 1px solid var(--hair); box-shadow: inset 0 -1px 0 transparent; }
.tabs label:hover { color: var(--t1); }
.tabs label:nth-of-type(2) { grid-column: 2; }
.tabs::after { content: ""; grid-row: 1; grid-column: 3; border-bottom: 1px solid var(--hair); }
.tabs input:checked + label { color: var(--t1); box-shadow: inset 0 -1px 0 var(--t1); }
.tabs input:focus-visible + label { outline: 2px solid var(--indigo); outline-offset: -4px; border-radius: 6px; }
.tabs pre { grid-column: 1 / -1; grid-row: 2; display: none; margin: 0; padding: 16px 18px; font: 400 13px/22px var(--mono); color: var(--t2); white-space: pre-wrap; overflow-wrap: anywhere; }
#t-arch:checked ~ .p-arch, #t-src:checked ~ .p-src { display: block; }
.tabs pre .c { color: var(--t3); user-select: none; }
.cmd-note { margin: 12px 0 0; font-size: 13px; line-height: 20px; color: var(--t3); }

/* ---------- footer: the logo column and four equal columns ---------- */
.foot { border-top: 1px solid var(--hair); padding: 64px 0 48px; }
.foot .in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 32px; }
.foot .brand { font-size: 15px; gap: 10px; }
.foot .brand img { width: 24px; height: 24px; }
.foot h4 { margin: 0 0 12px; font: 500 13px/20px var(--sans); color: var(--t2); letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { font-size: 13px; line-height: 30px; color: var(--t3); }
.foot li a:hover { color: var(--t1); }
.legal { grid-column: 1 / -1; display: flex; gap: 32px; margin-top: 64px; font-size: 13px; line-height: 20px; color: var(--t3); }
.legal .r { margin-left: auto; }

/* ---------- entrance: one fade, words first, then the window; opacity only, the words do not move ---------- */
.m .rise { animation: fade-in .8s cubic-bezier(.25, .1, .25, 1) both; }
.m .rise.d1 { animation-delay: .1s; }
.m .hero-stage { animation: fade-in 1s cubic-bezier(.25, .1, .25, 1) .3s both; }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- smaller screens: one column, the copy over its scene; the scenes keep 1:1 and crop ---------- */
@media (max-width: 1100px) {
  :root { --outer: 28px; --inset: 8px; }
  .h1 { font-size: 68px; line-height: 68px; }
  .h2 { font-size: 40px; line-height: 42px; }
  .fv { font-size: 80px; }
  .split, .split--r, .split--priv, .get-grid, .cal-top, .pal-top { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .split--r > .copy, .split--priv > .copy { order: -1; }
  .pal-top { row-gap: 24px; }
  .steps--row { grid-auto-flow: row; gap: 4px; }
  .steps--row li { grid-template-columns: 76px minmax(0, 1fr); padding: 10px 0 10px 16px; }
  .col-steps.steps--row li { grid-template-columns: 12px minmax(0, 1fr); }
  .cal-top .h2 { white-space: normal; }
  .cal-crop { width: 100%; }
  .cal-pop { display: none; }
  .js .cal-crop .event-quick { visibility: visible; }
  .cmd { padding-top: 0; }
}

/* Phone: one pane per scene at 1:1, full bleed, one deliberate crop each. 96 px to each head, 80 px after each scene. */
@media (max-width: 720px) {
  :root { --outer: 16px; --inset: 0px; }
  .nav a:not(.pill), .nav .sep { display: none; }
  .top { height: 60px; }
  .sec { padding: 96px 0 80px; }
  .hero-head { padding-top: 100px; }
  .hero-bird { width: 88px; margin-bottom: 16px; }
  .h1 { font-size: 52px; line-height: 52px; letter-spacing: -0.035em; }
  .hero-sub { font-size: 17px; line-height: 25px; margin-top: 18px; }
  .hero-act { flex-direction: column; row-gap: 12px; margin-top: 24px; }
  .h2 { font-size: 34px; line-height: 36px; margin-left: -1px; }
  .h3 { font-size: 24px; line-height: 30px; }
  .lede { font-size: 17px; line-height: 26px; }
  .copy .lede { margin-top: 16px; }
  .steps { margin-top: 24px; }
  .steps li { grid-template-columns: 64px minmax(0, 1fr); font-size: 14px; line-height: 20px; }
  .split, .split--r, .split--priv { row-gap: 32px; }

  .hero-stage { margin: 40px -16px 0; }
  .frame { height: 540px; padding: 0; border-radius: 0; border-left: 0; border-right: 0; --fade: 140px; }
  .view.desk { display: none; }
  .view.phone { display: block; height: 540px; border-radius: 0; box-shadow: none; }
  .phone-list [data-theme] { --list-width: 390px; }
  .phone-list > [data-theme] { margin-left: -53px; }
  .accts { margin: 0 16px; gap: 4px 16px; }

  .figs { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .fv { font-size: 64px; }
  .fv small { font-size: 20px; margin-left: 6px; }
  .fl { font-size: 15px; }
  .ruler { margin-top: 48px; }
  .ticks i:not(.end):not(:first-child) { font-size: 0; }
  .lane span { display: none; }
  .mono-line { font-size: 15px; line-height: 24px; margin-top: 40px; }

  .s-triage { margin: 0 -16px; }
  .tri-crop { height: 470px; border-radius: 0; border-left: 0; border-right: 0; }
  .tri-crop [data-theme] { --list-width: 390px; }
  .s-triage .toastbox { left: 0; top: 400px; padding: 0 16px; }
  .s-triage .hb-toast__text { max-width: 190px; }

  .bigkeys kbd { min-width: 72px; height: 72px; padding: 0 16px; border-radius: 14px; font-size: 36px; }
  .bigkeys kbd:first-child { font-size: 26px; }
  .s-pal { margin-top: 32px; }
  .pal-crop { display: none; }
  .pal-pop { position: relative; top: 0; }
  .pal-pop .hb-palette { width: 100%; }

  .s-search { margin: 0 -16px; }
  .sr-panel { height: 400px; border-radius: 0; border-left: 0; border-right: 0; }
  .sr-panel .hb-window { height: 400px !important; }
  .sr-panel [data-theme] { --list-width: 390px; }
  .sr-panel .hb-thread__from { display: none; }
  .sr-panel .hb-search ~ * .hb-thread, .sr-panel .hb-listpane__rows > :not(.pre) .hb-thread { grid-template-columns: 14px 20px minmax(0, 1fr) auto; }

  .s-cal { margin: 32px -16px 0; }
  .cal-crop { height: 620px; border-radius: 0; border-left: 0; border-right: 0; }
  .cal-crop .win { left: -240px; top: -58px; }
  .cal-crop .hb-window { width: 630px !important; }
  .cal-crop :is(.hb-week__head, .hb-week__allday, .hb-week__scroll) { grid-template-columns: var(--cal-gutter) 0 0 0 repeat(2, minmax(0, 1fr)) 0 0 !important; }
  .cal-crop :is(.hb-week__head, .hb-week__allday, .hb-week__scroll) > * { min-width: 0; overflow: hidden; }
  .cal-crop .event-quick { display: none; }

  .fan { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .off-pane { height: 340px; margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }

  .s-colors { margin-top: 32px; }
  .col-top { align-items: flex-start; text-align: left; }
  .col-win { height: 520px; margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .col-layer .win { left: -53px; }
  .col-layer [data-theme] { --list-width: 390px; }

  .s-priv { margin: 0 -16px; }
  .pv-crop { height: 718px; border-radius: 0; border-left: 0; border-right: 0; }
  .pv-crop .hb-window { height: 720px !important; }
  .pv-crop .win { left: -473px; }
  .pv-crop .hb-window { width: 863px !important; }
  .pv-crop .hb-banner .hb-btn--ghost { display: none; }

  .get .acts { flex-wrap: wrap; row-gap: 12px; }
  .get-grid { row-gap: 48px; }
  .tabs pre { padding: 14px 16px; font-size: 12px; line-height: 20px; }
  .foot .in { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .fbrand { grid-column: 1 / -1; }
  .legal { flex-direction: column; gap: 4px; margin-top: 16px; }
  .legal .r { margin-left: 0; }
}
.cmd-note a { color: var(--t2); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
