/* Parlando website. Luminous line: black glass, or white, and one thin line of light.
   Tokens mirror Aria/DesignSystem/AriaColors.swift (see docs/design/luminous.md).
   No accent colour, no gradients behind content, no glows. */

:root {
  --i: 29, 29, 31;
  --ink: #1d1d1f;
  --on-ink: #fff;
  --bg: #fbfbfd;
  --side: #f2f2f5;
  --stage: #e8e8ed;
  --doc: #ffffff;
  --doc-bar: #f6f6f8;
  --glass: rgba(252, 252, 254, .72);
  --glass-hi: rgba(255, 255, 255, .95);
  --shadow: rgba(0, 0, 0, .12);
  --fg: #1d1d1f;
  --fg2: rgba(29, 29, 31, .68);
  --fg3: rgba(29, 29, 31, .52);
  --fg4: rgba(29, 29, 31, .24);
  --hair: rgba(0, 0, 0, .08);
  --hair2: rgba(0, 0, 0, .14);
  --hair3: rgba(0, 0, 0, .26);
  --fill: rgba(var(--i), .02);
  --fill2: rgba(var(--i), .05);
  --sel: rgba(var(--i), .09);
  --warn: #c9372c;
  color-scheme: light;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --disp: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --max: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --i: 255, 255, 255; --ink: #fff; --on-ink: #000; --bg: #000; --side: #141417; --stage: #0d0d0f;
    --doc: #1c1c1e; --doc-bar: #232325; --glass: rgba(16, 16, 18, .8); --glass-hi: rgba(255, 255, 255, .16);
    --shadow: rgba(0, 0, 0, .6); --fg: #f5f5f7; --fg2: rgba(245, 245, 247, .66); --fg3: rgba(245, 245, 247, .48);
    --fg4: rgba(245, 245, 247, .24); --hair: rgba(255, 255, 255, .08); --hair2: rgba(255, 255, 255, .16);
    --hair3: rgba(255, 255, 255, .28); --fill: rgba(255, 255, 255, .025); --fill2: rgba(255, 255, 255, .05);
    --sel: rgba(255, 255, 255, .1); --warn: #ff7a6e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --i: 255, 255, 255; --ink: #fff; --on-ink: #000; --bg: #000; --side: #141417; --stage: #0d0d0f;
  --doc: #1c1c1e; --doc-bar: #232325; --glass: rgba(16, 16, 18, .8); --glass-hi: rgba(255, 255, 255, .16);
  --shadow: rgba(0, 0, 0, .6); --fg: #f5f5f7; --fg2: rgba(245, 245, 247, .66); --fg3: rgba(245, 245, 247, .48);
  --fg4: rgba(245, 245, 247, .24); --hair: rgba(255, 255, 255, .08); --hair2: rgba(255, 255, 255, .16);
  --hair3: rgba(255, 255, 255, .28); --fill: rgba(255, 255, 255, .025); --fill2: rgba(255, 255, 255, .05);
  --sel: rgba(255, 255, 255, .1); --warn: #ff7a6e; color-scheme: dark;
}

/* Screenshots: one image per appearance. */
.l { display: block; }
.d { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .l { display: none; }
  :root:not([data-theme="light"]) .d { display: block; }
}
:root[data-theme="dark"] .l { display: none; }
:root[data-theme="dark"] .d { display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--fg4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--fg2); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sel); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code, kbd, pre { font-family: var(--mono); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: 32px; padding-right: 32px; } }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--bg); padding: 8px 12px; }

kbd {
  font-family: var(--sans); font-size: .82em; min-width: 1.6em; height: 1.6em; padding: 0 .45em;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 5px;
  box-shadow: inset 0 0 0 1px var(--hair2); color: var(--fg2); vertical-align: .08em; line-height: 1;
}

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--hair); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--disp); font-weight: 300; font-size: 18px; letter-spacing: .01em; }
.brand img { width: 26px; height: 26px; display: block; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--fg2); white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--fg); }
.theme { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--fg2); }
.theme:hover { background: var(--fill2); color: var(--fg); }
.theme svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .top nav .opt { display: none; } .top .wrap { gap: 12px; } .top nav { gap: 16px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px;
  border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--fg); white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--hair2); transition: box-shadow .15s, background .15s;
}
.btn:hover { box-shadow: inset 0 0 0 1px var(--hair3); background: var(--fill2); }
.btn.pri { background: var(--ink); color: var(--on-ink); box-shadow: none; font-weight: 500; }
.btn.pri:hover { background: var(--fg); opacity: .9; }
.btn.sm { height: 32px; padding: 0 15px; font-size: 13.5px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--disp); font-weight: 200; letter-spacing: .003em; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.012em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
h3 { font-weight: 300; font-size: 20px; line-height: 1.3; }
.lede { font-family: var(--disp); font-weight: 300; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--fg2); margin: 0; max-width: 36em; }
.lede b, .lede strong { font-weight: 400; color: var(--fg); }
p { margin: 0; }
.small { font-size: 13.5px; color: var(--fg3); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 24px; }
.hero .intro { display: grid; gap: 22px; max-width: 900px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.hero .terms { font-size: 13.5px; color: var(--fg3); }
@media (min-width: 760px) { .hero { padding-top: 72px; } }

/* The stage: a document on a quiet desktop, the real indicator over it. */
.stage {
  position: relative; margin-top: 8px; border-radius: 16px; background: var(--stage); overflow: hidden;
  height: clamp(440px, 52vw, 600px); box-shadow: inset 0 0 0 1px var(--hair);
}
.doc {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: min(760px, calc(100% - 32px));
  bottom: -1px; border-radius: 12px 12px 0 0; background: var(--doc); color: var(--fg);
  box-shadow: 0 0 0 .5px rgba(var(--i), .14), 0 24px 70px var(--shadow); display: flex; flex-direction: column; font-size: 14px;
}
.doc .bar { height: 48px; display: flex; align-items: center; gap: 16px; padding: 0 16px; background: var(--doc-bar); border-bottom: 1px solid var(--hair); border-radius: 12px 12px 0 0; }
.doc .bar b { font-weight: 600; font-size: 13px; }
.doc .bar .send { margin-left: auto; color: var(--fg3); display: flex; }
.tl { display: flex; gap: 8px; }
.tl i { width: 12px; height: 12px; border-radius: 50%; background: rgba(var(--i), .16); }
.doc .fld { display: flex; gap: 10px; padding: 9px 20px; border-bottom: 1px solid var(--hair); font-size: 13px; }
.doc .fld span:first-child { color: var(--fg3); width: 58px; flex: none; }
.doc .body { flex: 1; padding: 20px 22px; line-height: 1.6; white-space: pre-wrap; font-size: 15px; }
.caret { display: inline-block; width: 1.5px; height: 18px; background: var(--fg); vertical-align: -3px; margin-left: 1px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hud { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: center; padding: 0 12px; z-index: 3; pointer-events: none; }
.ind {
  display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 7px 0 18px; border-radius: 24px; white-space: nowrap;
  max-width: 100%; color: var(--fg); background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  box-shadow: inset 0 .5px 0 var(--glass-hi), 0 0 0 .5px rgba(var(--i), .1), 0 18px 40px var(--shadow);
  animation: rise .28s cubic-bezier(.2, .8, .2, 1);
}
.ind[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.ind .ln { flex: none; }
.ind .stream {
  width: 300px; overflow: hidden; display: flex; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%); mask-image: linear-gradient(to right, transparent, #000 30%);
  font-family: var(--disp); font-weight: 300; font-size: 15px;
}
.ind .stream .o { opacity: .45; }
.ind .chip { font-size: 12px; color: var(--fg2); padding: 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair2); }
.ind .tm { font-size: 11.5px; color: var(--fg3); }
.ind .msg { font-family: var(--disp); font-weight: 300; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.ind .dim { color: var(--fg3); font-size: 13px; }
.ind .alt { font-size: 13px; color: var(--fg2); padding: 5px 9px; border-radius: 999px; }
.ind .alt.on { background: rgba(var(--i), .1); color: var(--fg); }
.ind .ib { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(var(--i), .09); color: var(--fg2); flex: none; }
.ind .ib.stop { background: var(--ink); color: var(--on-ink); }
.ind .pad { width: 8px; }
@media (max-width: 640px) {
  .stage { height: 460px; }
  .doc { top: 24px; width: calc(100% - 24px); }
  .doc .fld:nth-child(3) { display: none; }
  .doc .body { font-size: 14px; padding: 16px; }
  .hud { bottom: 24px; }
  .ind { gap: 10px; padding-left: 14px; }
  .ind .stream { width: 150px; }
  .ind .chip, .ind .tm, .ind .alt.x { display: none; }
}
.stage-note { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; margin-top: 14px; font-size: 13.5px; color: var(--fg3); }
.replay { color: var(--fg2); text-decoration: underline; text-decoration-color: var(--fg4); text-underline-offset: 3px; }
.replay:hover { color: var(--fg); }

/* the line */
.ln { display: block; overflow: visible; }
.ln .run { stroke-dasharray: 18 100; animation: run 1.4s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes run { from { stroke-dashoffset: 118; } to { stroke-dashoffset: 0; } }

/* ---------- chapters ---------- */
.ch { padding: 96px 0 0; }
.ch + .ch { border-top: 0; }
.ch .wrap { display: grid; gap: 34px; }
.ch .text { display: grid; gap: 18px; align-content: start; max-width: 34em; }
.ch .text .lede { font-size: clamp(17px, 1.5vw, 19px); }
@media (min-width: 980px) {
  .ch .wrap.side { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
  .ch .wrap.side .text { position: sticky; top: 100px; }
  .ch .wrap.wide .text { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); max-width: none; column-gap: 56px; }
  .ch .wrap.wide .text h2 { grid-row: span 2; }
}
.facts { list-style: none; padding: 0; margin: 4px 0 0; font-size: 15px; color: var(--fg2); }
.facts li { padding: 11px 0; border-top: 1px solid var(--hair); }
.facts li:last-child { border-bottom: 1px solid var(--hair); }
.facts b { font-weight: 500; color: var(--fg); }

.shot { margin: 0; }
.shot img { border-radius: 12px; box-shadow: 0 0 0 1px var(--hair2); width: 100%; background: var(--stage); }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--fg3); }
.shots { display: grid; gap: 24px; }
@media (min-width: 860px) {
  .shots.two { grid-template-columns: 1fr 1fr; align-items: start; }
  .shots.voices { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
}
.shot.strip { max-width: 820px; }
.shot.strip img { border-radius: 14px; }

/* Command Mode and spoken edits: small, honest diagrams in app type */
.demo { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hair); background: var(--fill); padding: 26px; display: grid; gap: 18px; }
.demo .cap { font-size: 12.5px; color: var(--fg3); }
.demo .txt { font-family: var(--disp); font-weight: 300; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; }
.demo mark { background: var(--sel); color: inherit; box-shadow: 0 0 0 2px var(--sel); border-radius: 2px; }
.demo s { color: var(--fg3); text-decoration-color: var(--fg3); }
.demo .say { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--fg2); flex-wrap: wrap; }
.demo .say q { font-family: var(--disp); font-weight: 300; font-size: 17px; color: var(--fg); quotes: "“" "”"; }
.demo .sep { height: 1px; background: var(--hair); }
.pairs { display: grid; gap: 0; }
.pairs > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-top: 1px solid var(--hair); }
.pairs > div:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 700px) { .pairs > div { grid-template-columns: 1fr 1fr; gap: 24px; } }
.pairs .said { color: var(--fg3); font-size: 15px; }
.pairs .got { font-family: var(--disp); font-weight: 300; font-size: 17px; }

/* terminal */
.term { border-radius: 14px; background: #0b0b0d; color: #e8e8ea; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); overflow: hidden; }
.term .head { display: flex; justify-content: space-between; padding: 12px 18px; font-size: 12px; color: rgba(232,232,234,.5); border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--sans); }
.term pre { margin: 0; padding: 18px 18px 22px; overflow-x: auto; font-size: 13.5px; line-height: 1.75; }
.term .c { color: rgba(232,232,234,.46); }
.term .p { color: rgba(232,232,234,.46); user-select: none; }
.term .o { color: rgba(232,232,234,.78); }

/* privacy facts */
.cols { display: grid; gap: 0 48px; }
@media (min-width: 860px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.cols > div { padding: 20px 0; border-top: 1px solid var(--hair); display: grid; gap: 8px; align-content: start; }
.cols h3 { font-size: 19px; }
.cols p { color: var(--fg2); font-size: 15px; }
.providers { font-size: 14px; color: var(--fg3); }

/* pricing: one card */
.price { border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hair2); background: var(--fill); padding: clamp(24px, 4vw, 44px); display: grid; gap: 30px; }
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; } }
.price .amount { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price .n { font-family: var(--disp); font-weight: 200; font-size: clamp(72px, 9vw, 112px); line-height: .9; letter-spacing: -.02em; }
.price .was { font-family: var(--disp); font-weight: 300; font-size: 20px; color: var(--fg3); }
.price .was s { text-decoration-thickness: 1px; }
.price .who { font-family: var(--disp); font-weight: 300; font-size: 19px; color: var(--fg2); margin-top: 14px; max-width: 24em; }
.price .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.price ul { margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-family: var(--disp); font-weight: 300; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: 8px; border-right: 1.3px solid var(--fg3); border-bottom: 1.3px solid var(--fg3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq details p { padding: 0 0 20px; color: var(--fg2); max-width: 44em; }

/* closing */
.closing { padding: 120px 0 40px; }
.closing .wrap { display: grid; gap: 22px; justify-items: start; }
.closing .ln { width: 100%; max-width: 520px; height: 30px; }

/* ---------- footer ---------- */
footer { margin-top: 96px; border-top: 1px solid var(--hair); padding: 34px 0 48px; font-size: 13.5px; color: var(--fg3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer .brand { font-size: 15px; color: var(--fg); }
footer .brand img { width: 22px; height: 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; color: var(--fg2); }
footer a:hover { color: var(--fg); }

/* ---------- prose pages: privacy, terms, imprint ---------- */
.page { padding: 64px 0 0; }
.page .wrap { max-width: 820px; }
.page header { display: grid; gap: 16px; padding-bottom: 34px; border-bottom: 1px solid var(--hair); }
.page .date { font-size: 13.5px; color: var(--fg3); }
.prose { padding-top: 10px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 200; margin: 44px 0 12px; }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose li { color: var(--fg2); }
.prose p + p { margin-top: 12px; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--fg3); }
.prose code { font-size: .88em; padding: 1px 5px; border-radius: 5px; background: var(--fill2); }
.prose pre { background: var(--fill2); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.65; }
.prose pre code { padding: 0; background: none; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.prose th { text-align: left; font-weight: 400; font-size: 12.5px; color: var(--fg3); padding: 0 12px 8px 0; border-bottom: 1px solid var(--hair2); }
.prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); vertical-align: top; color: var(--fg2); }
.prose td:first-child { color: var(--fg); }
.prose .note { margin: 18px 0; padding: 14px 18px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hair2); background: var(--fill); color: var(--fg2); font-size: 15px; }
.prose .ph { color: var(--fg); background: var(--sel); border-radius: 4px; padding: 0 5px; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 18px 0; }
.prose dt { color: var(--fg3); }
.prose dd { margin: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 12px; } .prose table { font-size: 13.5px; } }

/* ---------- docs ---------- */
.docs-head { padding: 56px 0 30px; }
.docs-head .wrap { display: grid; gap: 14px; }
.docs { display: grid; gap: 34px; padding-top: 10px; }
@media (min-width: 980px) { .docs { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; } }
.docs aside { align-self: start; }
@media (min-width: 980px) { .docs aside { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-bottom: 20px; } }
.search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--hair2); color: var(--fg3); }
.search:focus-within { box-shadow: inset 0 0 0 1px var(--hair3); }
.search svg { width: 14px; height: 14px; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: inherit; font-size: 14.5px; color: var(--fg); }
.search input::-webkit-search-cancel-button { display: none; }
.docs details { margin-top: 14px; }
.docs summary { cursor: pointer; font-size: 13px; color: var(--fg3); padding: 6px 0; list-style: none; }
.docs summary::-webkit-details-marker { display: none; }
@media (min-width: 980px) { .docs summary { display: none; } }
.toc { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.toc .grp { font-size: 12.5px; color: var(--fg3); padding: 16px 10px 5px; }
.toc a { display: block; padding: 5px 10px; border-radius: 7px; text-decoration: none; color: var(--fg2); }
.toc a:hover { background: var(--fill2); color: var(--fg); }
.toc a.on { background: var(--sel); color: var(--fg); }
.docs .prose section { padding-bottom: 18px; }
.docs .prose section + section { border-top: 1px solid var(--hair); margin-top: 30px; }
.docs .prose section h2 { margin-top: 34px; }
.docs .prose section:first-of-type h2 { margin-top: 0; }
.docs mark { background: var(--sel); color: var(--fg); box-shadow: 0 0 0 2px var(--sel); border-radius: 2px; }
.empty { display: none; color: var(--fg2); }
.empty.show { display: block; }

/* ---------- marketing additions (2026-10-31) ---------- */
.soft { color: var(--fg3); }
.was-inline { color: var(--fg3); text-decoration-thickness: 1px; margin-right: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn.lg { height: 48px; padding: 0 26px; font-size: 16px; }

/* the voice: one thin line across the hero, drawn on a canvas */
.voice { position: relative; height: clamp(96px, 10vw, 140px); margin: 18px 0 0; }
.voice canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* stage: two scenes, one indicator, keycaps that light when pressed */
.stage .doc { transition: opacity .35s ease-out, transform .35s ease-out; }
.stage[data-scene="mail"] .scene-term, .stage[data-scene="term"] .scene-mail { opacity: 0; transform: translateX(-50%) translateY(10px); pointer-events: none; }
.doc.dark { background: #0b0b0d; color: #e8e8ea; box-shadow: 0 0 0 .5px rgba(255,255,255,.14), 0 24px 70px var(--shadow); }
.doc.dark .bar { background: #18181b; border-bottom-color: rgba(255,255,255,.08); color: rgba(232,232,234,.7); }
.doc.dark .tl i { background: rgba(255,255,255,.16); }
.doc.dark .bar b { font-weight: 500; font-family: var(--mono); font-size: 12px; margin: 0 auto; transform: translateX(-26px); }
.tbody { flex: 1; min-height: 0; padding: 18px 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; overflow: hidden; scroll-behavior: smooth; }
.tbody .u { color: #fff; }
.tbody .c, .tbody .p { color: rgba(232,232,234,.46); }
.tbody .t { color: #fff; font-weight: 600; }
.tbody .a { color: rgba(232,232,234,.88); }
.tbody .caret { background: #e8e8ea; height: 16px; }

.keys { position: absolute; top: 14px; right: 16px; z-index: 4; display: flex; gap: 6px; }
.keys kbd, .caps kbd {
  font-family: var(--sans); color: var(--fg2); background: var(--doc); border-radius: 8px; height: 36px; min-width: 36px;
  padding: 0 10px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--hair2), 0 1px 0 var(--hair2);
  transition: background .15s ease-out, color .15s ease-out, transform .15s ease-out, box-shadow .15s ease-out;
}
.keys kbd.wide { min-width: 76px; font-size: 13px; }
.keys kbd.on, .caps.on kbd { background: var(--ink); color: var(--on-ink); box-shadow: none; transform: translateY(1px); }
.keys kbd[hidden] { display: none; }

.stage-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin-top: 16px; }
.scenes { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair2); max-width: 100%; }
.scenes button { height: 34px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; color: var(--fg3); white-space: nowrap; transition: background .15s, color .15s; }
.scenes button span { color: var(--fg); font-weight: 500; }
.scenes button[aria-pressed="false"] span { color: var(--fg2); font-weight: 400; }
.scenes button[aria-pressed="true"] { background: var(--sel); color: var(--fg2); }
.scenes button:hover { color: var(--fg); }
@media (max-width: 640px) {
  .keys { top: 12px; right: 12px; }
  .stage .doc { top: 56px; }
  .ind .dim { display: none; }
  .keys kbd { height: 30px; min-width: 30px; font-size: 13px; padding: 0 8px; }
  .keys kbd.wide { min-width: 60px; font-size: 12px; }
  .tbody { font-size: 12px; padding: 14px; }
  .scenes button { padding: 0 11px; font-size: 12.5px; }
  .doc.dark .bar b { transform: none; }
}

/* agents: the star section */
.agents .wrap { gap: 40px; }
.head2 { display: grid; gap: 20px; max-width: 46em; }
.head2 h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.head2 .lede code, .ch .lede code { font-size: .86em; padding: 1px 6px; border-radius: 6px; background: var(--fill2); color: var(--fg); }
.install { display: grid; gap: 10px; justify-items: start; }
.install .what { font-size: 14px; color: var(--fg3); }
.install .cmd {
  display: flex; align-items: center; gap: 14px; max-width: 100%; padding: 8px 8px 8px 20px; border-radius: 14px;
  background: #0b0b0d; color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.install .cmd code { font-size: clamp(13px, 1.5vw, 17px); white-space: nowrap; overflow-x: auto; min-width: 0; scrollbar-width: none; }
.install .cmd code::-webkit-scrollbar { display: none; }
.install .cmd .p { color: rgba(232,232,234,.46); user-select: none; }
.copy { flex: none; height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13px; color: #f5f5f7; background: rgba(255,255,255,.1); }
.copy:hover { background: rgba(255,255,255,.18); }

.uc { display: grid; gap: 28px; }
.uc-list { display: none; }
.uc-p { display: grid; gap: 12px; align-content: start; }
.uc-p + .uc-p { padding-top: 28px; border-top: 1px solid var(--hair); }
.uc-p h3 { font-size: 22px; }
.uc-p > p { color: var(--fg2); max-width: 36em; }
.uc-p > p code { font-size: .88em; }
.term pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.term .row { display: block; min-height: 1.75em; padding-left: 2ch; text-indent: -2ch; }
.term .u { color: #fff; }
.term .t { color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .term pre { font-size: 12.5px; }
  .install .cmd code { white-space: pre-wrap; overflow-wrap: anywhere; }
  .ind .msg { font-size: 13.5px; }
}
@media (min-width: 980px) {
  .js .uc { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
  .js .uc-list { display: grid; gap: 2px; align-content: start; }
  .js .uc-list button { text-align: left; display: grid; gap: 2px; padding: 14px 16px 14px 18px; border-radius: 12px; position: relative; transition: background .15s; }
  .js .uc-list button b { font-family: var(--disp); font-weight: 300; font-size: 19px; color: var(--fg2); transition: color .15s; }
  .js .uc-list button span { font-size: 12.5px; color: var(--fg3); }
  .js .uc-list button:hover { background: var(--fill2); }
  .js .uc-list button:hover b { color: var(--fg); }
  .js .uc-list button[aria-selected="true"] { background: var(--sel); }
  .js .uc-list button[aria-selected="true"] b { color: var(--fg); }
  .js .uc-list button .bar-t { position: absolute; left: 18px; right: 16px; bottom: 6px; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(0); opacity: .5; }
  .js .uc-p { display: none; }
  .js .uc-p.on { display: grid; }
  .js .uc-p + .uc-p { padding-top: 0; border-top: 0; }
  .js .uc-p .term { min-height: 300px; }
  .js .uc-p h3 { display: none; }
}
/* typed-out rows when a panel shows */
.js .uc-p.play .term .row { animation: row .32s ease-out both; animation-delay: calc(var(--r, 0) * 110ms); }
@keyframes row { from { opacity: 0; transform: translateY(3px); } }

.tools { display: grid; gap: 0 40px; margin: 0; }
@media (min-width: 760px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tools { grid-template-columns: repeat(4, 1fr); } }
.tools > div { padding: 16px 0; border-top: 1px solid var(--hair); display: grid; gap: 4px; }
.tools dt code { font-size: 14px; color: var(--fg); }
.tools dd { margin: 0; font-size: 14.5px; color: var(--fg2); }

/* one key, anywhere */
.onekey .wrap { justify-items: center; text-align: center; gap: 26px; }
.onekey .lede { margin: 0 auto; max-width: 34em; }
.onekey h2 { font-size: clamp(36px, 5vw, 64px); }
.caps { display: flex; gap: 12px; }
.caps kbd { height: clamp(64px, 8vw, 88px); min-width: clamp(64px, 8vw, 88px); font-size: clamp(24px, 3vw, 32px); border-radius: 16px; font-weight: 300; }
.caps kbd.wide { min-width: clamp(150px, 20vw, 220px); font-size: clamp(17px, 2vw, 21px); }
.caps.on kbd:nth-child(2) { transition-delay: .12s; }
.caps.on kbd:nth-child(3) { transition-delay: .24s; }

/* pricing: the sale */
.price .deal { display: grid; justify-items: start; }
.price .tag { font-size: 14px; color: var(--fg); padding: 4px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair3); }
.price .amount { display: flex; align-items: baseline; gap: 18px; margin-top: 18px; }
.price .n { font-size: clamp(104px, 15vw, 176px); line-height: .85; letter-spacing: -.03em; }
.price .was { font-family: var(--disp); font-weight: 200; font-size: clamp(36px, 5vw, 60px); color: var(--fg3); text-decoration-thickness: 2px; }
.price .who { font-size: clamp(18px, 2vw, 22px); margin-top: 18px; }

.shot figcaption b { font-weight: 500; color: var(--fg); }
#window { padding-top: 64px; }

.ch .wrap > *, .install > *, .uc > *, .uc-p > * { min-width: 0; max-width: 100%; }
.docs > * { min-width: 0; }
.prose td code { overflow-wrap: anywhere; }

/* ---------- second revision (2026-10-31): balance, motion for the app ---------- */

/* hero scene 2: the agent hands a recording to Parlando */
.doc.dark { --ink: #fff; --i: 255, 255, 255; }
.tbody .tbody-in { display: block; }
.tbody .gap { display: block; height: .6em; }
.pcard {
  display: grid; gap: 10px; margin: 6px 0 4px 2ch; padding: 14px 16px 15px; border-radius: 12px; white-space: normal;
  background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  font-family: var(--sans); animation: rise .28s cubic-bezier(.2, .8, .2, 1);
}
.pcard .r1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pcard .r1 .ln { flex: none; }
.pcard .who { font-family: var(--disp); font-weight: 300; font-size: 16px; color: #fff; }
.pcard .who b { font-weight: 500; }
.pcard .eng { font-size: 12px; color: rgba(232,232,234,.6); padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.pcard .r2 { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: rgba(232,232,234,.62); }
.pcard .file { flex: none; color: rgba(232,232,234,.85); }
.pcard .bar2 { flex: 1; min-width: 40px; height: 1px; background: rgba(255,255,255,.18); position: relative; }
.pcard .bar2 i { position: absolute; left: 0; top: -.5px; height: 2px; border-radius: 1px; background: #fff; width: 0; }
.pcard .tm2 { flex: none; font-variant-numeric: tabular-nums; }
.pcard .done { font-family: var(--disp); font-weight: 300; font-size: 19px; color: #fff; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pcard .done .arr { color: rgba(232,232,234,.5); }
.pcard .done small { font-family: var(--sans); font-size: 12px; color: rgba(232,232,234,.55); }
.tbody .q { display: block; margin-top: 8px; padding-left: 4ch; text-indent: -2ch; color: rgba(232,232,234,.72); }
@media (max-width: 640px) {
  .pcard { margin-left: 0; padding: 12px 13px; gap: 8px; }
  .pcard .who { font-size: 14.5px; }
  .pcard .done { font-size: 16px; }
  .pcard .r2 .file, .pcard .eng { display: none; }
  .pcard .r1 { flex-wrap: nowrap; gap: 10px; }
  .pcard .r1 .ln { width: 36px; }
  .tbody .pcard .m-eng { display: inline; }
  .pcard .done small { flex-basis: 100%; }
}
.pcard .m-eng { display: none; }

/* one key, any app: the app the key is talking to */
.apps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; max-width: 640px; }
.apps li { font-size: 14px; color: var(--fg3); padding: 5px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); transition: background .25s ease-out, color .25s ease-out, box-shadow .25s ease-out; }
.apps li.on { color: var(--fg); background: var(--sel); box-shadow: inset 0 0 0 1px var(--hair2); }

/* cleanup: the spoken words, then what lands */
.clean { gap: 14px; }
.clean-head { display: none; align-items: center; gap: 12px; font-size: 12.5px; color: var(--fg3); }
.clean-head .st { color: var(--fg2); }
.clean-head .what { margin-left: auto; transition: opacity .25s; }
.clean.live .clean-head { display: flex; }
.clean.live .pairs { display: block; position: relative; min-height: 6.6em; }
.clean.live .pairs > div { display: none; padding: 0; border: 0; }
.clean.live .pairs > div.on { display: block; }
.clean.live .said { display: none; }
.clean.live .got { font-family: var(--disp); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; color: var(--fg3); transition: color .45s ease-out; display: block; }
.clean.live .got.landed { color: var(--fg); }
.clean.live .pairs > div.done .said { display: block; margin: 0 0 8px; font-size: 14px; color: var(--fg3); animation: inword .5s ease-out .3s both; }
.clean.live .pairs > div.done .said::before { content: "You said: "; color: var(--fg3); }
.clean .got i { font-style: normal; transition: opacity .4s ease-out, color .3s ease-out; text-decoration-thickness: 1.5px; }
.clean .got i.w { opacity: 0; }
.clean .got i.mark { color: var(--fg3); text-decoration: line-through; text-decoration-color: var(--fg2); }
.clean .got i.fade { opacity: 0; }
.clean .got i.gone { display: none; }
.clean .got i.new { animation: inword .35s ease-out both; }
@keyframes inword { from { opacity: 0; } }

/* Voices: one sentence, three apps */
.vox { gap: 16px; }
.vox .cap { font-size: 12.5px; color: var(--fg3); }
.vox .cap b { font-weight: 500; color: var(--fg2); }
.vox-said p { margin-top: 6px; color: var(--fg2); font-size: 15px; }
.vox-tabs { display: inline-flex; justify-self: start; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair2); }
.vox-tabs button { height: 30px; padding: 0 15px; border-radius: 999px; font-size: 13.5px; color: var(--fg3); transition: background .2s, color .2s; }
.vox-tabs button[aria-pressed="true"] { background: var(--sel); color: var(--fg); }
.vox-outs { display: grid; gap: 18px; }
.vox-out { display: grid; gap: 6px; align-content: start; }
.vox-out p { font-family: var(--disp); font-weight: 300; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; }
.vox-tabs { display: none; }
.vox.live .vox-tabs { display: inline-flex; }
.vox.live .vox-outs { display: grid; grid-template-areas: "o"; }
.vox.live .vox-out { grid-area: o; opacity: 0; transform: translateY(4px); transition: opacity .3s ease-out, transform .3s ease-out; visibility: hidden; }
.vox.live .vox-out.on { opacity: 1; transform: none; visibility: visible; }
.vox-out + .vox-out { padding-top: 18px; border-top: 1px solid var(--hair); }
.vox.live .vox-out + .vox-out { padding-top: 0; border-top: 0; }
#voices > .wrap + .wrap { margin-top: 40px; }

/* agents: lighter */
.install .what a { color: var(--fg2); }
.js .uc-list .more { display: block; padding: 14px 18px; font-size: 14.5px; color: var(--fg2); text-decoration: none; }
.js .uc-list .more:hover { color: var(--fg); }
.uc-list .more { display: none; }
.tools-line code { font-size: .92em; color: var(--fg2); }
.tools-line { max-width: 60em; line-height: 1.7; }
.ch .lede code { font-size: .86em; padding: 1px 6px; border-radius: 6px; background: var(--fill2); color: var(--fg); }
.onekey .caps { margin-bottom: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
