/* contextual.exchange: the website, to prototype v5 (docs/canon/prototype-v5/Site.dc.html, BrandSite.dc.html).
   One small script of its own (site.js, the carousels), no other site's files: system fonts (Inter where it is installed), colours from v5. */
:root {
  --ink: #1D1D1F;
  --muted: #636366;
  --line: #E5E5EA;
  --line-soft: #F0F0F3;
  --line-strong: #D1D1D6;
  --soft: #F5F5F7;
  --link: #0062CC;
  --blue-soft: #F0F6FF;
  --green: #1E6B4E;
  --green-soft: #E9F6EF;
  --red: #9B1C14;
  --red-soft: #FDECEA;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* A link to #pricing-free and the like lands below the 77 px header, never under it. */
[id] { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: var(--link); }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
.link { text-decoration: none; }
.link:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible + label, .btn:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #FFFFFF; padding: 10px 16px; border-radius: 10px; z-index: 10; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1168px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Top bar: logo left, links, the black "Open app" pill top right (C-017). */
.top { border-bottom: 1px solid var(--line-soft); flex-shrink: 0; }
.top .wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo span { font-weight: 700; font-size: 18px; letter-spacing: -0.2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a.link { color: var(--ink); font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.pill-open { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 22px; background: var(--ink); color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.pill-open:hover { background: #000000; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-light { background: #FFFFFF; color: var(--ink); border: 1px solid var(--line-strong); font-weight: 500; padding: 0 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

/* Sections */
.section { padding-top: 16px; padding-bottom: 40px; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.h2 { font-size: 34px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.15; }
.lede { font-size: 17px; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.3px; }

/* Hero */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 56px; padding-top: 48px; padding-bottom: 40px; }
.hero-text { flex: 0 1 480px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: 60px; line-height: 1.05; font-weight: 700; letter-spacing: -1.6px; }
.hero-lede { font-size: 20px; line-height: 1.45; color: var(--muted); }

/* The app, drawn (decorative) */
.mock { flex: 0 1 584px; height: 372px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; background: #FFFFFF; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); }
.mock-side { width: 170px; flex-shrink: 0; background: var(--soft); border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.mock-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; padding-bottom: 8px; }
.mock-on { background: #FFFFFF; border-radius: 8px; padding: 6px 8px; font-weight: 600; }
.mock-item { padding: 0 8px; display: flex; align-items: center; gap: 7px; }
.mock-label { font-size: 11px; font-weight: 600; color: var(--muted); padding: 10px 8px 2px; }
.mock-main { flex: 1; min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.mock-title { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; }
.mock-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.mock-card b { font-size: 13px; font-weight: 600; }
.mock-card span, .mock-sub { font-size: 12px; color: var(--muted); }
.mock-search { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(300px, calc(100% - 32px)); height: 38px; border: 1px solid var(--line); border-radius: 19px; background: #FFFFFF; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10); display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.dot { width: 7px; height: 7px; border-radius: 4px; flex-shrink: 0; display: inline-block; }
.dot-lg { width: 8px; height: 8px; }
.c-violet { background: #7A4BD1; } .c-orange { background: #C25E00; } .c-teal { background: #0E7C66; } .c-blue { background: #0062CC; } .c-grey { background: #5A6270; }

/* Six things */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.2; }
.card p { color: var(--muted); }
.demo { background: var(--soft); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; overflow: hidden; margin-top: 4px; }
.demo-row { flex-direction: row; gap: 12px; }
.demo-center { justify-content: center; }
.tile { background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.tile-split { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tile-split > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.t-strong { font-size: 14px; font-weight: 600; }
.t-sub { font-size: 12px; color: var(--muted); }
.t-13 { font-size: 13px; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line-strong); white-space: nowrap; }
.chip-dark { background: var(--ink); color: #FFFFFF; border-color: var(--ink); font-weight: 600; }
.chip-link { font-size: 12px; font-weight: 600; color: var(--link); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips .push { margin-left: auto; font-weight: 600; }
.rows { background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; }
.row { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; }
.row + .row { border-top: 1px solid var(--line-soft); }
.row .end { margin-left: auto; font-size: 12px; color: var(--muted); text-align: right; }
.made { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.versions { flex: 0 0 170px; display: flex; flex-direction: column; gap: 6px; }
.versions .tile { padding: 8px 10px; display: flex; flex-direction: column; }
.tile-on { border-color: var(--link); }
.changes { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.was { text-decoration: line-through; color: var(--muted); }
.end-note { margin-top: auto; }
.quote { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.hl-disputed { background: var(--red-soft); border-bottom: 2px solid var(--red); padding: 0 2px; }
.tag { align-self: flex-start; font-size: 11px; padding: 3px 9px; border-radius: 10px; }
.tag-disputed { font-weight: 600; background: var(--red-soft); color: var(--red); }
.tag-found { font-weight: 500; background: #FFFFFF; border: 1px dashed #8E8E93; color: var(--muted); }
.side-talk { flex: 0 0 210px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.say-me { background: var(--blue-soft); border-radius: 10px; padding: 8px 10px; }
.say-ai { background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.from { color: var(--link); font-weight: 600; }
.receipt { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.sealed { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green); }
.facts { display: grid; grid-template-columns: 90px 1fr; row-gap: 4px; column-gap: 8px; font-size: 13px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.mono { font-family: var(--mono); }
.guard { display: flex; gap: 10px; align-items: flex-start; }
.guard svg { flex-shrink: 0; }
.guard > span { display: flex; flex-direction: column; gap: 2px; }

/* For firms band */
.band { background: var(--soft); padding: 44px 0; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.band-text { flex: 0 1 520px; display: flex; flex-direction: column; gap: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks svg { flex-shrink: 0; }
.firm-card { flex: 0 1 440px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.firm-id { display: flex; align-items: center; gap: 12px; }
.firm-id > span:last-child { display: flex; flex-direction: column; }
.hh-mark { width: 44px; height: 44px; border-radius: 12px; background: #0E3B2E; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.firm-name { font-size: 17px; font-weight: 700; }
.firm-line { background: var(--soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.firm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.strong-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); font-weight: 600; }

/* Pricing */
.pricing { padding-top: 48px; padding-bottom: 24px; }
.plan-name { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.soon { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 10px; background: var(--blue-soft); color: var(--link); }

/* Questions */
.faq { padding-top: 16px; padding-bottom: 40px; }
.faq h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 52px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 4px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform 0.15s; }
.faq details[open] summary svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .faq summary svg { transition: none; } }
.faq details p { padding: 0 4px 18px; max-width: 760px; font-size: 15px; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--soft); padding: 36px 0 48px; flex-shrink: 0; }
.foot .wrap { display: flex; justify-content: space-between; gap: 40px; }
.foot-text { flex: 0 1 480px; display: flex; flex-direction: column; gap: 10px; }
.foot-title { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: flex-start; }
.foot nav a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.foot nav a.open { color: var(--link); font-weight: 600; }
.foot-small { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Written pages (privacy, terms, firms) */
.page { padding-top: 48px; padding-bottom: 56px; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.prose h1 { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -1px; }
.prose h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.draft { border: 1px solid #F2D29B; background: #FFF7E8; color: #6B4200; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.draft strong { color: #4D2F00; }

/* /firms */
.firms-hero { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.firms-hero h1 { font-size: 52px; line-height: 1.08; font-weight: 700; letter-spacing: -1.2px; }
.choices { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.choices li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.choices b { font-size: 15px; font-weight: 600; }
.choices span { font-size: 13px; color: var(--muted); }
.ways { list-style: none; margin: 0; padding: 0; }
.ways li { border-top: 1px solid var(--line-soft); padding: 12px 0; display: flex; flex-direction: column; gap: 2px; }
.ways li:first-child { border-top: 0; }
.verdict { border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.verdict b { font-size: 14px; }
.v-same { background: var(--green-soft); color: var(--green); }
.v-edited { background: var(--red-soft); color: var(--red); }
.print { font-family: var(--mono); font-size: 14px; letter-spacing: 0.3px; }

/* 404 */
.lost { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.lost h1 { font-size: 44px; font-weight: 700; letter-spacing: -1px; }

/* Narrower screens: v5 desktop at 1100 px and up, one column below 900 px, the phone below 700 px. */
@media (max-width: 1099px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-text { flex-basis: auto; max-width: 640px; }
  .mock { flex-basis: auto; width: 100%; }
  .band .wrap { flex-direction: column; align-items: stretch; }
  .band-text, .firm-card { flex-basis: auto; }
}
@media (max-width: 899px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
}
@media (max-width: 699px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top .wrap { min-height: 64px; }
  .nav a.link { display: none; }
  .pill-open { padding: 0 18px; }
  .hero { padding-top: 32px; padding-bottom: 28px; gap: 32px; }
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .hero-lede { font-size: 18px; }
  .mock { height: auto; }
  .mock-main { padding-bottom: 72px; }
  .mock-side { display: none; }
  .h2 { font-size: 28px; }
  .card { padding: 20px; }
  .card h3 { font-size: 21px; }
  .demo-row { flex-direction: column; }
  .versions, .side-talk { flex-basis: auto; }
  .foot .wrap { flex-direction: column; gap: 16px; }
  .prose h1, .lost h1 { font-size: 34px; }
  .firms-hero h1 { font-size: 36px; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* One block at a time (C-030): the carousel. Without the script the blocks are stacked and the bar stays hidden. */
.cx-slides { display: grid; gap: 24px; }
/* With the script, the blocks share one place, and every block in a carousel is the same height (C-034):
   the height of its fullest block, so nothing jumps from one to the next. The words are balanced to fit. */
.cx[data-on] .cx-slides { gap: 0; align-items: stretch; }
.cx[data-on] .cx-slide { grid-area: 1 / 1; transition: opacity 0.35s ease; }
.cx-slide.is-off { visibility: hidden; opacity: 0; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.cx-slide { min-width: 0; border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: #FFFFFF; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "text art" "actions actions"; column-gap: 40px; row-gap: 24px; align-items: stretch; }
.cx-text { grid-area: text; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cx-text h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.2; }
.cx-text p { color: var(--muted); font-size: 16px; }
.cx-text p b { color: var(--ink); }
.cx-count { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.cx-art { grid-area: art; min-width: 0; display: flex; flex-direction: column; }
.cx-art .demo { flex: 1; min-height: 0; margin-top: 0; justify-content: center; }
.cx-art .demo-row { align-items: stretch; }
/* A block's buttons: bottom centre, like ⌘K (C-033). */
.cx-actions { grid-area: actions; display: flex; flex-direction: column; align-items: center; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 20px; text-align: center; }
.cx-actions .btn-row { justify-content: center; padding-top: 0; }
/* How it goes, step by step. */
.cx-steps { list-style: none; counter-reset: cx-step; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.cx-steps li { counter-increment: cx-step; display: flex; gap: 10px; align-items: flex-start; }
.cx-steps li::before { content: counter(cx-step); flex-shrink: 0; width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #FFFFFF; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.cx-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 16px; }
.cx-bar[hidden] { display: none; }
.cx-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-dot, .cx-btn { font: inherit; font-size: 14px; color: var(--ink); background: #FFFFFF; border: 1px solid var(--line-strong); min-height: 44px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.cx-dot { padding: 0 14px; }
.cx-dot:hover, .cx-btn:hover { border-color: var(--ink); }
.cx-pip { width: 8px; height: 8px; border-radius: 4px; background: var(--line-strong); flex-shrink: 0; }
.cx-dot[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; font-weight: 600; }
.cx-dot[aria-current="true"] .cx-pip { background: #FFFFFF; }
.cx-ctl { display: flex; gap: 8px; flex-shrink: 0; }
.cx-btn { min-width: 44px; padding: 0 12px; }
.cx-play { padding: 0 16px; font-weight: 600; min-width: 96px; }
.cx-i-pause { display: none; }
.cx.is-playing .cx-i-pause { display: block; }
.cx.is-playing .cx-i-play { display: none; }
@media (prefers-reduced-motion: reduce) { .cx[data-on] .cx-slide, .cx-slide.is-off { transition: none; } }

/* Buttons that cannot be used yet (buying is closed, C-013). */
button.btn { font: inherit; font-size: 16px; font-weight: 600; border: 0; }
.btn-soon { background: var(--soft); color: var(--muted); border: 1px solid var(--line-strong); cursor: not-allowed; }

/* An honest line (C-029). */
.today { display: flex; gap: 10px; align-items: flex-start; background: var(--blue-soft); color: #00408A; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 15px; }
.today svg { flex-shrink: 0; margin-top: 3px; }

/* Plans */
.plan-list { font-size: 14px; }
.plan-list li { align-items: flex-start; }
.plan-list svg { margin-top: 2px; }
.plan-soon { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.plan-soon li { display: flex; gap: 10px; align-items: flex-start; }
.plan-soon li svg, .plan-soon .soon { flex-shrink: 0; }
.a-price { justify-content: center; align-items: center; }
.a-price-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 24px; width: min(320px, 100%); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.a-price-big { font-size: 44px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
.a-price-big span { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.a-price-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-size: 14px; }
.a-price-lines span { display: flex; align-items: center; gap: 8px; }

/* Use cases: what each side sees. */
.sides { margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sides div { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.sides dt { font-weight: 600; font-size: 14px; }
.sides dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* The line map (prototype v6 Visualiser): one line, notches, sent left, received right. */
.lm { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 12px; display: flex; flex-direction: column; gap: 2px; }
.lm-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); padding-bottom: 6px; }
.lm-key { display: inline-flex; align-items: center; gap: 5px; }
.lm-sw { width: 10px; height: 10px; border-radius: 5px; }
.lm-head, .lm-ev { display: grid; grid-template-columns: 44px 1fr 1fr; align-items: center; }
.lm-head { color: var(--muted); font-weight: 600; font-size: 11px; }
.lm-head span:nth-child(2) { text-align: right; padding-right: 16px; }
.lm-head span:nth-child(3) { padding-left: 16px; }
.lm-day, .lm-ev { position: relative; }
.lm-day { padding: 8px 0 2px; }
.lm-day::before, .lm-ev::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(44px + (100% - 44px) / 2 - 1px); width: 2px; background: var(--ink); }
.lm-date { position: relative; z-index: 1; background: #FFFFFF; font-weight: 600; font-size: 11px; color: var(--muted); padding-right: 6px; }
.lm-ev { min-height: 32px; padding: 2px 0; }
.lm-ev::after { content: ""; position: absolute; top: 50%; left: calc(44px + (100% - 44px) / 2 - 5px); width: 10px; height: 10px; margin-top: -5px; border-radius: 5px; background: #FFFFFF; border: 2px solid var(--ink); }
.lm-ev > * { grid-row: 1; }
.lm-time { grid-column: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.lm-pill { border-radius: 10px; padding: 3px 9px; background: var(--soft); border-left: 3px solid var(--muted); line-height: 1.35; min-width: 0; }
.lm-in .lm-pill { grid-column: 3; justify-self: start; margin-left: 14px; }
.lm-out .lm-pill { grid-column: 2; justify-self: end; margin-right: 14px; text-align: right; }
.lm-faint { opacity: 0.5; }
.lm-mark { display: inline-block; font-size: 10px; font-weight: 600; padding: 0 6px; border-radius: 6px; background: #FFFFFF; border: 1px solid var(--line-strong); white-space: nowrap; }
.p1.lm-pill { border-color: #0062CC; background: #F0F6FF; } .lm-sw.p1 { background: #0062CC; }
.p2.lm-pill { border-color: #7A4BD1; background: #F4F0FC; } .lm-sw.p2 { background: #7A4BD1; }
.p3.lm-pill { border-color: #0E7C66; background: #E9F6F2; } .lm-sw.p3 { background: #0E7C66; }
.p4.lm-pill { border-color: #5A6270; } .lm-sw.p4 { background: #5A6270; }
.p5.lm-pill { border-color: #C25E00; background: #FDF2E8; } .lm-sw.p5 { background: #C25E00; }

/* Drawings */
.tile-quiet { opacity: 0.7; }
.a-search { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 8px 14px; font-size: 13px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); }
.a-word { font-family: var(--mono); font-size: 12px; background: var(--blue-soft); color: var(--link); border-radius: 8px; padding: 1px 7px; }
.a-marks { align-items: center; justify-content: center; gap: 18px; }
.a-mark-big { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.a-mark-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.a-mood { display: inline-flex; align-items: center; gap: 6px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; padding: 4px 10px 4px 6px; font-size: 12px; }
.a-days { display: flex; gap: 6px; }
.m-live .m-c { transform-box: view-box; transform-origin: 20px 20px; animation: cx-sway 4.5s ease-in-out infinite; }
.m-live .m-dot { transform-box: view-box; transform-origin: 20px 20px; animation: cx-glow 3s ease-in-out infinite; }
@keyframes cx-sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg) scale(1.04); } }
@keyframes cx-glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.9); } }
@media (prefers-reduced-motion: reduce) { .m-live .m-c, .m-live .m-dot { animation: none; } }
.a-place { display: flex; align-items: center; gap: 12px; }
.a-place > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.a-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink); }
.a-radio { width: 18px; height: 18px; border-radius: 9px; border: 2px solid var(--line-strong); flex-shrink: 0; }
.a-radio-on { border: 5px solid var(--link); }
.a-gsearch { display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.a-bar { height: 8px; border-radius: 4px; background: var(--line-soft); margin: 10px 0; overflow: hidden; }
.a-bar-fill { display: block; height: 100%; width: 59%; background: var(--link); border-radius: 4px; }
.a-switch { width: 44px; height: 26px; border-radius: 13px; background: #C7C7CC; position: relative; flex-shrink: 0; }
.a-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: #FFFFFF; }
.a-switch-on { background: var(--green); }
.a-switch-on::after { left: 21px; }
.a-toast { align-self: center; background: var(--ink); color: #FFFFFF; border-radius: 12px; padding: 8px 14px; font-size: 13px; display: flex; gap: 14px; }
.a-toast span { font-weight: 600; color: #9CC7FF; }
.a-speed { justify-content: center; gap: 14px; }
.a-stat { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.a-stat b { font-size: 28px; letter-spacing: -0.5px; }
.a-stat span { color: var(--muted); font-size: 14px; }
.a-ticks { display: flex; flex-direction: column; gap: 6px; }
.a-tick { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.a-tick::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--line-strong); }
.a-tick-on::before { background: var(--link); border-color: var(--link); }
.a-app { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.a-app-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.a-app-top b { font-size: 18px; }
.a-line-head { display: flex; align-items: center; gap: 10px; }
.a-line-head > span:last-child { display: flex; flex-direction: column; }
.a-firm { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.a-scan { flex-direction: row; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.a-qr { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.a-join { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.a-field { border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.a-join .chip { align-self: flex-start; }
.a-chat { justify-content: center; font-size: 14px; }
.a-chat .say-me { align-self: flex-end; max-width: 80%; }
.a-chat .say-ai { align-self: flex-start; max-width: 80%; background: #FFFFFF; border: 1px solid var(--line); }
.a-ways { margin-top: 8px; }
.a-place-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.a-place-name > span { display: flex; flex-direction: column; min-width: 0; }
.a-new { font-size: 11px; font-weight: 700; color: #FFFFFF; background: var(--link); border-radius: 8px; padding: 2px 8px; }
.a-note { display: flex; flex-direction: column; gap: 4px; background: #FFF7E8; border-color: #F2D29B; font-size: 13px; }
.a-brand { display: flex; align-items: center; gap: 12px; background: #EEF4F1; border-radius: 12px; padding: 14px; flex-wrap: wrap; }
.a-brand > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.a-brand-name { color: #0E3B2E; }
.a-brand-btn { background: #0E3B2E; color: #FFFFFF; border-radius: 18px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.a-powered { align-self: flex-end; }
.a-today { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #00408A; background: var(--blue-soft); border-color: transparent; }

@media (max-width: 899px) {
  .cx-slide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "art" "actions"; row-gap: 20px; padding: 24px; }
  .cx-bar { flex-direction: column-reverse; align-items: stretch; }
  .cx-ctl { justify-content: space-between; }
  .cx-play { flex: 1; }
}
@media (max-width: 699px) {
  .cx-slide { padding: 20px 16px; }
  .cx-text h3 { font-size: 23px; }
  .cx-dot { padding: 0 12px; font-size: 13px; }
  .sides { grid-template-columns: 1fr; }
  .lm { padding: 10px; font-size: 11px; }
  .lm-head, .lm-ev { grid-template-columns: 36px 1fr 1fr; }
  .lm-day::before, .lm-ev::before { left: calc(36px + (100% - 36px) / 2 - 1px); }
  .lm-ev::after { left: calc(36px + (100% - 36px) / 2 - 5px); }
  .lm-in .lm-pill { margin-left: 10px; }
  .lm-out .lm-pill { margin-right: 10px; }
}

/* For developers (C-031): short code samples, shown as text. They wrap rather than scroll sideways. */
.code-fig { margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.code-cap { font-size: 12px; font-weight: 600; color: var(--muted); }
.code { margin: 0; background: #1D1D1F; color: #F5F5F7; border-radius: 12px; padding: 14px 16px; font-family: var(--mono); font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.code code { font: inherit; }

/* How firms use a line (C-031): the eight use cases, each a link to its block on /firms. */
.uses { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.use { height: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); background: #FFFFFF; }
.use:hover { border-color: var(--ink); }
.use b { font-size: 16px; font-weight: 700; color: var(--link); }
.use span { font-size: 14px; color: var(--muted); }
@media (max-width: 1099px) {
  .nav { flex-wrap: wrap; justify-content: flex-end; column-gap: 18px; row-gap: 0; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .uses { grid-template-columns: 1fr; }
  .code { font-size: 12px; padding: 12px; }
}
.cx-text .perm-lead { font-size: 14px; font-weight: 600; color: var(--ink); }
.perm { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }

/* The living mark, take two (C-026, C-032): a C in today's colour around a calm centre, swaying gently.
   /site.js names the weekday on <html>; without it the C is Monday's violet. Still under reduced motion. */
.cxm { flex-shrink: 0; overflow: visible; }
.cxm-c { stroke: #6C4CF1; }
.cxm-dot { fill: var(--ink); }
html[data-day="0"] .cxm-c { stroke: #F04A24; }
html[data-day="1"] .cxm-c { stroke: #6C4CF1; }
html[data-day="2"] .cxm-c { stroke: #E03E8C; }
html[data-day="3"] .cxm-c { stroke: #1C7ED6; }
html[data-day="4"] .cxm-c { stroke: #C25E00; }
html[data-day="5"] .cxm-c { stroke: #AE3EC9; }
html[data-day="6"] .cxm-c { stroke: #0A8F6C; }
.cxm .cxm-sway { transform-box: view-box; transform-origin: 20px 20px; animation: cxm-sway 4.2s ease-in-out infinite; }
@keyframes cxm-sway { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@media (prefers-reduced-motion: reduce) { .cxm .cxm-sway { animation: none; } }
.foot-logo { margin-bottom: 4px; }
.dev-mark { display: inline-flex; }

/* Register interest (C-032): a header button, a band on the home page, and a plain form. */
.pill-interest { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; background: #FFFFFF; }
.pill-interest:hover, .pill-interest[aria-current="page"] { border-color: var(--ink); }
.band-register .wrap { align-items: center; }
.coming-all { margin: 4px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.coming-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.soon-all { display: inline-block; white-space: normal; line-height: 1.5; padding: 6px 12px; border-radius: 12px; font-size: 13px; }
.interest-page { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.interest-page h1 { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -1px; }
.interest { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .interest legend { font-size: 15px; font-weight: 600; }
.field input { font: inherit; font-size: 16px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); background: #FFFFFF; width: 100%; }
.field input:focus-visible, .checks input:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.interest fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.interest legend { padding: 0; margin-bottom: 8px; }
.interest legend .muted { font-weight: 400; font-size: 14px; margin-left: 6px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks-row { flex-direction: row; flex-wrap: wrap; }
.checks li { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-height: 44px; }
.checks input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.checks label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.checks label b { font-weight: 600; font-size: 15px; }
.checks label span { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 14px; color: var(--muted); background: var(--soft); border-radius: 12px; padding: 12px 14px; }
@media (max-width: 699px) {
  .interest-page h1 { font-size: 34px; }
  .checks-row { flex-direction: column; }
  .pill-interest { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 519px) {
  .pill-interest { display: none; }
}

/* C-033: richer drawings. */
.a-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 0 2px; }
.a-label { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.3px; padding: 4px 2px 0; }
.a-focus { display: flex; align-items: center; gap: 10px; background: #F4F0FC; border-color: #D9CCF5; }
.a-focus > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.a-inner { display: flex; gap: 12px; }
.hl-confirmed { background: var(--green-soft); border-bottom: 2px solid var(--green); padding: 0 2px; }
.tag-confirmed { font-weight: 600; background: var(--green-soft); color: var(--green); }
.tag-ask, .tag-offer, .tag-agreed, .tag-due { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 8px; flex-shrink: 0; min-width: 62px; text-align: center; }
.tag-ask { background: var(--blue-soft); color: var(--link); }
.tag-offer { background: #F4F0FC; color: #5B34B0; }
.tag-agreed { background: var(--green-soft); color: var(--green); }
.tag-due { background: #FDF2E8; color: #8A4300; }
.a-self { align-self: flex-start; }
.a-wide { flex-basis: auto; }
.a-centre { text-align: center; align-self: center; }
.a-days { flex-wrap: wrap; justify-content: center; }
.a-day { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); }
.a-app-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.a-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin: 8px 0 6px; }
.a-bars span { flex: 1; background: var(--link); border-radius: 4px 4px 0 0; opacity: 0.8; }
.a-bars-30 { height: 30%; } .a-bars-38 { height: 38%; } .a-bars-44 { height: 44%; } .a-bars-52 { height: 52%; } .a-bars-64 { height: 64%; } .a-bars-70 { height: 70%; } .a-bars-90 { height: 90%; }
.a-chosen { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.a-gap { margin: 8px 0; }
.a-form { display: flex; flex-direction: column; gap: 4px; }
.a-form .a-field { margin-bottom: 4px; }
.a-empty { color: var(--muted); border-style: dashed; }
.a-note-field { background: #FFF7E8; border-color: #F2D29B; margin: 4px 0 8px; }
.a-indent { padding-left: 18px; }
.a-price-for { font-size: 14px; font-weight: 600; padding-top: 6px; }
.a-price-foot { padding-top: 10px; border-top: 1px solid var(--line-soft); margin-top: 6px; }
.a-scan { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.demo.a-scan { flex-direction: row; }

/* "Coming" is the pill; what is coming follows as plain words (C-033). */
.coming-all { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.coming-all .soon { margin-right: 4px; }

/* Buttons inside a box sit bottom centre (C-033), like ⌘K. */
.card-centre { align-items: center; text-align: center; padding: 32px; }
.card-centre .lede { max-width: 640px; }
.card-centre .btn-row, .card-foot { justify-content: center; margin-top: auto; padding-top: 12px; }
.band-box { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.band-box .lede { max-width: 680px; }
.band-box .btn-row { justify-content: center; }
.interest .btn-row { justify-content: center; }

/* Footer (C-033, C-037): contacts. */
.foot-notes { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-notes .foot-small { margin-top: 4px; }
.foot-dev { font-size: 14px; color: var(--ink); }
.foot-contact { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; row-gap: 2px; }
.foot-contact a, .foot-dev a { display: inline-flex; align-items: center; min-height: 32px; }
.foot-sep { padding: 0 8px; }
@media (max-width: 699px) {
  .a-inner { flex-direction: column; }
  .card-centre { padding: 24px 20px; }
  .foot-sep { display: none; }
  .foot-contact { flex-direction: column; align-items: flex-start; }
}
/* The footer's links in even columns (C-033: symmetry). */
.foot nav { display: grid; grid-template-columns: repeat(4, max-content); column-gap: 32px; row-gap: 0; align-content: start; }
@media (max-width: 899px) { .foot nav { grid-template-columns: repeat(3, max-content); } }
@media (max-width: 519px) { .foot nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.a-code { font-size: 12px; padding: 10px 12px; margin: 0; }

/* C-034, C-037: one line everywhere. The header: Firms, Developers, Try it, Pricing, Register interest, Open app, on one
   line from 768 px (tighter gaps and pills below 1100 px); a Menu below that. */
.top .wrap { flex-wrap: nowrap; }
.nav { flex-wrap: nowrap; gap: 28px; }
.nav a.link { white-space: nowrap; }
.logo { flex-shrink: 0; white-space: nowrap; }
.menu { display: none; position: relative; }
.menu-btn { list-style: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--line-strong); font-size: 15px; font-weight: 600; cursor: pointer; background: #FFFFFF; white-space: nowrap; }
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.menu-bars { width: 16px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.menu-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid var(--ink); }
.menu[open] .menu-btn { border-color: var(--ink); }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(280px, calc(100vw - 32px)); background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); padding: 8px; display: flex; flex-direction: column; }
.menu-list a.link { color: var(--ink); min-height: 48px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; font-size: 16px; white-space: nowrap; }
.menu-list a.link:hover, .menu-list a[aria-current="page"] { background: var(--soft); text-decoration: none; }
.menu-list .pill-open { justify-content: center; margin-top: 6px; height: 48px; }
@media (max-width: 1099px) {
  .nav { gap: 20px; }
}
@media (max-width: 899px) {
  .nav { gap: 16px; }
  .nav .pill-interest, .nav .pill-open { padding: 0 14px; }
  .top .wrap { gap: 12px; }
}
@media (max-width: 767px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 699px) {
  .nav a.link { display: inline-flex; }
}

/* Every pill is one line (C-034): cut with … where it won't fit; its full words are its title. */
.chip, .soon, .made, .tag, .a-word, .lm-mark, .a-mood, .a-new, .mock-item, .a-brand-btn, .chip-link, .cx-dot, .pill-open, .pill-interest, .btn, .tag-ask, .tag-offer, .tag-agreed, .tag-due {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; min-width: 0;
}
.mock-item { display: block; }
.mock-item .dot { margin-right: 7px; vertical-align: middle; }
.lm-pill { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }
.lm-in .lm-pill, .lm-out .lm-pill { max-width: calc(100% - 14px); }
.row > span:not(.dot):not(.end):not(.made):not(.tag) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .end { white-space: nowrap; flex-shrink: 0; }
.cx-dot { flex-shrink: 0; }
.cx-dot .cx-pip { flex-shrink: 0; }
.coming-all .soon { vertical-align: 1px; }
.btn { flex-shrink: 1; }
/* The carousel's named dots: one line, scrolled sideways where they don't all fit. */
.cx-dots { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 3px; margin: -3px; }
.cx-dots::-webkit-scrollbar { display: none; }
.cx-bar { align-items: center; }
/* Headings break evenly when they must break at all. */
h1, h2, h3, .h2 { text-wrap: balance; }
/* Buttons in a row: side by side where they fit, one full-width button per line on a phone. */
@media (max-width: 479px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* The footer (C-034): the in-development line, then About us, Terms, Legal, The Mark, Press, Feedback. */
.foot .foot-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot-links { display: flex; flex-wrap: nowrap; justify-content: center; gap: 0 28px; }
.foot-links a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.foot-links a[aria-current="page"] { font-weight: 600; }
.foot .foot-dev { max-width: 640px; }
.foot .foot-small { margin-top: 0; }
@media (max-width: 639px) {
  .foot-links { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 24px; }
}
@media (max-width: 359px) {
  .foot-links { grid-template-columns: repeat(2, max-content); }
}
.cxm.cxm-still .cxm-sway { animation: none; }

/* /pricing (C-034): the four plans side by side. */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; background: #FFFFFF; min-width: 0; }
.plan-open { border-color: var(--ink); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.plan-card .a-price-big { font-size: 36px; white-space: nowrap; }
.plan-line { font-size: 15px; font-weight: 600; padding-top: 6px; }
.plan-points { display: flex; flex-direction: column; gap: 6px; font-size: 14px; padding: 8px 0 14px; }
.plan-points > span { display: flex; gap: 8px; align-items: center; min-width: 0; }
.plan-points > span > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-points svg { flex-shrink: 0; }
.plan-more { margin-top: auto; align-self: center; }
.plans-note { text-align: center; color: var(--muted); margin-top: 20px; }
.cx-solo { margin: 0; }
@media (max-width: 1099px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.foot .foot-contact { justify-content: center; }
@media (max-width: 699px) { .foot .foot-contact { align-items: center; } }

.cx-dots { flex: 0 1 auto; }
@media (max-width: 899px) { .cx-bar { align-items: stretch; } }
.foot nav.foot-links { display: flex; flex-wrap: nowrap; justify-content: center; gap: 0 28px; }
@media (max-width: 639px) { .foot nav.foot-links { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 24px; } }
@media (max-width: 359px) { .foot nav.foot-links { grid-template-columns: repeat(3, max-content); gap: 0 14px; } }

/* The ⌘K search panel, drawn as the app draws it (apps/web/src/screens/Search.tsx): groups with counts at the top,
   Answer then Messages, the keys, the magic words in one line, and the box at the bottom with Esc and Close. */
.demo.demo-k { justify-content: center; }
.k { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10); display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.k-tabs { display: flex; flex-wrap: nowrap; gap: 6px; padding: 12px 12px 10px; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.k-tab { flex-shrink: 0; height: 28px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line-strong); background: #FFFFFF; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.k-n { font-size: 11px; font-weight: 600; color: var(--muted); }
.k-tab.k-on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.k-tab.k-on .k-n { color: var(--line-strong); }
.k-list { display: flex; flex-direction: column; gap: 4px; padding: 2px 8px 8px; min-width: 0; }
.k-label { padding: 8px 6px 2px; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.3px; text-transform: uppercase; }
.k-answer { background: var(--soft); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.k-ai { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.k-say { font-size: 14px; }
.k-src { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px; border-left: 3px solid var(--link); background: #FFFFFF; border-radius: 0 8px 8px 0; font-size: 13px; min-width: 0; }
.k-open { color: var(--link); font-weight: 600; }
.k-msg { display: flex; gap: 10px; padding: 6px; border-radius: 10px; min-width: 0; }
.k-av { flex-shrink: 0; width: 28px; height: 28px; border-radius: 14px; background: var(--link); color: #FFFFFF; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.k-mt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.k-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.k-top b { font-weight: 600; }
.k-line { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-snip { font-size: 12px; color: #3A3A3C; }
.k-snip mark { font-weight: 600; color: var(--ink); background: #FFF3C4; border-radius: 3px; padding: 0 2px; }
.k-keys { display: flex; gap: 14px; padding: 6px 14px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--muted); white-space: nowrap; }
.k-keys > span { display: inline-flex; align-items: center; gap: 5px; }
.k-key { border: 1px solid var(--line-strong); border-radius: 5px; padding: 0 5px; font-weight: 600; font-size: 11px; color: var(--muted); }
.k-hint { padding: 5px 14px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-box { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 14px; border-top: 1px solid var(--line); box-shadow: inset 0 0 0 2px var(--link); border-radius: 0 0 16px 16px; }
.k-q { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-close { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 0 6px; }
/* As on a phone in the app: no ↑ ↓ line and no Esc key. */
@media (max-width: 699px) {
  .k-keys, .k-close .k-key { display: none; }
  .demo.demo-k { padding: 10px; }
  .k-tabs { padding: 10px 8px 8px; gap: 5px; }
  .k-tab { padding: 0 8px; }
}

/* Try Contextual (C-038, C-039): three tours. The index of every task on the left (on top on a phone), one task
   at a time on the right: its numbered steps, the real screen of the current step with the control to press
   ringed, and the carousel's own Previous, Play / Pause and Next (C-030). Without the script every task and
   every screen is listed. */
.tour-hero { padding-bottom: 8px; }
.tour-others { font-size: 15px; }
.tour { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 32px; align-items: start; padding: 8px 0 24px; }
.tour-index { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: #FFFFFF; }
.tour-index-h { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.tour-index-section { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.3px; padding-top: 14px; }
.tour-index ul { list-style: none; margin: 4px 0 0; padding: 0; }
.tour-index a { display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 10px; border-left: 3px solid transparent; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.tour-index a:hover { color: var(--link); }
.tour-index a[aria-current="step"] { border-left-color: var(--link); color: var(--link); font-weight: 600; }
.tour-stage { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tour-task { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #FFFFFF; display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 16px; }
.tour-task h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.2; }
.tour-steps { margin: 0; }
.tour[data-on] .tour-steps li { color: var(--muted); transition: color 0.35s ease; }
.tour[data-on] .tour-steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.tour[data-on] .tour-steps li[aria-current="step"]::before { background: var(--link); }
.tour-shots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.tour-shot { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tour-shot-n { font-size: 12px; font-weight: 600; color: var(--muted); }
.tour-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); background: var(--soft); }
.tour-phone { align-items: center; }
.tour-phone .tour-shot-n { align-self: flex-start; }
.tour-phone img { max-width: 300px; border-radius: 24px; }
.tour-drawn-frame { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 16px; background: var(--soft); min-width: 0; }
.tour-drawn-app { border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; overflow: hidden; min-width: 0; }
.tour-drawn-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); font-size: 14px; font-weight: 700; }
.tour-drawn-mark { width: 14px; height: 14px; border-radius: 7px; border: 4px solid #6C4CF1; flex-shrink: 0; }
.tour-drawn-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tour-drawn-big { font-size: 17px; font-weight: 600; }
.tour-drawn-code { margin: 0; }
.tour-drawn-why { font-size: 13px; color: var(--muted); }
.tour[data-on] .tour-task:not(.is-on), .tour[data-on] .tour-shot:not(.is-on) { display: none; }
.tour[data-on] .tour-shot.is-on { animation: tour-in 0.35s ease; }
@keyframes tour-in { from { opacity: 0; } to { opacity: 1; } }
.tour-bar { position: sticky; bottom: 0; z-index: 3; background: #FFFFFF; padding: 12px 0; border-top: 1px solid var(--line-soft); margin-top: 0; }
.tour-now { font-size: 14px; font-weight: 600; color: var(--muted); }
.tour.is-playing .cx-i-pause { display: block; }
.tour.is-playing .cx-i-play { display: none; }
.tour-end { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 32px 0 56px; }
.tour-end .lede { max-width: 640px; }
@media (max-width: 899px) {
  .tour { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tour-index { position: static; max-height: none; }
  .tour-task { padding: 20px 16px; }
  .tour-task h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour[data-on] .tour-shot.is-on { animation: none; }
  .tour[data-on] .tour-steps li { transition: none; }
}
