/* Laghu — website.  Aitele Research LLP
 *
 * The same "gravity" as the app: warm greys, one light accent, a serif for the
 * display moments and the system sans for everything else. Hairlines separate;
 * shadow is kept for the two things that float (the product window and dialogs).
 * Nothing glows. Motion is a short fade and one slow chart draw-in.
 *
 * Contents
 *   1. tokens          5. how it feels       9. requirements, questions
 *   2. base            6. memory and speed   10. download, footer
 *   3. layout, type    7. privacy            11. downloads overlay
 *   4. hero + window   8. uses               12. motion, small screens
 */

/* ------------------------------------------------------------- 1. tokens --- */

:root {
  --bg: #141413;            /* page */
  --bg-2: #1b1a19;          /* bands, and the app's own canvas */
  --bg-sunk: #0e0e0d;
  --surface: #282725;
  --surface-hover: #31302e;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .17);
  --line-focus: rgba(255, 255, 255, .28);
  --hover: rgba(255, 255, 255, .055);
  --selected: rgba(255, 255, 255, .09);
  --text: #f4f2ed;
  --text-dim: #c6c3bc;
  --text-faint: #a8a59d;    /* clears 6:1 on every surface */
  --accent: #e2dfd8;
  --accent-hover: #f0ede6;
  --accent-ink: #141413;
  --good: #9cc4a6;
  --bad: #e09886;
  --focus: rgba(244, 242, 237, .4);
  --scrim: rgba(8, 8, 7, .72);
  --shadow-float: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);

  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont,
          system-ui, sans-serif;
  --serif: "Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif;
  --serif-display: "Charter", "Iowan Old Style", "Sitka Heading", "Sitka Text", Cambria,
                   Georgia, serif;
  --mono: "Cascadia Code", "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* spacing: 4 8 12 16 24 32 48 64 96 128 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 24px);
  --section: clamp(88px, 11vw, 152px);

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --t: 140ms;
  color-scheme: dark;
}

/* --------------------------------------------------------------- 2. base --- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 72px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}

img, svg { display: block; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
b, strong { font-weight: 600; }
em { font-style: normal; color: var(--text-faint); }
code { font-family: var(--mono); font-size: .875em; }

a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong);
    text-underline-offset: 3px; transition: text-decoration-color var(--t), color var(--t); }
a:hover { text-decoration-color: currentColor; }

::selection { background: rgba(235, 233, 228, .22); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--text-faint); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

/* The app's icon style: 1.5 strokes, round caps, the colour of the text. */
.ic {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.qa-ico, .icon-btn svg, .counter-info svg {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: var(--gutter); top: 10px; z-index: 100;
  padding: 8px 14px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  transform: translateY(-160%); transition: transform var(--t);
}
.skip:focus-visible { transform: none; }

/* scrollbars --------------------------------------------------------------- */
/* Scrollbars: slim pills in the theme's own greys, on a track that is not there.
   They firm up under the pointer and while dragged, and stay out of the way the
   rest of the time; vertical and horizontal alike, and in every scrolling box.
   Chromium and the app's own window take the ::-webkit rules; Firefox, which has
   only the standard pair, gets the same colours, thin. (The standard properties
   are given to Firefox alone: in Chromium they would switch the rules below off.) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
  min-height: 40px; min-width: 40px;
  background-color: var(--line-strong); background-clip: padding-box;
  border: 3px solid transparent; border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--line-focus); }
::-webkit-scrollbar-thumb:active { background-color: var(--text-faint); }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: var(--line-focus) transparent; }
}

/* buttons ------------------------------------------------------------------ */
/* A default size, so a button without -lg/-sm/-xs still has room around its words;
   the size classes below come later and override it. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; font-size: 14.5px;
  border: 1px solid transparent; border-radius: var(--r);
  font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t), opacity var(--t);
}
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--accent-hover); }
.btn-line { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-line:hover:not(:disabled) { background: var(--hover); border-color: var(--line-focus); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-lg { height: 52px; padding: 0 24px 0 22px; font-size: 15.5px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; gap: 6px; font-weight: 500; }
.btn-ico { width: 18px; height: 18px; flex: none; }
.btn.is-soon { opacity: .6; cursor: default; }
.btn.is-soon:hover { background: var(--accent); }

.icon-btn {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 8px; color: var(--text-dim);
  transition: background-color var(--t), color var(--t);
}
.icon-btn:hover { background: var(--hover); color: var(--text); }

/* -------------------------------------------------------- 3. layout, type --- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.label {
  display: flex; align-items: baseline; gap: 14px;
  width: max-content; min-width: 168px; padding-top: 12px; margin-bottom: var(--s6);
  border-top: 1px solid var(--line-strong);
  font-size: 13px; letter-spacing: .01em; color: var(--text-dim);
}
.label-n { color: var(--text-faint); }

.h2 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(36px, 4.9vw, 66px); line-height: 1.04; letter-spacing: -.022em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(21px, 1.75vw, 25px); line-height: 1.22; letter-spacing: -.01em;
}
.lede {
  margin-top: var(--s5); max-width: 42ch;
  font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.55; color: var(--text-dim);
  text-wrap: pretty;
}

/* masthead ----------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid transparent;
  transition: border-color 160ms;
}
.masthead.is-scrolled { border-bottom-color: var(--line); }
.masthead-in { height: 64px; display: flex; align-items: center; gap: var(--s6); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
}
.brand-mark { width: 22px; height: 22px; color: var(--text); }
.brand-name { font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; }
.masthead-nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.masthead-nav a { color: var(--text-dim); text-decoration: none; padding: 6px 0; }
.masthead-nav a:hover, .masthead-nav a[aria-current] { color: var(--text); }
.masthead .btn { margin-left: 4px; }

/* ------------------------------------------------------ 4. hero + window --- */

.hero { padding-top: clamp(56px, 9vw, 128px); overflow-x: clip; }
.hero-grid { align-items: end; row-gap: var(--s6); }
.hero-title {
  grid-column: 1 / 9;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(50px, 8.4vw, 120px); line-height: .98; letter-spacing: -.032em;
}
/* What the page is, in the words people search with, set small above the line
   people remember. Part of the heading, so it is what the heading says too. */
.hero-kicker {
  display: block; margin-bottom: clamp(16px, 2vw, 26px); max-width: 34ch;
  font-family: var(--font); font-size: clamp(14px, 1.15vw, 16px); font-weight: 500;
  line-height: 1.4; letter-spacing: 0; color: var(--text-dim); text-wrap: balance;
}
.hero-side { grid-column: 9 / 13; padding-bottom: 10px; }
.hero-lede { font-size: clamp(17px, 1.3vw, 18.5px); line-height: 1.55; color: var(--text-dim); text-wrap: pretty; }
.hero-cta { margin-top: var(--s5); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-meta { font-size: 13px; color: var(--text-faint); }
.hero-meta a { color: var(--text-dim); }

.hero-visual { position: relative; margin-top: clamp(48px, 7vw, 96px); padding-bottom: var(--section); }
/* The circuit: hairline traces that run toward the window like pins on a chip.
   Fixed size, centred, so its pads meet the window's edges at full width. */
.hero-visual::before {
  content: ""; position: absolute; left: 0; right: 0; top: -80px; height: 1000px;
  background: url("/assets/circuit.svg") center top / 1600px 1000px no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 72%, transparent 100%);
  pointer-events: none;
}
.shot { position: relative; max-width: 1180px; margin: 0 auto; }
.shot-cap { margin-top: var(--s4); font-size: 13px; color: var(--text-faint); }

/* The window. A faithful copy of the app (rail, conversation, composer), drawn in
   HTML so it is sharp at any size and follows the app's own breakpoints: full rail,
   then icons, then none. */
.win {
  container: win / inline-size;
  border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 28px 70px -30px rgba(0, 0, 0, .7);
  font-size: 13.5px; line-height: 1.55; color: var(--text);
  user-select: none;
}
.win-bar {
  height: 34px; display: flex; align-items: center; justify-content: space-between;
  padding-left: 12px; background: var(--bg); border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--text-dim);
}
.win-title { display: inline-flex; align-items: center; gap: 8px; }
.win-title svg { color: var(--text); }
.win-ctrl { display: flex; height: 100%; }
.win-ctrl svg {
  width: 46px; height: 34px; padding: 12px 18px;
  fill: none; stroke: var(--text-dim); stroke-width: 1;
}

.win-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 590px; }

.w-rail {
  display: flex; flex-direction: column; min-width: 0;
  padding: 10px; background: var(--bg); border-right: 1px solid var(--line);
}
.w-brand { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px; margin-bottom: 6px; }
.w-mark { color: var(--text); }
.w-brand b { font-size: 14.5px; }
.w-item {
  display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px;
  border-radius: var(--r-sm); color: var(--text-dim); font-size: 13px; white-space: nowrap;
}
.w-item.is-on { background: var(--selected); color: var(--text); }
.w-new { color: var(--text); margin-bottom: 8px; }
.w-recent { margin-top: 20px; min-width: 0; }
.w-recent-h { padding: 0 10px 6px; font-size: 11.5px; font-weight: 500; color: var(--text-faint); }
.w-recent-i {
  height: 29px; line-height: 29px; padding: 0 10px; border-radius: var(--r-sm);
  font-size: 12.5px; color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w-recent-i.is-on { background: var(--selected); color: var(--text); }
.w-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.w-instr { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; font-size: 12px; color: var(--text-dim); }
.w-instr-v { margin-left: auto; font-family: var(--serif); font-size: 13.5px; color: var(--text); }
.w-instr .ic { width: 14px; height: 14px; color: var(--text-faint); }
.w-status { display: flex; align-items: center; gap: 8px; padding: 4px 8px; font-size: 12px; color: var(--text-faint); }
.w-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }

.w-main { display: flex; flex-direction: column; min-width: 0; }
.w-top { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.w-top-side, .w-pill { visibility: hidden; }
.w-top-side { color: var(--text-dim); }
.w-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.w-pill-track { width: 28px; height: 3px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.w-pill-track i { display: block; width: 62%; height: 100%; background: var(--text-dim); }

.w-thread { flex: 1; padding: 6px 0 8px; }
.w-msg { max-width: 680px; margin: 0 auto 22px; padding: 0 32px; display: flex; flex-direction: column; }
.w-user { align-items: flex-end; }
.w-user p {
  max-width: 80%; padding: 9px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14.5px; line-height: 1.6;
}
.w-ai > p, .w-ai li { font-size: 15px; line-height: 1.7; }
.w-ai > p { margin-bottom: 12px; max-width: 64ch; }
.w-ai blockquote {
  margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 2px solid var(--line-strong);
}
.w-ai blockquote p { font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.w-ai blockquote p:last-child { margin-bottom: 0; }
.w-ai ol { list-style: decimal; padding-left: 22px; margin-bottom: 12px; }
.w-ai li { margin: 4px 0; padding-left: 2px; }
.w-ai li::marker { color: var(--text-faint); }
.w-meta { font-size: 12px !important; line-height: 1.5 !important; color: var(--text-faint); margin-top: 2px; }
.w-code {
  display: inline-block; align-self: flex-start; padding: 8px 12px; border-radius: var(--r-sm);
  background: var(--bg-sunk); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 13.5px !important; line-height: 1.5 !important; color: var(--text);
}

.w-composer { padding: 0 24px 20px; }
.w-field {
  max-width: 712px; margin: 0 auto; padding: 6px 10px 10px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}
.w-ph { padding: 12px 8px 8px; font-size: 15px; line-height: 23px; color: var(--text-faint); }
.w-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 2px 2px 0; }
.w-start, .w-end { display: flex; align-items: center; gap: 4px; min-width: 0; }
.w-attach { display: grid; place-items: center; width: 32px; height: 32px; color: var(--text-dim); }
.w-toggle { position: relative; width: 32px; height: 18px; margin-left: 4px; border-radius: 9px; background: var(--line-strong); flex: none; }
.w-toggle i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--text); }
.w-toggle-l { margin-left: 4px; font-size: 12.5px; color: var(--text-faint); }
.w-chip, .w-mem {
  display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 6px 0 8px;
  border-radius: var(--r-sm); font-size: 13px; white-space: nowrap;
}
.w-chip { color: var(--text-dim); }
.w-mem { color: var(--text-faint); margin-right: 4px; }
.w-mem b { font-weight: 400; color: var(--text-dim); }
.w-chip .ic, .w-mem .ic { width: 14px; height: 14px; }
.w-send {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 8px; background: var(--accent); color: var(--accent-ink);
}
.w-send .ic { width: 17px; height: 17px; stroke-width: 2; }

/* The app collapses its rail to icons between 600 and 900 px, and to a drawer below. */
@container win (max-width: 860px) {
  .win-body { grid-template-columns: 58px minmax(0, 1fr); }
  .w-rail { padding: 10px 8px; align-items: center; }
  .w-brand { padding: 0; justify-content: center; }
  .w-brand b, .w-item span, .w-recent, .w-instr span, .w-status span { display: none; }
  .w-item { width: 38px; padding: 0; justify-content: center; }
  .w-foot { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .w-instr { padding: 0; justify-content: center; }
  .w-status { padding: 6px 0; }
  .win-body { min-height: 540px; }
}
@container win (max-width: 600px) {
  .win-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .w-rail { display: none; }
  .w-top-side, .w-pill { visibility: visible; }
  .w-msg { padding: 0 16px; margin-bottom: 18px; }
  .w-user p { max-width: 88%; font-size: 14px; }
  .w-ai > p, .w-ai blockquote p { font-size: 14px; line-height: 1.65; }
  .w-composer { padding: 0 10px 10px; }
  .w-toggle, .w-toggle-l { display: none; }
  .w-ph { font-size: 14px; }
  .win-ctrl svg { width: 38px; padding: 12px 14px; }
}
@container win (max-width: 420px) {
  .w-chip { display: none; }
}

/* ------------------------------------------------------- 5. how it feels --- */

.feel { padding-block: var(--section); border-top: 1px solid var(--line); }
.feel-head { grid-column: 1 / 5; align-self: start; position: sticky; top: 112px; }
.steps { grid-column: 6 / 13; }
.step {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 300px);
  column-gap: var(--s6); align-items: center;
  padding: var(--s6) 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n { align-self: start; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--text-faint); padding-top: 2px; }
.step-text p { margin-top: 8px; color: var(--text-dim); max-width: 36ch; }

.frag {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 13px; color: var(--text);
}
.frag-install { display: flex; align-items: center; gap: 12px; padding: 14px; }
.fi-file { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--surface); color: var(--text-dim); flex: none; }
.fi-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fi-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-bar { height: 2px; border-radius: 1px; background: var(--line-strong); overflow: hidden; }
.fi-bar i { display: block; height: 100%; width: 100%; background: var(--text-dim); }
.fi-done { display: inline-flex; align-items: center; gap: 5px; color: var(--good); font-size: 12.5px; white-space: nowrap; }
.fi-done .ic { width: 15px; height: 15px; stroke-width: 1.8; }

.frag-models { padding: 4px 14px; }
.fm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.fm-row + .fm-row { border-top: 1px solid var(--line); }
.fm-main { display: flex; flex-direction: column; min-width: 0; }
.fm-main b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-main small { font-size: 12px; color: var(--text-faint); }
.fm-tag { font-size: 12.5px; color: var(--text-dim); }
.fm-btn { height: 26px; line-height: 24px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 12px; color: var(--text); background: var(--surface); }

.frag-ask {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 16px; background: var(--surface); border-color: var(--line-strong);
  border-radius: 14px; box-shadow: var(--shadow-float);
}
.fa-text { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --------------------------------------------------- 6. memory and speed --- */

.speed { padding-block: var(--section); background: var(--bg-2); }
.speed-head { grid-column: 1 / 8; }
.speed-lede { grid-column: 8 / 13; align-self: end; margin-top: 0; }

.dial {
  grid-column: 1 / 13; margin-top: var(--s9);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gap);
  align-items: start;
}
.dial-control { padding-top: 8px; }

/* The memory control, as it appears above the message box in the app. */
.pop {
  max-width: 320px; padding: 14px 16px 12px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
  box-shadow: var(--shadow-float);
}
.pop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pop-title { font-size: 12.5px; color: var(--text-dim); }
.pop-out { font-family: var(--serif); font-size: 21px; color: var(--text); }
.pop-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pop-mode { font-size: 12px; color: var(--text-faint); }
.pop-auto {
  height: 24px; padding: 0 9px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); color: var(--text-faint); font-size: 12px;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.pop-auto:hover { color: var(--text); background: var(--hover); }
.pop-auto.is-on { background: var(--selected); border-color: var(--line-focus); color: var(--text); }
.pop-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--text-faint); }

.range {
  -webkit-appearance: none; appearance: none; display: block;
  width: 100%; height: 22px; margin: 12px 0 10px;
  background: transparent; cursor: pointer; --fill: 0%;
}
.range::-webkit-slider-runnable-track {
  height: 3px; border-radius: 2px;
  background: linear-gradient(var(--text-dim), var(--text-dim)) 0 0 / var(--fill) 100% no-repeat, var(--line-strong);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6.5px;
  border-radius: 50%; background: var(--text); border: 0;
  box-shadow: 0 0 0 1px var(--line-strong), 0 1px 2px rgba(0, 0, 0, .3);
}
.range::-moz-range-track { height: 3px; border-radius: 2px; background: var(--line-strong); }
.range::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--text-dim); }
.range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--text);
  box-shadow: 0 0 0 1px var(--line-strong), 0 1px 2px rgba(0, 0, 0, .3); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 5px var(--focus); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 5px var(--focus); }

.dial-read { margin-top: var(--s6); display: flex; flex-direction: column; gap: 4px; max-width: 320px; }
.dial-read-big { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.01em; }
.dial-read-sub { font-size: 14px; color: var(--text-faint); }

.dial-chart { min-width: 0; }
.dial-switch { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: var(--s4); }
.dial-switch button {
  height: 28px; padding: 0 12px; border-radius: var(--r-sm); font-size: 12.5px;
  color: var(--text-dim); border: 1px solid transparent;
  transition: background-color var(--t), color var(--t);
}
.dial-switch button:hover { color: var(--text); }
.dial-switch button[aria-pressed="true"] { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.chart-box { position: relative; }
.chart-box svg { width: 100%; height: auto; overflow: visible; }
.dial-cap { margin-top: var(--s3); font-size: 13px; color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.dial-cap .tag { color: var(--text-dim); }

/* the static, number-free drawing shown before (or without) the measurements */
.cs-grid path { stroke: var(--line); fill: none; }
.cs-axis { stroke: var(--line-strong); fill: none; }
.cs-line { stroke: var(--text); stroke-width: 2; fill: none; stroke-linecap: round; }
.cs-label { fill: var(--text-faint); font-size: 12px; font-family: var(--font); }

/* the measured curve */
.dc-grid { stroke: var(--line); }
.dc-axis { stroke: var(--line-strong); }
.dc-tick { fill: var(--text-faint); font-size: 11.5px; font-family: var(--font); }
.dc-title { fill: var(--text-dim); font-size: 12px; font-family: var(--font); }
.dc-area { fill: rgba(235, 233, 228, .055); }
.dc-line { fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dc-pt { fill: var(--bg-2); stroke: var(--text-dim); stroke-width: 1.5; }
.dc-fit { stroke: var(--text-faint); stroke-dasharray: 2 4; }
.dc-fit-label { fill: var(--text-faint); font-size: 11.5px; font-family: var(--font); }
.dc-mark { stroke: var(--text-dim); }
.dc-dot { fill: var(--text); stroke: var(--bg-2); stroke-width: 3; }

/* measurements table */
.measured { grid-column: 1 / 13; margin-top: var(--s10); }
.measured-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: var(--s5); }
.measured-sub { font-size: 14px; color: var(--text-faint); }

.pt { width: 100%; border-collapse: collapse; }
.pt thead th {
  padding: 0 16px 12px 0; text-align: left; vertical-align: bottom;
  font-size: 12.5px; font-weight: 400; color: var(--text-faint);
}
.pt tbody th, .pt tbody td {
  padding: 20px 16px 20px 0; text-align: left; vertical-align: baseline;
  border-top: 1px solid var(--line); font-weight: 400;
}
.pt tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.pt th:first-child { width: 34%; }
.pt td { font-size: 15px; color: var(--text-dim); white-space: nowrap; }
.pt td:last-child { padding-right: 0; width: 34%; }
.pt-name { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--text); }
.pt-params { margin-left: 8px; font-size: 12.5px; color: var(--text-faint); white-space: nowrap; }
.pt-tag {
  display: inline-block; margin-left: 8px; padding: 1px 8px; vertical-align: 3px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 11.5px; color: var(--text-dim); white-space: nowrap;
}
.pt-note { margin-top: 6px; max-width: 46ch; font-size: 13px; line-height: 1.5; color: var(--text-faint); white-space: normal; }
.pt-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.pt-fig { display: flex; flex-direction: column; min-width: 118px; }
.pt-speed { color: var(--text-dim); }
.pt-speed b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--text); margin-right: 4px; }
.pt-with { font-size: 13px; color: var(--text-faint); }
.pt-viz { flex: 1 1 120px; max-width: 200px; min-width: 96px; }
.pt-track { position: relative; height: 3px; border-radius: 2px; background: var(--line-strong); }
.pt-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--text-dim); width: 0; transition: width 900ms cubic-bezier(.2, .7, .2, 1); }
.pt-track-cap { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--text-faint); }
.pt-spark { width: 100%; height: 40px; overflow: visible; }
.pt-spark .sp-line { fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pt-spark .sp-base { stroke: var(--line-strong); }
.pt-spark .sp-pt { fill: var(--bg-2); stroke: var(--text-dim); stroke-width: 1.25; }

.notes { margin-top: var(--s6); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--gap); }
.notes dt { font-size: 13px; color: var(--text-dim); }
.notes dd { margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--text-faint); max-width: 54ch; }

/* ------------------------------------------------------------- 7. privacy --- */

.privacy { padding-block: clamp(112px, 15vw, 216px); background: var(--bg-sunk); }
.privacy-label { grid-column: 1 / 4; grid-row: 1; }
.statement {
  grid-column: 3 / 12; grid-row: 2;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.028em;
  text-wrap: balance;
}
.privacy-facts {
  grid-column: 3 / 11; grid-row: 3; margin-top: var(--s7);
  font-family: var(--serif); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; color: var(--text-dim);
}
.privacy-fine {
  grid-column: 3 / 9; grid-row: 4; margin-top: var(--s5);
  font-size: 15px; line-height: 1.65; color: var(--text-faint); max-width: 62ch;
}

/* ---------------------------------------------------------------- 8. uses --- */

.uses { padding-block: var(--section); }
.uses-head { grid-column: 1 / 7; }
.uses-body {
  grid-column: 1 / 13; position: relative; margin-top: var(--s8);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: start;
}
.uses-list { grid-column: 1 / 5; border-bottom: 1px solid var(--line); }
.uses-list label {
  display: flex; align-items: baseline; gap: 16px; padding: 15px 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(19px, 1.65vw, 23px); line-height: 1.3;
  color: var(--text-faint); cursor: pointer;
  transition: color var(--t), border-color var(--t);
}
.uses-list label:hover { color: var(--text-dim); }
.ul-n { flex: none; width: 22px; font-family: var(--font); font-size: 12px; color: var(--text-faint); }

#use-1:checked ~ .uses-list label[for="use-1"],
#use-2:checked ~ .uses-list label[for="use-2"],
#use-3:checked ~ .uses-list label[for="use-3"],
#use-4:checked ~ .uses-list label[for="use-4"],
#use-5:checked ~ .uses-list label[for="use-5"],
#use-6:checked ~ .uses-list label[for="use-6"] { color: var(--text); border-top-color: var(--text-dim); }

#use-1:focus-visible ~ .uses-list label[for="use-1"],
#use-2:focus-visible ~ .uses-list label[for="use-2"],
#use-3:focus-visible ~ .uses-list label[for="use-3"],
#use-4:focus-visible ~ .uses-list label[for="use-4"],
#use-5:focus-visible ~ .uses-list label[for="use-5"],
#use-6:focus-visible ~ .uses-list label[for="use-6"] { outline: 2px solid var(--text-faint); outline-offset: 2px; border-radius: 4px; }

.uses-stage { grid-column: 6 / 13; }
.pane {
  display: flex; flex-direction: column; min-height: 460px;
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 24px 56px -32px rgba(0, 0, 0, .6);
}
.pane-top {
  display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 20px;
  border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text-faint);
}
.pane-model { color: var(--text-dim); }
.pane-local { display: inline-flex; align-items: center; gap: 7px; }
.pane-local i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.use-panel { display: none; flex: 1; padding-top: 28px; }
.use-panel .w-msg { max-width: none; padding: 0 28px; }

#use-1:checked ~ .uses-stage .up-1,
#use-2:checked ~ .uses-stage .up-2,
#use-3:checked ~ .uses-stage .up-3,
#use-4:checked ~ .uses-stage .up-4,
#use-5:checked ~ .uses-stage .up-5,
#use-6:checked ~ .uses-stage .up-6 { display: block; animation: fade 180ms ease-out; }

.w-attach-chip {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; padding: 4px 10px 4px 8px;
  background: var(--bg-sunk); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 12px; color: var(--text-dim);
}
.w-attach-chip .ic { width: 15px; height: 15px; }

.ask-card {
  margin-bottom: 12px; padding: 14px 16px; max-width: 460px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
}
.ask-head { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.ask-head .ic { margin-top: 2px; color: var(--text-dim); }
.ask-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.ask-btn { height: 30px; line-height: 28px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13px; }
.ask-yes { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

.pane-composer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 8px 20px 20px; padding: 7px 7px 7px 16px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px;
  font-size: 14px; color: var(--text-faint);
}

/* ---------------------------------------------------------------- 8b. agent --- */

.agent { padding-block: var(--section); border-top: 1px solid var(--line); }
.agent-head { grid-column: 1 / 8; }
.agent-points {
  grid-column: 1 / 6; margin-top: var(--s8); align-self: start;
  border-bottom: 1px solid var(--line);
}
.agent-points li { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.agent-points .h3 { font-size: clamp(19px, 1.5vw, 22px); }
.agent-points p { margin-top: 6px; max-width: 46ch; font-size: 15.5px; line-height: 1.55; color: var(--text-dim); }
.agent-stage { grid-column: 7 / 13; margin-top: var(--s8); align-self: start; position: sticky; top: 112px; }
.agent-stage .pane { min-height: 0; }
.agent-run { padding: 28px 0 22px; }
.agent-run .w-msg { max-width: none; padding: 0 28px; }
.agent-steps { margin: 4px 28px 18px; display: grid; gap: 8px; }
.agent-steps li {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  background: var(--bg-sunk); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--text-dim);
}
.agent-steps li b { color: var(--text); font-weight: 500; }
.agent-steps .ic { flex: none; width: 16px; height: 16px; color: var(--good); }
.agent-steps .agent-wait { color: var(--text-faint); border-style: dashed; }
.agent-steps .agent-wait .ic { color: var(--text-faint); }
.agent-cap { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--text-faint); }
.agent-cap b { color: var(--text-dim); font-weight: 500; }

/* ------------------------------------------------ 9. requirements, questions --- */

.reqs { padding-block: var(--section); border-top: 1px solid var(--line); }
.reqs-head { grid-column: 1 / 5; }
.spec { grid-column: 6 / 13; border-bottom: 1px solid var(--line); }
.spec > div {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gap);
  padding: 17px 0; border-top: 1px solid var(--line);
}
.spec dt { font-size: 14px; color: var(--text-faint); padding-top: 1px; }
.spec dd { font-size: 16px; color: var(--text); }

.faq { padding-block: var(--section); border-top: 1px solid var(--line); }
.faq-head { grid-column: 1 / 5; align-self: start; position: sticky; top: 112px; }
.qa-list { grid-column: 6 / 13; border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s5);
  padding: 22px 0; list-style: none; cursor: pointer;
  font-size: clamp(17px, 1.35vw, 19px); line-height: 1.4; color: var(--text);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa-ico { color: var(--text); }
.qa-ico { flex: none; width: 18px; height: 18px; color: var(--text-faint); transform: translateY(3px); transition: transform 160ms ease, color var(--t); }
.qa[open] .qa-ico { transform: translateY(3px) rotate(45deg); }
.qa-a { padding: 0 48px 26px 0; }
.qa-a p { max-width: 62ch; color: var(--text-dim); }
.qa[open] .qa-a { animation: fade 180ms ease-out; }

/* ------------------------------------------------ 10. download, footer --- */

.get {
  position: relative; overflow: hidden;
  padding-block: clamp(104px, 13vw, 184px);
  background: var(--bg-2); border-top: 1px solid var(--line);
}
.get::before {
  content: ""; position: absolute; top: 50%; right: -620px; width: 1600px; height: 1000px;
  transform: translateY(-50%) scaleX(-1);
  background: url("/assets/circuit.svg") center / 1600px 1000px no-repeat;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 30%, #000 55%, transparent 80%);
  mask-image: linear-gradient(to left, transparent 0, #000 30%, #000 55%, transparent 80%);
  pointer-events: none;
}
.get .grid { position: relative; }
.get-title {
  grid-column: 1 / 10;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(44px, 6.8vw, 100px); line-height: 1; letter-spacing: -.03em;
  text-wrap: balance;
}
.get-side { grid-column: 7 / 13; margin-top: var(--s8); }
.get-lede { font-size: 16px; color: var(--text-dim); }
.get-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: var(--s5); }

.counter { display: inline-flex; align-items: center; gap: 10px; }
.counter-num { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--text); }
.counter-label { font-size: 14px; color: var(--text-faint); }
.counter-info {
  display: grid; place-items: center; width: 32px; height: 32px; margin-left: -2px;
  border-radius: 8px; color: var(--text-faint);
  transition: background-color var(--t), color var(--t);
}
.counter-info:hover { background: var(--hover); color: var(--text); }
.counter[data-state="loading"] .counter-num { color: var(--text-faint); }
.counter[data-state="error"] .counter-num { font-size: 22px; }

.release { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line); }
.release-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.release-facts dt { font-size: 12px; color: var(--text-faint); }
.release-facts dd { font-size: 15px; color: var(--text); }
.release-notes, .release-soon { margin-top: var(--s4); font-size: 14px; color: var(--text-dim); max-width: 52ch; }

.verify { margin-top: var(--s4); }
.verify summary {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0;
  list-style: none; cursor: pointer; font-size: 14px; color: var(--text-dim);
}
.verify summary::-webkit-details-marker { display: none; }
.verify summary:hover { color: var(--text); }
.verify summary .ic { width: 15px; height: 15px; transition: transform 160ms ease; }
.verify[open] summary .ic { transform: rotate(180deg); }
.verify-body { padding-top: 10px; font-size: 13.5px; color: var(--text-faint); max-width: 56ch; animation: fade 180ms ease-out; }
.sha { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.sha-value {
  flex: 1; min-width: 0; padding: 8px 10px; overflow-wrap: anywhere;
  background: var(--bg-sunk); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 12px; line-height: 1.5; color: var(--text-dim);
}
.sha .btn .ic { width: 15px; height: 15px; }
.verify-how code { color: var(--text-dim); overflow-wrap: anywhere; }

/* footer -------------------------------------------------------------------
 * The family footer shared with Aitele's other products: a brand block (mark,
 * one sentence, a live line, the company, the socials) beside four columns of
 * links, then the name itself, set enormous in outline and sinking out of view,
 * and a last line of fine print. Every page carries the same markup. */
.foot {
  position: relative; overflow: hidden;
  background: var(--bg-sunk); border-top: 1px solid var(--line);
  font-size: 14px; color: var(--text-faint);
}
.foot-in {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s7) var(--gap); padding-block: clamp(64px, 8vw, 104px) var(--s6);
}

.foot-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.foot-logo .brand-mark { width: 26px; height: 26px; }
.foot-logo-name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.foot-logo-hi { margin-left: 2px; font-size: 15px; color: var(--text-faint); }

.foot-say {
  margin-top: var(--s5); max-width: 22ch;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(24px, 2.3vw, 31px); line-height: 1.18; letter-spacing: -.012em;
  color: var(--text-dim); text-wrap: balance;
}

.foot-live {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin-top: var(--s5); font-size: 13px; color: var(--text-faint);
}
.foot-live b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.foot-live-sep { color: var(--line-focus); }
.foot-live-dot {
  position: relative; width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--good);
}
.foot-live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--good); opacity: 0;
  animation: foot-ping 2.8s ease-out infinite;
}
@keyframes foot-ping { 0% { transform: scale(.5); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.foot-live[data-state="loading"] b { color: var(--text-faint); }
.foot-live[data-state="error"] { display: none; }

.foot-venture { margin-top: var(--s4); font-size: 13.5px; color: var(--text-faint); }
.foot-venture a {
  color: var(--text-dim); text-decoration: none;
  border-bottom: 1px solid var(--line-strong); transition: color var(--t), border-color var(--t);
}
.foot-venture a:hover { color: var(--text); border-bottom-color: var(--line-focus); }

.foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); list-style: none; }
.foot-social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text-dim);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}
.foot-social a:hover { background: var(--text); border-color: var(--text); color: var(--bg); transform: translateY(-2px); }
.foot-social svg { width: 16px; height: 16px; }

.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--gap); align-content: start; }
.foot-h {
  margin-bottom: 14px;
  font: 500 10.5px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint);
}
.foot-col ul { list-style: none; }
.foot-col a {
  display: inline-block; padding: 6px 0; font-size: 14.5px; line-height: 1.35;
  color: var(--text-dim); text-decoration: none; overflow-wrap: anywhere;
  transition: color var(--t);
}
.foot-col a:hover, .foot-col a[aria-current="page"] { color: var(--text); }
.foot-col a.is-soon { color: var(--text-faint); cursor: default; }

/* The name, set as large as the page allows: an outline with a faint fill, fading
   out as it sinks behind the fine print. Decoration only, hidden from readers. */
.foot-word {
  position: relative; margin-top: clamp(16px, 3vw, 40px);
  overflow: hidden; pointer-events: none; user-select: none;
}
.foot-word span {
  display: block; padding-top: .06em;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(120px, 35vw, 460px); line-height: .8; letter-spacing: -.045em;
  white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1.5px rgba(235, 233, 228, .13);
  background: linear-gradient(180deg, rgba(235, 233, 228, .11), rgba(235, 233, 228, 0) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 45%, transparent 88%);
  transform: translateY(16%);
}

.foot-note {
  position: relative; padding-block: var(--s5) var(--s6);
  border-top: 1px solid var(--line);
}
.foot-fine { max-width: 92ch; font-size: 13px; line-height: 1.65; color: var(--text-faint); }
.foot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  margin-top: var(--s4); font-size: 12.5px; color: var(--text-faint);
}
.foot-row a { color: var(--text-dim); text-decoration: none; }
.foot-row a:hover { color: var(--text); }
.foot-row-end, .foot-legal-links { display: inline-flex; flex-wrap: wrap; gap: 4px 0; }
.foot-copy::after, .foot-legal-links > * + *::before { content: "·"; margin: 0 8px; color: var(--line-focus); }

/* legal -------------------------------------------------------------------- */
.legal-hero { padding-block: clamp(120px, 13vw, 176px) clamp(40px, 5vw, 64px); }
.legal-title {
  max-width: 17ch;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(42px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.026em;
  text-wrap: balance;
}
.legal-intro { margin-top: var(--s5); max-width: 58ch; font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; color: var(--text-dim); }
.legal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s6); list-style: none; }
.legal-chips a {
  display: inline-block; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 13.5px; color: var(--text-dim);
  text-decoration: none; transition: background-color var(--t), color var(--t), border-color var(--t);
}
.legal-chips a:hover { background: var(--hover); color: var(--text); border-color: var(--line-focus); }

.legal-body { padding-bottom: var(--section); }
.legal-toc { grid-column: 1 / 4; }
.legal-toc ol {
  position: sticky; top: 96px; list-style: none;
  border-left: 1px solid var(--line);
}
.legal-toc a {
  display: block; margin-left: -1px; padding: 7px 0 7px 16px;
  border-left: 1px solid transparent; font-size: 13.5px; color: var(--text-faint);
  text-decoration: none; transition: color var(--t), border-color var(--t);
}
.legal-toc a:hover { color: var(--text-dim); }
.legal-toc a[aria-current] { color: var(--text); border-left-color: var(--text); }
.legal-doc { grid-column: 4 / 12; }

.legal-sec + .legal-sec { margin-top: var(--s9); padding-top: var(--s9); border-top: 1px solid var(--line); }
.legal-sec > h2 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.02em;
}
.legal-updated { margin-top: 8px; font-size: 13.5px; color: var(--text-faint); }
.legal-sec h3 {
  margin-top: var(--s7);
  font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-faint);
}
.legal-sec p, .legal-sec li { max-width: 68ch; font-size: 15.5px; line-height: 1.72; color: var(--text-dim); }
.legal-sec p { margin-top: 12px; }
.legal-sec h3 + p { margin-top: 10px; }
.legal-sec ul, .legal-sec ol.legal-list { margin-top: 12px; padding-left: 1.3em; }
.legal-sec ul { list-style: disc; }
.legal-sec li + li { margin-top: 8px; }
.legal-sec li::marker { color: var(--text-faint); }
/* The licence refers to its own items by letter, so they keep the letters it uses. */
.legal-sec ol.legal-list { list-style: none; padding-left: 2.2em; counter-reset: item; }
.legal-sec ol.legal-list > li { position: relative; counter-increment: item; }
.legal-sec ol.legal-list > li::before {
  content: "(" counter(item, lower-alpha) ")"; position: absolute; left: -2.2em;
  color: var(--text-faint); font-variant-numeric: tabular-nums;
}
.legal-sec b, .legal-sec strong { font-weight: 600; color: var(--text); }
.legal-sec a { color: var(--text); }
.legal-short {
  margin-top: var(--s6); padding: 22px 24px; max-width: 68ch;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.legal-short p { margin-top: 0; color: var(--text); }
.legal-short .legal-short-k {
  display: block; margin-bottom: 8px;
  font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-faint);
}
/* The licence, word for word: its capitals are part of the text, kept. */
.licence-text h3 { margin-top: var(--s6); }
.licence-text .caps { font-size: 13.5px; letter-spacing: .01em; }
.legal-contact { margin-top: var(--s5); font-style: normal; font-size: 15.5px; line-height: 1.8; color: var(--text-dim); }
.legal-contact b { color: var(--text); }

/* not found */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; }
.lost {
  flex: 1; position: relative; overflow: hidden;
  padding-block: clamp(96px, 14vw, 200px);
}
.lost::before {
  content: ""; position: absolute; top: 0; right: -520px; width: 1600px; height: 1000px;
  background: url("/assets/circuit.svg") center / 1600px 1000px no-repeat;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 30%, #000 50%, transparent 75%);
  mask-image: linear-gradient(to left, transparent 0, #000 30%, #000 50%, transparent 75%);
  pointer-events: none;
}
.lost .grid { position: relative; }
.lost-label { grid-column: 1 / -1; }
.lost-title {
  grid-column: 1 / 10;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(42px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.028em; text-wrap: balance;
}
.lost-text { grid-column: 1 / 7; margin-top: var(--s5); font-size: clamp(17px, 1.35vw, 19px); color: var(--text-dim); }
.lost-cta { grid-column: 1 / -1; margin-top: var(--s7); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.lost-link { color: var(--text-dim); }
@media (max-width: 860px) { .lost-title, .lost-text { grid-column: 1 / -1; } }

/* -------------------------------------------- 11. downloads overlay --- */

.is-locked, .is-locked body { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal-scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity 160ms ease-out; }
.modal-panel {
  position: relative; width: min(780px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto;
  padding: 26px 28px 24px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(6px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}
.modal.is-open .modal-scrim { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-panel:focus-visible { outline: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-title { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
.modal-sub { margin-top: 2px; font-size: 13.5px; color: var(--text-faint); }
.modal-head .icon-btn { margin: -4px -8px 0 0; }

.st-body { margin-top: var(--s5); transition: opacity 160ms; }
.st-body[data-state="loading"] .st-content, .st-body[data-state="refreshing"] .st-content { opacity: .55; }
.st-error { padding: 32px 0 8px; }
.st-error-title { font-family: var(--serif); font-size: 19px; }
.st-error-text { margin: 6px 0 16px; color: var(--text-dim); font-size: 14px; }

.st-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.st-figs > div { padding: 14px 16px 14px 0; }
.st-figs > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.st-figs dt { font-size: 12px; color: var(--text-faint); }
.st-figs dd { margin-top: 2px; font-family: var(--serif); font-size: 28px; line-height: 1.2; color: var(--text); }
.st-since { margin-top: 8px; font-size: 12.5px; color: var(--text-faint); }

.st-filters { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: var(--s5) 0 var(--s4); }
.seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-sunk); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span {
  display: block; height: 28px; line-height: 28px; padding: 0 12px; border-radius: var(--r-sm);
  font-size: 12.5px; color: var(--text-dim); white-space: nowrap;
  transition: background-color var(--t), color var(--t);
}
.seg label:hover span { color: var(--text); }
.seg input:checked + span { background: var(--surface-hover); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong); }
.seg input:focus-visible + span { outline: 2px solid var(--text-faint); outline-offset: 1px; }

.st-chart { position: relative; min-height: 120px; }
.chart-host { position: relative; border-radius: 6px; touch-action: pan-y; }
.chart-host svg { width: 100%; height: auto; }
.chart-host:focus-visible { outline-offset: 4px; }
.chart-title { fill: var(--text-dim); font-size: 12.5px; font-family: var(--font); }
.chart-key { stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
.chart-key.dl { stroke-dasharray: 3 3; }
.chart-grid line { stroke: var(--line); }
.chart-grid line.base { stroke: var(--line-strong); }
.chart-ytick, .chart-xtick { fill: var(--text-faint); font-size: 11px; font-family: var(--font); }
.chart-area { fill: rgba(235, 233, 228, .06); }
.chart-line { fill: none; stroke: var(--text); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.chart-dot { fill: var(--text); stroke: var(--surface); stroke-width: 2; }
.chart-end-label { fill: var(--text-dim); font-size: 11.5px; font-family: var(--font); }
.chart-cross { stroke: var(--line-focus); }
.chart-tip {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; min-width: 150px;
  padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: var(--shadow-float); font-size: 12.5px;
}
.tip-date { color: var(--text-faint); margin-bottom: 4px; }
.tip-row { display: flex; align-items: baseline; gap: 6px; }
.tip-row b { font-weight: 600; color: var(--text); }
.tip-row span { color: var(--text-dim); }
.chart-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.chart-empty-title { font-family: var(--serif); font-size: 18px; }
.chart-empty-text { margin-top: 4px; font-size: 13px; color: var(--text-faint); max-width: 36ch; }

.st-table .table-scroll { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.st-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-table th, .st-table td { padding: 8px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.st-table th:first-child { text-align: left; }
.st-table thead th { position: sticky; top: 0; background: var(--surface); font-weight: 500; color: var(--text-faint); font-size: 12px; }
.st-table tbody th { font-weight: 400; color: var(--text-dim); }
.st-note { margin-top: var(--s4); font-size: 12.5px; line-height: 1.55; color: var(--text-faint); }

/* ---------------------------------------------- 12. motion, small screens --- */

@keyframes fade { from { opacity: 0; } }

.js [data-reveal] { transition: opacity 200ms ease-out, transform 200ms ease-out; }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(8px); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 1080px) {
  .hero-title { grid-column: 1 / -1; }
  .hero-side { grid-column: 1 / 9; padding-bottom: 0; }
  .feel-head, .faq-head { position: static; }
  .feel-head, .reqs-head, .faq-head { grid-column: 1 / -1; margin-bottom: var(--s7); }
  .steps, .spec, .qa-list { grid-column: 1 / -1; }
  .speed-head, .speed-lede { grid-column: 1 / -1; }
  .speed-lede { margin-top: var(--s5); }
  .dial { grid-template-columns: minmax(0, 1fr); row-gap: var(--s7); }
  .dial-control { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--s6); align-items: end; }
  .dial-read { margin-top: 0; }
  .uses-head { grid-column: 1 / -1; }
  .uses-list { grid-column: 1 / 6; }
  .uses-stage { grid-column: 6 / 13; }
  .agent-head { grid-column: 1 / -1; }
  .agent-points { grid-column: 1 / 7; }
  .agent-stage { grid-column: 7 / 13; }
  .statement { grid-column: 1 / 12; }
  .privacy-facts { grid-column: 1 / 11; }
  .privacy-fine { grid-column: 1 / 10; }
  .get-title { grid-column: 1 / -1; }
  .get-side { grid-column: 4 / 13; }
}

@media (max-width: 860px) {
  .masthead-nav { display: none; }
  .masthead .btn { margin-left: auto; }
  .hero-side { grid-column: 1 / -1; max-width: 520px; }
  .step { grid-template-columns: 36px minmax(0, 1fr); row-gap: var(--s5); }
  .step-art { grid-column: 2; max-width: 360px; }
  .uses-list, .uses-stage { grid-column: 1 / -1; }
  .agent-points, .agent-stage { grid-column: 1 / -1; }
  .agent-stage { position: static; margin-top: var(--s7); }
  .uses-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: var(--s6); }
  .uses-list label { font-size: 18px; padding: 12px 0; }
  .spec > div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .get-side { grid-column: 1 / -1; margin-top: var(--s7); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-say { max-width: 26ch; }
  .legal-toc { display: none; }
  .legal-doc { grid-column: 1 / -1; }
  .privacy-label, .statement, .privacy-facts, .privacy-fine { grid-column: 1 / -1; }

  /* The measurements become one block per model. */
  .pt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .pt, .pt tbody { display: block; }
  .pt tbody tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--gap);
    padding: 20px 0; border-top: 1px solid var(--line);
  }
  .pt tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .pt tbody th, .pt tbody td { display: block; padding: 0; border: 0 !important; width: auto !important; }
  .pt tbody th { grid-column: 1 / -1; }
  .pt tbody td:last-child { grid-column: 1 / -1; }
  .pt tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; color: var(--text-faint); }
  .pt-viz { max-width: none; }
}

@media (max-width: 560px) {
  :root { --section: 80px; }
  .h2 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero-title { font-size: clamp(46px, 13.6vw, 62px); }
  .hero-cta { width: 100%; }
  .hero-cta .btn, .get-cta .btn { width: 100%; }
  .hero-visual { margin-top: 40px; }
  .label { margin-bottom: var(--s5); }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step-n { font-size: 26px; }
  .step-art { grid-column: 1; max-width: none; }
  .dial-control { grid-template-columns: minmax(0, 1fr); }
  .pop { max-width: none; }
  .uses-list { grid-template-columns: minmax(0, 1fr); }
  .uses-list label { font-size: 18px; padding: 11px 0; }
  .agent-run .w-msg { padding: 0 18px; }
  .agent-steps { margin-inline: 18px; }
  .pane { min-height: 0; }
  .use-panel { padding-top: 20px; }
  .use-panel .w-msg { padding: 0 16px; }
  .w-ai > p, .w-ai li, .w-ai blockquote p { font-size: 14.5px; }
  .pane-composer { margin: 8px 12px 12px; }
  .ask-head { font-size: 13.5px; }
  .statement { font-size: clamp(36px, 10.6vw, 46px); }
  .get-title { font-size: clamp(40px, 11.6vw, 52px); }
  .get-cta { gap: 20px; }
  .release-facts { gap: 12px 28px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); }
  .foot-row { flex-direction: column; }
  .foot-copy { flex-basis: 100%; }
  .foot-copy::after { content: none; }
  .legal-sec + .legal-sec { margin-top: var(--s8); padding-top: var(--s8); }
  .legal-sec p, .legal-sec li { font-size: 15px; }
  .legal-short { padding: 18px 18px; }
  .modal { padding: 10px; align-items: end; }
  .modal-panel { padding: 20px 18px 18px; max-height: calc(100dvh - 20px); }
  .st-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-figs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .st-figs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .st-figs dd { font-size: 24px; }
  .seg span { padding: 0 9px; }
}

/* guides ------------------------------------------------------------------- */
/* Long-form help pages. They borrow the legal layout (hero, contents, document)
   and differ only where a guide needs to: readable questions, tables, a way to
   start at the end. */
.guide-meta { margin-top: var(--s5); font-size: 13.5px; color: var(--text-faint); }
.guide-doc .legal-sec h3 {
  margin-top: var(--s6);
  font: 400 clamp(19px, 1.5vw, 22px)/1.3 var(--serif); letter-spacing: -.005em;
  text-transform: none; color: var(--text);
}
.guide-doc ol.guide-list { margin-top: 12px; padding-left: 1.4em; list-style: decimal; }
.guide-doc ol.guide-list li::marker { color: var(--text-faint); }
.gt-wrap { margin-top: var(--s5); max-width: 76ch; overflow-x: auto; }
.gt { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.gt caption { caption-side: bottom; padding-top: 10px; text-align: left; font-size: 13px; color: var(--text-faint); }
.gt th, .gt td { padding: 11px 16px 11px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.gt thead th { border-top: 0; padding-top: 0; font-size: 12.5px; font-weight: 500; color: var(--text-faint); }
.gt tbody th { font-weight: 500; color: var(--text); }
.gt td { color: var(--text-dim); }
.gt tbody tr:last-child th, .gt tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.guide-cta {
  margin-top: var(--s9); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.guide-cta h2 { font-family: var(--serif-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.015em; }
.guide-cta p { margin-top: 8px; font-size: 14.5px; color: var(--text-dim); }
.guide-related { margin-top: var(--s8); }
.guide-related h2 { font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--text-faint); }
.guide-related ul { margin-top: 12px; list-style: none; border-bottom: 1px solid var(--line); }
.guide-related a {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(18px, 1.5vw, 21px); color: var(--text); text-decoration: none;
}
.guide-related a:hover { color: var(--text-dim); }
.guide-related a span { flex: none; font-family: var(--font); font-size: 13px; color: var(--text-faint); align-self: center; }
.guide-fine { margin-top: var(--s7); font-size: 13px; line-height: 1.6; color: var(--text-faint); max-width: 68ch; }

.guides-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-bottom: var(--section); list-style: none; }
.guides-list a {
  display: flex; flex-direction: column; height: 100%; padding: 26px 26px 24px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--text); text-decoration: none; transition: border-color var(--t), background-color var(--t);
}
.guides-list a:hover { border-color: var(--line-strong); background: var(--surface); }
.guides-list .gl-k { font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--text-faint); }
.guides-list h2 { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; letter-spacing: -.01em; }
.guides-list p { margin-top: 10px; flex: 1; font-size: 15px; line-height: 1.6; color: var(--text-dim); }
.guides-list .gl-go { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); }
@media (max-width: 860px) { .guides-list { grid-template-columns: minmax(0, 1fr); } }

/* contact ------------------------------------------------------------------ */
.contact-body { padding-bottom: var(--section); align-items: start; }
.contact-side { grid-column: 1 / 5; }
.contact-main { grid-column: 5 / 12; }
.contact-h { margin-bottom: 12px; font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--text-faint); }
.contact-list { margin-bottom: var(--s7); list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 12.5px; color: var(--text-faint); }
.contact-list a { font-size: 15.5px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--text-dim); }
.contact-tips { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; font-size: 14.5px; line-height: 1.6; color: var(--text-dim); }
.contact-tips li::marker { color: var(--text-faint); }
.contact-tips b { font-weight: 600; color: var(--text); }
.contact-fine { margin-top: var(--s6); max-width: 34ch; font-size: 13px; line-height: 1.6; color: var(--text-faint); }

.contact-form {
  display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.contact-form[hidden] { display: none; }
.ck-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.ck { position: relative; }
.ck input { position: absolute; opacity: 0; pointer-events: none; }
.ck span {
  display: inline-block; padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13.5px; color: var(--text-dim); cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.ck span:hover { color: var(--text); border-color: var(--line-focus); }
.ck input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.ck input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.cf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cf { display: grid; gap: 7px; }
.cf[hidden] { display: none; }
.cf > span { font-size: 13px; color: var(--text-dim); }
.cf > span i { font-style: normal; color: var(--text-faint); }
.cf input, .cf textarea {
  width: 100%; padding: 11px 14px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--r); font: inherit; font-size: 15px;
  transition: border-color var(--t), box-shadow var(--t);
}
.cf textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.cf input::placeholder, .cf textarea::placeholder { color: var(--text-faint); opacity: .85; }
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--line-focus); box-shadow: 0 0 0 3px var(--focus); }
.cf [aria-invalid="true"] { border-color: var(--bad); }
.cf-trap { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cf-note { max-width: 40ch; font-size: 13px; line-height: 1.55; color: var(--text-faint); }
.cf-note a { color: var(--text-dim); }
.cf-status { min-height: 1.2em; font-size: 14px; color: var(--text-dim); }
.cf-status:empty { display: none; }
.cf-status.bad { color: var(--bad); }

/* The outcome: shown by the script, or by the fragment the plain form post returns to. */
.contact-done, .contact-fail { display: none; }
.contact-done:target, .contact-done.is-shown {
  display: block; padding: clamp(24px, 3vw, 34px); outline: none;
  background: var(--bg-2); border: 1px solid var(--line-strong); border-left: 3px solid var(--good); border-radius: var(--r-lg);
}
.contact-done:target ~ .contact-form { display: none; }
.contact-done-k { font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--good); }
.contact-done h2 { margin-top: 12px; font-family: var(--serif-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.contact-done p { margin-top: 10px; max-width: 52ch; color: var(--text-dim); }
.contact-done .btn { margin-top: 20px; }
.contact-fail:target {
  display: block; margin-bottom: 16px; padding: 14px 18px; outline: none;
  border: 1px solid var(--line-strong); border-left: 3px solid var(--bad); border-radius: var(--r); color: var(--text-dim);
}
.contact-fail a { color: var(--text); }
@media (max-width: 860px) {
  .contact-side, .contact-main { grid-column: 1 / -1; }
  .contact-side { order: 2; margin-top: var(--s8); }
  .cf-two { grid-template-columns: minmax(0, 1fr); }
}

/* Agent mode is in beta, and the site says so wherever it is described. */
.beta-chip {
  display: inline-block; margin-left: 4px; padding: 1px 8px; vertical-align: 1px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font: 600 10.5px/1.5 var(--font); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ------------------------------------------------------- download guide --- */
/* Shown while the release has no Windows signature: what Windows will ask, and
   the two clicks that answer it, before the download starts (site.js 7b). */

.dl-note { display: flex; gap: 8px; align-items: flex-start; max-width: 34em;
  font-size: 13px; line-height: 1.45; color: var(--text-faint); }
.dl-note svg { flex: none; margin-top: 1px; color: var(--good); }
.dl-note-how { background: none; border: 0; padding: 0; font: inherit; color: var(--text);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-focus);
  cursor: pointer; }
.dl-note-how:hover { text-decoration-color: var(--text); }
.get-cta + .dl-note { margin-top: 14px; }
.guide-cta .dl-note { margin-top: 12px; }

.dlg-panel { width: min(700px, 100%); }
.dlg-head { display: flex; gap: 14px; align-items: flex-start; }
.dlg-mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 11px; background: var(--hover); color: var(--text); margin-top: 2px; }
.dlg-lede { margin-top: 18px; font-size: 15px; color: var(--text-dim); max-width: 46em; }
.dlg-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dlg-step p { margin-top: 10px; font-size: 13.5px; color: var(--text-dim); display: flex;
  gap: 8px; align-items: baseline; }
.dlg-step b { color: var(--text); font-weight: 600; }
.dlg-n { width: 20px; height: 20px; flex: none; border-radius: 50%; display: inline-grid;
  place-items: center; font-size: 11.5px; font-weight: 700; background: var(--accent);
  color: var(--accent-ink); transform: translateY(-1px); }

/* A drawing of Windows' box, not a copy of it: enough to recognise it later. */
.ss { position: relative; height: 138px; border-radius: 8px; padding: 12px 12px 10px;
  background: #1c5aa6; color: #fff; display: flex; flex-direction: column; gap: 6px;
  overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ss-title { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.ss-line { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .45); width: 92%; }
.ss-short { width: 64%; }
.ss-meta { font-size: 10.5px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.ss-link { align-self: flex-start; font-size: 11.5px; text-decoration: underline; }
.ss-row { margin-top: auto; display: flex; gap: 6px; justify-content: flex-end; }
.ss-btn { font-size: 10.5px; padding: 3px 9px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .55);
  white-space: nowrap; }
.ss-hl { position: relative; outline: 2px solid #ffd479; outline-offset: 3px; border-radius: 3px;
  animation: ss-ping 1.8s ease-in-out infinite; }
@keyframes ss-ping { 50% { outline-color: rgba(255, 212, 121, .35); } }
.ss-laghu { background: var(--bg-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ss-mark { color: var(--text); }
.ss-laghu .ss-title { font-family: var(--serif); font-weight: 400; font-size: 13px; }
.ss-solid { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 600; }

.dlg-tip { margin-top: 16px; display: flex; gap: 8px; align-items: flex-start; font-size: 13px;
  color: var(--text-dim); padding: 10px 12px; border-radius: var(--r); background: var(--bg-2);
  border: 1px solid var(--line); }
.dlg-tip svg { flex: none; margin-top: 1px; color: var(--text-faint); }
.dlg-tip b { color: var(--text); font-weight: 600; }
.dlg-trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.dlg-trust li { display: flex; gap: 9px; font-size: 13px; line-height: 1.45; color: var(--text-dim); }
.dlg-trust svg { flex: none; margin-top: 2px; color: var(--good); }
.dlg-trust b { color: var(--text); font-weight: 600; }
.dlg-sha { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
  font-size: 12px; color: var(--text-faint); }
.dlg-sha code { font-family: var(--mono); font-size: 11.5px; color: var(--text-dim);
  overflow-wrap: anywhere; flex: 1 1 260px; min-width: 0; }
.dlg-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }
.dlg-foot .btn { height: 46px; }
.dlg-go svg { flex: none; }
.dlg[data-stage="started"] .dlg-mark { color: var(--good); }

@media (max-width: 680px) {
  .dlg-steps { grid-template-columns: 1fr; }
  .ss { height: auto; min-height: 104px; }
  .dlg-trust { grid-template-columns: 1fr; }
  .dlg-foot .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .ss-hl { animation: none; } }

/* ---------------------------------------------------------- computer use -
   The light the app runs round the screen while it works: champagne to amber
   to coral, drifting slowly, with the status pill at the top. */
.computer { background:
  radial-gradient(900px 420px at 80% 30%, rgba(91, 157, 255, .055), transparent 70%); }
.cu-screen {
  position: relative; padding: 2px; border-radius: 18px;
  background: linear-gradient(115deg, #d4e8ff, #5b9dff 30%, #7b7cff 55%, #5b9dff 75%, #d4e8ff);
  background-size: 220% 100%;
  animation: cu-drift 12s linear infinite;
  box-shadow: 0 0 0 1px rgba(91, 157, 255, .25), 0 0 34px -6px rgba(91, 157, 255, .45),
              0 30px 80px -40px rgba(123, 124, 255, .55);
}
.cu-screen > .pane { border-radius: 16px; border: 0; }
@keyframes cu-drift { to { background-position: 220% 0; } }
.cu-pill {
  position: absolute; z-index: 2; top: -15px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; color: #f6f3ec;
  background: rgba(22, 21, 20, .94); border: 1px solid rgba(91, 157, 255, .55);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .6);
}
.cu-pill i { width: 7px; height: 7px; border-radius: 50%; background: #d4e8ff;
  box-shadow: 0 0 10px 2px rgba(91, 157, 255, .7); animation: cu-breathe 2.4s ease-in-out infinite; }
.cu-pill span { padding-left: 9px; border-left: 1px solid rgba(255, 255, 255, .18); color: #b9b4aa; }
@keyframes cu-breathe { 50% { opacity: .5; transform: scale(.8); } }
.cu-ask { border-color: rgba(91, 157, 255, .45); }
.cu-ask .ask-yes { background: #5b9dff; color: #0a1424; border-color: transparent; }
@media (max-width: 560px) { .cu-pill span { display: none; } }
@media (prefers-reduced-motion: reduce) { .cu-screen, .cu-pill i { animation: none; } }
.cu-screen > .pane .pane-top { padding-top: 24px; }

/* ------------------------------------------------- your models, now agents -
   The idea in one row: the models you have, what Laghu gives them, the work
   done. The middle card carries the same warm light as Computer use. */
.transform { padding-block: var(--section); border-top: 1px solid var(--line);
  background: radial-gradient(1000px 460px at 50% 70%, rgba(91, 157, 255, .05), transparent 70%); }
.transform-head { grid-column: 1 / 9; }
.flow { grid-column: 1 / -1; list-style: none; margin: var(--s8, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.flow-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .018); }
.flow-card:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -36px; width: 28px; height: 2px;
  background: linear-gradient(90deg, rgba(91, 157, 255, .2), rgba(91, 157, 255, .9));
}
.flow-card:not(:last-child)::before {
  content: ""; position: absolute; top: calc(50% - 4px); right: -38px; width: 8px; height: 8px;
  border-top: 2px solid rgba(91, 157, 255, .9); border-right: 2px solid rgba(91, 157, 255, .9);
  transform: rotate(45deg);
}
.flow-k { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-faint); }
.flow-k b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-strong, rgba(255,255,255,.18)); font-weight: 500; letter-spacing: 0; color: var(--text-dim); }
.flow-card .h3 { font-size: clamp(20px, 1.6vw, 24px); }
.flow-card p { font-size: 15.5px; line-height: 1.55; color: var(--text-dim); }
.flow-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.flow-chips li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-dim); }
.flow-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.flow-list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; color: var(--text-dim); }
.flow-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%;
  background: #5b9dff; box-shadow: 0 0 8px rgba(91, 157, 255, .7); }
.flow-list b { color: var(--text); font-weight: 500; }
.flow-laghu { border: 0; background:
    linear-gradient(var(--bg, #141413), var(--bg, #141413)) padding-box,
    linear-gradient(115deg, #d4e8ff, #5b9dff 35%, #7b7cff 65%, #d4e8ff) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 0 1px rgba(91, 157, 255, .12), 0 24px 60px -30px rgba(91, 157, 255, .55); }
.flow-laghu .flow-k { color: #8fbaff; }
.flow-laghu .flow-k b { border-color: rgba(91, 157, 255, .6); color: #d4e8ff; }
.flow-cap { grid-column: 1 / -1; margin-top: 22px; font-size: 13.5px; line-height: 1.55; color: var(--text-faint); }
.flow-cap a { color: var(--text-dim); }
@media (max-width: 900px) {
  .transform-head { grid-column: 1 / -1; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .flow-card:not(:last-child)::after { top: auto; bottom: -32px; right: auto; left: 50%; width: 2px; height: 24px;
    background: linear-gradient(180deg, rgba(91, 157, 255, .2), rgba(91, 157, 255, .9)); }
  .flow-card:not(:last-child)::before { top: auto; bottom: -34px; right: auto; left: calc(50% - 4px); transform: rotate(135deg); }
}

/* The two things Laghu does that matter most, as two short lines. */
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-points li { position: relative; padding-left: 20px; font-size: clamp(17px, 1.3vw, 18.5px);
  line-height: 1.5; color: var(--text-dim); text-wrap: pretty; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px;
  border-radius: 50%; background: #5b9dff; box-shadow: 0 0 10px rgba(91, 157, 255, .65); }
.hero-points b { display: block; color: var(--text); font-weight: 600; }
/* The message box mock-up: Agent, Computer and Lean, as in the app. */
.w-toggle-l + .w-toggle { margin-left: 12px; }
@media (max-width: 1100px) { .w-lean { display: none; } }
