/* Layout: one 1120px column, left-aligned type, the product itself as the hero; flat sections, shadows only on real objects (call card, inbox, terminal). */
/* Geist and Geist Mono (SIL OFL 1.1, see /fonts/OFL.txt), served from this site so no visitor data goes to a font CDN. */
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #fafaf8; --surface: #ffffff; --hover: #f3f2ee; --soft: #f0efeb;
  --line: #e7e4de; --line-strong: #d8d3cb;
  --ink: #1c1917; --muted: #645d57; --faint: #a8a29e;
  --action: #1c1917; --on-action: #fafaf8;
  --live: #22c55e; --live-halo: rgb(34 197 94 / .22);
  --danger: #b42318; --danger-soft: #fdecea;
  --band: #1c1917; --on-band: #fafaf8; --band-muted: #a8a29e; --band-line: #34302c; --band-live: #4ade80;
  --shadow-card: 0 1px 2px rgb(41 37 36 / .05), 0 2px 8px -2px rgb(41 37 36 / .06);
  --shadow-float: 0 12px 32px -8px rgb(41 37 36 / .18), 0 2px 6px rgb(41 37 36 / .06);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 8px; --r-md: 10px; --r-lg: 12px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #141210; --surface: #1c1917; --hover: #26221f; --soft: #23201d;
  --line: #2e2a27; --line-strong: #3a3531;
  --ink: #fafaf8; --muted: #a8a29e; --faint: #6f6862;
  --action: #fafaf8; --on-action: #1c1917;
  --live: #4ade80; --live-halo: rgb(74 222 128 / .2);
  --danger: #f07b6f; --danger-soft: #3a1f1b;
  --band: #0d0c0b; --on-band: #fafaf8; --band-muted: #a8a29e; --band-line: #2e2a27; --band-live: #4ade80;
  --shadow-card: 0 0 0 1px #2e2a27, 0 2px 8px -2px rgb(0 0 0 / .4);
  --shadow-float: 0 0 0 1px #2e2a27, 0 16px 40px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #141210; --surface: #1c1917; --hover: #26221f; --soft: #23201d;
  --line: #2e2a27; --line-strong: #3a3531;
  --ink: #fafaf8; --muted: #a8a29e; --faint: #6f6862;
  --action: #fafaf8; --on-action: #1c1917;
  --live: #4ade80; --live-halo: rgb(74 222 128 / .2);
  --danger: #f07b6f; --danger-soft: #3a1f1b;
  --band: #0d0c0b; --on-band: #fafaf8; --band-muted: #a8a29e; --band-line: #2e2a27; --band-live: #4ade80;
  --shadow-card: 0 0 0 1px #2e2a27, 0 2px 8px -2px rgb(0 0 0 / .4);
  --shadow-float: 0 0 0 1px #2e2a27, 0 16px 40px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo span { font-family: var(--mono); font-weight: 500; font-size: 19px; letter-spacing: -0.05em; }
.key-stroke { stroke: currentColor; }
.key-light { fill: var(--live); }

/* Top bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.top nav { display: flex; gap: 22px; margin-left: 12px; font-size: 14px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.top .spacer { flex: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-sm); font: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { opacity: .9; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--hover); }
.btn svg { width: 16px; height: 16px; flex: none; }
.is-soon { cursor: default; color: var(--muted); }
.btn-secondary.is-soon:hover { background: var(--surface); }
.is-soon em, .soon-tag { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--faint); padding: 2px 6px; border-radius: 999px; background: var(--hover); }
.band .btn-secondary.is-soon { color: var(--band-muted); }
.band .btn-secondary.is-soon:hover { background: transparent; }
.band .is-soon em { background: #1f1c1a; color: var(--band-muted); }

/* Hero */
.hero { padding-block: 72px 88px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); font-size: 13px; color: var(--muted); text-decoration: none; }
.tag b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink); }
.tag i { width: 1px; height: 12px; background: var(--line-strong); }
.hero h1 { margin-top: 24px; font-size: clamp(42px, 5.6vw, 68px); line-height: 1; letter-spacing: -0.045em; }
.hero h1 .h-soft { color: var(--faint); }
.hero .lede { margin-top: 22px; max-width: 30em; font-size: 18.5px; line-height: 1.55; color: var(--muted); }
.hero .lede strong { color: var(--ink); font-weight: 500; }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.cmd { margin-top: 28px; display: flex; align-items: center; gap: 12px; max-width: 100%; width: fit-content; padding: 0 6px 0 14px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.cmd .prompt { color: var(--faint); user-select: none; }
.cmd.is-soon { color: var(--muted); }
.cmd.is-soon em { flex: none; margin-right: 6px; font-style: normal; font-size: 11px; color: var(--faint); padding: 2px 6px; border-radius: 999px; background: var(--hover); }
.cmd code { overflow-x: auto; white-space: nowrap; scrollbar-width: none; min-width: 0; }
.copy { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.copy:hover { background: var(--hover); color: var(--ink); }
.copy svg { width: 15px; height: 15px; }
.copy.done { color: var(--live); }
.hero .fine { margin-top: 12px; font-size: 13px; color: var(--faint); }

/* Call card (hero object) */
.phone { position: relative; }
.keys { display: flex; gap: 8px; margin-bottom: 12px; }
.key { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-family: var(--mono); font-size: 12.5px; color: var(--faint); background: var(--bg); min-width: 0; }
.key .lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none; }
.key.on { border-color: var(--ink); color: var(--ink); }
.key.on .lamp { background: var(--live); box-shadow: 0 0 0 5px var(--live-halo); animation: lamp 2.4s ease-in-out infinite; }
.key .t { margin-left: auto; font-variant-numeric: tabular-nums; }
.key span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes lamp { 50% { box-shadow: 0 0 0 2px var(--live-halo); } }
.key { transition: border-color .25s, color .25s; }
.key.ring { border-color: var(--ink); color: var(--ink); }
.key.ring .lamp { background: var(--live); animation: ring .5s steps(1) infinite; }
@keyframes ring { 50% { background: var(--line-strong); } }
.card { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-float); overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card-head .who { min-width: 0; }
.card-head .who b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.card-head .who small { display: block; font-size: 12.5px; color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--soft); font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.transcript { display: grid; gap: 10px; padding: 18px; }
.line { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; font-size: 14.5px; line-height: 1.5; }
.line .sp { font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding-top: 2px; }
.line.ai .sp { color: var(--muted); }
.line.ai p { color: var(--ink); }
.line.caller p { color: var(--muted); }
.booking { margin: 0 18px 18px; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--soft); }
.cal { flex: none; width: 42px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-card); text-align: center; overflow: hidden; }
.cal small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.cal b { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; padding-bottom: 4px; }
.booking div:last-child { min-width: 0; }
.booking strong { display: block; font-size: 14px; font-weight: 600; }
.booking span { display: block; font-size: 12.5px; color: var(--muted); }

/* Sections */
section { padding-block: 88px; }
.sec-head { display: grid; gap: 14px; max-width: 40em; margin-bottom: 48px; }
.kicker { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.06; }
.sec-head p { font-size: 17px; color: var(--muted); max-width: 34em; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Line keys as section labels: like the keys on a multi-line desk phone, the line you're on is lit */
.lk { justify-self: start; display: inline-flex; align-items: center; gap: 9px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; transition: border-color .3s, color .3s; }
.lk .lamp { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); flex: none; transition: background .3s, box-shadow .3s; }
.lk b { font-weight: 500; color: var(--faint); transition: color .3s; }
.lk.on { border-color: var(--ink); color: var(--ink); }
.lk.on b { color: var(--muted); }
.lk.on .lamp { background: var(--live); box-shadow: 0 0 0 4px var(--live-halo); }
.band .lk { border-color: var(--band-line); color: var(--band-muted); }
.band .lk .lamp { background: var(--band-line); }
.band .lk.on { border-color: var(--on-band); color: var(--on-band); }
.band .lk.on .lamp { background: var(--band-live); }


/* Call timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.timeline::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 1)); }
.step { position: relative; padding: 22px 20px 0 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.step:first-child::before { background: var(--live); box-shadow: 0 0 0 4px var(--live-halo); }
.step { z-index: 1; }
.step time { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); }
.step h3 { font-size: 17px; letter-spacing: -0.015em; line-height: 1.3; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Inbox */
.inbox-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 48px; align-items: start; }
.inbox-grid .sec-head { grid-column: 1; margin-bottom: 32px; }
.inbox-grid .inbox { grid-column: 1; }
.inbox-grid .points { grid-column: 2; grid-row: 2; padding-top: 8px; }
.inbox { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-float); overflow: hidden; }
.inbox-bar { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.view { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 7px; font-size: 13.5px; color: var(--muted); white-space: nowrap; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.view.on { background: var(--hover); color: var(--ink); font-weight: 500; }
.view .n { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.inbox-bar .kbd { margin-left: auto; }
.kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.day { padding: 14px 18px 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.dot.read { background: transparent; }
.row .main { min-width: 0; }
.row .title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.row .title b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.row .title span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.row .sum { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .side { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-family: var(--sans); font-size: 12px; font-weight: 500; background: var(--hover); color: var(--ink); }
.badge.urgent { background: var(--danger-soft); color: var(--danger); }
.empty-note { padding: 12px 18px 16px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); }
.points { display: grid; gap: 28px; }
.point h3 { font-size: 16.5px; letter-spacing: -0.015em; }
.point p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* Open source band */
.band { background: var(--band); color: var(--on-band); }
.band .kicker { color: var(--band-muted); }
.band .sec-head p { color: var(--band-muted); }
.oss { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.term { border-radius: 12px; border: 1px solid var(--band-line); background: #0a0908; overflow: hidden; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #e7e4de; }
.term-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--band-line); color: #8a827b; font-size: 12px; }
.term-soon { margin-left: auto; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #1f1c1a; color: #a8a29e; }
.term-bar .copy:hover { background: #1f1c1a; color: #fafaf8; }
.term pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; }
.term .p { color: #6f6862; user-select: none; }
.term .c { color: #6f6862; }
.term .ok { color: var(--band-live); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--band-line); }
.fact { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--band-line); }
.fact:nth-child(odd) { border-right: 1px solid var(--band-line); }
.fact:nth-child(even) { padding-left: 16px; }
.fact b { display: block; font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--band-muted); }
.byo { margin-top: 28px; display: grid; gap: 12px; }
.byo div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; font-size: 14px; }
.byo dt { font-family: var(--mono); font-size: 12px; color: var(--band-muted); padding-top: 2px; }
.byo dd { margin: 0; }
.byo em { font-style: normal; color: var(--band-muted); }
.band .btn-secondary { background: transparent; color: var(--on-band); border-color: var(--band-line); }
.band .btn-secondary:hover { background: #1f1c1a; }
.band .btn-primary { background: var(--on-band); color: #1c1917; }
.band .cta { margin-top: 32px; }

/* Compare */
.table-wrap { overflow-x: auto; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); }
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; table-layout: fixed; }
thead th:first-child { width: 28%; }
th, td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); }
thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--muted); vertical-align: top; }
thead th.us { color: var(--ink); }
th.us, td.us { background: var(--soft); }
tbody th { font-weight: 500; }
tbody th, thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); }
@media (max-width: 560px) { tbody th { min-width: 150px; } }
td { color: var(--muted); font-family: var(--mono); font-size: 13px; }
td.yes { color: var(--ink); }
td .ck { display: inline-flex; align-items: center; gap: 6px; }
td .ck::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
td.us .ck::before { background: var(--live); }
.th-word { font-family: var(--mono); font-weight: 500; font-size: 14px; line-height: inherit; letter-spacing: -0.05em; color: var(--ink); }
.th-ic { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.th-ic svg { width: 22px; height: 22px; color: var(--ink); }

/* Run it */
.runs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.run { padding: 28px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); display: grid; grid-row: span var(--rows, 4); grid-template-rows: subgrid; row-gap: 18px; align-content: start; }
.runs.three .run { --rows: 5; }
.run > .btn { justify-self: start; }
.run-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.run h3 { font-size: 22px; }
.run .price { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.run > p { color: var(--muted); font-size: 15px; }
.run ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.run li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.run li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); margin-top: 9px; }
.waitlist { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist input { flex: 1 1 200px; min-width: 0; height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 14.5px; }
.waitlist input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-note { font-size: 13px; color: var(--muted); min-height: 1.4em; }
.form-note.ok { color: var(--ink); }
.form-note.ok::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-right: 8px; vertical-align: 1px; }
.form-note.err { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist button:disabled { opacity: .6; cursor: default; }

/* Closing */
.closing { padding-block: 72px 96px; }
.closing h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.045em; max-width: 12em; }
.closing p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 32em; }
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .logo svg { width: 24px; height: 24px; }
footer .logo span { font-size: 16px; }
footer .legal { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--faint); }

@media (max-width: 920px) {
  .hero .wrap, .inbox-grid, .oss { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 40px 64px; }
  .timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--line-strong); }
  .timeline::after { left: -1px; top: 0; width: 1px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 1)); }
  .step { padding: 0 0 28px 22px; }
  .step::before { top: 7px; left: -4px; }
  .top nav { display: none; }
  .inbox-grid .points { grid-column: 1; grid-row: auto; padding-top: 0; margin-top: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .run { grid-row: auto; grid-template-rows: none; }
  .runs { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 64px; }
}
@media (max-width: 560px) {
  .keys .key:nth-child(3) { display: none; }
  .row .side .len { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .inbox-grid .points { grid-template-columns: minmax(0, 1fr); }
  .fact:nth-child(odd) { border-right: 0; }
  .fact:nth-child(even) { padding-left: 0; }
  .top .btn-secondary .lbl { display: none; }
  .cmd { width: 100%; }
  footer .legal { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Agencies (home section and /agencies) */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feat { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.feat:nth-child(odd) { border-right: 1px solid var(--line); }
.feat:nth-child(even) { padding-left: 24px; }
.feat h3 { font-size: 16.5px; letter-spacing: -0.015em; }
.feat p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.agency-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.math { padding: 24px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); display: grid; gap: 14px; }
.math .big { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.math .big small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.math p { font-size: 14.5px; color: var(--muted); }
.math p strong { color: var(--ink); font-weight: 500; }
.math .src { font-size: 12.5px; color: var(--faint); }
.math .cta { margin-top: 4px; }

/* Client list (the /agencies hero object) */
.clients { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-float); overflow: hidden; }
.clients-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.clients-head b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.clients-head span { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.client { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); }
.clients-head + .client { border-top: 0; }
.client .nm { min-width: 0; }
.client .nm b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client .nm small { display: block; font-size: 12.5px; color: var(--muted); }
.client .num { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.client .num b { display: block; font-weight: 500; color: var(--ink); font-size: 13px; }
.badge.warn { background: #fdf3e1; color: #8a5a00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.warn { background: #3a2d12; color: #f5c46b; } }
:root[data-theme="dark"] .badge.warn { background: #3a2d12; color: #f5c46b; }

/* Calculator */
.calc { display: grid; gap: 18px; }
.calc label { display: grid; gap: 8px; font-size: 14px; }
.calc label span { display: flex; justify-content: space-between; color: var(--muted); }
.calc label output { font-family: var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--ink); }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--hover); gap: 2px; width: fit-content; }
.seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; font: inherit; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); font-weight: 500; }
.rates { margin: 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.rates div { display: flex; justify-content: space-between; gap: 12px; }
.honest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.honest h3 { font-size: 16.5px; letter-spacing: -0.015em; }
.honest p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.honest .open { color: var(--faint); font-family: var(--mono); font-size: 12px; margin-top: 8px; }

@media (max-width: 920px) {
  .agency-grid, .honest { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat:nth-child(odd) { border-right: 0; }
  .feat:nth-child(even) { padding-left: 0; }
  .client .num.min { display: none; }
}
.band .honest p { color: var(--band-muted); }
.band .honest .open { color: var(--band-muted); opacity: .7; }

.runs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.table-wrap.who { margin-top: 20px; }
.who td { font-family: var(--sans); font-size: 14px; }
.who thead th:first-child { color: var(--ink); }
@media (max-width: 920px) { .runs.three { grid-template-columns: minmax(0, 1fr); } }
.band .run.band-run { background: #1f1c1a; box-shadow: 0 0 0 1px var(--band-line); }
.band .run.band-run > p, .band .run.band-run .price { color: var(--band-muted); }
.band .run.band-run li::before { background: var(--band-muted); }
.band .waitlist input { background: #151311; color: #fafaf8; border-color: var(--band-line); }
.band .waitlist input::placeholder { color: var(--band-muted); }
.band .run.band-run .form-note { color: var(--band-muted); font-size: 13px; }
.runs.three .run-top { flex-direction: column; align-items: flex-start; gap: 4px; }
.math.duo { gap: 22px; }
.math.duo > div { display: grid; gap: 8px; }
.math.duo > div + div { padding-top: 20px; border-top: 1px solid var(--line); }

/* Motion: one call runs through the page. Everything below only applies with motion allowed. */
.motion .transcript .line:not(.in) { opacity: 0; transform: translateY(6px); }
.motion .transcript .line { transition: opacity .35s ease, transform .35s ease; }
.motion .booking:not(.in) { opacity: 0; transform: translateY(8px) scale(.98); }
.motion .booking { transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.transcript .line { position: relative; }
.line.pending p { visibility: hidden; }
.line .dots { position: absolute; left: 64px; top: 7px; display: inline-flex; gap: 4px; }
.line .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); animation: typing 1s infinite ease-in-out; }
.line .dots i:nth-child(2) { animation-delay: .15s; } .line .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

.motion .step::before { background: var(--line-strong); transition: background .25s, box-shadow .25s; }
.motion .step.on::before { background: var(--ink); }
.motion .step.now::before, .motion .step:first-child.on::before { background: var(--live); box-shadow: 0 0 0 4px var(--live-halo); }
.motion .step:not(.on) > * { opacity: .35; }
.motion .step > * { transition: opacity .3s; }

.row.arrive { max-height: 0; padding-block: 0; opacity: 0; overflow: hidden; border-top-color: transparent; }
.row { max-height: 90px; transition: max-height .5s cubic-bezier(.2,.8,.2,1), padding .5s cubic-bezier(.2,.8,.2,1), opacity .4s .1s, background 1.2s; }
.row.fresh { background: color-mix(in srgb, var(--live) 7%, transparent); }

.motion .term .tl:not(.in) { opacity: 0; }
.motion .term .tl.cmdl { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path .55s steps(22); }
.motion .term .tl.cmdl.in { clip-path: inset(0 0 0 0); opacity: 1; }
.motion .term .tl:not(.cmdl) { transition: opacity .2s; }

.end-keys { display: flex; gap: 10px; margin-bottom: 40px; max-width: 640px; }
.end-keys .key { height: 48px; }
.end-keys .key .t { font-size: 11.5px; color: var(--faint); transition: color .3s; }
.end-keys .key.on .t { color: var(--muted); }
.end-keys .key, .end-keys .key .lamp { transition: border-color .3s, color .3s, background .3s, box-shadow .3s; }
.end-keys .key.on .lamp { animation: none; }
@media (max-width: 560px) { .end-keys { flex-direction: column; } .end-keys .key { flex: none; } }

/* Self-host first, Cloud coming soon */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.run .price.soon { color: var(--ink); }
.run .price.soon::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--muted); margin-right: 7px; vertical-align: 1px; }
.run ul { align-content: start; }
.run-btns { display: flex; flex-wrap: wrap; gap: 8px; align-self: start; }
.clients.dir { align-self: start; }
.dir-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 24px; text-align: center; font-size: 14px; color: var(--muted); }
.dir-empty b { color: var(--ink); font-size: 15.5px; font-weight: 600; }
.dir-empty span { max-width: 28em; }
.dir-empty .btn { margin-top: 10px; }
.closing .fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.closing .fine a, .hero .fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Interactive inbox (inbox.js), modeled on the app's inbox and call view */
.inbox { position: relative; }
.inbox-bar { min-height: 51px; }
.inbox-bar .view { height: 26px; font-size: 12.5px; }
.ib-presence { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); white-space: nowrap; padding-right: 4px; }
.ib-live { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.ib-ghost { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 12.5px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.ib-ghost:hover { background: var(--hover); color: var(--ink); }
.ib-body { display: flex; flex-direction: column; }
.ib-row { display: grid; grid-template-columns: 10px minmax(96px, 150px) minmax(0, 1fr) auto 52px 64px; gap: 12px; align-items: center; min-height: 40px; padding: 0 18px; font-size: 13px; cursor: pointer; transition: background .15s; }
.ib-row:hover { background: var(--hover); }
.ib-dot { width: 5px; height: 5px; border-radius: 50%; }
.ib-row.unread .ib-dot { background: var(--live); }
.ib-who { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-topic { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-row.unread .ib-who { font-weight: 650; }
.ib-row.unread .ib-topic { font-weight: 600; }
.ib-status { white-space: nowrap; }
.ib-status .badge, .ib-meta + h3 + .ib-caller .badge { height: 18px; font-size: 11px; }
.ib-next { font-size: 12px; font-weight: 500; }
.ib-quiet { font-size: 11px; color: var(--muted); }
.ib-len, .ib-time { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ib-keys { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.ib-keys > span { display: inline-flex; align-items: center; gap: 4px; }
.ib-example { margin-left: auto; color: var(--faint); }
.ib-zero { flex: 1; display: grid; justify-items: center; align-content: center; gap: 10px; padding: 40px 18px; text-align: center; font-size: 13px; color: var(--muted); }
.ib-zero b { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.ib-call { padding: 10px 18px 18px; display: grid; gap: 12px; }
.ib-bar { display: flex; align-items: center; gap: 4px; margin-left: -8px; }
.ib-pos { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-left: 4px; }
.ib-sp { flex: 1; }
.ib-done { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 6px 0 11px; margin-left: 4px; border: 0; border-radius: 8px; background: var(--ink); color: var(--bg); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.ib-done .kbd { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.ib-meta { font-size: 12px; color: var(--muted); }
.ib-call h3 { margin-top: -6px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.ib-caller { margin-top: -6px; font-size: 13px; color: var(--muted); }
.ib-caller b { color: var(--ink); font-weight: 500; }
.ib-card { border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgb(41 37 36 / .05), 0 4px 12px -4px rgb(41 37 36 / .08); }
.ib-player { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.ib-play { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; }
.ib-play svg { width: 14px; height: 14px; fill: currentColor; }
.ib-play .p-pause, .ib-play.on .p-play { display: none; }
.ib-play.on .p-pause { display: inline; }
.ib-track { flex: 1; height: 14px; position: relative; }
.ib-track::before { content: ""; position: absolute; left: 0; right: 0; top: 5.5px; height: 3px; border-radius: 999px; background: var(--hover); }
.ib-fill { position: absolute; left: 0; top: 5.5px; height: 3px; width: 0; border-radius: 999px; background: var(--ink); }
.ib-fill::after { content: ""; position: absolute; right: -5px; top: -3.5px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.ib-ptime { font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ib-sum { padding: 14px 16px; display: grid; gap: 8px; }
.ib-sum > b { font-size: 13px; font-weight: 600; }
.ib-sum > p { font-size: 15px; line-height: 1.5; }
.ib-sum dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; font-size: 13px; }
.ib-sum dt { color: var(--muted); }
.ib-sum dd { margin: 0; }
.ib-lbl { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.ib-step { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.ib-book { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 13px; }
.ib-date { flex: none; display: grid; place-items: center; width: 40px; padding: 4px 0; border-radius: 8px; background: var(--soft); font-weight: 600; font-size: 16px; line-height: 1.1; }
.ib-date small { font-size: 9.5px; font-weight: 600; color: var(--danger); letter-spacing: .04em; }
.ib-book > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.ib-book small { color: var(--muted); font-size: 12px; }
.ib-tr { display: grid; align-content: start; gap: 4px; padding: 4px 2px; }
.ib-ev { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ib-ev::before, .ib-ev::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ib-b { max-width: min(72%, 520px); padding: 7px 12px; border-radius: 16px; font-size: 13px; line-height: 18px; transition: box-shadow .2s; }
.ib-b.first { margin-top: 6px; }
.ib-b.caller { justify-self: start; background: var(--ink); color: var(--bg); }
.ib-b.caller.first { border-top-left-radius: 6px; }
.ib-b.ai { justify-self: end; background: var(--hover); color: var(--ink); }
.ib-b.ai.first { border-top-right-radius: 6px; }
.ib-au { display: block; font-size: 11px; font-weight: 500; margin-bottom: 2px; color: var(--muted); }
.ib-b.caller .ib-au { color: var(--bg); opacity: .75; }
.ib-b.now { box-shadow: 0 0 0 2px var(--live); }
.ib-toast { position: absolute; left: 50%; bottom: 52px; transform: translate(-50%, 8px); display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 12px; border-radius: 999px; background: rgb(28 25 23 / .88); color: #fafaf8; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 3; }
.ib-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
@media (max-width: 720px) {
  .ib-presence { display: none; }
  .ib-row { grid-template-columns: 6px minmax(0, 1fr) auto; grid-template-areas: "dot who time" "dot topic status"; row-gap: 2px; padding-block: 9px; }
  .ib-dot { grid-area: dot; } .ib-who { grid-area: who; } .ib-topic { grid-area: topic; color: var(--muted); } .ib-status { grid-area: status; justify-self: end; } .ib-time { grid-area: time; } .ib-len { display: none; }
  .ib-keys > span:not(.ib-example) { display: none; }
  .ib-b { max-width: 85%; }
  .ib-toast { white-space: normal; max-width: calc(100% - 24px); }
}

/* Partner directory (partners.js): directory on /agencies, /apply, /partner, /admin */
.dir-wrap { display: grid; gap: 14px; align-self: start; }
.dir-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.dir-list.filled { display: grid; gap: 12px; }
.dir-card { padding: 18px 20px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); display: grid; gap: 10px; }
.dir-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dir-name { flex: 1; min-width: 0; }
.dir-card h3 { font-size: 17px; letter-spacing: -0.015em; }
.dir-top p, .dir-links { font-size: 13px; color: var(--muted); }
.dir-desc { font-size: 14.5px; }
.dir-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dir-tags span { height: 22px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--hover); font-size: 12px; color: var(--muted); }
.dir-links a { color: var(--ink); }
.pg { min-height: 60vh; }
.pg-sec { padding: 120px 0 96px; }
.pg-narrow { max-width: 680px; }
.pg-back { display: inline-block; margin-bottom: 20px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.pg-back:hover { color: var(--ink); }
.pg h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; }
.pg-lede { margin-top: 12px; font-size: 16.5px; color: var(--muted); max-width: 36em; }
.pg-fine { margin-top: 24px; font-size: 13.5px; color: var(--muted); }
.pg-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pg-me { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.pform { margin-top: 28px; display: grid; gap: 24px; }
.pform fieldset { margin: 0; padding: 22px; border: 0; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); display: grid; gap: 16px; min-width: 0; }
.pform legend { float: left; width: 100%; padding: 0; margin-bottom: 2px; font-size: 15px; font-weight: 600; }
.pform label, .pf-group > span { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; }
.pform em { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 4px; }
.pform input:not([type=checkbox]), .pform textarea { width: 100%; min-height: 40px; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 400; }
.pform textarea { resize: vertical; line-height: 1.5; }
.pform input:disabled { color: var(--muted); }
.pform input:focus, .pform textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.pform [aria-invalid=true] { border-color: var(--danger); }
.pform small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.pf-count { justify-self: end; font-family: var(--mono); font-size: 11.5px !important; }
.pf-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.pf-group { display: grid; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 400; color: var(--muted); transition: background .15s, color .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pf-actions .form-note { margin: 0 0 0 6px; }
.pf-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pf-inline label { flex: 1 1 240px; }
.pf-done { margin-top: 28px; padding: 28px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); display: grid; gap: 8px; }
.pf-done .lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 5px var(--live-halo); margin-bottom: 6px; }
.pf-done p { color: var(--muted); }
.pstatus { height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--hover); font-size: 12.5px; font-weight: 500; }
.pstatus.approved { background: color-mix(in srgb, var(--live) 15%, transparent); }
.pstatus.rejected { background: var(--danger-soft); color: var(--danger); }
.adm-tabs { margin: 24px 0 12px; display: flex; gap: 4px; flex-wrap: wrap; }
.adm-list { display: grid; gap: 8px; }
.adm-item { border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.adm-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.6fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--muted); text-align: left; cursor: pointer; }
.adm-row b { color: var(--ink); font-weight: 600; }
.adm-row span, .adm-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row time { font-family: var(--mono); font-size: 11.5px; }
.adm-row:hover { background: var(--hover); }
.adm-form { margin: 0; padding: 0 18px 18px; }
.adm-form fieldset { box-shadow: none; border: 1px solid var(--line); }
.adm-empty { padding: 32px 0; color: var(--muted); }
.pf-logobox { display: flex; gap: 16px; align-items: center; margin: 0 0 18px; padding: 16px 18px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); }
.pf-logobox b { font-size: 14px; font-weight: 600; }
.pf-logobox p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.pf-logobox .form-note:empty { display: none; }
.pf-logo-btns { display: flex; gap: 8px; margin-top: 10px; }
.pf-logo-btns label { cursor: pointer; }
.pf-logo, .dir-logo { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.pf-logo.sm { width: 40px; height: 40px; border-radius: 8px; }
.dir-logo { width: 44px; height: 44px; border-radius: 10px; }
.pf-logo.none, .dir-logo.none { display: inline-grid; place-items: center; background: var(--hover); color: var(--muted); font-weight: 600; font-size: 18px; }
.dir-logo.none { font-size: 16px; }
.adm-changes { margin: 0 18px 16px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 13.5px; }
.adm-changes p { margin: 0 0 10px; color: var(--muted); }
.adm-changes p b { color: var(--ink); font-weight: 600; }
.adm-diff-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.adm-diff-row span { color: var(--muted); }
.adm-diff-row del { color: var(--faint); }
.adm-diff-row ins { text-decoration: none; color: var(--ink); font-weight: 500; }
.adm-changes .pf-actions { margin-top: 12px; }
.chip-sm { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--hover); color: var(--ink); font-size: 11px; font-weight: 500; vertical-align: 1px; }
@media (max-width: 720px) { .adm-diff-row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.btn.danger { color: var(--danger); }
@media (max-width: 720px) { .adm-row { grid-template-columns: minmax(0, 1fr) auto; } .adm-row span { display: none; } .pf-row { grid-template-columns: minmax(0, 1fr); } .pg-sec { padding-top: 96px; } }
.dir-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dir-filter input, .dir-filter select { height: 38px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.dir-filter input { flex: 1 1 100%; }
.dir-filter select { flex: 1 1 160px; min-width: 0; }
.dir-count { flex: 1 1 100%; font-size: 12.5px; color: var(--muted); }
.dir-none { padding: 28px 20px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); font-size: 14px; color: var(--muted); }
.table-note { margin-top: 14px; font-size: 12px; color: var(--faint); }

/* Menu button and panel on narrow screens (nav.js) */
.menu-btn { display: none; position: relative; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 14px; }
.menu-btn span:last-child { top: 20px; }
.top.open .menu-btn span:first-child { top: 17px; transform: rotate(45deg); }
.top.open .menu-btn span:last-child { top: 17px; transform: rotate(-45deg); }
@media (max-width: 920px) {
  .menu-btn { display: inline-block; }
  .top .wrap { gap: 10px; }
  .top.open { background: var(--bg); border-bottom-color: var(--line); }
  .top.open nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; margin: 0; gap: 0; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgb(0 0 0 / .06); font-size: 16px; color: var(--ink); }
  .top.open nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .top.open nav a:last-child { border-bottom: 0; }
}

/* Legal pages (privacy, legal notice) */
.doc h2 { margin-top: 44px; font-size: 21px; letter-spacing: -0.02em; }
.doc h3 { margin-top: 26px; font-size: 16px; }
.doc p, .doc ul, .doc dl { margin-top: 12px; color: var(--ink); }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc-date { font-family: var(--mono); font-size: 12.5px; color: var(--muted) !important; }
.doc-addr { line-height: 1.6; }
.doc-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; }
.doc-dl dt { color: var(--muted); }
.doc-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .doc-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .doc-dl dd { margin-bottom: 10px; } }
.pf-legal { margin-top: 14px; font-size: 13px; color: var(--muted); } .pf-legal a, .form-note a { color: inherit; text-underline-offset: 3px; }


/* Inbox tour (inbox.js): fixed-size window, scripted cursor, captions underneath. */
.inbox.tour { height: 480px; display: flex; flex-direction: column; }
.ib-stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; user-select: none; }
.tour .inbox-bar { flex: none; overflow: hidden; }
.tour .ib-body { flex: 1; min-height: 0; overflow: hidden; }
.tour .ib-example { margin-left: 14px; font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.tour .view { cursor: default; }
.tour .ib-row { cursor: default; transition: background .15s; }
.tour .ib-row:hover { background: transparent; }
.tour .ib-row.hov, .tour .view.hov, .tour .ib-ghost.hov { background: var(--hover); color: var(--ink); }
.tour .ib-done.hov { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.tour .ib-card { transition: box-shadow .25s; }
.tour .ib-card.hov { box-shadow: 0 0 0 2px var(--live), 0 4px 12px -4px rgb(41 37 36 / .08); }
.tour .press { transform: scale(.96); transition: transform .12s; }
.tour .ib-ghost, .tour .ib-done, .tour .ib-play { cursor: default; }
.tour .ib-call { height: 100%; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto auto minmax(0, 1fr); gap: 10px 16px; padding: 10px 18px 0; animation: ib-in .3s ease both; }
.tour .ib-bar, .tour .ib-headline { grid-column: 1 / -1; }
.ib-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.ib-rec { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.tour .ib-list { height: 100%; display: flex; flex-direction: column; }
.ib-week { margin-top: auto; display: flex; align-items: center; gap: 6px 22px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.ib-wk-h { color: var(--faint); }
.ib-wk-s { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ib-ex-m { display: none; }
.ib-week b { font-family: var(--mono); font-weight: 500; color: var(--ink); margin-right: 3px; }
.tour .ib-list { animation: ib-in .3s ease both; }
.tour .ib-tr { position: relative; }
@keyframes ib-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ib-headline { display: grid; gap: 3px; }
.tour .ib-call h3, .tour .ib-caller { margin: 0; }
.tour .ib-call h3 { font-size: 20px; }
.tour .ib-sum { padding: 12px 14px; gap: 6px; }
.tour .ib-sum > p { font-size: 14px; }
.ib-box { flex: none; width: 13px; height: 13px; border: 1.5px solid var(--line-strong); border-radius: 4px; }
.tour .ib-player { padding: 8px 12px; }
.tour .ib-play { width: 30px; height: 30px; }
.tour .ib-tr { flex: 1; min-height: 0; overflow: hidden; padding-bottom: 14px; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.tour .ib-b { transition: box-shadow .25s; }
.tour .ib-zero { flex: 1; }
.tour .ib-toast { bottom: 14px; }
.ib-cursor { position: absolute; left: 0; top: 0; z-index: 4; width: 20px; height: 20px; margin: -3px 0 0 -4px; opacity: 0; pointer-events: none; transition: transform .65s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.ib-cursor.on { opacity: 1; }
.ib-cursor svg { width: 20px; height: 20px; fill: var(--ink); stroke: var(--surface); stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .25)); }
.ib-cursor.tap::after { content: ""; position: absolute; left: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--live); animation: ib-tap .45s ease-out forwards; }
@keyframes ib-tap { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.ib-cap { flex: none; height: 48px; display: flex; align-items: center; gap: 14px; padding: 0 8px 0 18px; border-top: 1px solid var(--line); font-size: 13px; }
.ib-steps { flex: none; display: flex; gap: 4px; }
.ib-steps i { width: 14px; height: 3px; border-radius: 2px; background: var(--line); transition: background .3s; }
.ib-steps i.done { background: var(--faint); }
.ib-steps i.on { background: var(--ink); }
.ib-say { flex: 1; min-width: 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-say.in { animation: ib-in .35s ease both; }
.ib-k { flex: none; min-width: 20px; }
.ib-k.hit .kbd { animation: ib-key .6s ease; }
@keyframes ib-key { 0% { transform: scale(1); } 30% { transform: scale(1.25); background: var(--ink); color: var(--bg); border-color: var(--ink); } 100% { transform: scale(1); } }
.ib-pp { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.ib-pp:hover { background: var(--hover); color: var(--ink); }
.ib-pp:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.ib-pp svg { width: 13px; height: 13px; fill: currentColor; }
.ib-pp .p-play, .ib-pp.off .p-pause { display: none; }
.ib-pp.off .p-play { display: inline; }
.inbox.paused .ib-steps i.on { background: var(--faint); }
.inbox.still .ib-steps, .inbox.still .ib-pp { display: none; }
@media (max-width: 720px) {
  .inbox.tour { height: 600px; }
  .tour .ib-call { display: flex; flex-direction: column; }
  .ib-rec { flex: 1; }
  .ib-week { flex-direction: column; align-items: stretch; gap: 6px; padding: 12px 14px; }
  .ib-wk-h { display: flex; justify-content: space-between; }
  .ib-ex-m { display: inline; }
  .ib-wk-s { gap: 4px 14px; }
  .tour .ib-row { grid-template-areas: "dot who time" "dot topic topic" "dot status status"; padding-block: 10px; }
  .tour .ib-status { justify-self: start; margin-top: 2px; }
  .tour .ib-example { display: none; }
  .tour .ib-call { padding: 10px 14px 0; }
  .tour .ib-call h3 { font-size: 18px; }
  .ib-cap { height: 60px; gap: 10px; padding-left: 14px; font-size: 12.5px; }
  .ib-say { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
  .ib-steps { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tour .ib-call, .tour .ib-list, .ib-say.in { animation: none; } }
