/* Voses marketing site. Dark, built from the console's own design tokens
   (apps/console/src/components/ui/theme.ts) so the site and product match. */

:root {
  --page: #131416;
  --panel: #17181b;
  --field: #1b1d20;
  --raised: #1d1f23;
  --line: #2a2d32;
  --line-strong: #33373d;
  --text: #ecedee;
  --text-soft: #d3d6d9;
  --muted: #9ba1a6;
  --dim: #5f656c;
  --accent: #5ec2b7;
  --accent-text: #7fd8cd;
  --ok-bg: #17302c;
  --handoff: #a9c4f5;
  --handoff-bg: #18202b;
  --handoff-line: #34465f;
  --draft-bg: #162321;
  --draft-line: #3e5e59;
  --warn: #f5be88;
  --display: "Sora", "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ring: #d3d6d9;
  --dot: rgba(236, 237, 238, 0.07);
  --teal-rgb: 127, 216, 205;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--raised); padding: 8px 12px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2 { font-family: var(--display); font-weight: 300; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.035em; }
h3 { font-family: var(--body); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--text); }
.prose { color: var(--muted); max-width: 62ch; text-align: justify; }
.lead { color: var(--text-soft); font-size: 18px; line-height: 1.6; text-align: justify; }
.motto { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: -0.01em; color: var(--accent-text); }
.link { color: var(--accent-text); }

/* Buttons, as in the console: light primary, hairline secondary. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 20px; border-radius: 8px;
  font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--text); color: var(--page); }
.btn-primary:hover { background: #ffffff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: #4a4f56; background: var(--raised); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.wordmark { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: -0.04em; }
.still { width: 14px; height: 14px; flex: none; }
.still path { stroke: var(--text-soft); }
.still circle { fill: var(--accent-text); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(19, 20, 22, 0.82); backdrop-filter: blur(12px) saturate(140%); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 36px; height: 64px; }
.top nav { margin-left: auto; display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.top nav a:hover { color: var(--text); }
@media (max-width: 860px) { .top nav { display: none; } .top-inner { justify-content: space-between; } }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: end; margin-bottom: 64px; }
.hero-head .motto { margin-bottom: 22px; }
.hero-side { display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 980px) { .hero { padding: 56px 0 72px; } .hero-head { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 44px; } }

/* Business switcher above the product view */
.pv-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin-bottom: 16px; flex-wrap: wrap; }
.pv-switch button { font: inherit; font-size: 13.5px; color: var(--muted); background: none; border: 0; border-radius: 7px; padding: 7px 12px; cursor: pointer; }
.pv-switch button:hover { color: var(--text); }
.pv-switch button[aria-selected="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Product view: a faithful slice of the Voses console inbox */
.pv {
  position: relative; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden;
  background: var(--page); font-size: 13px; line-height: 1.5; color: var(--text);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 40px 80px -30px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.04) inset;
}
.pv::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(127,216,205,.35), transparent); }
.pv-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.pv-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.pv-bar em { font-style: normal; margin: 0 auto; color: var(--dim); font-size: 12px; transform: translateX(-24px); }
.pv-body { display: grid; grid-template-columns: 196px 252px minmax(0, 1fr) 232px; height: 640px; }

.pv-side { background: var(--panel); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.pv-logo { display: flex; align-items: center; gap: 8px; padding: 2px 8px 12px; font-family: var(--display); font-size: 16px; letter-spacing: -0.03em; }
.pv-logo .still { width: 16px; height: 16px; }
.pv-biz { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--raised); border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; }
.pv-biz i { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); }
.pv-nav { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; color: var(--text-soft); }
.pv-nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.pv-nav b { margin-left: auto; font-weight: 500; font-size: 11px; background: var(--line-strong); border-radius: 5px; padding: 0 6px; }
.pv-nav.is-on { background: var(--raised); color: var(--text); }
.pv-nav.is-on svg { color: var(--accent-text); }
.pv-usage { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 10px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); }
.pv-usage div { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 2px; }
.pv-usage i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

.pv-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.pv-list-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pv-list-head strong { font-size: 14px; }
.pv-list-head span { font-size: 11px; color: var(--dim); }
.pv-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.pv-row strong { font-weight: 500; font-size: 13px; }
.pv-row time { font-size: 11px; color: var(--dim); }
.pv-row p { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-row .state { grid-column: 1 / -1; justify-self: start; font-size: 11px; border-radius: 5px; padding: 0 6px; margin-top: 3px; background: var(--raised); color: var(--muted); }
.pv-row .state.ai { background: var(--ok-bg); color: var(--accent-text); }
.pv-row .state.handoff { background: var(--handoff-bg); color: var(--handoff); }
.pv-row.is-on { background: var(--raised); box-shadow: inset 2px 0 0 var(--accent); }

.pv-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pv-thread-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.pv-thread-head strong { display: block; font-size: 14.5px; font-weight: 600; }
.pv-thread-head span { color: var(--muted); font-size: 12px; }
.pv-thread-actions { display: flex; gap: 6px; flex: none; }
.pv-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 12px; color: var(--text-soft); }
.pv-resolve { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; background: var(--text); color: var(--page); font-weight: 600; font-size: 12px; }
kbd { font-family: var(--mono); font-size: 10px; opacity: .6; }

.pv-handoff, .pv-thread-head, .pv-composer { flex: none; }
.pv-handoff { margin: 12px 18px 0; border: 1px solid var(--handoff-line); background: var(--handoff-bg); border-radius: 10px; padding: 11px 13px; display: none; flex-direction: column; gap: 6px; }
.pv-handoff.is-on { display: flex; animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }
.pv-handoff-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-handoff { font-size: 11px; background: #1e2a3d; color: var(--handoff); border-radius: 5px; padding: 1px 7px; }
.pv-handoff-top strong { font-weight: 600; font-size: 13px; }
.pv-time { margin-left: auto; font-size: 11px; color: var(--muted); }
.pv-handoff p { color: var(--text-soft); font-size: 12.5px; }
.pv-next { font-size: 11.5px; color: var(--muted); }

.pv-msgs { flex: 1 1 0; min-height: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px); mask-image: linear-gradient(to bottom, transparent 0, #000 36px); padding: 22px 18px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; }
.msg { display: flex; flex-direction: column; gap: 3px; max-width: 82%; animation: rise .35s ease both; }
.msg small { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.msg small .still { width: 11px; height: 11px; }
.msg p { padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.msg.customer { align-self: flex-start; }
.msg.customer p { background: var(--raised); border: 1px solid var(--line); }
.msg.ai { align-self: flex-end; align-items: flex-end; }
.msg.ai p { background: var(--draft-bg); border: 1px dashed var(--draft-line); color: var(--text-soft); }
.msg.ai small { color: var(--accent-text); }
.msg.staff { align-self: flex-end; align-items: flex-end; }
.msg.staff p { background: #26292e; border: 1px solid var(--line-strong); }
.pv-event { align-self: center; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); animation: rise .35s ease both; }
.pv-event::before, .pv-event::after { content: ""; width: 32px; height: 1px; background: var(--line); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.pv-composer { margin: 0 18px 16px; border: 1px solid #3a3e44; border-radius: 10px; background: var(--field); padding: 8px 10px 34px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); position: relative; }
.pv-composer span:first-child { color: var(--text); }
.pv-composer em { position: absolute; left: 10px; bottom: 9px; font-style: normal; color: var(--dim); }

.pv-panel { border-left: 1px solid var(--line); background: var(--panel); padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.pv-person { display: flex; gap: 10px; align-items: center; }
.pv-person strong { display: block; font-size: 13.5px; }
.pv-person span { font-size: 11.5px; color: var(--muted); }
.pv-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--line-strong); font-size: 12px; font-weight: 600; flex: none; }
.pv-avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.pv-facts { display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.pv-facts div { display: flex; justify-content: space-between; }
.pv-facts dt { color: var(--muted); }
.pv-activity { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--text-soft); }
.pv-activity strong { font-size: 12.5px; color: var(--text-soft); margin-bottom: 2px; }
.is-muted { color: var(--muted); }
.pv-audit { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--muted); }
.pv-audit .link { font-size: 12px; }
.pv-note { margin-top: 14px; font-size: 12.5px; color: var(--dim); }

@media (max-width: 1140px) { .pv-body { grid-template-columns: 196px 240px minmax(0, 1fr); } .pv-panel { display: none; } }
@media (max-width: 880px) { .pv-body { grid-template-columns: minmax(0, 1fr); height: 560px; } .pv-side, .pv-list { display: none; } .pv-bar em { transform: none; } }
@media (max-width: 480px) { .pv-thread-actions { display: none; } .msg { max-width: 92%; } }
@media (prefers-reduced-motion: reduce) { .msg, .pv-event, .pv-handoff.is-on { animation: none; } }

/* Sections */
.section { padding: 120px 0; border-top: 1px solid var(--line); position: relative; }
.section-alt { background: rgba(23, 24, 27, 0.72); }
.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 700px; margin-bottom: 64px; }
@media (max-width: 640px) { .section { padding: 80px 0; } .section-head { margin-bottom: 44px; } }

/* Listen, Check, Resolve */
.lcr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); gap: 1px; }
.lcr article { background: var(--page); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.lcr h3 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -0.03em; }
.lcr .prose { font-size: 15px; }
.frag { margin-top: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 14px; font-size: 12.5px; display: flex; flex-direction: column; gap: 10px; }
.frag-row { display: flex; gap: 10px; align-items: center; }
.frag-row strong { display: block; font-size: 13px; }
.frag-row span { color: var(--muted); font-size: 12px; }
.frag-channels li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); color: var(--text-soft); }
.frag-title { font-weight: 600; color: var(--text-soft); }
.frag-rules { counter-reset: r; }
.frag-rules li { counter-increment: r; display: grid; grid-template-columns: 18px 1fr auto; gap: 2px 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text-soft); }
.frag-rules li::before { content: counter(r); color: var(--dim); font-size: 11.5px; }
.frag-rules em { font-style: normal; color: var(--muted); font-size: 12px; }
.frag-rules b { grid-column: 2 / -1; justify-self: start; font-weight: 500; font-size: 11px; background: var(--handoff-bg); color: var(--handoff); border: 1px solid var(--handoff-line); border-radius: 5px; padding: 0 6px; }
.frag-rules li.is-match span { color: var(--text); }
.frag-draft { border: 1px dashed var(--draft-line); background: var(--draft-bg); border-radius: 8px; padding: 9px 11px; }
.frag-draft span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--accent-text); }
.frag-draft .still { width: 11px; height: 11px; }
.frag-draft p { color: var(--text-soft); margin-top: 4px; }
.frag-log { display: grid; grid-template-columns: 58px 1fr; color: var(--text-soft); padding-top: 8px; border-top: 1px solid var(--line); }
.frag-log span:first-child { color: var(--dim); }
.st { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--dim); }
.st-live { color: var(--accent-text); }
.st-live::before { background: var(--accent); border-color: var(--accent); }
@media (max-width: 960px) { .lcr { grid-template-columns: minmax(0, 1fr); } }

/* Control */
.control { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.control-copy { display: flex; flex-direction: column; gap: 22px; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: rotate(-45deg); }
.settings { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--panel); padding: 8px 22px 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); font-size: 13.5px; }
.settings-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.settings-head strong { font-size: 15px; }
.settings-group { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.settings-label { color: var(--muted); font-size: 12.5px; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 9px; background: var(--page); align-self: flex-start; flex-wrap: wrap; }
.seg b { font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 5px 11px; border-radius: 6px; }
.seg b.is-on { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.seg.is-disabled { opacity: .55; }
.settings-foot { display: flex; justify-content: space-between; padding-top: 14px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 960px) { .control { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; }
.trust > div { padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.trust .prose { font-size: 15.5px; }
@media (max-width: 760px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Availability */
.avail-table { width: 100%; border-collapse: collapse; }
.avail-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 0 0 12px; border-bottom: 1px solid var(--line-strong); }
.avail-table th:last-child, .avail-table td:last-child { text-align: right; }
.avail-table td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.avail-table td strong { display: block; font-weight: 500; }
.avail-table td span { color: var(--muted); font-size: 14px; }

/* Closing */
.closing { padding: 140px 0; border-top: 1px solid var(--line); }
.closing-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.closing .prose { text-align: center; }
.closing .actions { justify-content: center; margin-top: 6px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; position: relative; }
.foot-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 18px; }
.foot nav { justify-self: end; display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot nav a:hover { color: var(--text); }
.foot p { grid-column: 1 / -1; font-size: 13px; color: var(--dim); }
@media (max-width: 760px) { .foot-inner { grid-template-columns: minmax(0, 1fr); } .foot nav { justify-self: start; } }

/* Background dots (dots.js) */
.dot-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }

/* Combined B logo, from the console */
.cb { position: relative; display: inline-block; flex: none; }
.cb > svg, .cb-orbit, .cb-orbit > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cb path { fill: none; stroke-linecap: round; }
.cb-gdash, .cb-draw { stroke: var(--ring); stroke-width: 13; }
.cb-tail path { stroke: var(--accent-text); }
.cb-dot { fill: var(--accent-text); }
.cb-rip { fill: none; stroke: var(--accent-text); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cb, .cb * { animation-duration: 22s; animation-iteration-count: infinite; }
.cb { animation-name: cb-focus; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
.cb-ghost { animation-name: cb-ghost; animation-timing-function: ease-in-out; }
.cb-gdash { stroke-dasharray: 100; animation-name: cb-gdash; }
.cb-draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation-name: cb-draw; }
.cb-orbit { transform-origin: 50% 50%; animation-name: cb-orbit; }
.cb-tail { opacity: 0; animation-name: cb-tail; animation-timing-function: ease-in-out; }
.cb-rip { opacity: 0; transform-box: fill-box; transform-origin: center; animation-name: cb-rip; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
.cb-rip2 { animation-name: cb-rip2; }
@keyframes cb-focus { 0% { opacity: 0; filter: blur(10px); transform: scale(1.2); } 12%, 88% { opacity: 1; filter: blur(0); transform: scale(1); } 100% { opacity: 0; filter: blur(8px); transform: scale(0.96); } }
@keyframes cb-rip { 0%, 13% { transform: scale(1); opacity: 0; } 13.5% { opacity: 0.7; } 25%, 100% { transform: scale(3.6); opacity: 0; } }
@keyframes cb-rip2 { 0%, 20% { transform: scale(1); opacity: 0; } 20.5% { opacity: 0.7; } 32%, 100% { transform: scale(3.6); opacity: 0; } }
@keyframes cb-gdash { 0%, 34% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); } 42%, 44% { stroke-dashoffset: 22; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); } 51%, 100% { stroke-dashoffset: 0; } }
@keyframes cb-ghost { 0%, 53% { opacity: 1; } 56%, 100% { opacity: 0.4; } }
@keyframes cb-orbit { 0%, 34% { transform: rotate(0deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); } 42%, 44% { transform: rotate(-32deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); } 51%, 55% { transform: rotate(0deg); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); } 58% { transform: rotate(35deg); animation-timing-function: linear; } 80% { transform: rotate(325deg); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); } 86%, 100% { transform: rotate(360deg); } }
@keyframes cb-draw { 0%, 58% { stroke-dashoffset: 100; animation-timing-function: linear; } 80%, 100% { stroke-dashoffset: 0; } }
@keyframes cb-tail { 0%, 55% { opacity: 0; } 59%, 78% { opacity: 1; } 86%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cb, .cb * { animation: none !important; } .cb-draw, .cb-tail, .cb-rip { opacity: 0; } }

/* Placeholder that must be filled before launch. Deliberately loud. */
mark.todo { background: rgba(245, 190, 136, 0.14); color: var(--warn); border: 1px dashed rgba(245, 190, 136, 0.5); border-radius: 4px; padding: 0 4px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 72px; align-items: center; }
.pricing .section-head { margin-bottom: 0; }
.plan { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.plan-top { display: flex; flex-direction: column; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan-name { color: var(--accent-text); font-size: 14px; font-weight: 500; }
.plan-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-price strong { font-family: var(--display); font-weight: 300; font-size: 56px; letter-spacing: -0.05em; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan .btn { align-self: flex-start; }
@media (max-width: 900px) { .pricing { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Founder */
.founder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: center; }
.founder-photo { position: relative; aspect-ratio: 32 / 38; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--raised); }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.02); }
.founder-initials { display: none; position: absolute; inset: 0; place-items: center; font-family: var(--display); font-weight: 300; font-size: 72px; letter-spacing: -0.05em; color: var(--dim); }
.founder-photo.is-empty .founder-initials { display: grid; }
.founder-copy { display: flex; flex-direction: column; gap: 18px; }
.founder-copy .prose { color: var(--text-soft); font-size: 17px; }
.founder-sign { display: flex; flex-direction: column; margin-top: 6px; }
.founder-sign strong { font-weight: 600; }
.founder-sign span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); gap: 36px; } .founder-photo { max-width: 260px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-size: 17px; font-weight: 500; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list summary:hover { color: #fff; }
.faq-list details p { padding: 0 0 24px; font-size: 15.5px; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; } .faq .section-head { position: static; } }

/* Enquiry form */
.access { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.access-copy { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.access-alt { color: var(--muted); font-size: 14px; }
.closing .access .prose { text-align: justify; }
.form { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text); background: var(--field);
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 13px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94, 194, 183, 0.15); }
.field.is-invalid input, .field.is-invalid select { border-color: #f2a39b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.consent input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--accent); }
.consent.is-invalid { color: #f2a39b; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.form-foot .btn { border: 0; cursor: pointer; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { font-size: 14px; color: var(--muted); }
.form-status.is-ok { color: var(--accent-text); }
.form-status.is-err { color: #f2a39b; }
.form.is-sent .field, .form.is-sent .field-row, .form.is-sent .consent, .form.is-sent .btn { display: none; }
.form.is-sent .form-status { font-size: 16px; }
@media (max-width: 900px) { .access { grid-template-columns: minmax(0, 1fr); gap: 40px; } .access-copy { position: static; } }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } .form { padding: 20px; } }

/* Voses chat button (from widget.js), restyled to match the site.
   chat.js tags the button with this class once it appears. */
.voses-chat-button {
  background: var(--text) !important; color: var(--page) !important;
  font: 600 14px "IBM Plex Sans", system-ui, sans-serif !important;
  border-radius: 999px !important; padding: 12px 18px !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 12px 30px -8px rgba(0,0,0,.6) !important;
}

/* Legal and security pages */
.doc { padding: 0 0 120px; }
.doc-hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(23,24,27,.9), rgba(19,20,22,.6)); }
.doc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 64px; align-items: end; padding-top: 72px; padding-bottom: 64px; }
.doc-hero-copy { display: flex; flex-direction: column; gap: 18px; }
.doc-crumb { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); }
.doc-crumb a:hover { color: var(--text); }
.doc-crumb span { color: var(--dim); }
.doc-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.045em; }
.doc-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.doc-pill { font-size: 12px; border-radius: 6px; padding: 3px 9px; background: var(--ok-bg); color: var(--accent-text); border: 1px solid rgba(127,216,205,.18); }
.doc-pill.is-draft { background: rgba(245,190,136,.1); color: var(--warn); border-color: rgba(245,190,136,.25); }
.doc-intro { color: var(--text-soft); font-size: 17.5px; line-height: 1.65; max-width: 62ch; text-align: justify; }
.doc-glance { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--panel); padding: 22px 24px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.7); }
.doc-glance strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.doc-glance ul { display: flex; flex-direction: column; }
.doc-glance li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.doc-glance li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 9px; height: 5px; border-left: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: rotate(-45deg); }
@media (max-width: 960px) { .doc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 44px; } }

.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; align-items: start; padding-top: 56px; }
.doc-toc { position: sticky; top: 96px; display: flex; flex-direction: column; font-size: 13.5px; border-left: 1px solid var(--line); }
.doc-toc span { color: var(--muted); font-size: 12.5px; font-weight: 500; padding: 0 0 10px 16px; }
.doc-toc a { display: grid; grid-template-columns: 26px 1fr; color: var(--muted); padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.4; transition: color .15s ease, border-color .15s ease; }
.doc-toc a i { font-style: normal; color: var(--dim); font-size: 12px; padding-top: 1px; }
.doc-toc a:hover { color: var(--text); }
.doc-toc a.is-active { color: var(--text); border-left-color: var(--accent); }
.doc-toc a.is-active i { color: var(--accent-text); }

.doc-body { max-width: 720px; counter-reset: sec; }
.doc-body h2 { counter-increment: sec; display: flex; align-items: baseline; gap: 14px; font-size: 25px; letter-spacing: -0.03em; margin: 0 0 16px; padding-top: 44px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.doc-body h2:first-of-type { padding-top: 0; border-top: 0; }
.doc-body h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--accent-text); letter-spacing: 0; transform: translateY(-3px); }
.doc-body h2.no-num::before { content: none; }
.doc-body h2.no-num { counter-increment: none; }
.doc-body h2 + * { margin-top: 0; }
.doc-body h3 { margin: 26px 0 8px; font-size: 16px; }
.doc-body p, .doc-body li { color: var(--text-soft); font-size: 15.5px; line-height: 1.75; }
.doc-body p { margin: 0 0 16px; text-align: justify; }
.doc-body p:last-child { margin-bottom: 44px; }
.doc-body strong { color: var(--text); font-weight: 600; }
.doc-body ul { margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.doc-body ul li { position: relative; padding-left: 22px; }
.doc-body ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 1.5px; background: var(--accent-text); }
.doc-body a { color: var(--accent-text); text-decoration: underline; text-decoration-color: rgba(127,216,205,.35); text-underline-offset: 3px; }
.doc-body a:hover { text-decoration-color: var(--accent-text); }
.doc-body a.btn { text-decoration: none; color: var(--page); }
.doc-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 4px 0 44px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: table; }
.doc-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.doc-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--text-soft); vertical-align: top; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table td:first-child { color: var(--text); font-weight: 500; }
.status-pill { display: inline-block; font-size: 12px; border-radius: 5px; padding: 1px 8px; white-space: nowrap; }
.status-pill.done { background: var(--ok-bg); color: var(--accent-text); }
.status-pill.wip { background: rgba(245, 190, 136, 0.12); color: var(--warn); }
.doc-contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 12px; padding: 26px 28px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--panel); }
.doc-contact h2 { padding-top: 0 !important; border-top: 0 !important; margin: 0 0 4px; font-size: 20px; }
.doc-contact p { margin: 0 !important; text-align: left; color: var(--muted); }
@media (max-width: 960px) { .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; } .doc-toc { display: none; } }

@media print {
  body { background: #fff; color: #111; }
  .top, .foot, .doc-toc, .dot-field, .doc-contact .btn, .skip { display: none !important; }
  .doc-hero { background: none; border: 0; }
  .doc-hero-grid, .doc-grid { display: block; padding: 0; }
  .doc-glance { box-shadow: none; border-color: #ccc; background: #fff; margin: 16px 0; }
  h1, h2, h3, .doc-body strong, .doc-table td:first-child { color: #111 !important; }
  .doc-intro, .doc-body p, .doc-body li, .doc-glance li, .doc-table td, .doc-meta { color: #333 !important; }
  .doc-body h2 { break-after: avoid; }
}

/* Never break words with hyphens. */
body, body * { -webkit-hyphens: none !important; hyphens: none !important; }

/* Enquiry sent: confirmation panel */
.form.is-sent { padding: 40px 36px; }
.form.is-sent .form-foot { display: none; }
.form-success { display: flex; flex-direction: column; gap: 14px; outline: none; animation: success-in .5s cubic-bezier(.2,.8,.2,1) both; }
.success-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); box-shadow: 0 0 0 6px rgba(94,194,183,.06); margin-bottom: 6px; }
.success-mark svg { width: 30px; height: 30px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success-ring { stroke: rgba(127,216,205,.35); stroke-width: 2; stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw .7s ease-out .1s forwards; }
.success-tick { stroke: var(--accent-text); stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .35s ease-out .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes success-in { from { opacity: 0; transform: translateY(8px); } }
.success-title { font-family: var(--display); font-weight: 300; font-size: 30px; letter-spacing: -0.035em; line-height: 1.15; color: var(--text); }
.success-lead { color: var(--text-soft); font-size: 15.5px; }
.success-lead strong { color: var(--text); font-weight: 500; }
.success-steps { display: flex; flex-direction: column; margin-top: 10px; border-top: 1px solid var(--line); }
.success-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.success-steps li > span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 12px; color: var(--accent-text); }
.success-steps strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--text); }
.success-steps em { font-style: normal; font-size: 13.5px; color: var(--muted); }
.success-foot { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .form-success { animation: none; } .success-ring, .success-tick { animation: none; stroke-dashoffset: 0; } }
.success-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.success-actions .success-foot { margin: 0; }
.form.is-sent .success-again { display: inline-flex; height: 40px; font-size: 14px; cursor: pointer; background: none; }
