/* Log Spend Auditor — static site, design system v2.
   System fonts only. No external fonts, scripts, images or requests. */
:root {
  /* surfaces */
  --bg: #0b0e13;
  --bg-alt: #0d1117;
  --surface: #11161d;
  --surface-2: #151b24;
  /* borders */
  --border: #1f2733;
  --border-strong: #2c3747;
  /* text */
  --text: #eef2f7;
  --text-2: #c5cfdb;
  --muted: #9aa7b8;
  --faint: #8191a5;
  /* accents (green sparingly, cyan only for technical detail) */
  --accent: #3ecf8e;
  --accent-hover: #5fdba5;
  --accent-ink: #052014;
  --accent-soft: rgba(62, 207, 142, .10);
  --accent-line: rgba(62, 207, 142, .38);
  --cyan: #7cc4f5;
  --amber: #e6b95a;
  --red: #f08f8f;
  /* shape + rhythm */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px -16px rgba(0, 0, 0, .6);
  --maxw: 1200px;
  /* ambient background (html.quiet = legal pages, lower intensity) */
  --amb-green: .14;
  --amb-cyan: .11;
  --amb-neutral: .06;
  --amb-grid: .035;
  --hero-glow: .20;
  --gutter: 32px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.quiet { --amb-green: .055; --amb-cyan: .04; --amb-neutral: .03; --amb-grid: .02; --hero-glow: 0; }

/* ---------- ambient background: 3 fixed, pointer-less layers (2 slowly animated) ---------- */
html::before, body::before, body::after { content: ""; position: fixed; pointer-events: none; z-index: -1; }
/* A: muted green glow (upper left) + neutral glow (bottom) — 38s drift */
html::before {
  inset: -20vmax;
  background:
    radial-gradient(closest-side at 18% 14%, rgba(62, 207, 142, var(--amb-green)), transparent 100%) 0 0 / 70% 70% no-repeat,
    radial-gradient(closest-side at 50% 50%, rgba(140, 160, 190, var(--amb-neutral)), transparent 100%) 40% 100% / 80% 60% no-repeat;
  animation: drift-a 38s ease-in-out infinite alternate; will-change: transform;
}
/* B: subtle cyan/blue glow (right) — 30s drift */
body::before {
  inset: -20vmax;
  background: radial-gradient(closest-side at 50% 50%, rgba(124, 196, 245, var(--amb-cyan)), transparent 100%) 100% 30% / 60% 60% no-repeat;
  animation: drift-b 30s ease-in-out infinite alternate; will-change: transform;
}
/* C: technical grid, static, fading toward the edges and lower viewport */
body::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, var(--amb-grid)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, var(--amb-grid)) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, #000 5%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, #000 5%, transparent 78%);
}
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1.04); } to { transform: translate3d(-4vw, 4vh, 0) scale(.96); } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- typography ---------- */
h1 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.08; font-weight: 650; letter-spacing: -.028em; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 650; letter-spacing: -.022em; max-width: 32ch; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.005em; }
.eyebrow { margin-bottom: 16px; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.body-lg { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 58ch; }
.narrow { max-width: 64ch; }
.muted { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 70ch; }
.muted.center { text-align: center; }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--faint); text-align: center; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(11, 14, 19, .97); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 12px 32px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 650 16px var(--sans); letter-spacing: -.005em; }
.brand:hover { color: var(--text); }
.mark { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 7px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font: 700 13px var(--mono); }
header.site nav { margin-left: auto; }
header.site nav ul { display: flex; gap: 2px; }
header.site nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
header.site nav a:hover { color: var(--text); background: var(--surface); }

/* ---------- buttons: primary, secondary, text link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { color: var(--text); border-color: var(--muted); background: var(--surface); }
.btn-nav { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 104px; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: 0; pointer-events: none; right: 2%; top: 50%; width: 660px; height: 600px; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(62, 207, 142, var(--hero-glow)), rgba(124, 196, 245, calc(var(--hero-glow) * .4)) 55%, transparent 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 72px; align-items: center; }
.hero-copy .lead { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 50ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-center { justify-content: center; }
.price-line { margin-top: 20px; font-size: 14.5px; color: var(--text-2); }
.price-fine { margin-top: 4px; font-size: 13.5px; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, .015); }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- product result panel ---------- */
.result { min-width: 0; padding: 22px 24px 20px; border: 1px solid var(--border-strong); border-radius: 16px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.result-title { font-size: 15px; font-weight: 600; letter-spacing: -.005em; }
.result-tag { padding: 3px 10px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 12px; color: var(--muted); }
.result-cmd { margin-top: 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border); font: 12.5px/1.5 var(--mono); color: var(--text-2); overflow-wrap: anywhere; }
.result-cmd .prompt { color: var(--accent); margin-right: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.stats > div { padding: 14px 16px; min-width: 0; }
.stats > div + div { border-left: 1px solid var(--border); }
.stats dt { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.stats dd { margin-top: 6px; font-size: 24px; line-height: 1.1; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats dd small { display: block; margin-top: 4px; }
.stats small, .cand-val small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.result-sub { margin-top: 22px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cands { margin-top: 8px; }
.cands li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 8px; align-items: center; padding: 13px 0; border-top: 1px solid var(--border); }
.cands li:first-child { border-top: 0; }
.cand-name { grid-column: 1; font: 500 14px/1.3 var(--mono); color: var(--text); overflow-wrap: anywhere; }
.cand-val { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cand-status { grid-column: 1; justify-self: start; padding: 2px 8px; border-radius: 5px; font: 600 11px/1.5 var(--mono); letter-spacing: .04em; }
.st-waste { color: var(--red); background: rgba(240, 143, 143, .10); }
.st-review { color: var(--amber); background: rgba(230, 185, 90, .10); }
.cand-bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.cand-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); opacity: .75; }
.cand-bar .w100 { width: 100%; } .cand-bar .w79 { width: 79%; } .cand-bar .w24 { width: 24%; }
.result figcaption { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; line-height: 1.5; color: var(--faint); }

/* ---------- sections ---------- */
.section { padding: 104px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 64px; }
.section-alt { background: rgba(255, 255, 255, .016); }
.two-col { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 72px; align-items: start; }
.statements { border-top: 1px solid var(--border); }
.statements li { padding: 22px 0; border-bottom: 1px solid var(--border); }
.statements p { margin-top: 4px; color: var(--muted); }

/* ---------- how it works: horizontal timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 52px 0 0; }
.timeline li { position: relative; padding-top: 28px; border-top: 1px solid var(--border-strong); }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.step-no { display: block; margin-bottom: 10px; font: 600 13px var(--mono); color: var(--accent); letter-spacing: .05em; }
.timeline h3 { font-size: 20px; }
.timeline p { margin-top: 6px; color: var(--muted); }
.timeline + .muted { margin-top: 44px; }

/* ---------- Community vs Pro ---------- */
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 52px; align-items: stretch; }
.edition { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface); min-width: 0; }
.edition-pro { border-color: var(--accent-line); background: linear-gradient(180deg, #13201f, var(--surface) 55%); box-shadow: var(--shadow), 0 0 0 1px rgba(62, 207, 142, .08); }
.ed-top { min-height: 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ed-label { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.edition-pro .ed-label { color: var(--accent); }
.badge-launch { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }
.ed-price { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.amount { font-size: 48px; line-height: 1; font-weight: 650; letter-spacing: -.035em; }
.amount-sub { font-size: 15px; color: var(--text-2); }
.amount-was { font-size: 14px; color: var(--faint); }
.ed-tagline { margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); color: var(--muted); }
ul.terms { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--text); font-weight: 500; }
ul.terms li { display: flex; align-items: center; gap: 10px; }
ul.terms li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
ul.check { margin: 18px 0 28px; flex: 1; }
ul.check li { position: relative; padding: 8px 0 8px 28px; color: var(--text-2); }
ul.check li::before { content: ""; position: absolute; left: 3px; top: 1.08em; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- security: 2x3 facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border: 1px solid var(--border); border-radius: 14px; background: var(--border); gap: 1px; overflow: hidden; }
.facts li { padding: 28px; background: var(--bg-alt); min-width: 0; }
.facts h3 { display: flex; align-items: baseline; gap: 10px; }
.facts h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.facts p { margin-top: 8px; padding-left: 16px; color: var(--muted); font-size: 15.5px; }

/* ---------- platforms: one horizontal row ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platforms li { padding: 26px 28px 26px 0; min-width: 0; }
.platforms li + li { padding-left: 28px; border-left: 1px solid var(--border); }
.platforms h3 { font-size: 20px; }
.plat-status { margin-top: 10px; }
.status-ok, .status-later { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.status-ok { color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.status-later { color: var(--faint); border: 1px solid var(--border-strong); }
.plat-detail { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.plat-detail + .plat-detail { margin-top: 2px; }
.plat-live .plat-status + .plat-detail { margin-top: 12px; }

/* ---------- final CTA ---------- */
.final { padding: 112px 0; text-align: center; background: rgba(255, 255, 255, .016); position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: -40%; width: 70%; height: 100%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(62, 207, 142, .05), transparent 70%); }
.final-inner { position: relative; }
.final h2 { margin: 0 auto; max-width: 22ch; }
.final .body-lg { margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-foot { padding: 48px 0 60px; border-top: 1px solid var(--border); background: rgba(11, 14, 19, .6); font-size: 15px; color: var(--muted); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 650 15px var(--sans); color: var(--text); }
.legal { max-width: 62ch; margin-bottom: 8px; font-size: 13.5px; color: var(--faint); }
.site-foot .links { display: grid; gap: 10px; }
.site-foot .links a { color: var(--muted); text-decoration: none; }
.site-foot .links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- legal pages (privacy, terms) ---------- */
.doc { padding: 72px 0 104px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.doc .note { margin-bottom: 28px; font-size: 14.5px; color: var(--faint); }
.doc h2 { max-width: none; margin: 44px 0 14px; padding-top: 28px; border-top: 1px solid var(--border); font-size: 22px; letter-spacing: -.012em; }
.doc p, .doc li { max-width: 72ch; color: var(--text-2); }
.doc p { margin-bottom: 1em; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li { margin: 9px 0; padding-left: 4px; }
.doc li::marker { color: var(--accent); }

/* ---------- architecture diagram (HTML + CSS only; no scripts, no inline styles) ---------- */
.arch { position: relative; margin-top: 48px; padding: 36px 32px 28px; border: 1px solid var(--border-strong); border-radius: 18px; background: rgba(13, 17, 23, .72); box-shadow: var(--shadow); overflow: hidden; }
.arch::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 20%, transparent 85%); mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 20%, transparent 85%); }
.arch-flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1.4fr); gap: 44px; align-items: stretch; }
.stage { position: relative; display: flex; flex-direction: column; min-width: 0; }
.stage-tag { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-strong); }
.stage-no { font: 600 13px var(--mono); color: var(--accent); letter-spacing: .04em; }
.stage-name { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stage-body { flex: 1; padding: 20px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); min-width: 0; }
.stage h3 { font-size: 16.5px; margin-bottom: 14px; }
.stage-text { margin: 14px 0 0; font-size: 14px; color: var(--text-2); }
.stage-note { margin: 6px 0 0; font-size: 13px; color: var(--faint); }

/* connectors between stages (decorative) */
.stage:not(:last-child)::after { content: ""; position: absolute; top: 56%; right: -44px; width: 44px; height: 1px; background: linear-gradient(90deg, var(--border-strong), var(--accent-line)); }
.stage:not(:last-child)::before { content: ""; position: absolute; top: calc(56% - 3px); right: -46px; width: 7px; height: 7px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }

/* 01 input */
.sources { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.src { padding: 5px 10px; border: 1px solid rgba(124, 196, 245, .35); border-radius: 7px; background: rgba(124, 196, 245, .07); font: 500 12.5px/1.4 var(--mono); color: var(--cyan); }
.src-or { padding-left: 4px; font: 500 12px var(--mono); color: var(--faint); }

/* 02 collect */
.props { display: flex; flex-direction: column; gap: 8px; }
.props li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.props li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* 03 engine: visually dominant */
.stage-engine .stage-tag { border-bottom-color: var(--accent-line); }
.stage-engine .stage-body { border-color: var(--accent-line); background: linear-gradient(180deg, #112019, var(--surface) 70%); box-shadow: 0 0 0 1px rgba(62, 207, 142, .06); padding: 24px 22px; }
.stage-engine h3 { font-size: 19px; }
.signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.signals li { padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: rgba(11, 14, 19, .6); font-size: 13.5px; line-height: 1.35; color: var(--text); }
.tags-label { margin: 22px 0 10px; font: 600 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 8px; border-radius: 5px; font: 600 11px/1.5 var(--mono); letter-spacing: .03em; border: 1px solid transparent; }
.tag-waste { color: var(--red); background: rgba(240, 143, 143, .10); border-color: rgba(240, 143, 143, .25); }
.tag-review { color: var(--amber); background: rgba(230, 185, 90, .10); border-color: rgba(230, 185, 90, .25); }
.tag-normal { color: var(--text-2); background: rgba(255, 255, 255, .04); border-color: var(--border-strong); }
.tag-protected { color: var(--cyan); background: rgba(124, 196, 245, .08); border-color: rgba(124, 196, 245, .28); }
.tag-value { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.tag-unknown { color: var(--faint); background: transparent; border-color: var(--border-strong); border-style: dashed; }

/* 04 outputs: two levels */
.outputs { display: flex; flex-direction: column; gap: 12px; padding: 12px; }
.output { padding: 14px 16px; border: 1px solid var(--border); border-radius: 9px; background: rgba(11, 14, 19, .5); }
.output-pro { border-color: var(--accent-line); background: rgba(62, 207, 142, .05); }
.output h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; font-size: 14.5px; }
.out-edition { font: 700 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.output-pro .out-edition { color: var(--accent); }
.out-name { font-weight: 600; }
.output ul { display: flex; flex-direction: column; gap: 5px; }
.output li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.output li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 1px; background: var(--faint); }
.output-pro li::before { background: var(--accent); }

/* footer statements */
.arch-foot { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-strong); }
.arch-claim { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.arch-secure { margin: 0; font: 500 13.5px var(--mono); color: var(--accent); }

/* tablet / mobile: vertical stepped sequence */
@media (max-width: 1180px) {
  .arch { padding: 28px 22px 22px; }
  .arch-flow { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 640px; margin: 0 auto; }
  .stage:not(:last-child)::after { top: auto; right: auto; bottom: -34px; left: 28px; width: 1px; height: 28px; background: linear-gradient(180deg, var(--border-strong), var(--accent-line)); }
  .stage:not(:last-child)::before { top: auto; right: auto; bottom: -34px; left: 25px; transform: rotate(135deg); }
  .arch-foot { max-width: 640px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .arch { margin-top: 36px; padding: 22px 14px 18px; border-radius: 14px; }
  .stage-body { padding: 16px; }
  .stage-engine .stage-body { padding: 18px 16px; }
  .signals { grid-template-columns: 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 28px; }
  .hero { padding: 72px 0 80px; }
  .hero-grid { gap: 48px; }
  .two-col { gap: 48px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero::before { right: 50%; top: auto; bottom: 0; width: 120vw; height: 70%; transform: translateX(50%); }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .editions { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; margin-top: 36px; border-left: 1px solid var(--border-strong); }
  .timeline li { padding: 0 0 32px 28px; border-top: 0; }
  .timeline li:last-child { padding-bottom: 8px; }
  .timeline li::before { top: 3px; left: -6px; }
  .platforms { grid-template-columns: 1fr; }
  .platforms li, .platforms li + li { padding: 22px 0; border-left: 0; }
  .platforms li + li { border-top: 1px solid var(--border); }
}
@media (max-width: 760px) {
  header.site { position: static; }
  .bar { flex-wrap: wrap; padding-top: 12px; padding-bottom: 8px; gap: 8px 12px; }
  .btn-nav { margin-left: auto; }
  header.site nav { order: 3; flex-basis: 100%; margin: 0 -12px; }
  header.site nav ul { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; --amb-grid: .024; }
  body::after { background-size: 48px 48px; }
  body { font-size: 16px; }
  .hero { padding: 48px 0 56px; }
  .hero-copy .lead { font-size: 17.5px; }
  .cta .btn { width: 100%; }
  .section { padding: 64px 0; }
  .final { padding: 72px 0; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 22px; }
  .edition { padding: 26px 22px; }
  .result { padding: 18px 16px 16px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .stats dd { margin-top: 0; font-size: 20px; display: flex; align-items: baseline; gap: 8px; }
  .stats dd small { display: inline; margin: 0; }
  .brand-name { font-size: 14px; }
  .btn-nav { padding: 0 10px; font-size: 12.5px; min-height: 36px; }
  .brand { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html::before, body::before { will-change: auto; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 13.5px; }
  .brand { gap: 7px; }
  .btn-nav { padding: 0 9px; font-size: 12px; }
}
