/* evernous.com — one page, light theme, no framework.
 *
 * Palette "Grafito + señal" (BRAND.md): black and white do
 * the work; the orange is a spark only - the logo's dot, the call to action,
 * and the dot that means "delivered". Status colours (working amber, online
 * green) mean what they mean in the console and nothing else.
 */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --ink: #15181d;
  --muted: #666c75;
  --faint: #9197a0;
  --surface: #fafaf9;
  --soft: #f3f3f1;
  --card: #ffffff;
  --card-hi: #f4f4f2;
  --sel: #e9eaec;
  --line: #e7e8ea;
  --hair: #efeff0;
  --signal: #f2622e;
  --working: #c98a12;
  --working-soft: #c98a121a;
  --live: #1f9d55;
  --idle: #a3a8b0;
  --mail-in: #7c5cd6;
  --chart-1: #2a78d6;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --shadow-lg: 0 40px 80px -40px #15181d47, 0 2px 8px #15181d0f;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html.still { scroll-behavior: auto; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* the one frame it takes to put the words in */
html.js:not(.ready) body { opacity: 0; }
html.ready body { opacity: 1; transition: opacity .35s ease; }
html.still.ready body { transition: none; }

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.noscript { max-width: 640px; margin: 120px auto; padding: 0 24px; font-size: 20px; }

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.012em; line-height: 1.02; }
.display em { font-style: italic; }
.kicker { margin: 0 0 18px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lede { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.55; color: var(--muted); }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
.grow { flex: 1; }

/* ---- the bar on top --------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 50; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand { display: block; padding: 6px 0; border-radius: 8px; }
.logo { height: 25px; width: auto; overflow: visible; }
.logo .lg-bowl, .logo .lg-bar { fill: none; stroke: var(--ink); stroke-width: 12; stroke-linecap: butt; }
.logo .lg-dot { fill: var(--signal); transform-box: fill-box; transform-origin: center; }
.logo .lg-word path { fill: var(--ink); }
html.ready:not(.still) .logo .lg-bar { stroke-dasharray: 1; animation: draw .5s cubic-bezier(.55, 0, .3, 1) .15s both; }
html.ready:not(.still) .logo .lg-bowl { stroke-dasharray: 1; animation: draw 1s cubic-bezier(.2, .6, .3, 1) .5s both; }
html.ready:not(.still) .logo .lg-dot { animation: land .55s cubic-bezier(.3, 1.6, .5, 1) 1.35s both; }
.logo .lg-ring { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
html.ready:not(.still) .logo .lg-ring { animation: ping 1.1s cubic-bezier(.2, .6, .3, 1) 1.5s both; }
.top-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
/* pause / play every animation on the page (remembered) */
.motion { width: 34px; height: 34px; margin-right: calc(-1 * clamp(4px, 1.4vw, 18px)); border-radius: 8px; display: grid; place-items: center; color: var(--faint); transition: color .2s; }
.motion:hover, .motion[aria-pressed="true"] { color: var(--ink); }
.motion svg { width: 14px; height: 14px; fill: currentColor; }
.motion .i-play, html.still .motion .i-pause { display: none; }
html.still .motion .i-play { display: block; }
.lang { display: flex; align-items: center; gap: 2px; }
.lang button { min-width: 34px; height: 34px; padding: 0 6px; border-radius: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.top-cta { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.top-cta:hover { background: var(--ink); color: #fff; }

/* ---- buttons ---------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform .18s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px #15181d59; }
.btn:focus-visible { outline-offset: 4px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
/* the spark: the logo's dot, on the one call to action */
.spark { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
html:not(.still) .spark { animation: spark 2.6s ease-out infinite; }
.link { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.link:hover { border-bottom-color: var(--ink); }
.link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html:not(.still) .link svg { animation: nudge 2.8s ease-in-out infinite; }

/* ---- 1 · hero ----------------------------------------------------------------- */
.hero {
  max-width: 1360px; margin: 0 auto; padding: clamp(24px, 5vh, 64px) var(--gutter) clamp(40px, 8vh, 96px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); align-items: center;
}
.hero h1 { font-size: clamp(46px, 5.3vw, 84px); }
.hero h1 span, .hero h1 em { display: block; }
/* the page's entrance, once (html.enter lives 2.6 s): the words rise, the phone slides in, the e lands, the desks line up */
html.enter:not(.still) .hero h1 span { animation: in-up .9s cubic-bezier(.2, .7, .2, 1) .05s both; }
html.enter:not(.still) .hero h1 em { animation: in-up .9s cubic-bezier(.2, .7, .2, 1) .2s both; }
html.enter:not(.still) .hero .lede { animation: in-up .9s cubic-bezier(.2, .7, .2, 1) .38s both; }
html.enter:not(.still) .hero .actions { animation: in-up .9s cubic-bezier(.2, .7, .2, 1) .52s both; }
html.enter:not(.still) .dl-phone { animation: in-left 1s cubic-bezier(.2, .7, .2, 1) .3s backwards; }
html.enter:not(.still) .dl-agent { animation: in-pop .8s cubic-bezier(.3, 1.4, .5, 1) .6s backwards; }
html.enter:not(.still) .dl-wires { animation: in-fade .8s ease .9s backwards; }
html.enter:not(.still) .dl-desk { animation: in-right .8s cubic-bezier(.2, .7, .2, 1) backwards; }
html.enter:not(.still) .dl-desk:nth-child(1) { animation-delay: .7s; }
html.enter:not(.still) .dl-desk:nth-child(2) { animation-delay: .8s; }
html.enter:not(.still) .dl-desk:nth-child(3) { animation-delay: .9s; }
html.enter:not(.still) .dl-desk:nth-child(4) { animation-delay: 1s; }
html.enter:not(.still) .dl-try { animation: in-fade .8s ease 1.3s backwards; }
@media (min-width: 1180px) {
  .hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); min-height: calc(100svh - 68px); }
}

/* the delegation stage: phone -> your agent -> the desks -> back to the phone */
.hero-stage { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.deleg {
  --mode: wide;
  position: relative; display: grid; grid-template-columns: 214px minmax(120px, 1fr) 262px; align-items: center;
  min-height: 480px; user-select: none; -webkit-user-select: none;
}
.dl-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.dl-wire { fill: none; stroke: var(--line); stroke-width: 1.5; transition: stroke .3s; }
.dl-wire.busy { stroke: #15181d59; stroke-dasharray: 2.5 6.5; stroke-linecap: round; }
.dl-lit { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.dl-lit.ok { stroke: var(--live); }
.dl-env .sh { fill: #15181d1f; }
.dl-env rect { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.dl-env path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.dl-ok circle { fill: var(--live); stroke: #fff; stroke-width: 2; }
.dl-ok path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dl-sig { fill: var(--signal); }
.dl-sig-glow { fill: var(--signal); fill-opacity: .18; }

.dl-phone {
  position: relative; z-index: 2; width: 214px; height: 420px; padding: 9px; border-radius: 38px; background: var(--card);
  box-shadow: 0 0 0 1.5px var(--ink), 0 30px 60px -28px #15181d55;
}
.dl-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.dl-island { position: absolute; top: 8px; left: 50%; width: 62px; height: 18px; margin-left: -31px; border-radius: 10px; background: var(--ink); z-index: 4; }
.dl-status { display: flex; justify-content: space-between; align-items: center; padding: 9px 18px 0 22px; height: 30px; font: 600 11.5px/1 var(--sans); }
.dl-status .bars { display: flex; gap: 2px; align-items: flex-end; }
.dl-status .bars i { width: 3px; background: var(--ink); border-radius: 1px; }
.dl-notif {
  position: absolute; z-index: 5; top: 34px; left: 8px; right: 8px; display: flex; gap: 8px; padding: 9px 10px;
  border-radius: 16px; background: #ffffffeb; box-shadow: 0 8px 24px -6px #15181d40, 0 0 0 1px #15181d10;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 11px; line-height: 1.35;
  opacity: 0; transform: translateY(-130%);
}
.dl-notif .top-line { display: flex; justify-content: space-between; gap: 6px; }
.dl-notif b { font-weight: 650; }
.dl-notif .when { color: var(--muted); }
.dl-notif p { margin-top: 2px; color: var(--ink); }
.dl-app { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--card); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.dl-app svg { width: 18px; height: 18px; }
.dl-head { display: flex; align-items: center; gap: 8px; padding: 8px 14px 9px; border-bottom: 1px solid var(--line); }
.dl-head b { display: block; font-size: 12.5px; line-height: 1.2; }
.dl-head small { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); }
.dl-head small i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.dl-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 10px 10px 8px; overflow: hidden; }
.dl-b { max-width: 86%; padding: 7px 10px; border-radius: 15px; font-size: 11.5px; line-height: 1.38; opacity: 0; }
.dl-b.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.dl-b.them { align-self: flex-start; background: var(--card); box-shadow: 0 0 0 1px var(--line); border-bottom-left-radius: 5px; }
.dl-file { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 7px; border-radius: 8px; background: var(--soft); font-size: 10.5px; color: var(--ink); white-space: nowrap; }
.dl-file i { flex: none; width: 14px; height: 17px; border-radius: 2px; background: #d14343; position: relative; }
.dl-file i::after { content: "PDF"; position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; font: 700 4.5px/1 var(--sans); color: #fff; }
.dl-input { display: flex; align-items: center; gap: 6px; margin: 0 9px 10px; min-height: 32px; padding: 0 5px 0 12px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 11.5px; }
.dl-typed { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: clip; direction: ltr; }
.dl-typed.ph { color: var(--faint); }
.dl-send { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.dl-send svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.dl-agent { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; justify-self: center; }
.dl-ebox { position: relative; display: block; width: 104px; height: 104px; }
/* a glow under the e while the team works: ink, never orange */
.dl-halo { position: absolute; inset: -46%; border-radius: 50%; background: radial-gradient(closest-side, #15181d17, #15181d08 55%, transparent); opacity: 0; pointer-events: none; }
.dl-now { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px #15181d40;
  font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.dl-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--working); flex: none; }
html:not(.still) .dl-now::before { animation: breathe 1.6s ease-in-out infinite; }
.dl-now.on { opacity: 1; transform: none; }
.dl-now.done::before { background: var(--live); animation: none; }
.dl-e { width: 100%; height: 100%; overflow: visible; }
.dl-e .ping { stroke: var(--signal); stroke-width: 1.6; }
.dl-e .bowl, .dl-e .bar { fill: none; stroke: var(--ink); stroke-width: 12; }
.dl-e .dot { fill: var(--signal); transform-box: fill-box; transform-origin: center; }
.dl-e .ring { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.dl-e .ring.ping { stroke: var(--signal); stroke-width: 1.4; }
.dl-e .orbit { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 7; opacity: 0; transform-box: fill-box; transform-origin: center; }
.dl-label { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.dl-desks { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; }
.dl-desk {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 11px; row-gap: 2px;
  padding: 11px 13px 12px 11px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 6px 18px -12px #15181d33;
  overflow: hidden; transition: box-shadow .3s, transform .3s;
}
/* each desk's face: what it does, ringed while it works, ticked when it is done */
.dl-ic { grid-row: span 2; position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); transition: background .3s, color .3s; }
.dl-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dl-ic::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .3s; }
.dl-desk.working .dl-ic { background: var(--working-soft); color: var(--ink); }
.dl-desk.working .dl-ic::before { border-color: #c98a1259; border-top-color: var(--working); }
html:not(.still) .dl-desk.working .dl-ic::before { animation: spin 1.1s linear infinite; }
.dl-ic::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 50%; background: var(--live) no-repeat center / 9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 2px var(--card); transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.dl-desk.done .dl-ic { background: #1f9d5514; color: var(--live); }
.dl-desk.done .dl-ic::after { transform: scale(1); }
.dl-desk b { font: 600 13.5px/1.2 var(--mono); letter-spacing: -.01em; }
/* a job handed over from another desk says where it came from */
.dl-desk .from { position: absolute; top: 9px; right: 10px; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; color: #6a4bc6; background: #7c5cd614; opacity: 0; transform: translateY(-3px); transition: opacity .3s, transform .3s; }
.dl-desk.handed .from { opacity: 1; transform: none; }
.dl-desk .line { grid-column: 2; position: relative; height: 18px; font-size: 12.5px; color: var(--muted); }
.dl-desk .line > span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: opacity .25s ease, transform .25s ease; }
.dl-desk .doing, .dl-desk .done-t { opacity: 0; transform: translateY(5px); }
.dl-desk.working .idle-t, .dl-desk.done .idle-t { opacity: 0; transform: translateY(-5px); }
.dl-desk.working .doing { opacity: 1; transform: none; }
.dl-desk.done .done-t { opacity: 1; transform: none; color: var(--ink); }
.dl-desk.done .doing { opacity: 0; transform: translateY(-5px); }
.dl-desk.done .done-t { font-weight: 600; }
.dl-desk .meter { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.dl-desk .meter i { display: block; height: 100%; width: 0; background: var(--working); }
.dl-desk.done .meter i { background: var(--live); }
html:not(.still) .dl-desk.working .doing { background: linear-gradient(90deg, var(--muted) 0%, var(--muted) 35%, var(--ink) 50%, var(--muted) 65%, var(--muted) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.4s linear infinite; }
.dl-desk.bump { box-shadow: 0 0 0 1.5px var(--ink), 0 10px 24px -12px #15181d4d; transform: translateX(-2px); }
.dl-desk.working { box-shadow: 0 0 0 1px #c98a1240, 0 10px 24px -14px #c98a1266; }

/* the jobs a visitor can pick */
.dl-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.dl-try .lbl { margin-right: 4px; font-size: 13.5px; color: var(--muted); }
.dl-try button { height: 34px; padding: 0 15px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; transition: box-shadow .2s, background .2s, color .2s, transform .15s; }
.dl-try button:hover { box-shadow: 0 0 0 1px var(--ink); }
.dl-try button:active { transform: scale(.97); }
.dl-try button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

@media (max-width: 1179px) and (min-width: 700px) {
  .hero-stage { max-width: 860px; width: 100%; justify-self: center; }
}
@media (max-width: 699px) {
  .deleg { --mode: tall; grid-template-columns: minmax(0, 1fr); row-gap: 40px; min-height: 0; }
  .dl-phone { width: 100%; max-width: 320px; height: 300px; justify-self: center; border-radius: 34px; }
  .dl-screen { border-radius: 26px; }
  .dl-ebox { width: 84px; height: 84px; }
  .dl-agent { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
  .dl-desks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .dl-desk { padding: 10px 10px 11px 9px; column-gap: 8px; }
  .dl-ic { width: 28px; height: 28px; }
  .dl-ic svg { width: 15px; height: 15px; }
  .dl-desk b { font-size: 12.5px; }
  .dl-desk .line { font-size: 11.5px; }
  .dl-desk .from { display: none; }
  .dl-try { justify-content: flex-start; }
  .dl-try .lbl { width: 100%; }
}

/* ---- 2 · what it is ------------------------------------------------------------ */
.statement { max-width: 1080px; margin: 0 auto; padding: clamp(72px, 14vh, 168px) var(--gutter); text-align: center; }
.statement h2 { font-size: clamp(40px, 5.2vw, 76px); }
.statement .words { margin: 28px auto 0; max-width: 24em; font-size: clamp(26px, 3vw, 44px); line-height: 1.2; color: var(--ink); }
.words .w { display: inline-block; transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
html.js:not(.still) .words .w { opacity: .16; transform: translateY(.18em); }
html.js:not(.still) .words .w.on { opacity: 1; transform: none; }

/* ---- blocks --------------------------------------------------------------------- */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 11vh, 132px) var(--gutter); }
.block-head { max-width: 760px; }
.block h2 { font-size: clamp(40px, 4.8vw, 68px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); }
  .split.reverse { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .split.reverse .block-head { order: 2; }
}

/* reveal on the way in (nothing hides with reduced motion) */
html.js:not(.still) .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
html.js:not(.still) .reveal.in { opacity: 1; transform: none; }

/* off screen: every CSS loop inside waits */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* ---- 3 · the console (a living mock, invented content) ------------------------- */
.cx-wrap { margin-top: clamp(36px, 6vh, 64px); }
.cx {
  --cx-h: 640px;
  position: relative; height: var(--cx-h); display: grid; overflow: hidden;
  grid-template-columns: 58px 226px minmax(0, 1fr) 268px; grid-template-rows: minmax(0, 1fr);
  border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
  font: 13px/1.5 var(--sans); color: var(--ink); text-align: left; user-select: none; -webkit-user-select: none;
}
.cx svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cx-rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 0; background: #efefec; border-right: 1px solid var(--line); }
.cx-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--card); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; margin-bottom: 12px; }
.cx-mark svg { width: 20px; height: 20px; stroke: none; }
.cx-ri { position: relative; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--faint); }
.cx-ri.on { color: var(--ink); background: var(--sel); }
.cx-ri.on::before { content: ""; position: absolute; left: -10px; top: 9px; width: 3px; height: 20px; border-radius: 2px; background: var(--ink); }
.cx-gap { flex: 1; }
.cx-me { width: 30px; height: 30px; border-radius: 50%; background: var(--card-hi); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--muted); }
.cx-me svg { width: 15px; height: 15px; }

.cx-channels { display: flex; flex-direction: column; min-height: 0; background: var(--soft); border-right: 1px solid var(--line); }
.cx-colhead { height: 54px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); }
.cx-colhead > b { font-size: 14px; }
.cx-search { flex: 1; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--faint); font-size: 12px; }
.cx-search svg { width: 13px; height: 13px; }
.cx-list { padding: 10px 10px; display: flex; flex-direction: column; gap: 1px; }
.cx-cat { margin: 12px 0 3px; padding: 0 6px; font-size: 12px; font-weight: 600; color: var(--ink); }
.cx-chan { display: flex; align-items: center; gap: 8px; height: 29px; padding: 0 8px 0 6px; border-radius: 8px; color: var(--muted); font-size: 13px; transition: background .25s, color .25s; }
.cx-chan.sub { margin-left: 12px; }
.cx-chan.on { background: var(--sel); color: var(--ink); font-weight: 500; }
.cx-chan .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-chan.top { height: 34px; color: var(--ink); font-weight: 500; }
.cx-face { width: 22px; height: 22px; border-radius: 7px; background: var(--card); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.cx-face svg { width: 15px; height: 15px; stroke: none; }
.cx-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--mail-in); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.cx-badge.on { transform: scale(1); }
.cx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--idle); flex: none; transition: background .3s; }
.cx-dot.live { background: var(--live); box-shadow: 0 0 6px #1f9d5580; }
.cx-dot.working { background: var(--working); }
html:not(.still) .cx-dot.working { animation: breathe 1.6s ease-in-out infinite; }

.cx-chat { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--surface); }
.cx-head { height: 54px; flex: none; display: flex; align-items: center; gap: 9px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); }
.cx-head h3 { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-head .where { color: var(--muted); font-weight: 500; }
.cx-head .sep { color: var(--faint); font-weight: 400; margin: 0 6px; }
.cx-back { display: none; color: var(--muted); }
.cx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); font-size: 11px; white-space: nowrap; color: var(--live); transition: color .3s, background .3s; }
.cx-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cx-pill.working { color: var(--working); background: var(--working-soft); }
html:not(.still) .cx-pill.working::before { animation: breathe 1.6s ease-in-out infinite; }
.cx-hi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.cx-hi.on { color: var(--ink); }

.cx-scroll { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.cx-msgs { position: absolute; left: 0; right: 0; bottom: 0; list-style: none; margin: 0; padding: 10px 20px 6px; display: flex; flex-direction: column; gap: 4px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.cx [data-part] { transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.cx [data-part].hide { display: none; }
.cx [data-part].enter { opacity: 0; transform: translateY(10px); transition: none; }
.cx-divider { display: flex; align-items: center; gap: 12px; padding: 6px 0 4px; }
.cx-divider::before, .cx-divider::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.cx-divider span { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cx-msg { display: flex; gap: 12px; padding: 8px 0; }
.cx-msg.human { margin: 4px 0 4px 26px; padding: 9px 12px; border-radius: 14px; background: #eff0f0; }
.cx-msg.agent { margin-right: 22px; }
.cx-av { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: 12px; color: var(--muted); }
.cx-av svg { width: 21px; height: 21px; stroke: none; }
.cx-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cx-who { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; }
.cx-who b { font-weight: 600; }
.cx-who time { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.cx-text { font-size: 13.5px; line-height: 1.55; }
.cx-text strong { font-weight: 650; }
.cx-voice { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); align-self: flex-start; }
.cx-play { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.cx-play svg { width: 11px; height: 11px; fill: #fff; stroke: none; }
.cx-wave { display: flex; align-items: center; gap: 2px; height: 20px; }
.cx-wave i { width: 2.5px; border-radius: 2px; background: var(--ink); opacity: .75; transform-origin: center; }
html:not(.still) .cx-voice.playing .cx-wave i { animation: wave 0.9s ease-in-out infinite; }
.cx-voice .len { font: 11px var(--mono); color: var(--muted); }
.cx-transcript { font-size: 13px; color: var(--ink); }
.cx-transcript::before { content: "“"; color: var(--faint); }
.cx-transcript::after { content: "”"; color: var(--faint); }

.cx-chart { margin: 4px 0 2px; padding: 12px 14px 10px; max-width: 420px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.cx-chart-t { font-size: 13px; font-weight: 600; }
.cx-chart-s { font-size: 11px; color: var(--muted); margin-top: 1px; }
.cx-chart svg { width: 100%; height: auto; margin-top: 8px; stroke: none; overflow: visible; }
.cx-chart .bar { fill: var(--chart-1); }
.cx-chart .grid { stroke: var(--line); stroke-width: 1; }
.cx-chart .base { stroke: #c9ccd1; stroke-width: 1; }
.cx-chart text { font: 11px var(--sans); fill: var(--muted); }
.cx-chart text.v { fill: var(--ink); font-weight: 600; }
.cx-receipts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; font-size: 11.5px; color: var(--faint); }
.cx-receipts b { color: var(--live); font-weight: 700; margin-right: 4px; }
.cx-undo { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.cx-undo svg { width: 12px; height: 12px; }
.cx-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.cx-choice { padding: 5px 12px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 12.5px; line-height: 1.35; transition: box-shadow .2s, background .2s, opacity .3s, transform .15s; }
.cx-choice.hot { box-shadow: 0 0 0 1px var(--ink); background: var(--card-hi); }
.cx-choice.pressed { transform: scale(.96); }
.cx-choices.used .cx-choice { opacity: .45; }
.cx-hop { display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-size: 12px; color: var(--muted); border-radius: 9px; }
.cx-hop svg { width: 14px; height: 14px; color: var(--faint); transform: rotate(-45deg); }
.cx-hop b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.cx-hop span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cx-working { position: relative; flex: none; display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 22px; font-size: 11.5px; color: var(--muted); opacity: 0; transition: opacity .3s; }
.cx-working.on { opacity: 1; }
.cx-working .beam { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, #15181db3 50%, transparent 100%); background-size: 36% 100%; background-repeat: no-repeat; }
html:not(.still) .cx-working .beam { animation: beam 2.2s cubic-bezier(.4, 0, .6, 1) infinite; }
.cx-working .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--working); flex: none; }
html:not(.still) .cx-working .pulse { animation: breathe 1.6s ease-in-out infinite; }
.cx-working b { color: var(--ink); font-weight: 600; flex: none; }
.cx-working .what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.still) .cx-working .what { background: linear-gradient(90deg, var(--muted) 0%, var(--muted) 35%, var(--ink) 50%, var(--muted) 65%, var(--muted) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.6s linear infinite; }
.cx-working .for { margin-left: auto; font: 11px var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; }

.cx-composer { flex: none; padding: 6px 20px 16px; }
.cx-ask { display: grid; grid-template-rows: 0fr; margin-bottom: 0; transition: grid-template-rows .4s cubic-bezier(.2, .7, .2, 1), margin .4s; }
.cx-ask.on { grid-template-rows: 1fr; margin-bottom: 8px; }
.cx-ask > div { min-height: 0; overflow: hidden; }
.cx-ask-card { display: flex; flex-direction: column; gap: 8px; padding: 11px 12px; border-radius: 12px; background: var(--working-soft); box-shadow: inset 0 0 0 1px #c98a1273; transition: background .3s, box-shadow .3s; }
.cx-ask-card.ok { background: #1f9d5514; box-shadow: inset 0 0 0 1px var(--live); }
.cx-ask-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.cx-ask-top svg { width: 15px; height: 15px; color: var(--working); }
.cx-ask-card.ok .cx-ask-top svg { color: var(--live); }
.cx-ask-detail { padding: 6px 9px; border-radius: 8px; background: #fffc; box-shadow: 0 0 0 1px var(--line); font: 11px/1.5 var(--mono); color: var(--muted); }
.cx-ask-row { display: flex; align-items: center; gap: 8px; }
.cx-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 13px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform .15s, box-shadow .2s, background .2s, color .2s; }
.cx-btn.allow { color: var(--live); box-shadow: 0 0 0 1px #1f9d5566; }
.cx-btn.allow.hot { box-shadow: 0 0 0 1.5px var(--live); }
.cx-btn.allow.pressed { transform: scale(.95); background: var(--live); color: #fff; }
.cx-btn.deny { color: var(--muted); }
.cx-ask-done { display: none; font-size: 12px; font-weight: 600; color: var(--live); }
.cx-ask-card.ok .cx-ask-row .cx-btn { display: none; }
.cx-ask-card.ok .cx-ask-done { display: inline-flex; align-items: center; gap: 6px; }
.cx-input { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 10px 30px #15181d14; }
.cx-round { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex: none; }
.cx-input .ph { flex: 1; padding: 0 4px; color: var(--faint); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-sendb { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; flex: none; }
.cx-sendb svg { width: 14px; height: 14px; }

.cx-panel { display: flex; flex-direction: column; min-height: 0; background: var(--card); border-left: 1px solid var(--line); }
.cx-panel .cx-colhead b { display: block; font-size: 13.5px; line-height: 1.2; }
.cx-panel .cx-colhead small { display: block; font-size: 11.5px; color: var(--muted); }
.cx-pbody { padding: 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.cx-ph { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.cx-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cx-steps li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s, color .3s; }
.cx-steps li.on { opacity: 1; transform: none; }
.cx-steps li.done { color: var(--ink); }
.cx-steps .ic { width: 16px; height: 16px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.cx-steps li .ic { border: 1.5px solid #c98a1259; border-top-color: var(--working); }
html:not(.still) .cx-steps li:not(.done) .ic { animation: spin 1s linear infinite; }
.cx-steps li.done .ic { border: 0; background: var(--live); }
.cx-steps li.done .ic::after { content: ""; width: 7px; height: 4px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: translateY(-1px) rotate(-45deg); }
/* a window the desk shows live: here, the spreadsheet it is filling in */
.cx-live { margin-top: 10px; }
.cx-live-shot { border-radius: 11px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.xl-bar { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; background: #1f7a45; color: #fff; font-size: 9.5px; font-weight: 600; }
.xl-bar i { width: 6px; height: 6px; border-radius: 50%; background: #ffffff5c; }
.xl-bar span { margin-left: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-grid { display: grid; grid-template-columns: 38px minmax(0, 1fr) 52px; font: 9.5px/1 var(--mono); }
.xl-grid > span { height: 18px; padding: 0 6px; display: flex; align-items: center; border-right: 1px solid #e6e8eb; border-bottom: 1px solid #e6e8eb; color: #3a3f47; white-space: nowrap; overflow: hidden; transition: background .6s; }
.xl-grid > span:nth-child(3n) { border-right: 0; }
.xl-grid .h { background: #f3f5f7; font: 600 9px/1 var(--sans); color: var(--muted); }
.xl-grid .n { justify-content: flex-end; font-variant-numeric: tabular-nums; }
.xl-grid .new { background: #1f9d551c; }
.xl-grid .bar-cell::before { content: ""; width: 72%; height: 5px; border-radius: 3px; background: #e1e4e8; }
.cx-live-cap { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 11.5px; color: var(--muted); min-width: 0; }
.cx-live-cap span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-live-tag { flex: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink); }
.cx-live-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.cx-live.on .cx-live-tag::before { background: #e5484d; }
html:not(.still) .cx-live.on .cx-live-tag::before { animation: blink 1.6s ease-in-out infinite; }
.cx-tabbar { display: none; }
.cx-cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 22px; height: 22px; pointer-events: none; opacity: 0; will-change: transform; }
.cx-cursor svg { width: 22px; height: 22px; fill: #fff; stroke: var(--ink); stroke-width: 1.4; filter: drop-shadow(0 2px 3px #15181d40); }
.cx-cursor .tap { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; }
.cx.fade > :not(.cx-cursor) { transition: opacity .5s; }

.cx-legend { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.cx-legend li { position: relative; padding: 4px 0 8px; font-size: 14px; color: var(--muted); transition: color .3s; }
.cx-legend li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.cx-legend li.on { color: var(--ink); }
.cx-legend li.on::after { transform: scaleX(1); }
html.still .cx-legend li { color: var(--ink); }

@media (max-width: 1099px) {
  .cx { grid-template-columns: 58px 210px minmax(0, 1fr); }
  .cx-panel { display: none; }
}
/* below this, the console is what a phone shows: one conversation, a bar of places at the bottom */
@media (max-width: 819px) {
  .cx { --cx-h: 620px; max-width: 390px; margin: 0 auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 56px; border-radius: 30px; box-shadow: 0 0 0 1.5px var(--ink), var(--shadow-lg); }
  .cx-rail, .cx-channels { display: none; }
  .cx-head { padding: 0 8px 0 10px; gap: 6px; }
  .cx-head .where, .cx-head .sep, .cx-hi.wide { display: none; }
  .cx-back { display: grid; place-items: center; width: 30px; height: 30px; }
  .cx-msgs { padding: 8px 12px 6px; }
  .cx-msg.agent { margin-right: 0; }
  .cx-msg.human { margin-left: 18px; }
  .cx-composer { padding: 6px 10px 10px; }
  .cx-working { padding: 0 14px; }
  .cx-tabbar { display: flex; align-items: center; justify-content: space-around; border-top: 1px solid var(--line); background: #efefec; color: var(--faint); }
  .cx-tabbar .on { color: var(--ink); }
  .cx-legend { justify-content: flex-start; gap: 6px 18px; }
  .cx-legend li { font-size: 13px; }
}

/* ---- 4 · the canvas -------------------------------------------------------------- */
.cv { position: relative; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); overflow: hidden; user-select: none; -webkit-user-select: none; }
.cv svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cv-bar { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); background: var(--surface); }
.cv-bar .f { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: 12px; }
.cv-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--live); }
.cv-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
html:not(.still) .cv.writing .cv-live i { animation: breathe 1.4s ease-in-out infinite; }
.cv-page { position: relative; min-height: 430px; padding: clamp(24px, 4vw, 44px) clamp(22px, 4.5vw, 52px) 36px; }
.cv-title { font: 400 clamp(30px, 3.2vw, 42px)/1.05 var(--serif); letter-spacing: -.01em; }
.cv-sub { margin-top: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cv-rule { height: 1px; margin: 20px 0 18px; background: var(--line); transform-origin: left; }
.cv-p { position: relative; font-size: 15px; line-height: 1.65; color: var(--ink); margin-bottom: 14px; min-height: 1.65em; }
.cv-p .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--ink); }
.cv-p2 { position: relative; }
.cv-sel { position: absolute; inset: -3px -6px; border-radius: 5px; background: #2a78d624; box-shadow: inset 0 0 0 1px #2a78d64d; pointer-events: none; opacity: 0; }
.cv-old.out { color: var(--faint); text-decoration: line-through; text-decoration-color: #9197a099; }
.cv-total { display: inline-block; margin-left: 4px; font-weight: 650; box-shadow: inset 0 -0.42em 0 #15181d14; }
.cv-rows { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.cv-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.cv-rows li.on { opacity: 1; transform: none; }
.cv-rows li span:last-child { width: 38%; height: 8px; margin-top: 7px; border-radius: 4px; background: var(--hair); }
.cv-ask { position: absolute; z-index: 3; left: clamp(22px, 4.5vw, 52px); right: clamp(22px, 4.5vw, 52px); display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px #15181d59; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.cv-ask.on { opacity: 1; transform: none; }
.cv-ask .q { flex: 1; min-width: 0; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-ask .q.ph { color: var(--faint); }
.cv-ask .go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; flex: none; transition: transform .15s; }
.cv-ask .go.pressed { transform: scale(.9); }
.cv-ask .go svg { width: 13px; height: 13px; }
.cv-ask .quote { display: none; }
.cv-cursor { position: absolute; z-index: 4; left: 0; top: 0; width: 20px; height: 20px; pointer-events: none; opacity: 0; }
.cv-cursor svg { width: 20px; height: 20px; fill: #fff; stroke: var(--ink); stroke-width: 1.4; filter: drop-shadow(0 2px 3px #15181d40); }

/* ---- 5 · the world ------------------------------------------------------------------ */
/* the stage runs edge to edge: the lawn fades into the page above and below */
.world-stage {
  position: relative; width: var(--vw, 100vw); height: clamp(460px, 64vh, 740px); margin: clamp(32px, 5vh, 56px) 0 0 calc(50% - var(--vw, 100vw) / 2);
  overflow: hidden; background: #d5e0c8;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.world-stage .world-canvas { display: block; touch-action: pan-y; }
.world-labels { position: absolute; inset: 0; pointer-events: none; }
/* the caption: who is doing what, under the picture */
.ws-cap { position: absolute; z-index: 5; left: max(16px, calc(50% - 600px + var(--gutter))); bottom: 44px; display: flex; gap: 11px; align-items: flex-start; max-width: min(440px, calc(100% - 32px)); padding: 11px 16px 11px 11px; border-radius: 16px;
  background: #ffffffe8; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px #15181d14, 0 18px 40px -16px #15181d59; font: 14px/1.4 var(--sans); color: var(--ink); pointer-events: none; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.ws-cap.on { opacity: 1; transform: none; }
html:not(.still) .ws-cap.on { animation: rise .45s cubic-bezier(.2, .7, .2, 1); }
.ws-cap .av { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.ws-cap .av svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-cap .av.e { background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.ws-cap .av.e svg { width: 22px; height: 22px; stroke: none; }
.ws-cap .av.you { background: var(--ink); color: #fff; }
.ws-cap b { display: block; font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ws-cap p { margin-top: 2px; }
.w2d > div { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; font: 600 10px/1.25 var(--mono); }
.w2-plate { padding: 1px 5px; border-radius: 3px; color: #f4f6fb; background: rgba(18, 20, 28, .8); }
.w2-plate::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 1px; vertical-align: 1px; background: #7d8592; }
.w2-plate[data-state="working"]::before { background: #4ccf6e; }
.w2-plate[data-state="waiting"]::before { background: #f0a83a; }
.w2-plate[data-state="present"]::before { background: #5aa2f0; }
.w2-plate[data-state="idle"] { opacity: .75; }
.w2-plate.center { color: #ffe2a8; }
.w2-plate.hover, .w2-plate.focus { opacity: 1; outline: 1px solid rgba(255, 255, 255, .75); }
.w2-bubble { padding: 2px 6px; border-radius: 4px; color: #1d1a24; background: #fbfbf6; border: 1px solid #221c24; max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.w2-bubble::after { content: ""; position: absolute; left: calc(50% - 3px); bottom: -4px; width: 6px; height: 6px; background: inherit; border: inherit; border-top: 0; border-left: 0; transform: rotate(45deg); }
.w2-bubble[data-state="waiting"] { background: #fff2d8; }
.w2-room { pointer-events: auto; cursor: pointer; padding: 1px 6px; border-radius: 2px; color: #3b3029; background: #f3ead6; border: 1px solid #3b3029; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; }
.w2-room:hover { filter: brightness(1.08); }
.skin-orcs .w2-plate { color: #f2d48a; background: rgba(40, 22, 12, .85); border: 1px solid #6a4426; }
.skin-orcs .w2-plate.center { color: #ffcf5a; }
.skin-orcs .w2-bubble { background: #f1e2b8; border-color: #4a2e16; color: #2b1a0c; }
.skin-orcs .w2-bubble[data-state="waiting"] { background: #f6d9a6; }
.skin-orcs .w2-room { color: #f2d48a; background: #5a3a1e; border-color: #2b1a0c; }
.hint { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 639px) {
  .world-stage { height: clamp(420px, 72vh, 620px); }
  .ws-cap { left: 12px; right: 12px; bottom: 36px; max-width: none; font-size: 13px; }
}
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---- 5b · your people, and your other evernous ------------------------------------------- */
.pp-row { margin-top: clamp(56px, 9vh, 104px); display: flex; flex-direction: column; gap: clamp(28px, 4vh, 40px); }
.pp-text { max-width: 680px; }
.pp-text h3 { font: 400 clamp(30px, 3.2vw, 44px)/1.06 var(--serif); letter-spacing: -.01em; }
.pp-text p { margin-top: 14px; max-width: 34em; font-size: clamp(16px, 1.2vw, 18px); color: var(--muted); }
/* the steps under a scene: the one on screen is lit, those behind it ticked */
.pp-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.pp-steps li { counter-increment: st; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--faint); transition: color .3s; }
.pp-steps li::before { content: counter(st); width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 11.5px/1 var(--sans); color: var(--faint); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.pp-steps li.on { color: var(--ink); }
.pp-steps li.on::before { background: var(--ink); color: #fff; box-shadow: none; }
.pp-steps li.done { color: var(--muted); }
.pp-steps li.done::before { content: "✓"; color: var(--live); box-shadow: inset 0 0 0 1.5px #1f9d5559; }
html.still .pp-steps li { color: var(--ink); }
.pp-foot { margin-top: -18px; text-align: center; }

/* shared pieces of both scenes */
.pi, .lk { position: relative; font: 12.5px/1.45 var(--sans); color: var(--ink); text-align: left; user-select: none; -webkit-user-select: none; }
.pi svg:not(.pp-fly), .lk svg:not(.pp-fly) { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pi .av, .lk .av { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--card-hi); box-shadow: 0 0 0 1px var(--line); font-size: 11px; font-weight: 650; color: var(--muted); }
.pi .av.e, .lk .av.e { background: var(--card); }
.pi .av.e svg, .lk .av.e svg { width: 70%; height: 70%; stroke: none; }
.pi .av.g { background: #7c5cd61a; box-shadow: 0 0 0 1px #7c5cd64d; color: #6a4bc6; }
.pp-file { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-file i { width: 12px; height: 15px; flex: none; border-radius: 2px; background: #d14343; }
.pp-btn { display: inline-flex; align-items: center; justify-content: center; height: 30px; margin-top: 6px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; transition: transform .15s; }
.pp-btn.pressed { transform: scale(.94); }
.pp-cursor { position: absolute; left: 0; top: 0; z-index: 9; width: 20px; height: 20px; pointer-events: none; opacity: 0; will-change: transform; }
.pp-cursor svg { width: 20px !important; height: 20px !important; fill: #fff !important; stroke: var(--ink); stroke-width: 1.4; filter: drop-shadow(0 2px 3px #15181d40); }
.pp-cursor .tap, .cx-cursor .tap { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; }
.pp-touch { position: absolute; left: -15px; top: -15px; z-index: 9; width: 30px; height: 30px; border-radius: 50%; background: #15181d1a; box-shadow: 0 0 0 2px #15181d59; opacity: 0; pointer-events: none; }
.pp-fly { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pp-fly .trail { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 6; stroke-linecap: round; opacity: 0; }
.pp-fly [data-m] { opacity: 0; }
.pp-g > rect, .pp-g > path:not(.ln) { fill: #fff; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 4px 6px #15181d33); }
.pp-g .ln { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; }
.pp-g .sig { fill: var(--signal); }
.pp-g.knock circle { fill: var(--live); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 6px #1f9d5599); }
[data-k].on { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }

/* ---- invite: your console, and the phone of the person you let in */
.pi { --mode: wide; display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pi-con { position: relative; height: 470px; display: grid; grid-template-columns: 176px minmax(0, 1fr); overflow: hidden; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.pi-side { display: flex; flex-direction: column; gap: 1px; padding: 14px 10px; background: var(--soft); border-right: 1px solid var(--line); }
.pi-brand { display: flex; align-items: center; gap: 8px; padding: 0 6px 8px; font-size: 13.5px; }
.pi-brand .av { width: 24px; height: 24px; border-radius: 7px; }
.pi-cat { margin: 12px 0 3px; padding: 0 6px; font-size: 12px; font-weight: 600; }
.pi-ch { display: flex; align-items: center; gap: 8px; height: 29px; padding: 0 6px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.pi-ch.on { background: var(--sel); color: var(--ink); font-weight: 500; }
.pi-ch .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-ch .d { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--idle); }
.pi-ch .d.live { background: var(--live); box-shadow: 0 0 6px #1f9d5580; }
.pi .av.sm { width: 20px; height: 20px; border-radius: 50%; font-size: 9.5px; }
.pi-ch .g, .pi-members .g { transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.pi-ch .g.on, .pi-members .g.on { transform: scale(1); }
.pi-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pi-head { height: 54px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); background: var(--card); }
.pi-head h4 { min-width: 0; font-size: 13.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-head .where { color: var(--muted); font-weight: 500; }
.pi-head .sep { margin: 0 6px; color: var(--faint); font-weight: 400; }
.pi-members { display: flex; padding-left: 6px; }
.pi-members .av { width: 26px; height: 26px; margin-left: -7px; border-radius: 50%; font-size: 10.5px; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); }
.pi-members .av.g { box-shadow: 0 0 0 2px var(--card), 0 0 0 3px #7c5cd666; }
.pi-inv { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 13px 0 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: transform .15s; }
.pi-inv.pressed { transform: scale(.94); }
.pi-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 16px 20px 8px; overflow: hidden; }
.pi-msg { display: flex; gap: 11px; }
.pi-msg[data-k]:not(.on) { display: none; }
.pi-msg .av { width: 32px; height: 32px; border-radius: 10px; }
.pi-msg.human { margin-left: 26px; padding: 9px 12px; border-radius: 14px; background: #eff0f0; }
.pi-msg.human .av { width: 26px; height: 26px; border-radius: 8px; }
.pi-msg b { display: block; font-size: 12.5px; font-weight: 600; }
.pi-msg time { margin-left: 4px; font-size: 11px; font-weight: 400; color: var(--faint); }
.pi-msg p { font-size: 13.5px; }
.pi-msg .tag { margin-left: 4px; padding: 1px 6px; border-radius: 5px; font: 600 9.5px/1.4 var(--sans); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #6a4bc6; box-shadow: 0 0 0 1px #7c5cd64d; vertical-align: 1px; }
.pi-working { flex: none; display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 20px; font-size: 11.5px; color: var(--muted); opacity: 0; transition: opacity .3s; }
.pi-working.on { opacity: 1; }
.pi-working .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--working); }
html:not(.still) .pi-working .pulse { animation: breathe 1.6s ease-in-out infinite; }
.pi-working b { color: var(--ink); font-weight: 600; }
.pi-input { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 42px; margin: 2px 16px 16px; padding: 0 6px 0 16px; border-radius: 21px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 10px 30px #15181d14; color: var(--faint); font-size: 13px; }
.pi-input i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.pi-pop { position: absolute; z-index: 3; top: 60px; right: 12px; width: 230px; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -16px #15181d66; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .25s, transform .25s; pointer-events: none; }
.pi-pop.on { opacity: 1; transform: none; }
.pi-pop b { font-size: 13.5px; }
.pi-pop .lbl { margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pi-pop .field { height: 32px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; box-shadow: 0 0 0 1.5px var(--ink); font-size: 13px; }
.pi-pop .field .v::after { content: ""; display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--ink); }
.pi-chans { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pi-chans li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pi-chans li svg { width: 12px; height: 12px; margin-left: auto; color: var(--faint); }
.pi-chans .box { width: 15px; height: 15px; flex: none; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #c9ccd1; display: grid; place-items: center; transition: background .2s; }
.pi-chans li.on { color: var(--ink); font-weight: 500; }
.pi-chans li.on .box { background: var(--ink); box-shadow: none; }
.pi-chans li.on .box::after { content: ""; width: 7px; height: 4px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: translateY(-1px) rotate(-45deg); }

.pi-phone { position: relative; z-index: 2; width: 232px; height: 456px; padding: 9px; border-radius: 40px; background: var(--card); box-shadow: 0 0 0 1.5px var(--ink), 0 30px 60px -28px #15181d55; }
.pi-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: var(--surface); }
.pi-screen .island { position: absolute; top: 8px; left: 50%; width: 64px; height: 19px; margin-left: -32px; border-radius: 10px; background: var(--ink); z-index: 6; }
.pi-status { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; height: 31px; padding: 9px 18px 0 24px; font: 600 11.5px/1 var(--sans); }
.pi-status .bars, .dl-status .bars { display: flex; gap: 2px; align-items: flex-end; }
.pi-status .bars i { width: 3px; background: var(--ink); border-radius: 1px; }
.pi-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 84px; background: linear-gradient(180deg, #e9ebee 0%, #f6f6f4 70%); transition: opacity .5s; }
.pi-lock.off { opacity: 0; }
.pi-lock .clock { font: 400 60px/1 var(--serif); letter-spacing: -.01em; }
.pi-lock .date { margin-top: 8px; font-size: 12px; color: var(--muted); }
.pi-note { position: absolute; z-index: 4; top: 196px; left: 9px; right: 9px; display: flex; gap: 9px; padding: 11px; border-radius: 18px; background: #fffffff2; box-shadow: 0 10px 28px -8px #15181d47, 0 0 0 1px #15181d10; font-size: 11.5px; line-height: 1.35; opacity: 0; transform: translateY(-12px) scale(.96); transition: opacity .35s, transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.pi-note.on { opacity: 1; transform: none; }
.pi-note .nt { display: flex; justify-content: space-between; gap: 6px; }
.pi-note .nt span { color: var(--muted); }
.pi-note p { margin-top: 2px; }
.pi-join { display: inline-flex; align-items: center; height: 26px; margin-top: 8px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; transition: transform .15s; }
.pi-join.pressed { transform: scale(.92); }
.pi-app { position: absolute; z-index: 3; top: 31px; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: var(--surface); opacity: 0; transition: opacity .45s; }
.pi-app.on { opacity: 1; }
.pi-ahead { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pi-ahead .av { width: 26px; height: 26px; border-radius: 8px; }
.pi-ahead .only { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; white-space: nowrap; color: #6a4bc6; background: #7c5cd614; transition: box-shadow .3s; }
.pi-ahead .only svg { width: 10px; height: 10px; }
.pi-ahead .only.hot { box-shadow: 0 0 0 1.5px #7c5cd6; }
html:not(.still) .pi-ahead .only.hot { animation: halo 1.5s ease-out infinite; }
.pi-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 10px; overflow: hidden; }
.pi-b { max-width: 88%; padding: 7px 10px; border-radius: 15px; font-size: 11.5px; line-height: 1.4; }
.pi-b:not(.on) { display: none; }
.pi-b.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.pi-b.them { align-self: flex-start; background: var(--card); box-shadow: 0 0 0 1px var(--line); border-bottom-left-radius: 5px; }
.pi-b .pp-file { display: flex; margin-top: 6px; background: var(--soft); box-shadow: none; }
.pi-pin { flex: none; display: flex; align-items: center; gap: 6px; min-height: 34px; margin: 0 9px 11px; padding: 0 5px 0 12px; border-radius: 17px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 11.5px; }
.pi-pin .typed { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.pi-pin .typed.ph { color: var(--faint); }
.pi-pin .send { width: 25px; height: 25px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.pi-pin .send svg { width: 12px; height: 12px; }

/* ---- linked: two evernous, and the link between them */
.lk { --mode: wide; display: grid; grid-template-columns: minmax(0, 1fr) clamp(110px, 14vw, 176px) minmax(0, 1fr); height: 480px; }
.lk-win { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.lk-wh { height: 52px; flex: none; display: flex; align-items: center; gap: 9px; padding: 0 16px 0 14px; border-bottom: 1px solid var(--line); background: var(--card); font-size: 13.5px; }
.lk-place { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--soft); }
.lk-place svg { width: 16px !important; height: 16px !important; }
.lk-wh .pl { margin-left: auto; font-size: 10.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lk-bell { position: relative; display: grid; place-items: center; width: 26px; height: 26px; color: var(--muted); }
.lk-bell svg { width: 16px !important; height: 16px !important; }
.lk-bell i { position: absolute; top: -1px; right: -3px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: var(--mail-in); color: #fff; font: 600 9.5px/15px var(--sans); font-style: normal; text-align: center; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.lk-bell.on { color: var(--ink); }
.lk-bell.on i { transform: scale(1); }
.lk-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 16px; overflow: hidden; }
.lk-body.top { justify-content: flex-start; }
.lk-empty { margin: auto 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--faint); transition: opacity .3s; }
.lk-empty svg { width: 15px !important; height: 15px !important; }
.lk-empty.gone { display: none; }
.lk-body [data-k]:not(.on) { display: none; }
.lk-b.me { align-self: flex-end; max-width: 82%; padding: 8px 12px; border-radius: 15px; border-bottom-right-radius: 5px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; }
.lk-msg { display: flex; gap: 11px; }
.lk-msg > div { min-width: 0; flex: 1; }
.lk-msg .av { width: 32px; height: 32px; border-radius: 10px; }
.lk-msg p { font-size: 13.5px; }
.lk-msg .from { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; color: #6a4bc6; }
.lk-msg .from svg { width: 12px; height: 12px; }
.lk-card { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding: 12px 13px; border-radius: 13px; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.lk-card .hd { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lk-card .hd b { color: var(--ink); font-weight: 600; }
.lk-card .hd svg { width: 13px; height: 13px; color: #6a4bc6; transform: rotate(-45deg); }
.lk-card .what { font-size: 14px; font-weight: 600; }
.lk-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; transition: color .3s, background .3s; }
.lk-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lk-pill .s { display: none; }
.lk-card.out[data-st="asked"] .lk-pill { color: var(--working); background: var(--working-soft); }
.lk-card.out[data-st="asked"] .s.asked, .lk-card.out[data-st="accepted"] .s.accepted, .lk-card.out[data-st="done"] .s.done { display: inline; }
html:not(.still) .lk-card.out:not([data-st="done"]) .lk-pill i { animation: blink 1.6s ease-in-out infinite; }
.lk-card.out[data-st="accepted"] .lk-pill { color: var(--chart-1); background: #2a78d614; }
.lk-card.out[data-st="done"] .lk-pill { color: var(--live); background: #1f9d5514; }
.lk-card.in { background: #7c5cd60d; box-shadow: inset 0 0 0 1px #7c5cd659; }
.lk-card.in.yes { background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.lk-card .note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lk-card .note svg { width: 12px; height: 12px; }
.lk-card .row { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.lk-give { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 8px 0 10px; border-radius: 9px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.lk-give b { color: var(--ink); font-weight: 600; }
.lk-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: transform .15s; }
.lk-btn.ok { background: var(--ink); color: #fff; }
.lk-btn.ghost { background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--muted); }
.lk-btn.pressed { transform: scale(.94); }
.lk-card .row.yes { display: none; color: var(--live); font-size: 12.5px; font-weight: 600; }
.lk-card .row.yes svg { width: 14px; height: 14px; }
.lk-card.yes .row.ask, .lk-card.yes .note { display: none; }
.lk-card.yes .row.yes { display: flex; }
.lk-work { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lk-work li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.lk-work li:not(.on) { display: none; }
.lk-work li.on { animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; }
.lk-work li.done { color: var(--ink); }
.lk-work .ic { width: 16px; height: 16px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #c98a1259; border-top-color: var(--working); }
html:not(.still) .lk-work li:not(.done) .ic { animation: spin 1s linear infinite; }
.lk-work li.done .ic { border: 0; background: var(--live); }
.lk-work li.done .ic::after { content: ""; width: 7px; height: 4px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.lk-draft { display: none; margin-top: 10px; padding: 11px 12px; border-radius: 11px; background: var(--soft); box-shadow: 0 0 0 1px var(--line); }
.lk-draft.on { display: block; animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.lk-draft .lbl { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lk-draft p { margin-top: 4px; font-size: 13px; }
.lk-draft .row { margin-top: 8px; }
.lk-draft .sent { display: none; align-items: center; gap: 5px; color: var(--live); font-weight: 600; }
.lk-draft .sent svg { width: 14px; height: 14px; }
.lk-draft.sent .lk-btn { display: none; }
.lk-draft.sent .sent { display: inline-flex; }
.lk-input { flex: none; display: flex; align-items: center; gap: 8px; height: 42px; margin: 0 16px 16px; padding: 0 6px 0 16px; border-radius: 21px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 10px 30px #15181d14; font-size: 13px; }
.lk-input .typed { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.lk-input .typed.ph { color: var(--faint); }
.lk-input .send { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.lk-mid { position: relative; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.lk-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; color: var(--muted); transform: translateY(32px); transition: color .3s, box-shadow .3s; }
.lk-chip.busy { color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.lk-chip svg { width: 13px !important; height: 13px !important; }
.lk-svg .trail { display: none; }
.lk-line { fill: none; stroke: #c9ccd1; stroke-width: 1.6; stroke-dasharray: 4 6; stroke-linecap: round; transition: stroke .3s; }
.lk-line.busy { stroke: var(--ink); }
.lk-port { fill: var(--card); stroke: #c9ccd1; stroke-width: 1.6; }

@media (max-width: 979px) {
  .pi-con { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 819px) {
  .pi-con { grid-template-columns: minmax(0, 1fr); }
  .pi-side { display: none; }
}
@media (max-width: 639px) {
  .pi { --mode: tall; grid-template-columns: minmax(0, 1fr); gap: 52px; justify-items: center; }
  .pi-con { width: 100%; height: 350px; }
  .pi-phone { width: 220px; height: 410px; }
  .pi-lock { padding-top: 70px; }
  .pi-note { top: 168px; }
  .pi-head { padding: 0 10px 0 14px; }
  .pi-head .where, .pi-head .sep { display: none; }
  .pi-msgs { padding: 14px 14px 6px; }
  .pi-input { margin: 2px 12px 12px; }
  .pi-pop { right: 8px; }
}
@media (max-width: 719px) {
  .lk { --mode: tall; grid-template-columns: minmax(0, 1fr); grid-template-rows: 380px 84px 440px; height: auto; }
  .lk-chip { transform: translateX(64px); }
  .lk-body { padding: 14px 12px; }
  .lk-input { margin: 0 12px 12px; }
  .lk-card .row.ask { flex-wrap: wrap; }
  .pp-steps { justify-content: flex-start; flex-direction: column; gap: 10px; }
  .pp-foot { margin-top: -8px; text-align: left; }
}

/* ---- 6 · the car ----------------------------------------------------------------------- */
.car { position: relative; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; background: #eef1f4; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); user-select: none; -webkit-user-select: none; }
.car-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.car-scene .sky { fill: #eef1f4; }
.car-scene .ground { fill: #e3e6e2; }
.car-scene .road { fill: #d4d7dc; }
.car-scene .edge { fill: none; stroke: #fafaf9; stroke-width: 3; }
.car-scene .lane { fill: none; stroke: #fafaf9; stroke-width: 5; stroke-dasharray: 26 34; }
.car-scene .hill { fill: #dfe3e8; }
.car-scene .tree { fill: #cfd8cd; }
.car-scene .dash { fill: var(--ink); }
.car-scene .frame { fill: none; stroke: var(--ink); stroke-width: 2; }
.car-scene .wheel { fill: none; stroke: #2a2e35; stroke-width: 16; stroke-linecap: round; }
.car-scene .wheel-in { fill: none; stroke: #2a2e35; stroke-width: 7; stroke-linecap: round; }
.car-screen {
  position: absolute; left: 41%; right: 7%; bottom: 7%; top: 47%; z-index: 2;
  display: flex; flex-direction: column; gap: 6px; padding: clamp(10px, 1.6vw, 16px) clamp(12px, 1.8vw, 18px);
  border-radius: 14px; background: #1b1e24; color: #edeff2; box-shadow: 0 0 0 2px #0d0f12, 0 18px 40px -16px #0007;
  font-size: clamp(10.5px, 1.05vw, 13px); line-height: 1.4; overflow: hidden;
}
.car-top { display: flex; justify-content: space-between; gap: 8px; color: #8a9099; font-size: .88em; }
.car-top b { color: #edeff2; font-variant-numeric: tabular-nums; font-weight: 650; }
.car-assist { display: flex; align-items: center; gap: 8px; }
.car-mic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #2a2f37; flex: none; }
.car-mic svg { width: 12px; height: 12px; fill: none; stroke: #edeff2; stroke-width: 2; stroke-linecap: round; }
.car-assist .lbl { font-weight: 600; color: #b9bec6; }
.car-wave { display: flex; align-items: center; gap: 2px; height: 16px; margin-left: auto; }
.car-wave i { width: 2.5px; height: 4px; border-radius: 2px; background: #edeff2; opacity: .35; transition: height .12s, opacity .2s; }
.car-voice { color: #edeff2; min-height: 2.8em; }
.car-passed { display: flex; align-items: center; gap: 7px; color: #b9bec6; opacity: 0; transition: opacity .35s; }
.car-passed.on { opacity: 1; }
.car-passed .e { width: 16px; height: 16px; border-radius: 5px; background: #f4f5f7; display: grid; place-items: center; flex: none; }
.car-passed .e svg { width: 12px; height: 12px; }
.car-desks { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.car-desks li { display: flex; align-items: center; gap: 7px; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.car-desks li.on { opacity: 1; transform: none; }
.car-desks b { font: 600 .95em var(--mono); color: #edeff2; flex: none; }
.car-desks span { color: #8a9099; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-desks li.done span { color: #edeff2; }
.car-desks .ic { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 1.5px solid #e0a43a55; border-top-color: #e0a43a; }
html:not(.still) .car-desks li:not(.done) .ic { animation: spin 1s linear infinite; }
.car-desks li.done .ic { border: 0; background: #3ccb7f; }
.car-top .pk { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-top: -.2em; border-radius: 5px; background: #2a78d6; color: #fff; font-weight: 700; }

/* ---- 7 · and also ------------------------------------------------------------------ */
.ft-grid { list-style: none; margin: clamp(36px, 6vh, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px); }
.ft-grid li { display: flex; flex-direction: column; gap: 10px; }
.ft-ic { width: 40px; height: 40px; }
.ft-ic svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ft-ic .sig { fill: var(--signal); stroke: none; }
.ft-ic .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js:not(.still) .ft-grid li:not(.in) .draw { stroke-dashoffset: 1; }
html.js:not(.still) .ft-grid li.in .draw { transition: stroke-dashoffset 1.1s cubic-bezier(.3, .6, .3, 1) .15s; }
html.js:not(.still) .ft-grid li { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js:not(.still) .ft-grid li.in { opacity: 1; transform: none; }
html.js:not(.still) .ft-grid li:nth-child(4n+2) { transition-delay: .08s; }
html.js:not(.still) .ft-grid li:nth-child(4n+3) { transition-delay: .16s; }
html.js:not(.still) .ft-grid li:nth-child(4n+4) { transition-delay: .24s; }
.ft-where { margin-top: clamp(28px, 4vh, 40px); max-width: 52em; }
.ft-grid h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -.005em; }
.ft-grid p { font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1023px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .ft-grid { grid-template-columns: minmax(0, 1fr); } .ft-grid li { flex-direction: row; gap: 16px; } .ft-ic { flex: none; } }

/* ---- 8 · closing ---------------------------------------------------------------------- */
.closing { max-width: 1000px; margin: 0 auto; padding: clamp(72px, 14vh, 160px) var(--gutter) clamp(64px, 10vh, 120px); text-align: center; }
.closing h2 { font-size: clamp(42px, 5.6vw, 84px); }
/* the mark draws itself: the bar, the bowl, and the dot lands with a ping */
.mark-lg { width: 64px; height: 64px; margin: 0 auto 28px; overflow: visible; }
.mark-lg .bowl, .mark-lg .bar { fill: none; stroke: var(--ink); stroke-width: 12; stroke-dasharray: 1; }
.mark-lg .dot { fill: var(--signal); transform-box: fill-box; transform-origin: center; }
.mark-lg .ring { fill: none; stroke: var(--signal); stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; }
html.js:not(.still) .mark-lg:not(.in) .bowl, html.js:not(.still) .mark-lg:not(.in) .bar { stroke-dashoffset: 1; }
html.js:not(.still) .mark-lg:not(.in) .dot { transform: scale(0); }
html.js:not(.still) .mark-lg.in .bar { animation: draw .5s cubic-bezier(.55, 0, .3, 1) .2s both; }
html.js:not(.still) .mark-lg.in .bowl { animation: draw 1s cubic-bezier(.2, .6, .3, 1) .55s both; }
html.js:not(.still) .mark-lg.in .dot { animation: land .55s cubic-bezier(.3, 1.6, .5, 1) 1.4s both; }
html.js:not(.still) .mark-lg.in .ring { animation: ping 1.2s cubic-bezier(.2, .6, .3, 1) 1.55s both; }
.closing h2 span, .closing h2 em { display: block; }
.closing .lede { margin: 22px auto 34px; }

.foot { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot img { height: 20px; width: auto; }
.foot .lang { margin-left: auto; }
.for-agents { margin: 0; }
.for-agents a { font-family: var(--mono); font-size: 13px; color: var(--ink); text-underline-offset: 3px; }

/* ---- small screens ----------------------------------------------------------------------- */
@media (max-width: 559px) {
  body { font-size: 16px; }
  .top { height: 60px; }
  .logo { height: 21px; }
  .top-cta { display: none; }
  .lang button { min-width: 32px; }
  .actions { gap: 12px 20px; }
  .btn { height: 48px; padding: 0 20px; }
  .car { aspect-ratio: 4 / 4.8; }
  .car-screen { left: 6%; right: 6%; top: 47%; bottom: 5%; }
}

/* ---- motion ------------------------------------------------------------------------------- */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes land { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes spark { 0% { box-shadow: 0 0 0 0 #f2622e73; } 70%, 100% { box-shadow: 0 0 0 8px #f2622e00; } }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 #c98a1266; } 50% { box-shadow: 0 0 0 5px #c98a1200; } }
@keyframes shimmer { 0% { background-position: 110% 0; } 100% { background-position: -110% 0; } }
@keyframes beam { 0% { background-position: -40% 0; } 100% { background-position: 140% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(4.2); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 75% { transform: translateY(3px); } 90% { transform: translateY(-1px); } }
@keyframes in-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes in-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes in-right { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes in-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes in-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes halo { 0% { box-shadow: 0 0 0 0 #7c5cd673; } 70%, 100% { box-shadow: 0 0 0 8px #7c5cd600; } }

/* paused by the visitor (the button in the bar on top): nothing moves. The
   system's "reduce motion" hint does not stop the page - see js/motion.js */
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }
