/* Belo: sales site. One stylesheet, no framework.
   Brand v5 (docs/brand.md): black canvas, grey islands, white selection, node-flow visuals.
   Colour only ever comes from the client site inside the mock. */

/* ---------- Fonts (self-hosted, subset by unicode-range) ---------- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2?v=1") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-ext.woff2?v=1") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-ext.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-italic.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-ext-italic.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallbacks keep the swap from shifting layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Serif Fallback";
  src: local("Times New Roman"), local("Times");
  size-adjust: 96%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

/* ---------- Tokens (brand.md v5: one neutral scale, one accent token) ---------- */
:root {
  color-scheme: dark;
  /* neutral scale */
  --canvas: #000000;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --surface-3: #242424;
  --line: rgb(255 255 255 / .11);
  --line-strong: rgb(255 255 255 / .18);
  --dot: #262626;
  --text: #ffffff;
  --text-2: rgb(255 255 255 / .60);
  --text-3: rgb(255 255 255 / .56);
  --wire: rgb(255 255 255 / .16);
  --wire-fill: rgb(255 255 255 / .06);
  --primary: #ffffff;
  --on-primary: #000000;
  /* semantic state: 6px dot + text only */
  --ok: #5fbf8a;
  --warn: #d4bc5a;
  --bad: #e5645a;
  /* the one accent (roles A and B only) */
  --ember: #ff6a2b;

  /* type */
  --font-sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Serif Fallback", ui-serif, Georgia, serif; /* wordmark only */
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-client: ui-serif, Georgia, "Times New Roman", serif; /* headings inside client-site mocks */

  /* spacing 4 8 12 16 24 32 48 64 112 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 112px;

  /* radii */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-preset: 14px; --r-modal: 16px; --r-xl: 18px; --r-pill: 999px;
  --ring-sel: 0 0 0 2px var(--canvas), 0 0 0 4px var(--text);

  /* motion */
  --dur-press: 80ms; --dur-fast: 160ms; --dur-card: 300ms; --dur-enter: 400ms; --dur-media: 500ms; --dur-flow: 1200ms;
  --ease-std: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --rise: 8px;

  /* layout */
  --container: 1200px;
  --gutter: 24px;
  --section-pad: 112px;

  /* legacy aliases used by the kept Studio / showcase / signup blocks */
  --bg: var(--canvas);
  --border: var(--line-strong);
  --hairline: var(--line);
  --muted: var(--text-2);
  --focus: #fff;
  --faint: var(--text-3);
  --primary-text: var(--on-primary);
  --select: #ffffff;
  --island: var(--surface);
  --radius-sm: 8px;
  --gap-island: 8px;
  --text-sm: .875rem;
  --text-xs: .8125rem;
  --text-body: 1rem;
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-pad: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--canvas); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); transition: text-decoration-color var(--dur-fast) var(--ease-std); }
p a:hover, li a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: rgb(255 255 255 / .9); color: #000; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 8px 12px; border-radius: var(--r-md); font-size: 13px; font-weight: 500; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--text-2); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; }

/* ---------- Type ---------- */
.kicker, .label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--text-2); }
.meta { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: -.01em; font-weight: 500; color: var(--text-2); }
.display { font-size: 48px; line-height: 50px; letter-spacing: -.02em; font-weight: 600; }
.h2 { font-size: 36px; line-height: 40px; letter-spacing: -.02em; font-weight: 600; }
.h3 { font-size: 14px; line-height: 20px; letter-spacing: -.025em; font-weight: 600; }
.lead { font-size: 20px; line-height: 28px; color: var(--text-2); max-width: 62ch; }
@media (max-width: 640px) {
  .display { font-size: 36px; line-height: 40px; }
  .h2 { font-size: 28px; line-height: 32px; }
  .lead { font-size: 17px; line-height: 26px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: var(--r-md);
  font-size: 13px; line-height: 18px; font-weight: 500; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std), transform var(--dur-press) var(--ease-std);
}
.btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: rgb(255 255 255 / .86); }
.btn-ghost { background: rgb(255 255 255 / .045); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgb(255 255 255 / .08); border-color: var(--line-strong); }
.btn-sm { height: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-2); transition: color var(--dur-fast) var(--ease-std); }
.link-arrow:hover { color: var(--text); }
.link-arrow .ic { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-std); }
.link-arrow:hover .ic { transform: translateX(2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- Chips, tiles, nodes (shared visual objects, brand §11) ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px; border-radius: var(--r-pill); background: var(--wire-fill); font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); flex: none; }
.chip.ok::before { background: var(--ok); }
.itile { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.itile svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dots { background-color: var(--canvas); background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 20px 20px; }

.node {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 12px; display: grid; gap: 8px; min-width: 0;
}
.node-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.node-title { font-size: 13px; line-height: 18px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.node-title .ic { width: 16px; height: 16px; color: var(--text-2); }
.node-row { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 12px; line-height: 16px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node-row .ic { width: 14px; height: 14px; }
.node-row b { color: var(--text); font-weight: 500; }
.port { position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); display: grid; place-items: center; z-index: 1; }
.port::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text); }
.port-in { left: -7px; }
.port-out { right: -7px; }
.edge { display: block; color: var(--wire); overflow: visible; }
.edge line { stroke: currentColor; stroke-width: 1; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.edge.is-active { color: var(--text-2); }
.edge-v { display: none; }

/* ---------- Header (transparent, glass after scroll) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; border-bottom: 1px solid transparent; transition: background-color var(--dur-card) var(--ease-std), border-color var(--dur-card) var(--ease-std); }
.site-header.glass { background: rgb(18 18 18 / .94); border-bottom-color: var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.glass { background: rgb(18 18 18 / .60); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }
}
.nav { height: 64px; display: flex; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-serif); font-size: 1.625rem; line-height: 1; letter-spacing: -.01em; }
.wordmark svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0 auto 0 8px; }
.nav-links a { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: var(--r-md); font-size: 13px; font-weight: 500; color: var(--text-2); transition: color var(--dur-fast) var(--ease-std), background-color var(--dur-fast) var(--ease-std); text-decoration: none; }
.nav-links a:hover { color: var(--text); background: rgb(255 255 255 / .045); }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: var(--r-md); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--text-2); }
.lang:hover { color: var(--text); background: rgb(255 255 255 / .045); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-login { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: var(--r-md); font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color var(--dur-fast) var(--ease-std), background-color var(--dur-fast) var(--ease-std); }
.nav-login:hover { color: var(--text); background: rgb(255 255 255 / .045); }
.nav-end .btn { white-space: nowrap; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-md); background: none; color: var(--text-2); cursor: pointer; transition: color var(--dur-fast) var(--ease-std), background-color var(--dur-fast) var(--ease-std); }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { color: var(--text); background: rgb(255 255 255 / .045); }
.nav-toggle svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .nav-x { display: none; }
  .nav-login { padding: 0 6px; }
  .wordmark span { font-size: 1.375rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 152px 0 var(--section-pad); }
.hero-copy { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.hero-copy .lead { margin-inline: auto; }
.hero-copy .cta-row { justify-content: center; margin-top: 8px; }
.sources { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: 13px; color: var(--text-2); }
.sources b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--text-2); margin-right: 8px; }
.proof { margin-top: 48px; }
.proof ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.proof li { display: grid; gap: 4px; align-content: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.proof strong { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 20px; line-height: 28px; font-weight: 500; }
.proof span { font-size: 13px; line-height: 18px; color: var(--text-2); }
.proof small { font-family: var(--font-mono); font-size: 11px; line-height: 16px; color: var(--text-2); }

/* Studio mock island */
.stage { margin: 48px 0 0; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 12px; }
.stage-caption { margin-top: 12px; text-align: center; font-size: 13px; line-height: 18px; color: var(--text-2); }

.studio {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--gap-island);
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 264px;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--gap-island);
  font-size: var(--text-xs);
  line-height: 1.4;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
  user-select: none;
}
.island { background: var(--surface); border-radius: var(--r-lg); min-width: 0; }

.st-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 8px; }
.st-brand { font-family: var(--font-serif); font-size: 1.125rem; padding: 0 8px 0 6px; }
.st-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px;
  border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); white-space: nowrap;
}
.st-chip svg, .st-icon svg { width: 14px; height: 14px; }
.st-chip .chev { color: var(--faint); }
.st-seg { display: inline-flex; background: var(--surface-2); border-radius: var(--radius-sm); padding: 2px; }
.st-seg span { display: inline-grid; place-items: center; width: 30px; height: 26px; border-radius: 6px; color: var(--faint); }
.st-seg span.on { background: #2a2a2a; color: var(--text); }
.st-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: var(--radius-sm); color: var(--muted); }
.st-spacer { flex: 1; }
.st-changes { color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.st-changes i { width: 6px; height: 6px; border-radius: 50%; background: var(--text); display: inline-block; }
.st-publish { height: 30px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--primary); color: var(--primary-text); font-weight: 600; display: inline-flex; align-items: center; }

.st-panel { padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.st-label { color: var(--faint); font-weight: 500; padding: 4px 8px 8px; }
.st-row { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: var(--radius-sm); color: var(--muted); }
.st-row svg { width: 14px; height: 14px; flex: none; }
.st-row.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px #3a3a3a; }
.st-row.off { color: #5c5c5c; }
.st-sep { height: 1px; background: var(--hairline); margin: 10px 8px; }

/* The client's site — the only colour on the page. */
.st-canvas { padding: 12px; display: grid; place-items: stretch; background: var(--island); }
.client {
  --c-bg: #f3ede4; --c-ink: #2b211b; --c-accent: #5f6b47; --c-soft: #e6d9c8;
  background: var(--c-bg); color: var(--c-ink); border-radius: 8px; overflow: hidden;
  font-family: var(--font-sans); display: flex; flex-direction: column;
}
.client-nav { display: flex; align-items: center; gap: 18px; padding: 14px 22px; font-size: 0.75rem; }
.client-logo { font-family: var(--font-client); font-size: 1.25rem; margin-right: auto; }
.client-nav span:not(.client-logo) { opacity: 0.7; }
.client-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; padding: 18px 22px 26px; align-items: center; }
.client-eyebrow { font-size: 0.6875rem; color: var(--c-accent); font-weight: 600; margin-bottom: 30px; }
.client-h {
  font-family: var(--font-client); font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.5rem); line-height: 1.05; letter-spacing: -0.01em;
  position: relative; display: block; outline: 1.5px solid var(--select); outline-offset: 6px; border-radius: 2px; text-wrap: balance;
}
.client-h-wrap { position: relative; margin-bottom: 20px; }
.client-tag {
  position: absolute; top: -27px; left: -7px; z-index: 1; background: #fff; color: #000; font-size: 0.625rem; font-weight: 600;
  padding: 2px 6px; border-radius: 4px; font-family: var(--font-sans); letter-spacing: 0;
}
.caret { display: inline-block; width: 1.5px; height: 0.9em; background: var(--c-ink); vertical-align: -0.08em; margin-left: 2px; }
.client-p { font-size: 0.75rem; line-height: 1.55; opacity: 0.78; max-width: 34ch; margin-bottom: 16px; }
.client-btn { display: inline-flex; height: 30px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--c-ink); color: var(--c-bg); font-size: 0.6875rem; font-weight: 600; }
.client-art {
  aspect-ratio: 4 / 3.4; border-radius: 6px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #d8d5cd 0%, #c6c2b8 55%, #b2ada2 100%);
}
.vessel { position: absolute; bottom: 14%; border-radius: 46% 46% 40% 40% / 38% 38% 62% 62%; }
.vessel.v1 { left: 12%; width: 30%; height: 44%; background: linear-gradient(90deg, #4a5536, #5f6b47 45%, #525d3d); }
.vessel.v2 { left: 40%; width: 22%; height: 58%; background: linear-gradient(90deg, #e9e1d4, #f6f1e9 45%, #dcd1c1); border-radius: 40% 40% 34% 34% / 22% 22% 70% 70%; }
.vessel.v3 { left: 64%; width: 26%; height: 30%; background: linear-gradient(90deg, #3e322b, #5a4a40 45%, #43362f); border-radius: 18% 18% 50% 50% / 20% 20% 80% 80%; }
.client-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15%; background: rgba(40, 40, 36, 0.16); }
.client-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-soft); border-top: 1px solid var(--c-soft); }
.client-strip div { background: var(--c-bg); padding: 12px 22px; font-size: 0.6875rem; }
.client-strip b { display: block; font-weight: 600; margin-bottom: 2px; }
.client-strip span { opacity: 0.65; }

.st-inspector { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.st-tabs { display: flex; gap: 2px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 2px; }
.st-tabs span { flex: 1; text-align: center; height: 26px; line-height: 26px; border-radius: 6px; color: var(--faint); }
.st-tabs span.on { background: #2a2a2a; color: var(--text); }
.st-field { display: grid; gap: 6px; }
.st-field > span { color: var(--faint); }
.st-input { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; color: var(--text); min-height: 32px; }
.st-input.focus { border-color: #8a8a8a; }
.st-input.area { min-height: 60px; color: var(--muted); }
.st-swatches { display: flex; gap: 6px; }
.st-swatches i { width: 22px; height: 22px; border-radius: 6px; display: block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.st-swatches .sw1 { background: #5f6b47; } .st-swatches .sw2 { background: #3e322b; } .st-swatches .sw3 { background: #e9e1d4; } .st-swatches .sw4 { background: #55606b; }
.st-swatches i.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--select); }
.st-scale { display: flex; gap: 2px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 2px; }
.st-scale span { flex: 1; text-align: center; height: 24px; line-height: 24px; border-radius: 6px; color: var(--faint); }
.st-scale span.on { background: #2a2a2a; color: var(--text); }
.st-note { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; color: var(--faint); padding: 10px; border-radius: var(--radius-sm); background: var(--surface-2); }
.st-note svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }

.stage-caption { margin-top: 16px; text-align: center; font-size: var(--text-sm); color: var(--text-2); }

/* ---------- Sections ---------- */
.section { padding: 0 0 var(--section-pad); }
.section-head { display: grid; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.section-head .lead { margin-top: 4px; }
.small { font-size: 13px; line-height: 18px; color: var(--text-2); }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--r-pill); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; line-height: 16px; color: var(--text-2); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* code (one block per page section, mono) */
code, kbd { font-family: var(--font-mono); font-size: .92em; }
.code {
  margin: 0; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 16px; font-family: var(--font-mono); font-size: 12px; line-height: 20px; color: var(--text-2);
  overflow-x: auto; white-space: pre; tab-size: 2;
}
.code .t { color: var(--text); }
.code .a { color: rgb(255 255 255 / .8); }
.code .s { color: rgb(255 255 255 / .7); }
.code .k { color: var(--text-3); }
.term { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0; }
.term-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.term-bar .meta { color: var(--text-2); }
.term .code { border: 0; border-radius: 0; background: transparent; padding: 16px; font-size: 12.5px; }

/* ---------- How it works: node flow ---------- */
.flow {
  display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: start; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-xl);
}
.flow-step { display: grid; gap: 16px; min-width: 0; }
.flow-step > p { font-size: 14px; line-height: 22px; color: var(--text-2); max-width: 40ch; }
.flow-step .label { color: var(--text-2); }
.flow-edge { height: 108px; display: grid; align-items: center; }
.flow-edge .edge-h { width: 100%; height: 2px; }
.flow-edge .edge-v { width: 2px; height: 100%; margin-inline: auto; }

/* ---------- Showcase (bullets with icons) ---------- */
.show-points { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.show-points li { display: flex; gap: 10px; align-items: flex-start; }
.show-points li .ic { width: 14px; height: 14px; margin-top: 3px; color: var(--text); }

/* ---------- Looks: preset tiles + 4:3 preview ---------- */
.looks { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.looks-pick { display: grid; gap: 24px; }
.looks-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 68px); gap: 20px 24px; }
.pt-btn { display: grid; gap: 8px; justify-items: center; padding: 0; background: none; border: 0; cursor: pointer; color: var(--text-2); font-size: 12px; line-height: 16px; font-weight: 500; }
.pt-btn:focus-visible { outline: none; }
.pt-btn:focus-visible .pt-tile { outline: 2px solid var(--focus); outline-offset: 6px; }
.pt-tile {
  position: relative; width: 68px; height: 68px; border-radius: var(--r-preset); display: grid; place-items: center;
  background: var(--lp-bg); color: var(--lp-ink); font-family: var(--lp-font); font-size: 22px; line-height: 1;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
  transition: transform var(--dur-fast) var(--ease-std), box-shadow var(--dur-fast) var(--ease-std);
}
.pt-tile i { position: absolute; right: 9px; bottom: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--lp-accent); }
.pt-btn:hover .pt-tile { transform: translateY(-2px); }
.pt-btn[aria-pressed="true"] { color: var(--text); }
.pt-btn[aria-pressed="true"] .pt-tile { box-shadow: var(--ring-sel); }
.lp-1 { --lp-bg: #f3ede4; --lp-ink: #2b211b; --lp-accent: #5f6b47; --lp-font: var(--font-client); }
.lp-2 { --lp-bg: #1f1d2b; --lp-ink: #e8e4f0; --lp-accent: #7a6fb0; --lp-font: var(--font-sans); }
.lp-3 { --lp-bg: #e6f0ee; --lp-ink: #12302c; --lp-accent: #2f8f84; --lp-font: var(--font-sans); }
.lp-4 { --lp-bg: #efe4d6; --lp-ink: #3e322b; --lp-accent: #55606b; --lp-font: var(--font-client); }
.lp-5 { --lp-bg: #eef0e2; --lp-ink: #2a3320; --lp-accent: #6f7a5a; --lp-font: var(--font-sans); }
.lp-6 { --lp-bg: #f6e7e6; --lp-ink: #3a2326; --lp-accent: #c9767c; --lp-font: var(--font-client); }
.lp-7 { --lp-bg: #e5eaf0; --lp-ink: #1b2733; --lp-accent: #4a6a8a; --lp-font: var(--font-sans); }
.lp-8 { --lp-bg: #f3ead9; --lp-ink: #3b3328; --lp-accent: #c2a06a; --lp-font: var(--font-client); }
.lp-9 { --lp-bg: #0f1a1c; --lp-ink: #e6f2ef; --lp-accent: #5fb3a6; --lp-font: var(--font-sans); }

.look-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 12px; display: grid; gap: 12px; }
.look-prev {
  aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--lp-bg); color: var(--lp-ink);
  display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 16px 20px 20px; font-size: 12px;
  transition: background-color var(--dur-media) var(--ease-std), color var(--dur-media) var(--ease-std);
}
.lpv-nav { display: flex; align-items: center; gap: 12px; }
.lpv-nav b { font-family: var(--lp-font); font-size: 15px; font-weight: 600; margin-right: auto; }
.lpv-nav i { width: 36px; height: 5px; border-radius: 3px; background: currentColor; opacity: .25; }
.lpv-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.lpv-copy { display: grid; gap: 10px; justify-items: start; }
.lpv-eye { width: 64px; height: 5px; border-radius: 3px; background: var(--lp-accent); }
.lpv-h { font-family: var(--lp-font); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.08; font-weight: 600; letter-spacing: -.01em; }
.lpv-line { width: 92%; height: 5px; border-radius: 3px; background: currentColor; opacity: .18; }
.lpv-line.s { width: 70%; }
.lpv-btn { margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: var(--lp-accent); color: var(--lp-bg); font-size: 11px; font-weight: 600; transition: background-color var(--dur-media) var(--ease-std); }
.lpv-art { aspect-ratio: 1; border-radius: 10px; background: color-mix(in srgb, var(--lp-accent) 30%, var(--lp-bg)); position: relative; overflow: hidden; }
.lpv-art::after { content: ""; position: absolute; left: 30%; bottom: 0; width: 40%; height: 62%; border-radius: 40% 40% 12% 12%; background: var(--lp-accent); opacity: .85; }
.lpv-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lpv-strip i { height: 36px; border-radius: 8px; background: currentColor; opacity: .08; }
.look-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 0 4px 4px; }
.look-cap .card-title { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.025em; }
.look-cap .tags { margin-left: auto; }

/* ---------- Built in: satellites around a 4:3 wireframe ---------- */
.sat-stage {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto;
  gap: 32px 40px; align-items: center; padding: 48px 40px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: var(--r-xl);
}
.sat-core { grid-column: 2; grid-row: 1 / 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 12px; display: grid; gap: 12px; }
.sat-core .card-title { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.025em; }
.sat-core figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 4px; }
.wf { aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--surface-2); padding: 16px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; }
.wf-nav { display: flex; gap: 8px; align-items: center; }
.wf-nav i { width: 28px; height: 4px; border-radius: 2px; background: var(--wire); }
.wf-nav i:first-child { width: 48px; height: 6px; margin-right: auto; background: var(--text-3); }
.wf-h { height: 2px; width: 62%; background: var(--wire); box-shadow: 0 10px 0 var(--wire); margin-bottom: 10px; }
.wf-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wf-blocks i { border-radius: var(--r-sm); background: var(--wire-fill); border: 1px solid var(--line); min-height: 48px; }
.wf-btn { width: 84px; height: 20px; border-radius: var(--r-sm); background: var(--primary); }
.sat { position: relative; background: var(--surface); border: 4px solid var(--surface-3); border-radius: var(--r-md); padding: 16px 10px 10px; display: grid; gap: 6px; min-width: 0; }
.sat-1 { grid-column: 1; grid-row: 1; }
.sat-2 { grid-column: 1; grid-row: 2; }
.sat-3 { grid-column: 3; grid-row: 1; }
.sat-4 { grid-column: 3; grid-row: 2; }
.sat-label { position: absolute; top: -12px; left: 8px; background: var(--primary); color: var(--on-primary); font-size: 11px; line-height: 16px; font-weight: 500; padding: 2px 6px; border-radius: var(--r-xs); }
.sat .node-row { height: 24px; font-size: 11.5px; }
.sat .chip { justify-self: start; margin-top: 2px; }

.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature {
  display: grid; gap: 8px; align-content: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur-card) var(--ease-out), border-color var(--dur-card) var(--ease-std);
}
.feature .itile { margin-bottom: 8px; }
.feature-title { display: block; }
.feature p { color: var(--text-2); font-size: 14px; line-height: 20px; }

/* ---------- MCP ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.mcp-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.mcp-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--text-2); font-size: 14px; line-height: 22px; }
.mcp-list li > span:last-child { padding-top: 5px; }
.mcp-list strong { color: var(--text); font-weight: 600; }
.mcp-side { display: grid; gap: 12px; min-width: 0; }
.mcp-flow { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr); align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-xl); }
.mcp-flow .node { padding: 10px; }
.mcp-flow .node-row { height: 24px; font-size: 11.5px; }
.mcp-flow .flow-edge { height: auto; }

/* ---------- Compare ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--text-2); }
.compare thead th:last-child { color: var(--text); }
.compare tbody th { font-weight: 600; width: 20%; color: var(--text); }
.compare td { color: var(--text-2); width: 40%; }
.compare td .chip { display: flex; width: max-content; margin-bottom: 8px; }
.compare td:last-child { color: var(--text); background: rgb(255 255 255 / .02); }
.compare-note { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--text-2); max-width: 70ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.01em; border-radius: var(--r-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 16px; height: 16px; flex: none; color: var(--text-3); fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform var(--dur-fast) var(--ease-std); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 40px 16px 16px; color: var(--text-2); font-size: 14px; line-height: 22px; max-width: 68ch; }
.faq details p + p { margin-top: -8px; }

/* ---------- Final CTA (the one fade per page) ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; text-align: center; display: grid; justify-items: center; gap: 16px; padding: var(--section-pad) var(--gutter); border-top: 1px solid var(--line); }
.final-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final .h2 { max-width: 20ch; }
.final .lead { margin-inline: auto; }
.final .cta-row { justify-content: center; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 48px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; }
.footer-links a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-note { margin-top: 20px; font-size: 13px; max-width: 80ch; line-height: 18px; }

/* ---------- Legal pages ---------- */
.legal { padding-block: 136px var(--section-pad); max-width: 720px; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.todo { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 16px; margin: 24px 0; color: var(--text); background: var(--wire-fill); }
.todo strong { font-weight: 600; }

/* ---------- Showcase: animated Studio mockups ---------- */
.shows { display: grid; gap: clamp(56px, 8vw, 112px); margin-top: clamp(36px, 5vw, 56px); }
.show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.show:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.show:nth-child(even) .show-text { order: 2; }
.show-text { display: grid; gap: 14px; }
.show-text > * { margin: 0; }
.show-num { font-size: var(--text-xs); color: var(--text-2); font-variant-numeric: tabular-nums; }
.show-title { font-family: var(--font-sans); font-weight: 600; font-size: 28px; line-height: 32px; letter-spacing: -.02em; }
.show-text p { color: var(--muted); max-width: 46ch; }

.demo { --c-ink: var(--text); position: relative; display: grid; gap: 8px; padding: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; font-size: 12.5px; line-height: 1.4; overflow: hidden; color: var(--text); }
.dm-bar { background: var(--island); display: flex; gap: 8px; padding: 6px; border-radius: 10px; align-items: center; min-width: 0; }
.dm-brand { font-family: var(--font-serif); font-size: 16px; padding: 0 6px; }
.dm-chip { display: inline-flex; height: 26px; align-items: center; padding: 0 9px; background: var(--surface); border-radius: 7px; color: var(--muted); white-space: nowrap; }
.dm-sp { flex: 1; }
.dm-status { color: var(--muted); white-space: nowrap; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.dm-status .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-status .dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.dm-pub { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; background: var(--primary); color: var(--primary-text); font-weight: 600; border-radius: 7px; white-space: nowrap; }
.dm-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 8px; }
.dm-body.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dm-isl { background: var(--island); border-radius: 10px; min-width: 0; }
.dm-pad { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.dm-canvas { padding: 10px; }
.dm-label { color: var(--text-2); font-size: 11.5px; display: flex; justify-content: space-between; gap: 8px; }
.dm-input { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 7px 9px; white-space: nowrap; overflow: hidden; min-height: 32px; }
.dm-input.focus { border-color: #5a5a5a; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06); }
.dm-input.wrap { white-space: normal; color: var(--muted); }
.dm-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.dm-seg span { display: grid; place-items: center; background: var(--surface); border-radius: 6px; height: 26px; color: var(--muted); }
.dm-seg span.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.dm-sw { display: flex; gap: 6px; }
.dm-sw i { width: 20px; height: 20px; border-radius: 50%; background: #1d1d1d; }
.dm-sw i:nth-child(2) { background: #e9e6e1; }
.dm-sw i:nth-child(3) { background: #8a8a8a; }
.dm-sw i:first-child { outline: 2px solid #fff; outline-offset: 2px; }

/* neutral page inside the editor */
.mock .dm-page { --c-bg: #e9e6e1; --c-ink: #1d1d1d; --c-soft: #cfcac2; background: var(--c-bg); color: var(--c-ink); border-radius: 7px; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.pg-nav { display: flex; gap: 8px; align-items: center; }
.pg-logo { width: 46px; height: 10px; background: var(--c-ink); border-radius: 2px; }
.pg-nav span { width: 26px; height: 5px; background: var(--c-soft); border-radius: 3px; }
.pg-nav span:first-of-type { margin-left: auto; }
.pg-eye { margin: 0 0 14px; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #625d57; }
.pg-h { font-family: var(--font-client); font-weight: 400; font-size: clamp(1.25rem, 0.8rem + 1.1vw, 2.2rem); line-height: 1.1; white-space: nowrap; position: relative; display: inline-block; align-self: flex-start; margin: 0; }
.pg-lines { display: grid; gap: 6px; }
.pg-lines i { height: 5px; background: var(--c-soft); border-radius: 3px; width: 88%; }
.pg-lines i:nth-child(2) { width: 74%; }
.pg-lines i:nth-child(3) { width: 52%; }
.pg-btn { align-self: flex-start; background: var(--c-ink); color: #e9e6e1; border-radius: 999px; padding: 6px 12px; font-size: 11px; }
.sel::after { content: ""; position: absolute; inset: -5px -8px; border: 2px solid var(--select); border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(0, 0, 0, 0.12); pointer-events: none; }
.sel::before { content: attr(data-tag); position: absolute; left: -8px; top: -24px; background: #0a0a0a; color: #fff; font: 600 10px/1 var(--font-sans); padding: 4px 6px; border-radius: 4px; white-space: nowrap; }

/* text swaps and typing */
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap .sw-a { opacity: 0; }
.tw { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; line-height: 1.2; }
.h-old { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; line-height: 1.2; max-width: 0; opacity: 0; }
.cw { display: inline-block; width: 0; opacity: 0; overflow: visible; vertical-align: baseline; }

/* publish + history */
.chg { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chg li { display: flex; gap: 8px; align-items: center; }
.chg i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); opacity: 1; }
.hist { --row: 2.5em; height: calc(var(--row) * 3); overflow: hidden; }
.hist ol { list-style: none; margin: 0; padding: 0; }
.hist li { height: var(--row); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px; border-radius: 6px; color: var(--muted); border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.hist li.hn { color: var(--text); font-weight: 600; }
.hist li.hv em { font-style: normal; border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; font-size: 11px; color: var(--muted); }
.dm-toast { position: absolute; bottom: 14px; left: 50%; transform: translate(-50%, 8px); opacity: 0; background: var(--primary); color: var(--primary-text); padding: 7px 12px; border-radius: 8px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }

/* static output + speed */
.bar { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; transform-origin: left; background: #6b6b6b; }
.rc.fast .bar i, .conv .bar i { background: var(--ok); }
.rc { display: grid; grid-template-columns: 1.1fr 1fr 16px; gap: 10px; align-items: center; }
.conv { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.conv li { display: grid; grid-template-columns: 1.1fr 1fr 16px; gap: 10px; align-items: center; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; }
.ck { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--ok); background: var(--ok); display: inline-grid; place-items: center; }
.ck svg { width: 9px; height: 9px; fill: none; stroke: #0a0a0a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* SEO */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 8px; align-items: center; }
.snip { background: #fff; border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; }
.sn-u { color: #4d5156; font-size: 11px; }
.sn-t { color: #1a0dab; font-size: 14px; white-space: nowrap; overflow: hidden; }
.sn-d { color: #4d5156; font-size: 11.5px; }

/* forms */
.inbox { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.inbox li { display: grid; grid-template-areas: "n e" "s s"; grid-template-columns: auto 1fr; gap: 2px 8px; padding: 8px; border-radius: 8px; background: var(--surface); }
.inbox b { grid-area: n; }
.inbox .e { grid-area: e; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox .tag { grid-area: s; font-size: 11px; color: var(--ok); }
.inbox .spam .tag { color: var(--warn); }
.inbox .spam b, .inbox .spam .e { opacity: 0.55; }
.a-f-x { background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 100% 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; color: var(--muted); font-size: 11.5px; }

/* consent */
.d-consent .dm-page { min-height: 200px; }
.cb { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; color: var(--c-ink); border-radius: 8px; padding: 9px 10px; display: flex; gap: 8px; align-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); font-size: 11.5px; opacity: 1; transform: none; }
.cb p { margin: 0; flex: 1; }
.cb span { border: 1px solid var(--c-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.cb .cb-yes { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.scr { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.scr li { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.scr b { color: var(--text); font-weight: 500; }
.mono { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 11px; background: var(--surface); padding: 6px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; }
/* ---------- Inner pages (demo, start, 404) ---------- */
.pg-hero { padding: clamp(120px, 14vw, 168px) 0 clamp(72px, 9vw, 120px); }
.pg-head { margin-inline: auto; text-align: center; justify-items: center; }
.pg-hero .stage { margin-top: clamp(32px, 5vw, 56px); }
.pg-below { display: grid; gap: 20px; justify-items: center; text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.pg-note { max-width: 560px; font-size: var(--text-sm); }
.pg-help { margin: 20px auto 0; text-align: center; }
.pg-help a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.pg-help a:hover { text-decoration-color: currentColor; }
.pg-back { text-align: center; margin-top: 40px; font-size: var(--text-sm); }
.pg-back a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.pg-back a:hover { text-decoration-color: currentColor; }
.pg-404 { min-height: 70vh; display: grid; align-content: center; }
.pg-404 .cta-row { margin-top: 8px; }

/* ---------- Interactive Studio (demo page) ---------- */
.demo-stage .studio { user-select: none; }
.demo-stage button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.demo-stage button[disabled] { cursor: default; opacity: 0.4; }
.demo-stage .st-seg button { display: inline-grid; place-items: center; width: 30px; height: 26px; border-radius: 6px; color: var(--faint); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.demo-stage .st-seg button svg { width: 14px; height: 14px; }
.demo-stage .st-seg button.on { background: #2a2a2a; color: var(--text); }
.demo-stage .st-seg button:not(.on):hover { color: var(--muted); }
.demo-stage .st-icon { color: var(--muted); transition: background-color 160ms var(--ease-out); }
.demo-stage button.st-icon:not([disabled]):hover { background: var(--surface-2); color: var(--text); }
.demo-stage .st-publish { background: var(--primary); color: var(--primary-text); padding: 0 12px; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
.demo-stage .st-publish:not([aria-disabled="true"]):active { transform: scale(0.97); }
.demo-stage .st-publish[aria-disabled="true"] { cursor: help; }
.demo-stage .st-changes i { background: var(--faint); transition: background-color 200ms var(--ease-out); }
.demo-stage .st-changes.is-dirty i { background: var(--warn); }
.demo-stage .st-swatches button { width: 22px; height: 22px; border-radius: 6px; display: block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: box-shadow 160ms var(--ease-out); }
.demo-stage .st-swatches .sw1 { background: #5f6b47; } .demo-stage .st-swatches .sw2 { background: #3e322b; }
.demo-stage .st-swatches .sw3 { background: #e9e1d4; } .demo-stage .st-swatches .sw4 { background: #55606b; }
.demo-stage .st-swatches button.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--select); }
.demo-stage .st-scale button { flex: 1; text-align: center; height: 24px; line-height: 24px; border-radius: 6px; color: var(--faint); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.demo-stage .st-scale button.on { background: #2a2a2a; color: var(--text); }
.demo-stage .st-scale button:not(.on):hover { color: var(--muted); }
.demo-stage .st-input { width: 100%; font: inherit; user-select: text; outline: none; transition: border-color 160ms var(--ease-out); }
.demo-stage .st-input:focus { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.demo-stage .st-input.area { resize: vertical; color: var(--text); }
.demo-stage .st-field > span { user-select: none; }

/* the client page inside the canvas */
.demo-stage .st-canvas { display: grid; justify-items: center; }
.demo-stage .client { width: 100%; max-width: 100%; transition: max-width 420ms var(--ease-out); }
.demo-stage .client-h { outline: none; }
.demo-stage [data-bind] { cursor: text; border-radius: 3px; outline: 1.5px solid transparent; outline-offset: 5px; transition: outline-color 160ms var(--ease-out); }
.demo-stage [data-bind]:hover { outline-color: rgba(255, 255, 255, 0.55); }
.demo-stage [data-bind].is-sel { outline-color: var(--select); }
.demo-stage .client-eyebrow { color: var(--dx-eyebrow, var(--c-accent)); transition: color 240ms var(--ease-out); }
.demo-stage .client-btn { background: var(--c-accent); color: var(--dx-btn-ink, #fff); transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out); }
.demo-stage .client-hero, .demo-stage .client-strip div { transition: padding 300ms var(--ease-out), gap 300ms var(--ease-out); }
.demo-stage .client.sp-s .client-hero { padding: 10px 16px 14px; gap: 12px; }
.demo-stage .client.sp-l .client-hero { padding: 30px 28px 40px; gap: 28px; }
.demo-stage .client.sp-xl .client-hero { padding: 44px 34px 56px; gap: 36px; }
.demo-stage .client.is-tablet { max-width: 520px; }
.demo-stage .client.is-mobile { max-width: 340px; }
.demo-stage .client.is-mobile .client-hero { grid-template-columns: minmax(0, 1fr); }
.demo-stage .client.is-mobile .client-art { aspect-ratio: 16 / 9; }
.demo-stage .client.is-mobile .client-nav span:not(.client-logo) { display: none; }
.demo-stage .client.is-mobile .client-strip { grid-template-columns: minmax(0, 1fr); }
.demo-stage .client.is-tablet .client-nav span:not(.client-logo):nth-child(n + 4) { display: none; }

.dx-toast {
  position: absolute; left: 50%; top: 64px; z-index: 3; transform: translate(-50%, -6px); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-size: var(--text-sm); font-weight: 500; white-space: nowrap;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.8); pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.dx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.dx-toast[hidden] { display: none; }

@media (max-width: 1080px) {
  .demo-stage .st-inspector { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
  .demo-stage .st-tabs, .demo-stage .st-note { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .demo-stage .st-inspector { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .demo-stage .st-changes { display: none; }
  .dx-toast { top: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-stage *, .dx-toast { transition: none !important; }
}

/* ---------- Wizard (start page): brand §12 ---------- */

.wz-mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--canvas); font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--text-3); position: relative; z-index: 1; }

.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 1040px; margin: 0 auto; }
.path {
  display: grid; gap: 16px; align-content: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  transition: transform var(--dur-card) var(--ease-out), border-color var(--dur-card) var(--ease-std);
}
.path-head { display: flex; gap: 12px; align-items: center; }
.path-head h2 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; }
.path > p { color: var(--text-2); font-size: 14px; line-height: 22px; }
.mini-flow { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.mnode { display: flex; align-items: center; gap: 6px; min-width: 0; height: 32px; padding: 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnode .ic { width: 14px; height: 14px; color: var(--text-2); }
.mnode span { overflow: hidden; text-overflow: ellipsis; }
.medge { height: 1px; background-image: linear-gradient(90deg, var(--wire) 50%, transparent 50%); background-size: 6px 1px; }
.path-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.path-meta li { display: flex; gap: 8px; align-items: baseline; }
.path-meta .label { color: var(--text-2); }
.path .btn { justify-self: start; }
.paths-alt { max-width: 1040px; margin: 16px auto 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; }

/* signup status chip */

/* ---------- Demo page: hotspots ---------- */
.hotspots { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hotspots li { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 6px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--text-2); }
.hotspots .hs-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); font-family: var(--font-mono); font-size: 11px; color: var(--text); }
.hotspots .ic { width: 14px; height: 14px; color: var(--text); }

/* ---------- Download page ---------- */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.pkg { display: grid; gap: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-xl); }
.pkg-head { display: flex; gap: 12px; align-items: center; }
.pkg-head h2 { font-family: var(--font-mono); font-size: 20px; line-height: 28px; font-weight: 500; }
.pkg-meta { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pkg-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--text-2); }
.pkg-meta li .num { color: var(--text); font-size: 12px; }
.pkg .btn { justify-self: start; }
.steps3 { list-style: none; padding: 16px; margin: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.steps3 li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 20px; }
.steps3 li:last-child { padding-bottom: 0; }
.steps3 li::after { content: ""; position: absolute; left: 11.5px; top: 28px; bottom: 4px; width: 1px; background: var(--line); }
.steps3 li:last-child::after { display: none; }
.steps3 .wz-mark { color: var(--text-2); }
.steps3 .s-body { display: grid; gap: 2px; padding-top: 2px; }
.steps3 .s-body b { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.01em; }
.steps3 .s-body span { font-size: 13px; line-height: 18px; color: var(--text-2); }
.steps3 strong { color: var(--text); font-weight: 500; }
.dl-alt { max-width: 1040px; margin: 16px auto 0; text-align: center; }

/* ---------- Motion (brand §9) ---------- */
/* Progressive: content is visible by default. main.js marks only elements that start below the first screen with .is-pre (never under reduced motion). */
.js-reveal .reveal { transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js-reveal .reveal.is-pre { opacity: 0; transform: translateY(var(--rise)); transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media print { .js-reveal .reveal.is-pre { opacity: 1; transform: none; } }
@media (hover: hover) {
  .feature:hover, .path:hover { transform: translateY(-2px) scale(1.01); border-color: var(--line-strong); }
}
.edge.is-active line { animation: flow-dash var(--dur-flow) linear infinite; }
@keyframes flow-dash { to { stroke-dashoffset: -12; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .studio { grid-template-columns: 184px minmax(0, 1fr); }
  .st-inspector { display: none; }
  .sat-stage { padding: 40px 24px; gap: 28px 24px; }
}
@media (max-width: 960px) {
  .looks, .split, .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show, .show:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .show:nth-child(even) .show-text { order: 0; }
  .flow { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .flow-edge { height: 40px; }
  .flow-edge .edge-h { display: none; }
  .flow-edge .edge-v { display: block; }
  .flow .port { top: auto; left: 50%; margin: 0 0 0 -6px; }
  .flow .port-in { top: -7px; }
  .flow .port-out { bottom: -7px; }
  .flow-step > p { max-width: 62ch; }
  .sat-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .sat-core { grid-column: 1 / -1; grid-row: 1; }
  .sat-1, .sat-2, .sat-3, .sat-4 { grid-column: auto; grid-row: auto; }
}
@media (max-width: 860px) {
  .btn { min-height: 44px; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .st-panel, .st-hide-md { display: none; }
  .nav-links { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links { display: grid; gap: 2px; position: absolute; top: 64px; left: 0; right: 0; margin: 0; padding: 8px 16px 16px; background: rgb(18 18 18 / .98); border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-links a { height: 44px; font-size: 15px; padding: 0 12px; }
}
@media (max-width: 767px) {
  .paths, .dl { grid-template-columns: minmax(0, 1fr); }
  .mcp-flow { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .mcp-flow .flow-edge { height: 24px; }
  .mcp-flow .flow-edge .edge-h { display: none; }
  .mcp-flow .flow-edge .edge-v { display: block; }
  .mcp-flow .port { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 104px 0 var(--section-pad); }
  .section-head { margin-bottom: 32px; }
  .proof { margin-top: 32px; }
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .proof li { padding: 12px; }
  .proof strong { font-size: 17px; line-height: 24px; }
  .stage { margin-top: 32px; padding: 6px; border-radius: var(--r-modal); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .sat-stage { padding: 32px 16px 16px; gap: 24px 12px; }
  .looks-grid { grid-template-columns: repeat(3, 68px); gap: 16px 20px; justify-content: start; }
  .look-cap .tags { margin-left: 0; }
  .lpv-hero { gap: 12px; }
  .look-prev { padding: 12px 14px 14px; gap: 12px; }
  .lpv-strip i { height: 24px; }
  .mini-flow { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px; }
  .medge { width: 1px; height: 12px; margin-left: 16px; background-image: linear-gradient(180deg, var(--wire) 50%, transparent 50%); background-size: 1px 6px; }
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tbody tr { border-bottom: 1px solid var(--line); padding: 4px 0; }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th { padding: 12px 16px 4px; border: 0; }
  .compare td { padding: 8px 16px; border: 0; }
  .compare td:last-child { background: none; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
  .faq details p { padding-right: 16px; }
  .pg-hero { padding-top: 104px; }
}
@media (max-width: 600px) {
  .client-hero { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .client-art { aspect-ratio: 16 / 9; }
  .client-nav { padding: 12px 16px; gap: 12px; }
  .client-nav span:not(.client-logo):nth-child(n + 3) { display: none; }
  .client-strip { grid-template-columns: minmax(0, 1fr); }
  .client-strip div { padding: 10px 16px; }
  .client-strip div:nth-child(n + 2) { display: none; }
  .st-hide-sm { display: none; }
  .demo-stage .st-icon { width: 40px; height: 40px; flex: none; }
  .st-bar { gap: 6px; padding: 6px; }
  .studio { border-radius: var(--r-preset); padding: 6px; gap: 6px; }
  .st-canvas { padding: 8px; }
  .dm-status { overflow: hidden; }
  .dm-body, .dm-body.even { grid-template-columns: minmax(0, 1fr); }
  .d-edit .dm-side { display: none; }
  .demo { font-size: 12px; }
  .dm-bar .dm-brand { display: none; }
  .lang { padding: 0 6px; }
  .nav { gap: 12px; }
}
@media (max-width: 359px) {
  .st-changes { display: none; }
}

/* ---------- Reduced motion: opacity only, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .js-reveal .reveal, .js-reveal .reveal.is-pre { opacity: 1; transform: none; transition: none; }
  .feature:hover, .path:hover, .pt-btn:hover .pt-tile, .btn:active { transform: none; }
  .link-arrow:hover .ic { transform: none; }
  .faq summary svg, .look-prev, .lpv-btn, .site-header, .btn { transition: none; }
}

/* ==========================================================================
   v6 — blur layer (hazy light, glass panels). Restores the soft depth of v3/v4
   on top of the v5 black canvas. Neutral haze + one small ember blob only.
   ========================================================================== */
:root {
  --glass-bg: rgb(20 20 20 / .55);
  --glass-bg-strong: rgb(24 24 24 / .66);
  --glass-line: rgb(255 255 255 / .14);
  --glass-hi: inset 0 1px 0 rgb(255 255 255 / .09);
  --glass-blur: blur(24px) saturate(150%);
  --haze-cool: rgb(150 165 255 / .16);
  --haze-white: rgb(255 255 255 / .10);
}

/* page-top fog, sits under the header and hero */
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 320px at 78% 0%, var(--haze-cool), transparent 70%),
    radial-gradient(640px 360px at 18% 8%, var(--haze-white), transparent 72%);
  filter: blur(28px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
body { position: relative; isolation: isolate; }

/* header: stronger frosted glass once scrolled */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.glass { background: rgb(14 14 14 / .50); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 1px 0 rgb(255 255 255 / .05); }
}

/* hero: light bloom behind the Studio stage */
.hero { position: relative; isolation: isolate; }
.stage { isolation: isolate; background: rgb(17 17 17 / .42); border-color: var(--glass-line); box-shadow: var(--glass-hi); }
.stage::before { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.stage::before {
  inset: -12% 8% auto 8%; height: 70%;
  background:
    radial-gradient(50% 60% at 30% 40%, rgb(150 165 255 / .30), transparent 72%),
    radial-gradient(45% 55% at 72% 55%, rgb(255 255 255 / .16), transparent 74%);
  filter: blur(40px);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .stage { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .hero .studio { background: rgb(0 0 0 / .30); }
  .hero .st-bar, .hero .st-panel, .hero .st-inspector {
    background: var(--glass-bg); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  }
}

/* headline word: plain text, no gradient */
.glow { font-style: inherit; color: var(--text); }

/* closing CTA bloom */
.final-glow {
  background:
    radial-gradient(46% 60% at 50% 100%, rgb(150 165 255 / .18), transparent 70%);
  filter: blur(30px);
}

/* phones: smaller radii, no drift, backdrop only where it carries the design */
@media (max-width: 640px) {
  body::before { height: 520px; filter: blur(18px); }
  .stage::before { filter: blur(24px); }
  .final-glow { filter: blur(18px); }
  .stage { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero .st-bar, .hero .st-panel, .hero .st-inspector { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}

/* v6 — hosted-first components */
.own-host { margin: 14px 0 0; font-size: 14px; line-height: 20px; }
.own-host a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-std); }
.own-host a:hover { color: var(--text); }
.final .own-host { margin-top: 0; }
.inline-mono { font-family: var(--font-mono); font-size: .92em; color: var(--text); }

/* v6 fixes: single hosted path + plugin text row, limits, mobile hero */
.paths { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.paths-plugin { max-width: 1040px; margin: 14px auto 0; text-align: center; }
@media (max-width: 480px) {
  .hero .lead, .hero p { text-align: left; }
}

/* ---------- v19: account-first CTAs ---------- */
.final-note { margin: 0; max-width: 46ch; }
.path-cta { margin-top: 4px; }

/* =====================================================================
   v7 landing: end-user story, one-thing-per-section, motion
   (all dynamic values arrive through custom properties set by main.js)
   ===================================================================== */
:root { --site-bg: #f3efe7; --site-ink: #17140f; --site-mute: #6b655a; --site-line: rgb(23 20 15 / .12); --sel: #2f5bff; }
.chip.warn::before { background: var(--warn); }
.chip.bad::before { background: var(--bad); }
section[id] { scroll-margin-top: 72px; }
html:not(.js) .tog { display: none; }

.pgbar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--text); opacity: .85; transform-origin: 0 50%; transform: scaleX(var(--pg, 0)); pointer-events: none; }

/* shared pieces */
.section-head.center { justify-items: center; text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.kicker.rule::before { content: ""; display: inline-block; width: 14px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 8px; opacity: .7; transition: width var(--dur-flow) var(--ease-out); }
.is-live .kicker.rule::before, .section-head.is-in .kicker.rule::before { width: 32px; }
.h3-lg { font-size: 28px; line-height: 32px; letter-spacing: -.03em; font-weight: 600; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 22px; }
.ticks .ic { margin-top: 4px; color: var(--ok); width: 14px; height: 14px; }
.ic-lg { width: 20px; height: 20px; color: var(--text); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden; }
.card h3 { font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -.02em; }
.card p { color: var(--text-2); font-size: 14px; line-height: 22px; }

/* cursor glow (position set by main.js through --mx / --my) */
.glow-card { position: relative; }
.glow-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--dur-card) var(--ease-std); background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .07), transparent 62%); }
@media (hover: hover) { .glow-card:hover::after { opacity: 1; } .glow-card { transition: border-color var(--dur-card) var(--ease-std); } .glow-card:hover { border-color: var(--line-strong); } }

/* typing + sequenced steps. Settled state is the default; .is-seq (added by JS) hides then plays. */
.type { position: relative; display: inline-block; max-width: 100%; }
.type-live { display: none; }
.is-seq .type-ghost { visibility: hidden; }
.is-seq .type-live { display: block; position: absolute; inset: 0; }
.is-seq .type-live.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -.12em; background: currentColor; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.is-seq [data-step] { opacity: 0; transform: translateY(6px); }
.is-seq [data-step].on { opacity: 1; transform: none; transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); }

/* hero proof */
.hero-note { margin-top: 4px; }
figure.pfx { margin: 56px auto 0; max-width: 1040px; padding: 16px; background: rgb(17 17 17 / .6); border: 1px solid var(--line); border-radius: 22px; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.pf-site { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--site-bg); display: flex; flex-direction: column; text-align: left; }
.pf-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pf-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pf-url { margin-left: 10px; font-size: 11px; color: var(--text-2); }
.pf-page { flex: 1; padding: 24px 28px; display: grid; align-content: center; gap: 12px; color: var(--site-ink); justify-items: start; }
.pf-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pf-nav b { width: 22px; height: 22px; border-radius: 6px; background: var(--site-ink); }
.pf-nav u { width: 34px; height: 6px; border-radius: 3px; background: var(--site-line); text-decoration: none; }
.hero .pf-page p, .pf-page p { text-align: left; }
.pf-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--site-mute); }
.pf-h { font-family: var(--font-client); font-size: 34px; line-height: 38px; font-weight: 500; letter-spacing: -.02em; color: var(--site-ink); }
.pf-p { font-size: 14px; line-height: 21px; color: var(--site-mute); max-width: 44ch; }
.pf-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; background: var(--site-ink); color: var(--site-bg); font-size: 13px; font-weight: 500; }
.pf-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; width: 100%; max-width: 420px; margin-top: 4px; }
.pf-form span { height: 32px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; border: 1px solid var(--site-line); font-size: 12px; color: var(--site-mute); background: rgb(255 255 255 / .5); }
.pf-form b { height: 32px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--site-ink); color: var(--site-bg); font-size: 12px; font-weight: 500; }
.pf-chat { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 14px; text-align: left; }
.pf-who { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-2); letter-spacing: .04em; text-transform: uppercase; }
.msg { font-size: 14px; line-height: 21px; }
.msg-user { align-self: flex-end; max-width: 92%; background: var(--surface-3); border: 1px solid var(--line); border-radius: 14px 14px 4px 14px; padding: 10px 14px; text-align: left; }
.msg-ai { align-self: flex-start; max-width: 96%; display: grid; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 14px; text-align: left; }
.msg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.msg-steps li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--text); }
.msg-steps .ic { margin-top: 3px; width: 14px; height: 14px; color: var(--ok); }
.pf-track { list-style: none; margin: 16px 4px 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: linear-gradient(var(--text), var(--text)) no-repeat left top / calc(var(--p, 1) * 100%) 2px, linear-gradient(var(--line), var(--line)) no-repeat left top / 100% 2px; text-align: left; }
.pf-track li { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text); }
.pf-track .num { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 11px; flex: none; }
.pf-live .pf-track li { color: var(--text-3); transition: color var(--dur-card) var(--ease-std); }
.pf-live .pf-track li.on { color: var(--text); }
.pf-live .pf-track li.on .num { background: var(--text); color: var(--on-primary); border-color: var(--text); }
.pf-cap { text-align: center; margin-top: 12px; }

/* marquee */
.marquee { display: flex; overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; margin-bottom: 64px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0 4px 0 0; display: flex; flex: none; min-width: 100%; justify-content: space-around; gap: 8px; animation: mq 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; height: 28px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13px; color: var(--text-2); background: var(--surface); white-space: nowrap; }
@keyframes mq { to { transform: translateX(-100%); } }

/* stats */
.stats { padding: 0 0 var(--section-pad); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 8px; align-content: center; font-size: 15px; line-height: 22px; color: var(--text-2); }
.stat .big { font-size: 56px; line-height: 56px; color: var(--text); letter-spacing: -.04em; }

/* three-up cards */
.cards3, .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 13px; color: var(--text); }

/* rows: two equal panels, always the same height */
.row-sec { padding: 0 0 16px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.row.flip .row-copy { order: 2; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; position: relative; overflow: hidden; }
.row-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.row-copy .cta-row { margin-top: 8px; }
.row-vis { display: flex; align-items: center; justify-content: center; padding: 24px; background-color: var(--canvas); background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 20px 20px; }
.row-sec + .section, .seo-note + .row-sec { margin-top: 0; }
.row-sec + #pricing { padding-top: calc(var(--section-pad) - 16px); }
.seo-note { margin: 0 auto 16px; max-width: var(--container); }

.mock { width: 100%; max-width: 540px; display: grid; gap: 12px; text-align: left; }
.mock .label { color: var(--text-2); }
.mock .meta { color: var(--text-3); }

/* editor mock */
.editor { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; }
.ed-page { background: var(--site-bg); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; align-content: center; justify-items: start; color: var(--site-ink); }
.ed-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--site-mute); }
.ed-sel { position: relative; padding: 6px 8px; margin: -6px -8px; outline: 1.5px solid var(--sel); border-radius: 2px; }
.ed-sel h3 { font-family: var(--font-client); font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -.02em; }
.ed-h { position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--sel); }
.ed-h.tl { left: -4px; top: -4px; } .ed-h.tr { right: -4px; top: -4px; } .ed-h.bl { left: -4px; bottom: -4px; } .ed-h.br { right: -4px; bottom: -4px; }
.editor p { font-size: 12px; line-height: 18px; color: var(--site-mute); }
.ed-line { height: 6px; width: 100%; border-radius: 3px; background: var(--site-line); }
.ed-line.short { width: 60%; }
.ed-panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; display: grid; gap: 8px; align-content: center; }
.ed-field { min-height: 36px; padding: 8px 10px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--canvas); font-size: 13px; line-height: 18px; }
.ed-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.ed-seg span { text-align: center; padding: 5px 4px; font-size: 12px; color: var(--text-2); }
.ed-seg .on { background: var(--surface-3); color: var(--text); }
.ed-saved { justify-self: start; margin-top: 4px; }

/* chat mock */
.chat { gap: 14px; }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* toggles */
.tog { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); justify-self: start; }
.tog button { font: inherit; font-size: 13px; line-height: 18px; font-weight: 500; padding: 5px 12px; border-radius: 6px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; transition: background-color var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std); }
.tog button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.pane-stack { display: grid; }
.pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity var(--dur-card) var(--ease-std), transform var(--dur-card) var(--ease-out), visibility 0s linear var(--dur-card); }
.pane.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:not(.js) .pane:not(.on) { display: none; }

/* seo mock */
.seo { align-content: center; }
.serp { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 4px; position: relative; }
.serp-flag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.serp-flag .ic { width: 12px; height: 12px; }
.serp-flag.ok { color: var(--ok); } .serp-flag.bad { color: var(--bad); }
.serp-url { font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-t { font-size: 18px; line-height: 24px; color: #8ab4f8; }
.serp.bad .serp-t { color: var(--text-3); }
.serp-d { font-size: 13px; line-height: 20px; color: var(--text-2); }
.seo .pane > .serp { margin-bottom: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.checks .ic { width: 14px; height: 14px; flex: none; }
.checks.ok .ic { color: var(--ok); } .checks.bad .ic { color: var(--bad); }

/* forms mock */
.forms { gap: 14px; }
.fm-form, .fm-inbox { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; display: grid; gap: 8px; }
.fm-in { display: block; min-height: 34px; padding: 7px 10px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--canvas); font-size: 13px; line-height: 18px; }
.fm-btn { justify-self: start; display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--r-md); background: var(--primary); color: var(--on-primary); font-size: 13px; font-weight: 500; }
.fm-inbox { list-style: none; margin: 0; gap: 0; padding: 4px 14px; }
.fm-inbox li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.fm-inbox li.fm-head { display: flex; justify-content: space-between; border-top: 0; padding: 10px 0; }
.fm-inbox .ic { color: var(--text-2); }
.fm-inbox b { display: block; font-weight: 600; }
.fm-inbox em { display: block; font-style: normal; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-inbox i { font-style: normal; font-size: 11px; color: var(--text-3); }
.fm-inbox .fm-new { background: rgb(255 255 255 / .04); margin-inline: -14px; padding-inline: 14px; }

/* blog mock */
.blog { gap: 10px; }
.bl-top { display: flex; align-items: center; justify-content: space-between; }
.bl-add { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-md); background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 500; }
.bl-add .ic { width: 12px; height: 12px; }
.bl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bl-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); }
.bl-list b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.01em; }
.bl-list em { font-style: normal; font-size: 12px; color: var(--text-3); }
.bl-list .chip { flex: none; }

/* languages mock */
.lg-page { background: var(--site-bg); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; justify-items: start; color: var(--site-ink); }
.lg-page .pane { display: grid; gap: 12px; justify-items: start; }
.lg-page h3 { font-family: var(--font-client); font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -.02em; }

/* media mock */
.md-top { display: flex; align-items: center; justify-content: space-between; }
.md-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.md-t { aspect-ratio: 1; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.md-t i { display: block; width: 100%; height: 100%; }
.md-t.t1 i { background: linear-gradient(135deg, #c98a4b, #7a4a22); } .md-t.t2 i { background: linear-gradient(135deg, #e6c58a, #b48a4a); }
.md-t.t3 i { background: linear-gradient(135deg, #8a6b4e, #3f2c1e); } .md-t.t4 i { background: linear-gradient(135deg, #d9a66b, #a8672d); }
.md-t.t5 i { background: linear-gradient(135deg, #efe0c0, #cdb381); } .md-t.t6 i { background: linear-gradient(135deg, #a47a52, #5c3b21); }
.md-t.t7 i { background: linear-gradient(135deg, #e0b27a, #8e5a2b); }
.md-add { border-style: dashed; border-color: var(--line-strong); color: var(--text-2); }
.md-alt { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); font-size: 13px; line-height: 20px; }
.md-alt .ic { margin-top: 3px; color: var(--text-2); }

/* domain mock */
.domain { justify-items: stretch; gap: 10px; }
.dm-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface-2); font-size: 14px; color: var(--text-2); }
.dm-bar.on { border-color: var(--line-strong); color: var(--text); background: var(--surface-3); }
.dm-lock .ic { color: var(--ok); width: 14px; height: 14px; }
.dm-arrow { display: grid; place-items: center; color: var(--text-3); }
.dm-arrow .ic { transform: rotate(90deg); }
.dm-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.dm-list li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-2); }
.dm-list .ic { color: var(--ok); width: 14px; height: 14px; }

/* MCP wide block */
.mcp-more { padding: 0 0 16px; }
.mcp-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; align-items: stretch; }
.mcp-wide-copy { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.can { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.can li { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); font-size: 14px; line-height: 20px; }
.can .ic { width: 18px; height: 18px; color: var(--text); }
.what-mcp, .faq-list details { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); }
.what-mcp { grid-column: 1 / -1; }
.what-mcp summary, .faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.01em; border-radius: var(--r-lg); }
.what-mcp summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.what-mcp summary svg, .faq-list summary svg { width: 16px; height: 16px; flex: none; color: var(--text-3); fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform var(--dur-fast) var(--ease-std); }
.what-mcp[open] summary svg, .faq-list details[open] summary svg { transform: rotate(45deg); }
.what-mcp p, .faq-list details p { padding: 0 40px 16px 16px; color: var(--text-2); font-size: 14px; line-height: 22px; max-width: 72ch; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.plan-pro { border-color: var(--line-strong); background: linear-gradient(180deg, rgb(255 255 255 / .05), var(--surface) 55%); }
.plan-name { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -.03em; }
.plan .ticks { flex: 1; margin: 6px 0 12px; }
.plan .btn { width: 100%; height: 40px; }
.pricing-note { text-align: center; margin-top: 24px; }

/* faq */
.faq-wrap { max-width: 760px; }
.faq-list { display: grid; gap: 8px; }

/* final CTA tweaks */
.final { margin-top: 0; }

/* responsive */
@media (max-width: 960px) {
  .row, .mcp-wide, .plans, .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .row.flip .row-copy { order: 0; }
  .cards3, .steps { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stat { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
  .stat .big { font-size: 44px; line-height: 44px; min-width: 1.4ch; }
  .panel { padding: 28px; }
  .row-vis { padding: 24px; }
}
@media (max-width: 640px) {
  .panel { padding: 22px; }
  .row-vis { padding: 16px; }
  figure.pfx { margin-top: 40px; padding: 10px; border-radius: var(--r-xl); }
  .pf-page { padding: 18px; }
  .pf-h { font-size: 26px; line-height: 30px; }
  .pf-form { grid-template-columns: 1fr 1fr; }
  .pf-form b { grid-column: 1 / -1; justify-content: center; }
  .pf-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .editor { grid-template-columns: minmax(0, 1fr); }
  .can { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .h3-lg, .plan-name { font-size: 24px; line-height: 28px; }
  .plan { padding: 24px; }
  .marquee { margin-bottom: 40px; }
  .what-mcp p, .faq-list details p { padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .pgbar, .glow-card::after { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .marquee-track[aria-hidden="true"] { display: none; }
  .pane, .tog button, .kicker.rule::before { transition: none; }
}

/* early-access form (start pages) */
.signup { display: grid; gap: 8px; margin-top: 8px; text-align: left; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input { flex: 1 1 220px; min-width: 0; height: 40px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--canvas); color: var(--text); font: inherit; font-size: 14px; }
.signup input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.signup .btn { height: 40px; }
.signup-status { color: var(--text-2); }
.signup-status.is-ok { color: var(--text); }
.signup-status.is-err, .signup-status.is-bad { color: var(--bad); }

/* r3b: balance, density, motion */
.plan li { padding-block: 6px; }
h1 em.glow, .display em.glow { font-style: normal; }
.row-copy > p.meta { max-width: 52ch; }
@media (max-width: 767px) { .row-copy > p.meta { display: none; } .mock { aspect-ratio: auto; } }
.row-vis { background-image: none; }
#mcp .row-vis, #edit .row-vis { background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-glow { 0%, 100% { text-shadow: 0 0 0 rgba(255,106,43,0); } 50% { text-shadow: 0 0 30px rgba(255,106,43,.55); } }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
  .hero .display em.glow { animation: hero-glow 4.5s ease-in-out infinite; }
  .hero .pfx { animation: hero-rise .9s cubic-bezier(.2,.7,.2,1) .25s both; }
  .hero-copy > * { animation: hero-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }
}
.mock.domain .dm-status { font-size: 13px; margin-top: 4px; }

/* r4: mobile density, kept notes, centered mocks, readable accent */
.row-copy > p.meta.keep { max-width: 52ch; }
@media (max-width: 767px) { .row-copy > p.meta.keep { display: block; } }
#edit .row-vis, #mcp .row-vis, #domain .row-vis, #languages .row-vis { display: grid; align-content: center; justify-items: center; }
.mock.domain { justify-items: center; }
.mock.domain .dm-bar { width: 100%; max-width: 460px; }
.mock.domain .dm-list { width: 100%; max-width: 460px; }
.mock.langs .lg-page { min-height: 240px; align-content: center; }
.hero .display em.glow { color: var(--ember); }
@media (max-width: 640px) {
  :root { --section-pad: 48px; }
  .hero { padding-top: 104px; }
  figure.pfx { margin-top: 24px; padding: 10px; }
  .row-sec { padding-bottom: 8px; }
  .plan { padding: 24px; gap: 12px; }
  .stats { padding-block: 32px; }
}

/* r4b: photos */
.md-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-grid .md-t:not(.md-add) { border-color: transparent; }

/* r5: mist only where there is a hero; marquee chips link to sections; WP note; legal text */
body:not(:has(.hero))::before { display: none; }
.marquee-track a { color: inherit; text-decoration: none; transition: color var(--dur-press) var(--ease-std); }
.marquee-track a:hover, .marquee-track a:focus-visible { color: var(--ember); }
.mcp-wp { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }
.mcp-wp a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal p, .legal li { color: var(--text-2); line-height: 1.6; }
.legal h2 { margin-top: 28px; }
.legal .meta { margin-top: 28px; }

/* r6: ember accent on subpage titles; aria-hidden marquee links unfocusable */
.page-hero h1 em, #pg-title em { color: var(--ember); }
