/* BuyerPilot landing — "a highlighter on the evidence".
   The product keeps the sentence it found on a buyer's site as proof, so the page marks what matters
   the same way: a blue highlighter on key words, evidence quotes, and "확인함" stamps.
   Rhythm: white reading sections, broken twice by strong bands — the brand-blue facts band at one third
   and the ink band (data flow) at two thirds — then the blue apply panel. (DESIGN.md 2026-11-16)
   :root is the only place a colour literal may appear. Brand blues match the app (DESIGN.md):
   #3182F6 for graphics, #1B64DA for text and fills on white. */

/* Pretendard(OFL 1.1) 서브셋. 예약 이름 때문에 이름을 바꿨다 — 라이선스: /fonts/OFL.txt */
@font-face {
  font-family: 'BuyerPilot Landing Sans';
  src: url('fonts/pretendard-landing.woff2?v=a489811b') format('woff2-variations');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paper and ink — a cool neutral grey ramp, hue-matched to the brand blue */
  --paper: #ffffff;
  --canvas: #f7f8fa;
  --sunken: #f0f2f5;
  --sunken-hover: #e6e9ee;
  --line: #e5e8ec;
  --line-strong: #d0d6de;
  --line-hover: #9aa4b2;
  --text: #191f28;
  --text-2: #333d4b;          /* 11.6:1 on white */
  --text-muted: #4e5968;      /* 7.0:1 on white, 6.6:1 on canvas */
  --placeholder: #7b8594;
  --word-top: #d9dee6;        /* footer wordmark gradient, decoration only */
  --word-bottom: rgba(217, 222, 230, 0);

  /* Brand */
  --blue: #3182f6;            /* graphics, rings, borders only */
  --blue-text: #1b64da;       /* text and links on white (5.41:1) */
  --blue-fill: #1b64da;
  --blue-fill-hover: #1957c2;
  --blue-fill-active: #164ca9;
  --blue-soft: #eaf2ff;
  --blue-line: #b9d3fb;
  --blue-line-soft: #d6e5fc;
  --on-blue: #ffffff;
  --on-blue-muted: #e3edfd;   /* 4.8:1 on --blue-fill */
  --on-blue-line: rgba(255, 255, 255, 0.28);
  --highlight: rgba(49, 130, 246, 0.2);
  --highlight-strong: rgba(49, 130, 246, 0.34);

  /* Ink band (data flow section) */
  --ink: #121923;
  --ink-raise: #1c2531;
  --ink-line: rgba(255, 255, 255, 0.12);
  --ink-line-strong: rgba(255, 255, 255, 0.24);
  --on-ink: #ffffff;
  --on-ink-muted: #b3bcc9;    /* 8.9:1 on --ink */
  --on-ink-blue: #8fbaff;     /* 8.6:1 on --ink */
  --ink-blue-soft: rgba(49, 130, 246, 0.18);
  --ink-error: #ff9b91;
  --ink-error-soft: rgba(255, 110, 96, 0.16);
  --highlight-on-ink: rgba(93, 156, 248, 0.3);

  /* Hero night sky and the world map drawn on it (hero-bg.js reads the --map-* tokens) */
  --sky: #060a11;
  --sky-glow: #0e2248;
  --sky-scrim: rgba(6, 10, 17, 0.62);
  --map-dot: #8fb0e8;
  --map-dot-hot: #d6e6ff;
  --map-coast: #3a6ad0;
  --map-arc: #3182f6;
  --map-arc-hot: #9cc3ff;
  --map-node: #4ade80;
  --map-label-bg: rgba(12, 19, 31, 0.86);
  --map-label-line: rgba(255, 255, 255, 0.16);
  --ink-glass: rgba(255, 255, 255, 0.09);
  --ink-glass-hover: rgba(255, 255, 255, 0.15);
  --bed-top: rgba(255, 255, 255, 0.1);
  --bed-bottom: rgba(255, 255, 255, 0.03);
  --shadow-window-glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 -12px 90px -24px rgba(49, 130, 246, 0.55);

  /* Surfaces the product scenes sit on */
  --tint-blue: #edf3fe;
  --tint-neutral: #f2f4f7;
  --tint-warm: #f6f2ec;

  /* Semantic */
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --warning: #a14a07;          /* 5.6:1 on --warning-soft */
  --warning-soft: #fdf1e3;
  --error: #b42318;
  --error-soft: #fdeceb;

  /* Score bands (same order as the app) */
  --band-a: #1b64da;
  --band-b: #5d9cf8;
  --band-c: #c27a35;
  --band-d: #8c97a8;

  /* Atmosphere */
  --nav-glass: rgba(255, 255, 255, 0.86);

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(25, 31, 40, 0.06);
  --shadow-pill: 0 0 0 1px rgba(25, 31, 40, 0.05), 0 10px 30px -10px rgba(25, 31, 40, 0.18);
  --shadow-2: 0 1px 2px rgba(25, 31, 40, 0.05), 0 12px 32px -14px rgba(25, 31, 40, 0.18);
  --shadow-float: 0 0 0 1px rgba(25, 31, 40, 0.06), 0 2px 6px rgba(25, 31, 40, 0.05), 0 24px 48px -16px rgba(25, 31, 40, 0.24);
  --shadow-window: 0 0 0 1px rgba(25, 31, 40, 0.07), 0 2px 4px rgba(25, 31, 40, 0.04), 0 28px 56px -24px rgba(25, 31, 40, 0.22);
  --shadow-panel: 0 30px 60px -28px rgba(9, 30, 80, 0.5);
  --pin-ring: rgba(49, 130, 246, 0.28);
  --pin-ring-hot: rgba(49, 130, 246, 0.18);
  --btn-shadow: rgba(25, 31, 40, 0.16);
  --btn-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --focus-ring: rgba(49, 130, 246, 0.22);
  --error-ring: rgba(180, 35, 24, 0.12);
  --thumb-shadow: rgba(25, 31, 40, 0.3);
  --ai-column: rgba(49, 130, 246, 0.07);

  /* Radius — by role, never one value for everything */
  --r-xs: 8px;      /* chips, codes */
  --r-sm: 12px;     /* buttons, inputs */
  --r-md: 16px;     /* cards, windows */
  --r-lg: 24px;     /* panels, bands */
  --r-xl: 32px;     /* scene beds */

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.3, 1.4, 0.5, 1);
  --t-fast: 120ms;
  --t-base: 220ms;

  /* Type — one family; scale contrast does the work (DESIGN.md) */
  --font: 'BuyerPilot Landing Sans', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --fs-body: 17px;
  --fs-small: 16px;
  --fs-label: 15px;
  --fs-h3: 21px;
  --fs-lead: clamp(17px, 1.3vw, 19px);
  --fs-h2: clamp(30px, 3.2vw, 46px);
  --fs-h2-xl: clamp(34px, 4.3vw, 60px);
  --fs-hero: clamp(42px, 5.6vw, 82px);
  --fs-fact: clamp(72px, 9vw, 136px);

  /* Layout */
  --wrap: 1200px;
  --gutter: 32px;
  --nav-h: 68px;
  --section-y: clamp(88px, 9vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--paper); color: var(--text); border-radius: var(--r-sm); font-weight: 600; box-shadow: var(--shadow-2); }
.skip-link:focus { top: 16px; }
.link { padding-block: 9px; color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

section { padding-block: var(--section-y); position: relative; overflow-x: clip; }

/* The motif: a highlighter stroke under the words that carry the claim. */
.hl {
  background-image: linear-gradient(var(--highlight), var(--highlight));
  background-repeat: no-repeat; background-position: 0 86%; background-size: 100% 0.38em;
  padding-inline: 0.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* "확인함" stamp: when something was checked, said the way the app records it. */
.stamp { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border: 1.5px solid var(--ok); border-radius: 16px; background: var(--ok-soft); color: var(--ok); font-size: var(--fs-label); font-weight: 700; line-height: 1; white-space: nowrap; }
.stamp svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-xs); font-size: var(--fs-label); font-style: normal; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.tag--fact { background: var(--blue-soft); color: var(--blue-text); }
.tag--est { background: var(--warning-soft); color: var(--warning); }
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--cut, .tag--muted { background: var(--sunken); color: var(--text-muted); }

/* Section heads ───────────────────────────────────────── */
.eyebrow { margin-bottom: 14px; color: var(--blue-text); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0; }
.head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; }
.head--center { max-width: 860px; margin-inline: auto; text-align: center; }
.head--center .head__lead { margin-inline: auto; }
.head__title { font-size: var(--fs-h2); line-height: 1.26; letter-spacing: -0.04em; font-weight: 750; text-wrap: balance; }
.head__title--xl { font-size: var(--fs-h2-xl); line-height: 1.2; letter-spacing: -0.045em; }
.head__lead { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.7; color: var(--text-muted); max-width: 640px; }
.head--split .head__lead { margin-top: 0; }

/* Buttons ──────────────────────────────────────────────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-size: 17px; font-weight: 600; line-height: 1; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 16px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 18px; border-radius: 29px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue-fill); color: var(--on-blue); box-shadow: var(--btn-highlight), 0 1px 2px var(--btn-shadow); }
.btn--primary:hover { background: var(--blue-fill-hover); }
.btn--primary:active { background: var(--blue-fill-active); }
.btn--primary:disabled { background: var(--line-strong); color: var(--text-muted); cursor: progress; box-shadow: none; }
.btn--soft { background: var(--sunken); color: var(--text); }
.btn--soft:hover { background: var(--sunken-hover); }

/* Brand ────────────────────────────────────────────────── */
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 30px; }
.mark-tile { fill: var(--blue); }
.mark-glyph { color: var(--on-blue); }

/* Nav (chrome: a floating pill, the one glass layer) ──── */
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; color: var(--text); pointer-events: none; }
.nav__inner { pointer-events: auto; display: flex; align-items: center; gap: 32px; height: 60px; padding: 0 10px 0 20px; border-radius: 30px; background: var(--paper); box-shadow: var(--shadow-pill); transition: background-color var(--t-base) var(--ease); }
.nav.is-scrolled .nav__inner { background: var(--nav-glass); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); }
.nav__inner > .btn { border-radius: 22px; }
.nav__links { display: flex; gap: 2px; margin: 0 auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 20px; color: var(--text-2); text-decoration: none; font-size: 16px; font-weight: 600; transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.nav__links a:hover { color: var(--text); background: var(--sunken); }
.nav__links a[aria-current] { color: var(--blue-text); background: var(--blue-soft); }
.nav__cta--end { margin-left: auto; }
.nav__menu { display: none; position: relative; }
.nav__menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer; color: var(--text); transition: background-color var(--t-fast) var(--ease); }
.nav__menu summary:hover, .nav__menu[open] summary { background: var(--sunken); }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary svg { width: 24px; height: 24px; }
.nav__sheet { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.nav__sheet a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 600; }
.nav__sheet a:not(.btn):hover { background: var(--sunken); }
.nav__sheet .btn { margin-top: 8px; }

/* Hero ─────────────────────────────────────────────────── */
.hero { padding-block: calc(var(--nav-h) + clamp(56px, 6vw, 96px)) 0; isolation: isolate; background: var(--sky); }
/* The night map behind the hero (hero-bg.js draws on the canvas). A scrim keeps the headline readable. */
.hero__sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(70% 55% at 50% 22%, var(--sky-glow), transparent 72%), var(--sky); }
.hero__sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 40px, black 150px); mask-image: linear-gradient(to bottom, transparent 40px, black 150px); }
.hero__sky::after { content: ''; position: absolute; inset: 0; background: radial-gradient(44% 34% at 50% 24%, var(--sky-scrim), transparent 78%); pointer-events: none; }
.hero__copy { --text: var(--on-ink); --text-muted: var(--on-ink-muted); --blue-text: var(--on-ink-blue); --highlight: var(--highlight-on-ink); --sunken: var(--ink-glass); --sunken-hover: var(--ink-glass-hover); color: var(--text); }
.hero__stack { display: grid; justify-items: center; gap: clamp(48px, 5vw, 72px); }
.hero__copy { display: grid; justify-items: center; max-width: 920px; text-align: center; }
.hero__copy .eyebrow { margin-bottom: 20px; }
.hero__title { font-size: var(--fs-hero); line-height: 1.12; letter-spacing: -0.05em; font-weight: 760; text-wrap: balance; }
.hero__lead { margin-top: 26px; max-width: 600px; font-size: var(--fs-lead); line-height: 1.75; color: var(--text-muted); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 18px; color: var(--text-muted); font-size: var(--fs-label); }
.hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.hero__note li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* The demo: the discovery screen re-drawn in HTML so it can run and stay sharp at any density.
   It sits on a tinted bed, flush to the bed's bottom edge; two evidence cards break out of the frame. */
.demo { position: relative; width: 100%; margin: 0; }
.demo__bed { position: relative; padding: clamp(16px, 2.4vw, 32px) clamp(16px, 2.4vw, 32px) 0; border-radius: var(--r-xl) var(--r-xl) 0 0; background: linear-gradient(180deg, var(--bed-top), var(--bed-bottom) 80%); box-shadow: inset 0 1px 0 var(--ink-line); }
.demo__win { position: relative; border-radius: 18px 18px 0 0; background: var(--paper); box-shadow: var(--shadow-window-glow); overflow: hidden; }
.demo__app { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.demo__side { display: flex; flex-direction: column; gap: 6px; padding: 18px 12px; background: var(--canvas); border-right: 1px solid var(--line); }
.demo__brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 14px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.demo__brand svg { width: 26px; height: 26px; }
.demo__menu { display: grid; gap: 2px; }
.demo__menu li { display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 10px; color: var(--text-muted); font-size: 15px; font-weight: 500; }
.demo__menu li.is-on { background: var(--blue-soft); color: var(--blue-text); font-weight: 700; }
.demo__local { display: flex; align-items: flex-start; gap: 8px; margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.demo__local svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; }
.demo__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 40px; padding: 0 16px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.demo__lights { display: flex; gap: 7px; }
.demo__lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.demo__title { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.demo__body { min-width: 0; padding: 20px 22px 24px; }
.demo__form { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px; }
.demo__field { display: flex; align-items: center; gap: 10px; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--paper); font-size: 15px; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.demo.is-typing .demo__field:first-child { border-color: var(--blue); box-shadow: 0 0 0 4px var(--focus-ring); }
.demo__field span { flex: none; color: var(--text-muted); font-weight: 500; }
.demo__field b { min-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; color: var(--text); }
.demo.is-typing .demo__field b[data-demo-type]::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--blue); animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo__go { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px; border-radius: var(--r-sm); background: var(--blue-fill); color: var(--on-blue); font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.demo__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.demo__go.is-pressed { transform: scale(0.95); background: var(--blue-fill-active); }
.demo__status { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.demo__progress { position: relative; flex: none; width: 34%; height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; }
.demo__progress i { position: absolute; inset: 0; border-radius: 3px; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 1)); }
.demo.is-running .demo__progress i { transition: transform 1200ms cubic-bezier(0.35, 0.1, 0.25, 1); }
.demo__stage { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__stage.is-done { color: var(--ok); }
.demo__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.demo__list { position: relative; display: grid; align-content: start; gap: 2px; min-height: 360px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-md); }
.demo__empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; justify-items: center; padding: 24px; color: var(--text-muted); font-size: var(--fs-label); text-align: center; opacity: 0; transition: opacity 200ms var(--ease); }
.demo__empty svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--canvas); fill: none; stroke: var(--line-hover); stroke-width: 1.8; stroke-linecap: round; }
.demo.is-empty .demo__empty { opacity: 1; }
.demo__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 46px; padding: 0 8px; border-radius: 10px; font-size: 15px; transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), opacity 260ms var(--ease), transform 320ms var(--ease-spring); }
.demo__row.is-picked { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.demo__row.is-hidden { opacity: 0; transform: translateY(10px); }
.demo__row.is-pressed { transform: scale(0.985); }
.sc { display: grid; place-items: center; height: 28px; min-width: 44px; border-radius: 8px; font-size: 15px; font-weight: 700; }
.sc--a { background: var(--blue-fill); color: var(--on-blue); }
.sc--b { background: var(--blue-soft); color: var(--blue-text); }
.demo__nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--text); }
.demo__ok { padding: 2px 8px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); font-size: 14px; font-weight: 600; }
.demo__detail { align-self: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-2); transition: opacity 260ms var(--ease), transform 360ms var(--ease-spring); }
.demo__detail.is-hidden { opacity: 0; transform: translateX(12px); }
.demo__dhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.demo__dname { font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
.demo__dmeta { margin-top: 2px; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.score-chip { display: inline-flex; align-items: baseline; gap: 1px; flex: none; padding: 3px 10px 4px; border-radius: var(--r-xs); background: var(--blue-fill); color: var(--on-blue); line-height: 1.2; }
.score-chip b { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.score-chip span { font-size: 14px; font-weight: 600; }
.demo__band { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--blue-text); font-size: 15px; font-weight: 700; }
.demo__band::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--band-a); }
.demo__checks { display: grid; gap: 7px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.demo__checks li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--text-2); transition: opacity 200ms var(--ease), transform 240ms var(--ease-spring); }
.demo__checks li::before, .ev li::before, .step__points li::before {
  content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.3 2.7 2.7L14.2 7' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.demo__checks li.is-hidden { opacity: 0; transform: translateX(-6px); }
.demo__quote { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--blue-soft); color: var(--text); font-size: 15px; line-height: 1.55; transition: opacity 260ms var(--ease), transform 320ms var(--ease-spring); }
.demo__quote span { display: block; margin-bottom: 2px; color: var(--blue-text); font-size: 14px; font-weight: 700; }
.demo__mx { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--canvas); transition: opacity 260ms var(--ease), transform 320ms var(--ease-spring); }
.demo__mx svg { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--blue-soft); fill: none; stroke: var(--blue-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo__mx span { display: grid; min-width: 0; color: var(--text-muted); font-size: 14px; line-height: 1.45; }
.demo__mx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 600; }
.demo__next { display: flex; align-items: center; justify-content: center; height: 42px; margin-top: 12px; border-radius: var(--r-sm); background: var(--text); color: var(--paper); font-size: 15px; font-weight: 600; transition: background-color var(--t-base) var(--ease), opacity 260ms var(--ease), transform 320ms var(--ease-spring); }
.demo__next.is-hover { background: var(--blue-fill); }
.demo__quote.is-hidden, .demo__next.is-hidden, .demo__mx.is-hidden { opacity: 0; transform: translateY(6px); }
.demo__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin-bottom: 20px; color: var(--text-muted); font-size: var(--fs-label); }
.demo__replay { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: var(--sunken); color: var(--text); font: inherit; font-size: var(--fs-label); font-weight: 600; cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.demo__replay:hover { background: var(--sunken-hover); }
.demo__replay[hidden] { display: none; }
.demo__replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo__cursor, .cur { position: absolute; left: 0; top: 0; z-index: 5; width: 26px; height: 26px; opacity: 0; pointer-events: none; transition-property: transform, opacity; transition-timing-function: cubic-bezier(0.45, 0, 0.2, 1); transition-duration: 300ms; will-change: transform; }
.demo__cursor svg, .cur svg { width: 100%; height: 100%; fill: var(--text); stroke: var(--paper); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 3px 5px var(--btn-shadow)); }
.demo__cursor.is-on, .cur.is-on { opacity: 1; }
.demo__cursor::after, .cur::after { content: ''; position: absolute; left: -9px; top: -9px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; transform: scale(0.3); }
.demo__cursor.is-click::after, .cur.is-click::after { animation: click-ring 420ms var(--ease); }
@keyframes click-ring { 0% { opacity: 0.9; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.4); } }

/* Evidence cards that break out of the window frame */
.pop { position: absolute; z-index: 6; display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-float); transition: opacity 420ms var(--ease), transform 520ms var(--ease-spring); }
.pop--stamp { right: -32px; top: 46%; justify-items: start; }
.pop--stamp .stamp { margin-bottom: 8px; }
.pop--cut { left: -32px; bottom: 16%; min-width: 216px; }
.pop__title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.pop__meta { color: var(--text-muted); font-size: var(--fs-label); }
.pop__list { display: grid; gap: 4px; margin-top: 8px; }
.pop__list li { display: flex; justify-content: space-between; gap: 16px; color: var(--text-muted); font-size: var(--fs-label); line-height: 1.5; }
.pop__list b { color: var(--text); font-weight: 700; }

/* Sources: the strip a logo wall would sit in, filled with what the app actually looks up */
.sources { padding-block: clamp(24px, 2.6vw, 36px) clamp(56px, 6vw, 88px); }
.sources__inner { display: grid; justify-items: center; gap: 18px; }
.sources__title { color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
.sources__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(28px, 4vw, 56px); }
.sources__list li { color: var(--text-2); font-size: clamp(18px, 1.7vw, 22px); font-weight: 750; letter-spacing: -0.03em; opacity: 0.72; }

/* Why ──────────────────────────────────────────────────── */
.why { padding-top: clamp(56px, 6vw, 96px); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar { padding: 0 clamp(20px, 2.6vw, 36px); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__art { position: relative; display: grid; place-items: center; height: 200px; margin-bottom: 28px; border-radius: 20px; background: radial-gradient(120% 95% at 50% 0%, var(--paper) 0%, transparent 62%), var(--tint-blue); box-shadow: inset 0 0 0 1px var(--blue-line-soft); overflow: hidden; }
.pillar h3 { font-size: 23px; line-height: 1.4; letter-spacing: -0.03em; font-weight: 750; }
.pillar > p { margin-top: 10px; color: var(--text-muted); font-size: var(--fs-small); line-height: 1.7; }
/* Pillar 1: an evidence card for one buyer, stamped once its five checks land */
.mini-card { position: relative; width: min(276px, 86%); padding: 14px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-float); }
.mini-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: var(--fs-label); font-weight: 650; line-height: 1.3; white-space: nowrap; overflow: hidden; }
.mini-card__fav { flex: none; width: 16px; height: 16px; border-radius: 5px; background: var(--blue-fill); }
.ev { display: flex; flex-wrap: wrap; gap: 6px; }
.ev li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 5px; border-radius: 16px; background: var(--canvas); font-size: var(--fs-label); font-weight: 600; line-height: 1.4; }
.art-stamp { position: absolute; top: -15px; right: -14px; transform: rotate(-8deg); box-shadow: var(--shadow-1); }
/* Pillar 2: two runs of the same search, the same score */
.runs { display: flex; align-items: center; gap: 10px; }
.run { display: grid; gap: 2px; padding: 14px 18px 12px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-float); }
.run > span { color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; line-height: 1.3; }
.run b { font-size: 42px; font-weight: 760; letter-spacing: -0.045em; line-height: 1.05; }
.run small { margin-left: 2px; color: var(--text-muted); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.runs__eq { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-fill); color: var(--on-blue); font-size: 22px; font-weight: 800; line-height: 1; }
/* Pillar 3: the app window on this computer, locked */
.mini-win { position: relative; width: min(244px, 80%); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow-float); }
.mini-win__bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 12px 12px 0 0; background: var(--canvas); border-bottom: 1px solid var(--line); }
.mini-win__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.mini-win__body { display: grid; grid-template-columns: 58px minmax(0, 1fr); height: 100px; }
.mini-win__side { display: grid; align-content: start; gap: 8px; padding: 12px 9px; border-radius: 0 0 0 12px; background: var(--canvas); border-right: 1px solid var(--line); }
.mini-win__side i { height: 6px; border-radius: 3px; background: var(--line-strong); }
.mini-win__side i:first-child { background: var(--blue); }
.mini-win__rows { display: grid; align-content: start; gap: 9px; padding: 12px; }
.mini-win__rows i { display: flex; align-items: center; gap: 7px; height: 16px; }
.mini-win__rows b { flex: none; width: 24px; height: 16px; border-radius: 5px; background: var(--blue-fill); }
.mini-win__rows i::after { content: ''; flex: 1; height: 6px; border-radius: 3px; background: var(--sunken); }
.mini-win__rows i:nth-child(2)::after { margin-right: 18%; }
.mini-win__rows i:nth-child(3)::after { margin-right: 32%; }
.art-lock { position: absolute; right: -18px; bottom: -16px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--paper); box-shadow: var(--shadow-float); }
.art-lock svg { width: 26px; height: 26px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Compare: the BuyerPilot column is lifted out of the table like a recommended plan. */
.compare { position: relative; margin-top: clamp(64px, 7vw, 104px); padding-block: 16px; }
.compare__lift { position: absolute; z-index: 0; top: 0; bottom: 0; left: 59%; width: 41%; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--blue-line); box-shadow: var(--shadow-float); }
.compare table { position: relative; z-index: 1; width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--fs-small); }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.6; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { padding-block: 12px 18px; font-size: var(--fs-label); color: var(--text-muted); font-weight: 700; }
.compare tbody th { width: 18%; color: var(--text); font-weight: 700; white-space: nowrap; }
.compare td { width: 41%; color: var(--text-muted); }
.compare td.compare__us { color: var(--text); font-weight: 600; padding-inline: 32px; }
.compare thead th.compare__us { padding-inline: 32px; }
.compare__mark { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 18px; font-weight: 750; }
.compare__mark svg { width: 24px; height: 24px; }

/* Facts: the one full-bleed brand band ────────────────── */
.facts { padding-block: clamp(72px, 8vw, 120px); background: var(--blue-fill); color: var(--on-blue); }
.facts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts__list li { padding: 0 clamp(20px, 3vw, 48px); }
.facts__list li:first-child { padding-left: 0; }
.facts__list li + li { border-left: 1px solid var(--on-blue-line); }
.facts__num { display: flex; align-items: baseline; font-size: var(--fs-fact); font-weight: 760; line-height: 0.95; letter-spacing: -0.06em; }
.facts__num small { margin-left: 6px; font-size: 0.26em; font-weight: 650; letter-spacing: -0.02em; }
.facts__label { margin-top: 18px; max-width: 280px; color: var(--on-blue-muted); font-size: 17px; line-height: 1.6; }

/* Story: one buyer through five steps; each step shows the one piece of screen that matters ── */
.story { padding-bottom: calc(var(--section-y) * 1.1); }
.steps { display: grid; gap: clamp(64px, 7.5vw, 112px); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5.5vw, 88px); align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.step:nth-child(even) .step__copy { order: 2; }
.step__n { display: flex; align-items: baseline; gap: 14px; color: var(--blue-text); font-size: 17px; font-weight: 700; }
.step__n span { font-size: 56px; line-height: 1; letter-spacing: -0.05em; font-weight: 760; }
.step h3 { margin-top: 18px; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.28; letter-spacing: -0.04em; font-weight: 750; text-wrap: balance; }
.step__lead { margin-top: 14px; color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.75; }
.step__points { display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.step__points li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: var(--fs-small); font-weight: 500; line-height: 1.5; }
.step__video { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 22px; padding: 0 16px 0 12px; border-radius: 20px; background: var(--sunken); color: var(--text); font-size: var(--fs-label); font-weight: 600; text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
.step__video:hover { background: var(--sunken-hover); }
.step__video svg { width: 18px; height: 18px; fill: currentColor; }

.scene { display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); }
.scene--blue { background: var(--tint-blue); }
.scene--neutral { background: var(--tint-neutral); }
.scene--warm { background: var(--tint-warm); }
.sheet { width: min(500px, 100%); padding: 28px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-float); font-size: 17px; }
.sheet__kicker { color: var(--text-muted); font-size: var(--fs-label); font-weight: 700; }
.sheet__title { margin-top: 2px; font-size: 26px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.3; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.kpis p { display: grid; gap: 4px; padding: 14px; border-radius: var(--r-sm); background: var(--canvas); }
.kpis p > span { color: var(--text-muted); font-size: var(--fs-label); line-height: 1.4; }
.kpis b { font-size: 22px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.2; }
.toc { margin-top: 18px; }
.toc li { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-top: 1px solid var(--line); font-weight: 600; }
.verdicts { display: grid; gap: 6px; margin-top: 14px; }
.verdicts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 54px; padding: 0 14px; border-radius: var(--r-sm); background: var(--canvas); }
.verdicts li { transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), opacity 300ms var(--ease), transform 380ms var(--ease-spring); }
.verdicts .is-ok { grid-template-columns: auto minmax(0, 1fr) auto; }
.verdicts .is-picked { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.verdicts__nm { justify-self: start; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.verdicts .is-cut .verdicts__nm { color: var(--text-muted); background: linear-gradient(var(--line-hover), var(--line-hover)) no-repeat 0 56% / 100% 1.5px; transition: background-size 420ms var(--ease), color 300ms var(--ease); }
.verdicts .is-cut.is-pending .verdicts__nm { background-size: 0 1.5px; color: var(--text); }
.tag--wait { display: none; gap: 6px; background: var(--sunken); color: var(--text-muted); }
.tag--wait::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--blue); animation: spin 700ms linear infinite; }
.verdicts .is-pending .tag--wait { display: inline-flex; }
.verdicts .is-pending .tag:not(.tag--wait) { display: none; }
.verdicts .is-pending .sc { background: var(--sunken); color: transparent; }
.verdicts .sc { transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.evidence { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--blue-soft); font-size: 16px; line-height: 1.55; }
.evidence .hl { --highlight: var(--highlight-strong); }
.evidence__src { display: block; margin-bottom: 4px; color: var(--blue-text); font-size: var(--fs-label); font-weight: 700; }
.mail__row { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: baseline; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.mail__row > span { color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
.mail__row b { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.mail__row--tpl b { color: var(--text-muted); font-weight: 500; }
.token { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--sunken); color: var(--text-2); font-style: normal; font-weight: 600; }
.token--filled { background: var(--highlight); color: var(--blue-text); font-weight: 700; }
.mail__send { display: flex; align-items: center; justify-content: center; height: 50px; margin-top: 20px; border-radius: var(--r-sm); background: var(--text); color: var(--paper); font-weight: 600; }
.tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tally p { display: grid; gap: 2px; padding: 16px; border-radius: var(--r-sm); background: var(--canvas); }
.tally b { font-size: 44px; font-weight: 760; letter-spacing: -0.04em; line-height: 1.05; }
.tally span { color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
.tally .is-key { background: var(--blue-soft); }
.tally .is-key b { color: var(--blue-text); }
.thread { margin-top: 16px; }
.thread li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding-block: 14px; border-top: 1px solid var(--line); }
.thread__nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.thread q { grid-column: 1 / -1; color: var(--text-muted); font-size: var(--fs-small); }
.hs { display: grid; gap: 6px; margin-top: 14px; }
.hs li { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 16px; border-radius: var(--r-sm); background: var(--canvas); }
.hs li.is-on { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.hs code { font-family: inherit; font-size: 20px; font-weight: 760; letter-spacing: -0.02em; }
.hs li.is-on code { color: var(--blue-text); }
.hs span { color: var(--text-2); font-size: var(--fs-small); }
.hs__src { display: grid; gap: 2px; margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); color: var(--text-muted); font-size: var(--fs-label); line-height: 1.5; }
.hs__src span { color: var(--text); font-weight: 700; }
.hs__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hs__tabs span { padding: 4px 12px; border-radius: 14px; background: var(--sunken); color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
.hs__tabs .is-on { background: var(--text); color: var(--paper); }
.hs__tabs span { transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }

/* Scene runs: each sheet replays a few seconds of the real screen (main.js). The HTML is the finished state. */
.sheet { position: relative; }
.sheet [data-step], .sheet [data-pop] { transition: opacity 320ms var(--ease), transform 420ms var(--ease-spring); }
.sheet .is-hidden { opacity: 0; transform: translateY(8px); }
.is-pop { animation: pop 440ms var(--ease-spring); }
@keyframes pop { 0% { opacity: 0; transform: scale(0.6); } 100% { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.sheet__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: var(--r-sm); background: var(--blue-fill); color: var(--on-blue); font-size: var(--fs-label); font-weight: 600; white-space: nowrap; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.sheet__btn--soft { background: var(--sunken); color: var(--text); }
.sheet__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sheet__btn.is-busy svg { animation: spin 800ms linear infinite; }
.sheet .is-pressed { transform: scale(0.96); }
.sheet__btn.is-pressed { background: var(--blue-fill-active); }
.sheet__btn--soft.is-pressed { background: var(--sunken-hover); }
.sheet__meta, .sheet__foot { color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
.sheet__foot { margin-top: 4px; }
.sheet__status { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
.prog { position: relative; flex: none; width: 28%; height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; }
.prog i { position: absolute; inset: 0; border-radius: 3px; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 1)); transition-property: transform; transition-timing-function: cubic-bezier(0.35, 0.1, 0.25, 1); }
.is-typing [data-type]::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--blue); animation: caret 0.9s steps(1) infinite; }
.mail__row--tpl.is-typing b { color: var(--text); }
.mail__send { transition: background-color var(--t-base) var(--ease), transform var(--t-fast) var(--ease); }
.mail__send.is-sent { background: var(--ok); }
.mail__send.is-sent span::before { content: '✓ '; }
.hs__query { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hs__field { display: flex; align-items: center; gap: 10px; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.hs__field span { color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
.hs__field b { font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }
.hs__field.is-typing { border-color: var(--blue); box-shadow: 0 0 0 4px var(--focus-ring); }
.hs li { transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), opacity 320ms var(--ease), transform 420ms var(--ease-spring); }
.scene { position: relative; }
.scene__replay { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: var(--paper); color: var(--text); box-shadow: var(--shadow-1); font: inherit; font-size: var(--fs-label); font-weight: 600; cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.scene__replay:hover { background: var(--canvas); }
.scene__replay[hidden] { display: none; }
.scene__replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.motion .sheet .hl { background-size: 0% 0.38em; transition: background-size 700ms cubic-bezier(0.6, 0, 0.2, 1); }
.motion .sheet .hl.is-drawn { background-size: 100% 0.38em; }

/* Verify ───────────────────────────────────────────────── */
.verify { background: var(--canvas); }
.pipe { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.pipe::before { content: ''; position: absolute; z-index: -2; left: 30px; right: 30px; top: 17px; height: 2px; background: var(--line-strong); }
.pipe::after { content: ''; position: absolute; z-index: -1; left: 30px; right: 30px; top: 17px; height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(1); }
.pipe li { position: relative; padding: 0 16px 20px 0; }
/* The two AI stages sit in a tinted column, so "2 of 8" is visible before reading. */
.pipe .is-ai::after { content: ''; position: absolute; inset: -16px 4px 0 -12px; z-index: -1; border-radius: var(--r-md); background: var(--ai-column); border: 1px solid var(--blue-line); }
.pipe__node { position: relative; display: inline-grid; place-items: center; min-width: 60px; height: 36px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 18px; background: var(--paper); color: var(--text-muted); font-size: var(--fs-label); font-weight: 700; }
.pipe .is-ai .pipe__node { border-color: var(--blue-fill); background: var(--blue-fill); color: var(--on-blue); box-shadow: 0 0 0 6px var(--pin-ring-hot); }
.pipe h3 { margin-top: 18px; font-size: 17px; line-height: 1.45; font-weight: 650; letter-spacing: -0.01em; }
.pipe .is-ai h3 { color: var(--blue-text); }
.pipe p { margin-top: 6px; color: var(--text-muted); font-size: var(--fs-label); line-height: 1.6; }

.ramp { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; margin-top: clamp(56px, 6vw, 80px); padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.ramp__title { font-size: 23px; line-height: 1.4; letter-spacing: -0.02em; font-weight: 700; }
.ramp__intro p { margin-top: 10px; color: var(--text-muted); font-size: var(--fs-small); }
.ramp__meter { position: relative; padding-top: 6px; }
.ramp__track { position: relative; display: grid; grid-template-columns: 50fr 20fr 15fr 15fr; gap: 3px; height: 12px; }
.seg { border-radius: 3px; }
.seg--d { background: var(--band-d); }
.seg--c { background: var(--band-c); }
.seg--b { background: var(--band-b); }
.seg--a { background: var(--band-a); }
/* The knob rides the left edge of a full-width layer that slides by --p, so it moves on the compositor. */
.ramp__thumb { position: absolute; inset: 0; transform: translateX(var(--p, 88%)); pointer-events: none; transition: transform 80ms linear; }
.ramp__thumb::before { content: ''; position: absolute; left: -13px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--text); box-shadow: 0 2px 6px var(--thumb-shadow); }
.ramp__ticks { position: relative; height: 24px; margin-top: 10px; color: var(--text-muted); font-size: var(--fs-label); }
.ramp__ticks span { position: absolute; left: var(--t, 0); transform: translateX(-50%); }
.ramp__ticks span:first-child { transform: none; }
.ramp__ticks span:last-child { left: auto; right: 0; transform: none; }
.ramp input[type='range'] { position: absolute; inset: -12px 0 auto; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: grab; }
.ramp__meter:focus-within .ramp__thumb::before { box-shadow: 0 0 0 5px var(--focus-ring), 0 2px 6px var(--thumb-shadow); }
.ramp__verdict { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.ramp__score { display: flex; align-items: baseline; gap: 2px; font-size: 56px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.ramp__score span { font-size: 20px; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.ramp__band { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; }
.ramp__band::before { content: ''; width: 12px; height: 12px; border-radius: 3px; background: var(--band-a); }
.ramp__band[data-tone='b']::before { background: var(--band-b); }
.ramp__band[data-tone='c']::before { background: var(--band-c); }
.ramp__band[data-tone='d']::before { background: var(--band-d); }
.ramp__desc { margin-top: 4px; color: var(--text-muted); font-size: var(--fs-small); }

/* Privacy: the ink band. Tokens are remapped here, so the components below are written once. */
.privacy {
  --paper: var(--ink-raise); --canvas: var(--ink);
  --text: var(--on-ink); --text-2: var(--on-ink); --text-muted: var(--on-ink-muted);
  --line: var(--ink-line); --line-strong: var(--ink-line-strong);
  --blue-text: var(--on-ink-blue); --blue-soft: var(--ink-blue-soft);
  --error: var(--ink-error); --error-soft: var(--ink-error-soft); --highlight: var(--highlight-on-ink);
  background: var(--ink); color: var(--text);
}
.arch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); border: 1px solid var(--line); }
.arch__pc { align-self: center; padding: 24px; border: 1.5px solid var(--blue); border-radius: var(--r-md); background: var(--paper); box-shadow: 0 0 0 8px var(--blue-soft); }
.arch__label { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; }
.arch__label svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-text); stroke-width: 1.7; stroke-linecap: round; }
.arch__store { display: grid; gap: 8px; margin-top: 18px; }
.arch__store li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border-radius: var(--r-sm); background: var(--canvas); border: 1px solid var(--line); font-size: var(--fs-small); }
.arch__store b { font-weight: 600; }
.arch__store span { color: var(--text-muted); font-size: var(--fs-label); text-align: right; }
.arch__out { display: grid; align-content: center; gap: 12px; }
.arch__out li { display: grid; grid-template-columns: minmax(96px, 1fr) minmax(0, 1.5fr); align-items: center; }
.arch__wire { position: relative; height: 32px; display: flex; align-items: center; justify-content: center; }
.arch__wire::before { content: ''; position: absolute; left: 0; right: 4px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--blue) 0 7px, transparent 7px 13px); background-size: 13px 2px; }
.arch__wire::after { content: ''; position: absolute; right: 0; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left: 7px solid var(--blue); border-right: 0; }
.arch__wire em { position: relative; z-index: 1; padding: 2px 10px; border-radius: var(--r-xs); background: var(--canvas); color: var(--blue-text); font-style: normal; font-size: var(--fs-label); font-weight: 650; white-space: nowrap; }
.arch__node { display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--paper); }
.arch__node b { font-weight: 650; font-size: 17px; }
.arch__node span { font-size: var(--fs-label); color: var(--text-muted); }
.arch__none { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 16px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); color: var(--text-muted); font-size: var(--fs-small); }
.arch__none b { display: block; color: var(--text); font-weight: 650; }
.arch__cut { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--error-soft); }
.arch__cut svg { width: 18px; height: 18px; fill: none; stroke: var(--error); stroke-width: 2; stroke-linecap: round; }

/* Platforms: one row per computer, not three cards ───── */
.platforms__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(48px, 7vw, 112px); align-items: start; }
.platforms__cta { margin-top: 32px; }
.os { border-top: 1px solid var(--line); }
.os li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: 'icon name file' 'icon desc file'; column-gap: 16px; align-items: center; padding: 20px 16px; border-bottom: 1px solid var(--line); transition: background-color var(--t-base) var(--ease); }
.os li.is-yours { background: var(--blue-soft); border-radius: var(--r-md); border-bottom-color: transparent; }
.os__icon { grid-area: icon; width: 28px; height: 28px; color: var(--text); }
.os li.is-yours .os__icon { color: var(--blue-text); }
.os h3 { grid-area: name; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.os li.is-yours h3::after { content: '지금 쓰는 컴퓨터'; padding: 1px 10px; border-radius: 13px; background: var(--paper); color: var(--blue-text); font-size: var(--fs-label); font-weight: 650; letter-spacing: 0; }
.os p { grid-area: desc; color: var(--text-muted); font-size: var(--fs-small); }
.file { grid-area: file; padding: 2px 10px; border-radius: var(--r-xs); background: var(--sunken); color: var(--text); font-weight: 650; font-size: 15px; }
.os li.is-yours .file { background: var(--paper); }
.platforms__spec { margin-top: 24px; color: var(--text-muted); font-size: var(--fs-small); }

/* FAQ: two columns, hairline list ─────────────────────── */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(48px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; display: flex; align-items: center; min-height: 76px; padding: 18px 56px 18px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 650; line-height: 1.5; letter-spacing: -0.02em; transition: color var(--t-fast) var(--ease); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--blue-text); }
.faq__list summary::before, .faq__list summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: currentColor; border-radius: 1px; transition: transform 320ms var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__a { padding: 0 56px 28px 0; color: var(--text-2); }
.faq__steps { display: grid; gap: 10px; margin-top: 14px; }
.faq__steps li { padding: 12px 16px; border-radius: var(--r-sm); background: var(--canvas); font-size: var(--fs-small); }
.faq__steps b { color: var(--text); margin-right: 8px; }

/* Apply (the blue panel) ──────────────────────────────── */
.apply { padding-top: calc(var(--section-y) * 0.6); }
.apply__band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; padding: clamp(32px, 5vw, 72px); border-radius: var(--r-xl); background: var(--blue-fill); color: var(--on-blue); }
.apply .head__lead { color: var(--on-blue-muted); }
.apply__copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.apply__points { display: grid; gap: 14px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--on-blue-line); }
.apply__points li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; }
.apply__points svg { width: 24px; height: 24px; padding: 5px; flex: none; border-radius: 50%; background: var(--on-blue); fill: none; stroke: var(--blue-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.apply__card { display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); color: var(--text); box-shadow: var(--shadow-panel); transform: rotate(-1.5deg); }
.apply__card div { display: grid; line-height: 1.4; }
.apply__card b { font-weight: 700; }
.apply__card div span { color: var(--text-muted); font-size: var(--fs-label); }
.apply__panel { padding: clamp(24px, 3.2vw, 40px); border-radius: var(--r-lg); background: var(--paper); color: var(--text); box-shadow: var(--shadow-panel); }
.apply :focus-visible { outline-color: var(--on-blue); }
.apply__panel :focus-visible { outline-color: var(--blue); }

.dl__version { font-size: var(--fs-small); font-weight: 650; color: var(--text-muted); }
.dl { display: grid; gap: 12px; margin-top: 16px; }
.dl__btn {
  display: grid; gap: 2px; min-height: 76px; padding: 14px 52px 14px 20px; position: relative;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--paper); color: var(--text); text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.dl__btn::after { content: '↓'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 700; color: var(--blue-text); }
.dl__btn:hover { border-color: var(--blue-fill); background: var(--blue-soft); }
.dl__name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
.dl__meta { color: var(--text-muted); font-size: var(--fs-label); line-height: 1.5; }
.dl li.is-yours .dl__btn { border-color: var(--blue-fill); background: var(--blue-fill); color: var(--on-blue); }
.dl li.is-yours .dl__btn:hover { background: var(--blue-fill-hover); }
.dl li.is-yours .dl__meta, .dl li.is-yours .dl__btn::after { color: var(--on-blue-muted); }
.dl__mine { display: none; }
.dl li.is-yours .dl__mine { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: var(--r-xs); background: var(--on-blue-line); font-size: var(--fs-label); font-weight: 600; vertical-align: 1px; }

/* One button for this computer; every installer sits in the dialog. Hidden until JS has picked, so nothing jumps. */
.dl-primary { display: grid; gap: 8px; }
.dl-primary:not(.is-ready) { visibility: hidden; }
.dl-primary [hidden] { display: none; }
.dl-primary__btn { --h: 76px; flex-direction: column; gap: 4px; padding-block: 12px; white-space: normal; text-align: center; border-radius: var(--r-md); margin-top: 8px; }
.dl-primary__label { font-size: 19px; font-weight: 700; line-height: 1.3; }
.dl-primary__meta { font-size: var(--fs-label); font-weight: 500; line-height: 1.4; color: var(--on-blue-muted); }
.dl-primary__note { margin-top: 8px; padding: 16px; border-radius: var(--r-sm); background: var(--canvas); border: 1px solid var(--line); font-weight: 650; line-height: 1.6; }
.dl-primary__note span { display: block; font-weight: 400; color: var(--text-muted); font-size: var(--fs-label); }
.dl-primary__alt { justify-self: center; font-size: var(--fs-label); }
.dl-primary__more { justify-self: center; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--blue-text); font: inherit; font-size: var(--fs-small); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dl-primary__more:hover { text-decoration-thickness: 2px; }
.dlg { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--text); box-shadow: var(--shadow-float); }
.dlg::backdrop { background: var(--sky-scrim); }
.dlg :focus-visible { outline-color: var(--blue); }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 0 24px; }
.dlg__title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.dlg__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: none; color: var(--text-muted); cursor: pointer; }
.dlg__close:hover { background: var(--sunken); color: var(--text); }
.dlg__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dlg .dl-all { padding: 0 24px 24px; }
.dlg .dl { margin-top: 12px; }
.dl__hint { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--canvas); border: 1px solid var(--line); color: var(--text-muted); font-size: var(--fs-label); line-height: 1.65; }
.dl__hint b { color: var(--text); margin-right: 4px; }
.apply__panel .form__hint { margin-top: 14px; }
.form__hint { color: var(--text-muted); font-size: var(--fs-label); text-align: center; }

/* Install guide: same dialog shell as the installer list; steps, OS tabs, a collapsed terminal shortcut. */
.guide { width: min(640px, calc(100% - 32px)); overflow-y: auto; overscroll-behavior: contain; }
.guide__body { display: grid; gap: 16px; padding: 12px 24px 24px; font-size: var(--fs-small); line-height: 1.65; }
.guide__started { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-sm); background: var(--ok-soft); color: var(--text); font-weight: 650; }
.guide__started svg { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guide__why { color: var(--text-muted); }
.guide__tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: var(--sunken); }
.guide__tabs [role='tab'] { flex: 1; min-height: 44px; border: 0; border-radius: var(--r-xs); background: none; color: var(--text-muted); font: inherit; font-size: var(--fs-small); font-weight: 650; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.guide__tabs [role='tab']:hover { color: var(--text); }
.guide__tabs [aria-selected='true'] { background: var(--paper); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong); }
.guide__panel { display: grid; gap: 14px; }
.guide__panel[hidden] { display: none; }
.guide__steps { display: grid; gap: 10px; counter-reset: step; list-style: none; padding: 0; }
.guide__steps li { position: relative; padding: 12px 16px 12px 56px; border-radius: var(--r-sm); background: var(--canvas); border: 1px solid var(--line); counter-increment: step; }
.guide__steps li::before { content: counter(step); position: absolute; left: 14px; top: 11px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-fill); color: var(--on-blue); font-size: var(--fs-label); font-weight: 700; line-height: 1; }
.guide__steps b, .guide__note b { color: var(--text); }
.guide__note { color: var(--text-muted); }
.guide__more { border-top: 1px solid var(--line); padding-top: 4px; }
.guide__more summary { display: flex; align-items: center; min-height: 44px; color: var(--blue-text); font-weight: 650; cursor: pointer; }
.guide__more > p { margin-top: 6px; color: var(--text-muted); }
.guide__code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 10px 10px 14px; border-radius: var(--r-sm); background: var(--ink); }
.guide__code code { flex: 1 1 240px; color: var(--on-ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--fs-label); line-height: 1.6; overflow-wrap: anywhere; }
.guide__code .btn { --h: 40px; }
.guide__alert { padding: 14px 16px; border-radius: var(--r-sm); background: var(--warning-soft); border: 1px solid var(--line); }
.guide__alert-title { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 4px; color: var(--warning); font-weight: 700; }
.guide__alert-title svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice { display: grid; justify-items: start; gap: 16px; padding-block: 96px; }
.notice h1 { font-size: var(--fs-h3); font-weight: 700; }

/* Footer ───────────────────────────────────────────────── */
.footer { padding: 72px 0 0; background: var(--canvas); border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; }
.footer__line { margin-top: 14px; max-width: 460px; color: var(--text-muted); font-size: var(--fs-label); line-height: 1.65; }
.footer__line b { color: var(--text); font-weight: 650; }
.footer__biz { display: grid; gap: 4px; margin-top: 20px; font-size: var(--fs-label); }
.footer__biz div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
.footer__biz dt { color: var(--text-muted); }
.footer__biz dd { margin: 0; color: var(--text-2); }
.footer__cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, auto); gap: 24px 48px; }
.footer__h { margin-bottom: 6px; color: var(--text); font-size: var(--fs-label); font-weight: 700; }
.footer__cols a { display: flex; align-items: center; min-height: 40px; color: var(--text-muted); text-decoration: none; font-size: var(--fs-label); }
.footer__cols a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer__cols a b { color: var(--text-2); font-weight: 650; }
.footer__copy { grid-column: 1 / -1; padding-block: 24px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: var(--fs-label); }
.footer__word { display: flex; align-items: center; justify-content: center; gap: 0.16em; margin: clamp(16px, 2.4vw, 40px) auto 0; padding-bottom: 0.06em; font-size: clamp(56px, 14.6vw, 220px); font-weight: 760; letter-spacing: -0.035em; line-height: 1.04; white-space: nowrap; user-select: none; }
/* Wordmark letters fade downward. Tracking stays at -0.035em: tighter and r/P and i/l fuse at this weight. */
.footer__word span { background: linear-gradient(180deg, var(--word-top) 30%, var(--word-bottom) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__word svg { flex: none; width: 0.78em; height: 0.78em; }
.footer__word .mark-tile { fill: var(--word-top); }
.footer__word .mark-glyph { color: var(--canvas); }

/* Mobile dock: the one action stays in reach once the hero has scrolled away (shown ≤720px). */
.dock { display: none; }

/* Privacy policy page ──────────────────────────────────── */
.legal { max-width: 800px; padding-block: calc(var(--nav-h) + 72px) 112px; }
.legal h1 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.25; letter-spacing: -0.032em; }
.legal__meta { margin-top: 14px; color: var(--text-muted); font-size: var(--fs-label); }
.legal__summary { display: grid; gap: 10px; margin-top: 36px; padding: 24px 28px; border-radius: var(--r-md); background: var(--canvas); border: 1px solid var(--line); }
.legal__summary li { position: relative; padding-left: 26px; }
.legal__summary li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--blue-fill); border-bottom: 2px solid var(--blue-fill); transform: rotate(-45deg); }
.legal__lead { margin-top: 36px; }
.legal h2 { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.legal h2 + * { margin-top: 14px; }
.legal p + p, .legal p + ul, .legal ul + p, .legal table + p { margin-top: 12px; }
.legal ul.bullets li { position: relative; padding-left: 20px; }
.legal ul.bullets li + li { margin-top: 6px; }
.legal ul.bullets li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.legal th, .legal td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--canvas); font-weight: 600; white-space: nowrap; }
.legal__back { margin-top: 56px; }
@media (max-width: 560px) { .legal th { white-space: normal; } .legal__summary { padding: 20px; } }

/* Motion ───────────────────────────────────────────────────
   Every hidden starting state lives under .motion, which main.js sets only when JS runs and the
   visitor has not asked for reduced motion. Without it the page is simply finished and still. */
:root { interpolate-size: allow-keywords; }

/* Hero: the copy arrives in reading order, once; then the highlighter draws. */
.motion .hero__copy > * { opacity: 0; transform: translateY(14px); animation: rise 640ms var(--ease) forwards; }
.motion .hero__copy > :nth-child(2) { animation-delay: 80ms; }
.motion .hero__copy > :nth-child(3) { animation-delay: 160ms; }
.motion .hero__copy > :nth-child(4) { animation-delay: 240ms; }
.motion .hero__copy > :nth-child(5) { animation-delay: 300ms; }
.motion .demo { opacity: 0; transform: translateY(24px); animation: rise 760ms var(--ease) 220ms forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.motion .hl { background-size: 0% 0.38em; transition: background-size 900ms cubic-bezier(0.6, 0, 0.2, 1) 350ms; }
.motion .hero .hl { animation: hl-draw 900ms cubic-bezier(0.6, 0, 0.2, 1) 700ms forwards; transition: none; }
.motion .is-in .hl { background-size: 100% 0.38em; }
@keyframes hl-draw { to { background-size: 100% 0.38em; } }

/* Evidence cards pop out once the demo run ends (main.js adds .is-popped). */
.motion .pop { opacity: 0; transform: translateY(14px) scale(0.94); }
.motion .demo.is-popped .pop { opacity: 1; transform: none; }
.motion .demo.is-popped .pop--cut { transition-delay: 140ms; }

/* Section heads and blocks rise in once as they enter. */
.motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease), transform 720ms var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
/* Groups reveal their children in sequence instead of all at once. */
.motion .pillars[data-reveal], .motion .facts__list[data-reveal], .motion .pipe[data-reveal], .motion .faq__list[data-reveal], .motion .compare[data-reveal] { opacity: 1; transform: none; }
.motion .pillars > li, .motion .facts__list > li, .motion .faq__list > details { opacity: 0; transform: translateY(20px); transition: opacity 560ms var(--ease), transform 680ms var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
.motion .is-in > li, .motion .faq__list.is-in > details { opacity: 1; transform: none; }
/* Steps: the copy settles, then the scene's sheet lifts onto its bed. */
.motion .step .sheet { opacity: 0; transform: translateY(28px) scale(0.97); transition: opacity 640ms var(--ease) 180ms, transform 760ms var(--ease-spring) 180ms; }
.motion .step.is-in .sheet { opacity: 1; transform: none; }
.motion .compare .compare__lift { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease) 200ms, transform 700ms var(--ease) 200ms; }
.motion .compare.is-in .compare__lift { opacity: 1; transform: none; }

@media (hover: hover) {
  .btn--primary:hover { box-shadow: var(--btn-highlight), 0 10px 22px -10px var(--blue); transform: translateY(-1px); }
  .btn--primary:active { transform: scale(0.98); }
}

/* Pillar art: the five checks land one by one and the card is stamped; both runs count to 88; the lock closes. */
.motion .ev li { opacity: 0; transform: scale(0.8); transition: opacity 300ms var(--ease), transform 420ms var(--ease-spring); transition-delay: calc(400ms + var(--j, 0) * 110ms); }
.motion .is-in .ev li { opacity: 1; transform: none; }
.motion .art-stamp { opacity: 0; transform: rotate(-8deg) scale(1.7); transition: opacity 220ms var(--ease) 1050ms, transform 420ms var(--ease-spring) 1050ms; }
.motion .is-in .art-stamp { opacity: 1; transform: rotate(-8deg); }
.motion .runs__eq { transform: scale(0); transition: transform 420ms var(--ease-spring) 1500ms; }
.motion .is-in .runs__eq { transform: none; }
.vault__shackle { transform-box: fill-box; transform-origin: center bottom; }
.motion .vault__shackle { transform: translateY(-3px) rotate(-14deg); transition: transform 520ms var(--ease-spring) 700ms; }
.motion .is-in .vault__shackle { transform: none; }

/* Pipeline: the line fills left to right and each stage lights as it is reached. */
.motion .pipe::after { transform: scaleX(0); transition: transform 1600ms cubic-bezier(0.4, 0, 0.2, 1) 200ms; }
.motion .pipe.is-in::after { transform: scaleX(1); }
.motion .pipe li { opacity: 0.25; transition: opacity 360ms var(--ease); transition-delay: calc(200ms + var(--i, 0) * 200ms); }
.motion .pipe.is-in li { opacity: 1; }
.motion .pipe.is-in .is-ai .pipe__node { animation: ai-glow 1.6s var(--ease) calc(400ms + var(--i, 0) * 200ms) 2; }
@keyframes ai-glow { 50% { box-shadow: 0 0 0 12px var(--pin-ring); } }

/* Data flow: what leaves the computer moves outward; the BuyerPilot server stays cut off. */
.motion .arch.is-in .arch__wire::before { animation: flow 900ms linear infinite; }
@keyframes flow { to { background-position: 13px 0; } }
.motion .arch.is-in .arch__cut { animation: cut 520ms var(--ease) 600ms 2; }
@keyframes cut { 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }

/* FAQ: answers open and close instead of jumping. */
.faq__list details::details-content { block-size: 0; overflow: clip; transition: block-size 320ms var(--ease), content-visibility 320ms allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }

/* Responsive ───────────────────────────────────────────── */
@media (max-width: 1239px) {
  .pop { display: none; }
}

@media (max-width: 1100px) {
  .nav__links a { padding: 0 8px; font-size: 15px; }
  .nav__inner { gap: 24px; }
  .demo__app { grid-template-columns: 1fr; }
  .demo__side { display: none; }
  .pipe { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 40px; }
  .pipe::before, .pipe::after { display: none; }
  .pipe .is-ai::after { inset: -12px 4px 0 -12px; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav__links, .nav__cta { display: none; }
  .nav__cta--end { display: inline-flex; }
  .nav__menu { display: block; margin-left: auto; }
  .head--split, .ramp, .faq__grid, .apply__band, .platforms__grid { grid-template-columns: 1fr; }
  .faq__head, .apply__copy { position: static; }
  .step { grid-template-columns: 1fr; gap: 32px; }
  .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__copy { order: 0; }
  .scene { min-height: 0; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .pillar, .pillar:first-child, .pillar:last-child { padding: 0; }
  .pillar + .pillar { border-left: 0; padding-top: 40px; border-top: 1px solid var(--line); }
  .pillar__art { height: 170px; }
  .arch { grid-template-columns: 1fr; }
  .arch__out { margin: 0 0 0 24px; padding: 20px 0 8px 28px; border-left: 2px dashed var(--blue); gap: 14px; }
  .arch__out li { grid-template-columns: 1fr; gap: 6px; }
  .arch__wire { justify-content: flex-start; height: auto; }
  .arch__wire::before, .arch__wire::after { display: none; }
  .arch__wire em { padding: 0; }
  .facts__list { grid-template-columns: 1fr; gap: 36px; }
  .facts__list li, .facts__list li:first-child { padding: 0; }
  .facts__list li + li { border-left: 0; padding-top: 36px; border-top: 1px solid var(--on-blue-line); }
  .facts__label { max-width: none; }
}

@media (max-width: 720px) {
  .pipe { grid-template-columns: 1fr; row-gap: 0; }
  .pipe li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 0 0 24px; }
  .pipe .is-ai::after { inset: -8px -8px 8px -8px; }
  .pipe li::before { content: ''; position: absolute; left: 30px; top: 36px; bottom: 0; width: 2px; background: var(--line-strong); }
  .pipe li:last-child::before { display: none; }
  .pipe h3 { margin-top: 4px; }
  .pipe p { grid-column: 2; }
  .ramp__verdict { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo__bed { padding: 12px 10px 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .demo__win { border-radius: 16px 16px 0 0; }
  .demo__body { padding: 14px; }
  .nav { inset: 8px 0 auto; }
  .nav__inner { height: 56px; padding: 0 6px 0 16px; }
  .step__n span { font-size: 44px; }
  .demo__form { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .demo__go { grid-column: 1 / -1; justify-content: center; }
  .demo__main { grid-template-columns: 1fr; }
  .demo__row:nth-child(n+6) { display: none; }
  .demo__list { min-height: 0; }
  .demo.is-empty .demo__list { min-height: 200px; }
  .demo__progress { width: 28%; }
  .compare { margin-top: 56px; padding: 0; overflow: visible; }
  .compare__lift { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { display: none; }
  .compare tr { margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); overflow: hidden; }
  .compare tbody th { padding: 14px 18px 4px; border: 0; font-size: 17px; }
  .compare td, .compare td.compare__us { padding: 6px 18px 12px; border: 0; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
  .compare td.compare__us { padding-block: 12px 14px; background: var(--blue-soft); }
  .compare td.compare__us::before { color: var(--blue-text); }
  .scene { padding: 16px; border-radius: var(--r-lg); }
  .scene__replay { position: static; justify-self: end; margin-top: 12px; }
  .sheet { padding: 20px; font-size: 16px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis p:last-child { grid-column: 1 / -1; }
  .tally b { font-size: 36px; }
  .faq__list summary { font-size: 18px; padding-right: 44px; }
  .faq__a { padding-right: 0; }
  .sources__list li { font-size: 18px; }
  .pillar__art { margin-bottom: 20px; }
  .dock { position: fixed; inset: auto 0 0; z-index: 40; display: block; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--nav-glass); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 -1px 0 var(--line); transition: transform var(--t-base) var(--ease); }
  .dock[hidden] { display: block; transform: translateY(110%); visibility: hidden; }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; --fs-body: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .ramp__ticks span:last-child { display: none; }
  .apply__band { padding: 28px 20px; border-radius: var(--r-lg); }
  .apply__panel { padding: 22px 18px; }
  .dlg__head { padding-left: 18px; }
  .dlg .dl-all { padding: 0 18px 18px; }
  .guide__body { padding: 12px 18px 18px; }
  .guide__steps li { padding-left: 50px; }
  .guide__steps li::before { left: 12px; }
  .apply__card { transform: none; }
  .arch__out { margin-left: 12px; padding-left: 18px; }
  .os li { padding-inline: 12px; }
  .mail__row { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
