/* Nearcall's look, as kept in the prototype (dark, teal, Host Grotesk, 14px corners). */
:root {
  --bg: #0d1418; --card: #181f24; --ink: #e7f0f5; --soft: #93a1a9; --line: #2c3439;
  --ac: #5bcbd1; --on-ac: #001b1c; --mira: #d6963c; --theo: #ae96db; --on-person: #12171b;
  --leave: #d39284; --bad: #e77ea9; --good: #67b88f; --warn: #abaa52; --deep: #003168;
  --head: 'Host Grotesk', system-ui, sans-serif; --font: 'Host Grotesk', system-ui, sans-serif; --num: 'Host Grotesk', system-ui, sans-serif;
  --paper: #f4f7f9; --paper-ink: #1a262c; --paper-soft: #5f6b72; --paper-line: #dde3e7;
  --rad: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; font-size: 16px; }
.ms { font-family: 'Material Symbols Rounded'; font-weight: 400; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; font-feature-settings: 'liga'; -webkit-font-feature-settings: 'liga'; display: inline-block; }
button { font-family: var(--font); }
[hidden] { display: none !important; }

.brand { font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.brand i { width: 10px; height: 10px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 22%, transparent); }
.top { position: fixed; left: 32px; right: 32px; top: 22px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.rec { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--soft); }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.rec.off i { background: var(--soft); opacity: .5; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .12s, transform .08s, filter .12s; }
.btn .ms { font-size: 1.25rem; }
.btn:active { transform: scale(.97); }
.btn:focus-visible, input:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.btn.main { background: var(--ac); color: var(--on-ac); box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--ac) 70%, transparent); }
.btn.main:hover { filter: brightness(1.08); }
.btn.quiet { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.btn.quiet:hover { background: color-mix(in srgb, var(--ink) 13%, transparent); }
.btn.plain { background: transparent; color: var(--soft); padding: 0 12px; }
.btn.plain:hover { color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8125rem; font-weight: 700; color: var(--on-person); flex: none; }
.av.mira, .dot.mira { background: var(--mira); } .av.theo, .dot.theo { background: var(--theo); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.enter > * { animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }

/* ---------- First look ---------- */
/* The prototype's landing page (section "First look" of ~/prototype/index.html), its own rules as kept. */
body.lp { --space: 1; line-height: 1.5; overflow-x: hidden; }
body.lp button.p-btn { font: 600 1rem var(--font); }
body.lp .p-nav .brand { position: static; }
body.lp .p-nav #signin.who { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; }
.p-wrap { max-width: 72rem; margin: 0 auto; padding: 0 calc(2rem * var(--space)); }
.p-band { padding: calc(6rem * var(--space)) 0; }
.p-band-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-eyebrow { font-size: 0.875rem; font-weight: 600; color: var(--ac); margin: 0 0 0.75rem; }
.p-h1 { font-family: var(--head); font-size: 3.75rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.p-h2 { font-family: var(--head); font-size: 2.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 1rem; }
.p-h3 { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.375rem; }
.p-lead { font-size: 1.25rem; color: var(--soft); max-width: 36rem; margin: 1.25rem 0 0; }
.p-quiet { color: var(--soft); }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 8px 24px -8px color-mix(in srgb, var(--ink) 12%, transparent); }
.p-band-alt .p-card { background: var(--bg); }
.p-btn { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.75rem; padding: 0 1.25rem; border-radius: calc(var(--rad) * 0.8); border: 1px solid transparent; background: var(--ac); color: var(--on-ac); font: 600 1rem var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 16%, transparent), inset 0 1px 0 color-mix(in srgb, var(--on-ac) 18%, transparent); transition: background .12s, transform .08s; }
.p-btn:hover { background: color-mix(in srgb, var(--ac) 90%, var(--ink)); }
.p-btn:active { transform: translateY(1px); }
.p-btn:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.p-btn .ms { font-size: 1.25rem; }
.p-btn-quiet { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent); }
.p-btn-quiet:hover { background: color-mix(in srgb, var(--ink) 5%, var(--card)); }
.p-tag { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.125rem 0.625rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: color-mix(in srgb, var(--ac) 14%, transparent); color: var(--ac); }
.p-nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.p-nav .p-wrap { display: flex; align-items: center; gap: 2.5rem; height: 4rem; }
.p-nav .brand { position: static; }
.p-links { display: flex; gap: 1.75rem; margin-right: auto; }
.p-links a { color: var(--soft); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.p-links a:hover { color: var(--ink); }
.p-nav .p-btn { height: 2.25rem; font-size: 0.9375rem; padding: 0 1rem; }
.p-hero { position: relative; padding: calc(5rem * var(--space)) 0 0; overflow: hidden; }
.lp-top { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); column-gap: 4rem; align-items: start; }
.lp-top > div { display: contents; }
.lp-top .p-h1 { grid-column: 1 / -1; max-width: 55rem; }
.lp-top .p-lead, .lp-top .p-actions, .lp-top .lp-try { grid-column: 1; }
.lp-top .lp-hq { grid-column: 2; grid-row: 2 / 5; margin-top: 1.5rem; }
.p-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 2rem; }
.lp-try { margin-top: 1rem; font-size: 0.9375rem; color: var(--soft); display: flex; align-items: center; gap: 0.5rem; }
.lp-try .ms { font-size: 1.125rem; color: var(--good); }
.p-glow { position: absolute; inset: 42% -10% -10%; background: radial-gradient(50% 50% at 50% 40%, color-mix(in srgb, var(--ac) 22%, transparent), transparent 70%); pointer-events: none; }
.p-frame { position: relative; margin-top: 4rem; border-radius: calc(var(--rad) * 1.1); border: 1px solid var(--line); background: var(--card); overflow: hidden; box-shadow: 0 2px 4px color-mix(in srgb, var(--ink) 6%, transparent), 0 32px 64px -24px color-mix(in srgb, var(--ink) 28%, transparent); }
.p-frame-bar { display: flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding: 0 1rem; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 3%, var(--card)); }
.p-dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.p-address { margin: 0 auto; padding: 0.125rem 1rem; border-radius: 999px; background: var(--bg); color: var(--soft); font-size: 0.75rem; }
.lp-stage { position: relative; height: 680px; overflow: hidden; }
.lp-stage .stage-in { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform: scale(.85); transform-origin: top left;
  background: var(--bg); }
.lp-stage .note { animation: none; }
.p-quote blockquote { font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.p-quote figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--soft); }
.lp-hq { padding: 1.5rem 1.5rem 1.375rem; }
.lp-hq .ms { font-size: 1.5rem; color: var(--ac); margin-bottom: 0.5rem; }
.lp-pains { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; margin-top: 3rem; align-items: start; }
.lp-big { padding: 2.25rem; }
.lp-big blockquote { font-family: var(--head); font-size: 1.75rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.lp-list { display: grid; }
.lp-list figure { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.lp-list figure:last-child { border-bottom: 1px solid var(--line); }
.p-how { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4rem; align-items: start; margin-top: 3rem; }
.p-how ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.p-how li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; }
.p-how li::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: color-mix(in srgb, var(--ac) 14%, transparent); color: var(--ac); font: 600 0.875rem var(--num); }
.p-how li p { color: var(--soft); font-size: 0.9375rem; }
.p-close { overflow: hidden; padding: 1.75rem; }
.lp-link .linkbox { margin-top: 0; background: var(--bg); }
.lp-link .waiting { margin-top: 1.25rem; }
.lp-link .who em.in { color: var(--good); }
.lp-link .consent { margin-top: 1.25rem; font-size: 0.875rem; }
.lp-link h4, .lp-weak h4, .lp-rec h4 { font-size: 0.8125rem; font-weight: 600; color: var(--soft); margin-bottom: 0.875rem; }
.lp-inline-quote { margin-top: 2.5rem; padding-left: 1rem; border-left: 2px solid var(--line); }
.p-show { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4rem; align-items: center; }
.p-show-flip { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.p-show-flip > :first-child { order: 2; }
.lp-how-it { margin-top: 1.75rem; display: grid; gap: 0.875rem; }
.lp-how-it div { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; font-size: 0.9375rem; color: var(--soft); }
.lp-how-it .ms { font-size: 1.25rem; color: var(--ac); }
.lp-how-it b { color: var(--ink); font-weight: 600; }
.lp-weak .lines { margin-top: 0; padding: 0; border: 0; background: transparent; }
.lp-weak .big { font-family: var(--head); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 1.75rem; }
.lp-weak .big span { display: block; font-size: 1rem; font-weight: 400; color: var(--soft); letter-spacing: 0; margin-top: 0.375rem; }
.lp-honest { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--soft); }
.lp-rec .dec { background: var(--card); }
.lp-rec .ok { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--good); font-size: 0.875rem; }
.lp-rec .ok .ms { font-size: 1.125rem; }
.lp-rec .rtop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.lp-rec .rtop b { font-size: 1.0625rem; }
.lp-rec .line { border-top: 1px solid var(--line); margin-top: 0.75rem; padding-top: 0.875rem; }
.p-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; }
.p-table th { text-align: left; font-size: 0.75rem; font-weight: 600; color: var(--soft); padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 3%, var(--card)); }
.p-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.p-table tr:last-child td { border-bottom: 0; }
.p-table tbody tr:hover td { background: color-mix(in srgb, var(--ac) 4%, var(--card)); }
.p-table td:first-child { font-weight: 600; white-space: nowrap; }
.p-table td.us { color: var(--ink); }
.p-table th.us { color: var(--ac); }
.p-table td.them { color: var(--soft); }
.lp-cmp { margin-top: 3rem; overflow: hidden; }
.lp-cmp .p-table td { background: var(--card); }
.lp-after-cmp { margin-top: 1.5rem; display: flex; gap: 3rem; align-items: start; }
.lp-after-cmp p { font-size: 0.9375rem; color: var(--soft); max-width: 34rem; }
.p-tools { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.p-tool { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem; font-weight: 600; font-size: 0.9375rem; }
.p-tool .ms { font-size: 1.125rem; color: var(--soft); }
.p-prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem; margin-top: 3rem; align-items: start; max-width: 60rem; }
.p-plan { padding: 2rem; }
.p-plan-main { border-color: var(--ac); box-shadow: 0 0 0 1px var(--ac), 0 24px 48px -20px color-mix(in srgb, var(--ac) 35%, transparent); }
.p-plan .p-btn { width: 100%; justify-content: center; }
.p-price { font: 700 2.75rem/1 var(--num); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin: 1.25rem 0 0.375rem; }
.p-price small { font: 400 0.9375rem var(--font); color: var(--soft); letter-spacing: 0; }
.p-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.625rem; }
.p-list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.p-list .ms { color: var(--good); font-size: 1.125rem; margin-top: 0.125rem; }
.p-strip { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; color: var(--soft); font-size: 0.9375rem; }
.p-strip span { display: inline-flex; align-items: center; gap: 0.5rem; }
.p-strip .ms { font-size: 1.25rem; }
.lp-vow { margin-top: 1.25rem; padding: 0.875rem 1rem; border-radius: calc(var(--rad) * 0.8); background: color-mix(in srgb, var(--ac) 10%, transparent); color: var(--ink); font-size: 0.875rem; }
.lp-vow .ms { color: var(--ac); }
.lp-sec { margin-top: 2rem; }
.p-faq { max-width: 48rem; margin-top: 2.5rem; }
.p-faq details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.p-faq summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after { content: 'add'; font-family: 'Material Symbols Rounded'; font-weight: 400; color: var(--soft); }
.p-faq details[open] summary::after { content: 'remove'; }
.p-faq p { color: var(--soft); margin: 0.75rem 0 0; max-width: 42rem; }
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4rem; }
.lp-faq-grid .p-faq { margin-top: 0; }
.lp-end { text-align: center; }
.lp-end .p-h2 { font-size: 3rem; }
.lp-end .p-actions { justify-content: center; }
.p-footer { padding: calc(4rem * var(--space)) 0 calc(3rem * var(--space)); border-top: 1px solid var(--line); color: var(--soft); font-size: 0.875rem; }
.p-footer .p-wrap { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; }
.p-footer .brand { position: static; margin-bottom: 0.75rem; }
.p-footer h4 { color: var(--ink); font-size: 0.875rem; margin: 0 0 0.75rem; }
.p-footer a { display: block; color: var(--soft); text-decoration: none; margin-bottom: 0.5rem; }
.p-footer a:hover { color: var(--ink); }
/* The call shown working: the prototype's 1280x800 picture in its frame, at .85 (smaller on a narrower screen). */
body.lp .lp-stage { height: calc(800px * var(--k, .85)); }
body.lp .lp-stage iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; pointer-events: none;
  transform: scale(var(--k, .85)); transform-origin: top left; }
body.lp .lp-first { padding-top: calc(5rem * var(--space)); }
/* The close-ups borrow the app's own parts; here they are drawn as the prototype draws them. */
body.lp .lp-weak .track.mira { background: var(--mira); }
body.lp .lp-weak .track.theo { background: var(--theo); }
body.lp .lp-weak .weak { left: 68.4%; width: 10.5%; background: color-mix(in srgb, var(--theo) 35%, var(--card)); border: 1.5px solid var(--theo); }
body.lp .lp-weak .weak-label { right: 21%; transform: none; font-weight: 400; }
body.lp .lp-weak .weak-label b { font-weight: 600; }
body.lp .lp-weak .lane.theo { margin-bottom: 26px; }
body.lp .lp-weak .times { display: grid; grid-template-columns: 96px 1fr; gap: 16px; margin-top: 18px; font-size: 0.8125rem; color: var(--soft); font-variant-numeric: tabular-nums; }
body.lp .lp-weak .times div { display: flex; justify-content: space-between; }
body.lp .lp-rec .dec { display: block; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); }
body.lp .lp-rec .dec + .dec { margin-top: 10px; }
body.lp .lp-rec .dec.on { border-color: color-mix(in srgb, var(--ac) 60%, var(--line)); background: color-mix(in srgb, var(--ac) 7%, var(--card)); }
body.lp .lp-rec .dec b { display: block; font-size: 1rem; font-weight: 600; line-height: 1.35; }
body.lp .lp-rec .dec span { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8125rem; color: var(--soft); }
body.lp .lp-rec .line { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding-bottom: 10px; }
body.lp .lp-rec .line time { font-size: 0.8125rem; color: var(--soft); padding-top: 2px; }
body.lp .lp-rec .line .who { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; }
body.lp .lp-rec .line p { margin-top: 3px; font-size: 0.9375rem; line-height: 1.5; }
body.lp .lp-rec .line.hit p { background: color-mix(in srgb, var(--ac) 16%, transparent); border-radius: 6px; padding: 2px 6px; margin-left: -6px; }
/* The prototype is drawn for a desktop; guests opening it on a phone (Start a call of your own) get it in one column. */
@media (max-width: 900px) {
  body.lp .p-links { display: none; }
  body.lp .p-nav .p-wrap { gap: 0.75rem; }
  body.lp .p-nav .brand { margin-right: auto; }
  body.lp .p-wrap { padding: 0 1.25rem; }
  body.lp .p-band { padding: 4rem 0; }
  body.lp .p-hero { padding-top: 3rem; }
  body.lp .p-h1 { font-size: 2.5rem; }
  body.lp .p-h2, body.lp .lp-end .p-h2 { font-size: 2rem; }
  body.lp .p-lead { font-size: 1.125rem; }
  body.lp .lp-top, body.lp .lp-pains, body.lp .p-how, body.lp .p-show, body.lp .p-show-flip, body.lp .p-prices, body.lp .lp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  body.lp .lp-top { row-gap: 0; }
  body.lp .lp-top .lp-hq { margin-top: 2rem; }
  body.lp .lp-top .p-h1, body.lp .lp-top .p-lead, body.lp .lp-top .p-actions, body.lp .lp-top .lp-try, body.lp .lp-top .lp-hq { grid-column: 1; grid-row: auto; }
  body.lp .p-show-flip > :first-child { order: 0; }
  body.lp .p-frame { margin-top: 2.5rem; }
  body.lp .lp-cmp { overflow-x: auto; }
  body.lp .p-table { min-width: 44rem; }
  body.lp .lp-after-cmp { flex-direction: column; gap: 1.5rem; }
  body.lp .p-footer .p-wrap { grid-template-columns: 1fr 1fr; }
  body.lp .lp-big blockquote { font-size: 1.375rem; }
}
@media (max-width: 480px) {
  body.lp .p-nav #signin { display: none; }
  body.lp .p-h1 { font-size: 2.125rem; }
}
.top .who { font-size: 0.9375rem; }

/* ---------- Sign in ---------- */
.signin { width: min(420px, calc(100% - 48px)); margin: 150px auto 60px; }
.signin h1 { font-family: var(--head); font-weight: 700; font-size: 2.25rem; letter-spacing: -0.025em; line-height: 1.12; }
.signin > p { margin-top: 12px; font-size: 1.0625rem; color: var(--soft); line-height: 1.5; }
.signin form { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.signin input { height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 1.0625rem; }
.signin .btn { height: 48px; }
.signin .said { margin-top: 16px; font-size: 0.9375rem; line-height: 1.5; color: var(--soft); min-height: 1.5em; }
.signin .said.bad { color: var(--leave); }
.signin .out { margin-top: 28px; }

/* ---------- One link ---------- */
.lobby { width: min(520px, calc(100% - 48px)); margin: 150px auto 60px; }
.lobby h1 { font-family: var(--head); font-weight: 700; font-size: 2.25rem; letter-spacing: -0.025em; line-height: 1.12; }
.lobby > p { margin-top: 12px; font-size: 1.0625rem; color: var(--soft); line-height: 1.5; }
.linkbox { margin-top: 28px; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.linkbox > span { flex: 1; font-family: var(--num); font-size: 1.0625rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.waiting { margin-top: 40px; border-top: 1px solid var(--line); }
.waiting .who { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.waiting .who b { font-weight: 600; }
.waiting .who em { margin-left: auto; font-style: normal; color: var(--soft); font-size: 0.875rem; display: flex; align-items: center; gap: 6px; }
.waiting .who em .ms { font-size: 1.125rem; }
.lobby .foot { margin-top: 20px; display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; color: var(--soft); }
.lobby .foot .dot { background: var(--bad); margin-top: 6px; }
.lobby .acts { margin-top: 32px; display: flex; gap: 8px; }

/* ---------- The call (desktop) ---------- */
.call { min-height: 100vh; position: relative;
  background: radial-gradient(900px 520px at 40% 46%, color-mix(in srgb, var(--deep) 55%, transparent), transparent 70%),
    radial-gradient(520px 360px at 34% 40%, color-mix(in srgb, var(--ac) 16%, transparent), transparent 72%), var(--bg); }
/* The share's window, or the guest's face when nothing is shared: the prototype's 840x440 at 64,116 on a 1280x800 screen. */
.win, .face { position: absolute; left: 64px; top: 116px; right: 376px; bottom: 244px; min-height: 240px; border-radius: var(--rad); overflow: hidden; }
.win { display: none; flex-direction: column; background: var(--paper);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac) 45%, transparent), 0 30px 80px -20px color-mix(in srgb, var(--ac) 40%, transparent), 0 8px 24px color-mix(in srgb, var(--bg) 60%, transparent); }
.call[data-mode="share"] .win { display: flex; }
.call[data-mode="share"] .face { display: none; }
.win .bar { flex: none; height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: color-mix(in srgb, var(--ac) 70%, var(--deep)); color: var(--on-ac); }
.win .bar .dots { display: flex; gap: 6px; }
.win .bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--on-ac) 28%, transparent); }
.win .bar b { font-weight: 600; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win .bar span { font-size: 0.875rem; opacity: .78; white-space: nowrap; }
.pic { position: relative; flex: 1; min-height: 0; background: color-mix(in srgb, var(--paper-ink) 92%, var(--paper)); }
.pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.layer { position: absolute; touch-action: none; pointer-events: none; }
.layer[data-on="true"] { pointer-events: auto; cursor: crosshair; }
.layer[data-on="true"][data-tool="pointer"] { cursor: default; }
.layer[data-on="true"][data-tool="eraser"] { cursor: cell; }
.pointers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ptr { position: absolute; display: flex; align-items: flex-start; gap: 2px; transition: left .06s linear, top .06s linear; }
.ptr svg { width: 18px; height: 20px; }
.ptr span { margin-top: 14px; padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: var(--on-person); }
.tools { position: absolute; left: calc(64px + (100% - 440px) / 2); top: 66px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; z-index: 2;
  border-radius: 999px; background: color-mix(in srgb, var(--card) 72%, transparent); backdrop-filter: blur(16px); border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.tools[hidden] { display: none; }
.tools button { width: 36px; height: 32px; border-radius: 999px; border: 0; background: transparent; color: var(--soft); cursor: pointer; display: grid; place-items: center; }
.tools button .ms { font-size: 1.25rem; }
.tools button:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.tools button[aria-pressed="true"] { color: var(--ac); background: color-mix(in srgb, var(--ac) 16%, transparent); }
.face { display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--theo) 30%, transparent); transition: box-shadow .15s; }
.face.talking { box-shadow: 0 0 0 3px var(--theo); }
.face .av { width: 88px; height: 88px; font-size: 2rem; }
.side { position: absolute; right: 64px; top: 116px; width: 260px; }
.side .note { margin-top: 24px; padding-left: 2px; }
.call[data-mode="face"] .side .note { margin-top: 0; }
.tilewrap[hidden] { display: none; }
.tile { position: relative; width: 240px; height: 150px; border-radius: 18px; overflow: hidden; background: var(--card); display: grid; place-items: center;
  box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--theo) 30%, transparent); transition: box-shadow .15s; }
.tile.talking { box-shadow: 0 0 0 3px var(--theo); }
.tile .av { width: 56px; height: 56px; font-size: 1.25rem; }
.face video, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(1); }
.face.novideo video, .tile.novideo video { display: none; }
.face.paused video, .tile.paused video { filter: saturate(.55) brightness(.62); }
.face.down, .tile.down { box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--theo) 18%, transparent); }
.face .name, .tile .name { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: blur(10px); font-size: 0.8125rem; font-weight: 600; z-index: 1; }
.face .tag, .tile .tag { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 4px; padding: 3px 9px 3px 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: blur(10px); font-size: 0.75rem; font-weight: 600; z-index: 1; }
.face .tag .ms, .tile .tag .ms { font-size: 1rem; }
.voice { display: flex; align-items: center; gap: 2px; height: 14px; }
.voice i { width: 3px; border-radius: 2px; background: var(--theo); height: 5px; animation: talk 1s ease-in-out infinite; }
.voice i:nth-child(2) { animation-delay: .15s; } .voice i:nth-child(3) { animation-delay: .3s; } .voice i:nth-child(4) { animation-delay: .45s; }
@keyframes talk { 0%,100% { height: 4px; } 40% { height: 13px; } 70% { height: 7px; } }
.controls button[hidden] { display: none; }
.controls button.off { color: var(--soft); }
.note h1 { font-family: var(--head); font-weight: 700; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
.note p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--soft); max-width: 340px; }
.note p + p { margin-top: 8px; }
.controls { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px;
  border-radius: calc(var(--rad) + 8px); background: color-mix(in srgb, var(--card) 70%, transparent); backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
.controls button { width: 72px; height: 60px; border: 0; border-radius: var(--rad); background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink);
  font-size: 0.75rem; font-weight: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--ink) 10%, transparent); }
.controls button .ms { font-size: 1.375rem; }
.controls button.on { color: var(--ac); background: color-mix(in srgb, var(--ac) 16%, transparent); }
.controls .gap { width: 1px; margin: 10px 4px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.controls button.leave { color: var(--leave); background: color-mix(in srgb, var(--leave) 14%, transparent); }
.mine { position: fixed; right: 32px; bottom: 34px; font-size: 0.8125rem; color: var(--soft); text-align: right; max-width: 260px; line-height: 1.45; }
.mine b { color: var(--ink); font-weight: 600; }

/* ---------- Phone ---------- */
.ph { min-height: 100vh; min-height: 100dvh; padding: 62px 24px 34px; display: flex; flex-direction: column; max-width: 480px; margin: 0 auto;
  background: radial-gradient(420px 360px at 50% 18%, color-mix(in srgb, var(--deep) 60%, transparent), transparent 72%), var(--bg); }
.host { margin-top: 56px; display: flex; flex-direction: column; align-items: flex-start; }
.host .av { width: 56px; height: 56px; font-size: 1.25rem; box-shadow: 0 0 0 6px color-mix(in srgb, var(--mira) 18%, transparent); }
.host.talking .av { box-shadow: 0 0 0 6px var(--mira); }
.host h1 { margin-top: 22px; font-family: var(--head); font-weight: 700; font-size: 1.875rem; line-height: 1.15; letter-spacing: -0.02em; }
.host p { margin-top: 10px; font-size: 1rem; line-height: 1.5; color: var(--soft); }
.field { margin-top: 28px; }
.field + .field { margin-top: 14px; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; }
.field input { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-family: var(--font); font-size: 1rem; }
.self { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.self b { display: block; font-size: 0.9375rem; font-weight: 600; }
.self .ms { font-size: 1.5rem; color: var(--good); }
.lvl { display: flex; gap: 3px; margin-top: 8px; align-items: flex-end; height: 14px; }
.lvl i { width: 4px; height: 4px; border-radius: 2px; background: var(--good); transition: height .08s; }
.consent { margin-top: 12px; display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: color-mix(in srgb, var(--bad) 8%, var(--card)); font-size: 0.9375rem; line-height: 1.45; }
.consent .dot { background: var(--bad); margin-top: 8px; }
.ph .bottom { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.ph .bottom .btn { width: 100%; height: 52px; font-size: 1rem; }
.ph .bottom small { text-align: center; font-size: 0.8125rem; color: var(--soft); margin-top: 4px; }
.ph .rec { margin-left: auto; }
.ph .head { display: flex; align-items: center; }
.ph .note { margin-top: 28px; }
.ph .note p { max-width: none; }
.note p.pocketwords { color: var(--ink); font-size: 1rem; }
.ph .leave { background: color-mix(in srgb, var(--leave) 14%, transparent); color: var(--leave); }
.ph .err { margin-top: 14px; color: var(--leave); font-size: 0.9375rem; line-height: 1.45; }
/* The guest's call on a phone: the host's share on top with the drawing on it, the host's face, then the words. */
.selfcam { width: 84px; height: 64px; border-radius: 10px; overflow: hidden; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.selfcam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.callph { padding-top: 24px; padding-bottom: 116px; }
.gshare { margin-top: 18px; position: relative; }
.gshare .pic { position: relative; aspect-ratio: 16 / 10; border-radius: var(--rad); overflow: hidden; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac) 45%, transparent); }
.gshare .tools { position: static; transform: none; margin: 10px auto 0; width: max-content; }
.gface { position: relative; margin-top: 18px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--card); display: grid; place-items: center;
  box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--mira) 30%, transparent); transition: box-shadow .15s; }
.callph[data-mode="share"] .gface { aspect-ratio: auto; height: 96px; width: 150px; }
.gface.talking { box-shadow: 0 0 0 3px var(--mira); }
.gface video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gface .av { width: 64px; height: 64px; font-size: 1.375rem; }
.gface:not(.novideo) .av { display: none; }
.gface.novideo video { display: none; }
.gface.paused video { filter: saturate(.55) brightness(.62); }
.gface .name { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: blur(10px); font-size: 0.8125rem; font-weight: 600; z-index: 1; }
.gface .name .ms { font-size: 1rem; }
.gface .voice i { background: var(--mira); }
.gtitle { margin-top: 22px; font-family: var(--head); font-weight: 700; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
.callph .note { margin-top: 10px; }
.gcontrols { bottom: max(16px, env(safe-area-inset-bottom)); }
.gcontrols button { width: 66px; height: 56px; }

/* ---------- After the call ---------- */
.after { width: min(760px, calc(100% - 48px)); margin: 120px auto 80px; }
.after .tick { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.after .tick.wait { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--soft); }
.after .tick .ms { font-size: 1.75rem; }
.after h1 { margin-top: 20px; font-family: var(--head); font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.625rem); letter-spacing: -0.03em; line-height: 1.1; }
.after > p.yours { margin-top: 14px; color: var(--ink); font-weight: 600; font-size: 1.125rem; }
.after > p.yours + p { margin-top: 6px; }
.after > p { margin-top: 14px; font-size: 1.0625rem; line-height: 1.55; color: var(--soft); max-width: 600px; }
.lines { margin-top: 40px; padding: 24px; border-radius: var(--rad); background: var(--card); border: 1px solid var(--line); }
.lane { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px; }
.lane + .lane { margin-top: 18px; }
.lane .who { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 600; overflow: hidden; white-space: nowrap; }
.track { position: relative; height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.track .kept { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.track.mira .kept { background: var(--mira); } .track.theo .kept { background: var(--theo); }
.track .stop { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--soft); border-radius: 1px; }
.weak { position: absolute; top: -4px; bottom: -4px; border-radius: 6px; min-width: 8px; }
.track.theo .weak { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--theo) 55%, var(--card)) 0 4px, var(--card) 4px 8px); border: 1.5px solid var(--theo); }
.track.mira .weak { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--mira) 55%, var(--card)) 0 4px, var(--card) 4px 8px); border: 1.5px solid var(--mira); }
.weak-label { position: absolute; top: 20px; font-size: 0.8125rem; color: var(--ink); white-space: nowrap; font-weight: 600; transform: translateX(-50%); }
.lane.has-weak { margin-bottom: 26px; }
.times { display: grid; grid-template-columns: 96px 1fr; gap: 16px; margin-top: 18px; font-size: 0.8125rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.times div { display: flex; justify-content: space-between; }
.after .acts { margin-top: 32px; display: flex; gap: 8px; align-items: center; }
.after .acts small { margin-left: 12px; font-size: 0.875rem; color: var(--soft); }
.agreed { margin-top: 48px; }
.agreed h2 { font-size: 0.875rem; font-weight: 600; color: var(--soft); margin-bottom: 12px; }
.dec { display: block; width: 100%; text-align: left; padding: 16px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); cursor: pointer; font: inherit; transition: border-color .12s, background .12s; }
.dec:hover { border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }
.dec:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.dec.on { border-color: color-mix(in srgb, var(--ac) 60%, var(--line)); background: color-mix(in srgb, var(--ac) 7%, var(--card)); }
.dec + .dec, .exact + .dec { margin-top: 10px; }
.dec b { display: block; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.dec > span { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8125rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.dec > span.was { margin-top: 2px; }
.exact { margin: 4px 0 0; padding: 4px 18px 14px; border-left: 2px solid color-mix(in srgb, var(--ac) 60%, var(--line)); margin-left: 18px; }
.honest { margin-top: 14px; font-size: 0.8125rem; line-height: 1.5; color: var(--soft); }
.said { margin-top: 40px; }
.said h2 { font-family: var(--head); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.said .wait { margin-top: 10px; color: var(--soft); font-size: 0.9375rem; }
.turn { margin-top: 14px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; }
.turn time { font-size: 0.8125rem; color: var(--soft); font-variant-numeric: tabular-nums; padding-top: 3px; }
.turn .who { font-size: 0.8125rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.turn p { margin-top: 4px; font-size: 1rem; line-height: 1.5; }
.turn.during { position: relative; }
.turn.during p { padding: 8px 12px; margin-left: -12px; border-radius: 10px; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 4%, transparent) 0 4px, transparent 4px 8px); }
.turn .flag { font-weight: 500; color: var(--soft); }
.turn .play { border: 0; background: transparent; color: var(--ac); font: inherit; font-weight: 600; cursor: pointer; padding: 0; margin-left: 6px; }

@media (max-width: 760px) {
  .stage { flex-direction: column; gap: 24px; top: 40%; }
  .big { width: 100%; max-width: 360px; }
  .mine { left: 24px; right: 24px; bottom: 110px; text-align: left; }
}

/* ---------- Pro (as kept in the prototype) ---------- */
.pro { position: absolute; left: 50%; top: 80px; transform: translateX(-50%); width: min(880px, calc(100% - 48px)); padding-bottom: 60px; }
.pro .context { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--soft); }
.pro .context[hidden] { display: none !important; }
.pro .context .ms { font-size: 1.125rem; color: var(--ac); }
.pro h1 { margin-top: 16px; font-family: var(--head); font-weight: 700; font-size: 2.5rem; letter-spacing: -0.03em; line-height: 1.1; max-width: 640px; }
.plans { margin-top: 28px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.plan { padding: 28px; border-radius: calc(var(--rad) + 4px); background: var(--card); border: 1px solid var(--line); }
.plan.pick { border-color: color-mix(in srgb, var(--ac) 55%, var(--line)); box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--ac) 50%, transparent); }
.plan h2 { font-size: 1rem; font-weight: 600; }
.plan .for2 { margin-top: 4px; font-size: 0.875rem; color: var(--soft); }
.plan .amt { margin-top: 18px; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .amt small { font-size: 0.9375rem; font-weight: 400; color: var(--soft); letter-spacing: 0; }
.plan .yr { margin-top: 8px; font-size: 0.875rem; color: var(--soft); }
.plan .yrpick { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.plan .yrpick:hover:not([disabled]) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.plan .yrpick[disabled] { cursor: default; }
.plan ul { margin-top: 20px; list-style: none; display: grid; gap: 10px; font-size: 0.9375rem; line-height: 1.4; }
.plan li { display: flex; gap: 10px; }
.plan li .ms { font-size: 1.125rem; color: var(--ac); margin-top: 1px; }
.plan.free li .ms { color: var(--soft); }
.plan .btn { margin-top: 24px; width: 100%; }
.vow { margin-top: 22px; display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--ac) 9%, transparent); font-size: 0.875rem; line-height: 1.5; color: var(--soft); }
.vow .ms { font-size: 1.25rem; color: var(--ac); }
.vow b { color: var(--ink); font-weight: 600; }
.plan.free { align-self: start; }
.plan .back { margin-top: 12px; text-align: center; font-size: 0.8125rem; color: var(--soft); }
.plan.free .amt { font-size: 2rem; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .pro h1 { font-size: 2rem; } }

/* ---------- Help, and Charlton's help inbox (no prototype screen: the product's own look) ---------- */
.helpdesk { max-width: 720px; margin: 0 auto; padding: 96px 24px 64px; display: flex; flex-direction: column; gap: 14px; }
.helpdesk h1 { font-family: var(--head); font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.helpdesk p { line-height: 1.5; }
.helpdesk .hsub { color: var(--soft); font-size: 0.9375rem; }
.helpdesk form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.helpdesk label { font-size: 0.875rem; color: var(--soft); margin-top: 6px; }
.helpdesk input, .helpdesk textarea { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; }
.helpdesk form .btn { align-self: flex-start; margin-top: 10px; }
.helpdesk .hdraft { min-height: 240px; width: 100%; line-height: 1.5; }
.hlist { display: flex; flex-direction: column; gap: 6px; }
.hrow { display: grid; grid-template-columns: 130px 1fr; gap: 2px 12px; padding: 12px 14px; border-radius: 12px; background: var(--card); color: var(--ink); text-decoration: none; }
.hrow.over { box-shadow: inset 3px 0 0 var(--bad); }
.hrow .hk { font-weight: 600; } .hrow .hf { color: var(--soft); } .hrow .hs { grid-column: 1 / -1; } .hrow .hc { grid-column: 1 / -1; color: var(--soft); font-size: 0.8125rem; }
.hmsg { white-space: pre-wrap; font-family: var(--font); background: var(--card); border-radius: 12px; padding: 14px; line-height: 1.5; }
.hsubj { font-size: 1.0625rem; font-weight: 600; margin-top: 8px; }
.hsteps { color: var(--soft); font-size: 0.875rem; padding-left: 18px; line-height: 1.6; }

/* ---------- Privacy (no prototype screen: the Help page's look) ---------- */
.privacy h2 { font-family: var(--head); font-size: 1.1875rem; font-weight: 650; margin-top: 18px; }
.privacy a, .helpdesk .hsub a { color: var(--ac); }

/* The open lag test's write-up (/lag): the Privacy page's look, with its tables scrolling sideways on a phone. */
.lag h3 { font-size: 1rem; font-weight: 650; margin-top: 10px; }
.lag ul { padding-left: 20px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }
.lag code { font-size: 0.875em; background: var(--card); border-radius: 6px; padding: 1px 5px; }
.lag pre { background: var(--card); border-radius: 12px; padding: 14px; overflow-x: auto; font-size: 0.8125rem; line-height: 1.5; }
.lag pre code { background: none; padding: 0; }
.lag-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.lag .p-table { font-size: 0.8125rem; }
.lag .p-table th, .lag .p-table td { padding: 0.5rem 0.75rem; }
.lag-get { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.lag-get .btn.main { color: var(--on-ac); }

/* First look's quiet links to Help and Privacy (App Store 5.1.1: the privacy policy reachable inside the app). */
.foot { position: fixed; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 20px; font-size: 0.8125rem; }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- Theo's copy of the record (phone) ---------- */
.ph.gr { background: var(--bg); }
.gr h1 { margin-top: 32px; font-family: var(--head); font-weight: 700; font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; }
.gr .meta { margin-top: 8px; font-size: 0.9375rem; color: var(--soft); }
.gr .list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.gr .item { padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.gr .item b { display: block; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.gr .item span { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8125rem; color: var(--soft); }
.gr .item a { display: inline-flex; margin-top: 8px; font-size: 0.875rem; color: var(--ac); font-weight: 600; text-decoration: none; align-items: center; gap: 4px; min-height: 24px; cursor: pointer; }
.gr .item a .ms { font-size: 1.125rem; }
.gr .wait { margin-top: 24px; font-size: 0.9375rem; line-height: 1.45; color: var(--soft); }
.own { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.own p { font-size: 0.9375rem; line-height: 1.45; }
.own p span { color: var(--soft); }
.own .btn { margin-top: 14px; width: 100%; height: 48px; }

/* The record (screen 5): the prototype's `record` screen, filling the window. */
.recpage .app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.recpage .sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; background: color-mix(in srgb, var(--card) 40%, var(--bg)); }
.recpage .sidebar .brand { padding: 0 8px; margin-bottom: 20px; }
.recpage .sidebar .btn { width: 100%; margin-bottom: 20px; }
.recpage .sidebar h2 { font-size: 0.75rem; font-weight: 600; color: var(--soft); padding: 0 8px; margin: 8px 0 6px; }
.recpage #calls { display: flex; flex-direction: column; gap: 4px; }
.recpage .row { display: block; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .12s; }
.recpage .row:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.recpage .row.on { background: color-mix(in srgb, var(--ac) 13%, transparent); }
.recpage .row:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.recpage .row b { display: block; font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recpage .row span { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--soft); }
.recpage .recmain { padding: 22px 40px 0; min-width: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.recpage #rec { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.recpage .searchwrap { position: relative; width: 420px; z-index: 3; }
.recpage .search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--soft); font-size: 0.9375rem; width: 420px; cursor: text; }
.recpage .search:focus-within { border-color: color-mix(in srgb, var(--ac) 60%, var(--line)); }
.recpage .search .ms { font-size: 1.25rem; }
.recpage .search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: inherit; }
.recpage .search input::placeholder { color: var(--soft); }
.recpage .search input::-webkit-search-cancel-button { display: none; }
.recpage .search kbd { margin-left: auto; font-family: var(--font); font-size: 0.75rem; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); }
.recpage .hits { position: absolute; left: 0; top: 46px; width: 560px; max-height: 420px; overflow-y: auto; padding: 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.recpage .hits .hit { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; font: inherit; }
.recpage .hits .hit.on, .recpage .hits .hit:hover { background: color-mix(in srgb, var(--ac) 11%, transparent); }
.recpage .hits .where { display: block; font-size: 0.75rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.recpage .hits .what { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font-size: 0.875rem; line-height: 1.45; }
.recpage .hits .what .dot { transform: translateY(-1px); }
.recpage .hits .none { padding: 12px; font-size: 0.875rem; color: var(--soft); }
.recpage .rechead { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.recpage .rechead h1 { font-family: var(--head); font-weight: 700; font-size: 1.875rem; letter-spacing: -0.02em; }
.recpage .rechead p { margin-top: 6px; font-size: 0.9375rem; color: var(--soft); display: flex; align-items: center; gap: 10px; }
.recpage .rechead p .ok { color: var(--good); display: inline-flex; align-items: center; gap: 4px; }
.recpage .rechead p .ok .ms { font-size: 1.125rem; }
.recpage .recgrid { margin-top: 28px; display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: start; flex: 1; min-height: 0; padding-bottom: 28px; }
.recpage .recgrid h2 { font-size: 0.875rem; font-weight: 600; color: var(--soft); margin-bottom: 12px; }
.recpage .decisions { max-height: 100%; overflow-y: auto; }
.recpage .dec + .dec { margin-top: 10px; }
.recpage .rsaid { position: relative; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px; border-radius: var(--rad); background: var(--card); border: 1px solid var(--line); }
.recpage .line { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 10px 0; }
.recpage .line time { font-size: 0.8125rem; color: var(--soft); font-variant-numeric: tabular-nums; padding-top: 2px; }
.recpage .line .who { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; }
.recpage .line p { margin-top: 3px; font-size: 0.9375rem; line-height: 1.5; }
.recpage .line.hit p { background: color-mix(in srgb, var(--ac) 16%, transparent); border-radius: 6px; padding: 2px 6px; margin-left: -6px; }
.recpage .line .weakmark { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 0.875rem; color: var(--ink); background: color-mix(in srgb, var(--theo) 16%, transparent); }
.recpage .line .weakmark .ms { font-size: 1.125rem; color: var(--theo); }
.recpage .offrec { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 8px; border-radius: 10px; border: 1px dashed var(--line); }
.recpage .offrec .ms { font-size: 1.25rem; color: var(--soft); }
.recpage .offrec p { font-size: 0.875rem; line-height: 1.45; color: var(--soft); }
.recpage .offrec p b { color: var(--ink); font-weight: 600; }
.recpage .offrec.lost { border-color: var(--warn); }
.recpage .offrec.copylink { align-items: center; }
.recpage .offrec.copylink p { flex: 1; }
.recpage .offrec.copylink .btn { flex: none; }
.recpage .offrec.lost .ms { color: var(--warn); }
.recpage .recwait { font-size: 0.9375rem; line-height: 1.5; color: var(--soft); padding: 6px 0; }
.recpage .recempty { margin-top: 96px; max-width: 520px; }
.recpage .recempty h1 { font-family: var(--head); font-weight: 700; font-size: 1.875rem; letter-spacing: -0.02em; }
.recpage .recempty p { margin-top: 10px; font-size: 1rem; line-height: 1.5; color: var(--soft); }

/* The product/market-fit question at the foot of After the call and a guest's copy (web/pmf.ts). */
.pmf { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.pmf-q { font-size: 0.9375rem; line-height: 1.45; }
.pmf-choices { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.pmf-choices .btn { flex: 1 1 180px; }
.pmf textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 12px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; resize: vertical; }
.pmf #pmf-send { margin-top: 10px; }
