/* Outfiy landing page — a bright shop window: products are stars, recommendations are constellations.
   Warm off-white, near-black type, one coral accent, a classic serif for headings; the stars are drawn
   like a star chart printed on paper. */
/* Fallback sized like Cormorant Garamond, so headings keep their line breaks when the web font arrives (no layout shift). */
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 84%; ascent-override: 92%; descent-override: 28%; }
:root {
  --bg: #faf8f4;
  --bg-2: #f3efe8;
  --panel: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #4b4a4f;
  --muted: #6e6b66;
  --line: rgba(29, 29, 31, 0.1);
  --line-2: rgba(29, 29, 31, 0.2);
  --gold: #d9542f;
  --gold-soft: rgba(217, 84, 47, 0.1);
  --ok: #1e7d45;
  --err: #b42318;
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: var(--serif);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: rgba(217, 84, 47, 0.2); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 16px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
em { font-style: italic; color: var(--gold); }
pre, code { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }

/* ------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 26px/1 var(--serif); letter-spacing: 0.01em; color: var(--ink); }
.brand svg { width: 28px; height: 28px; color: var(--ink); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 14px; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang svg { position: absolute; left: 0; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.lang select { appearance: none; -webkit-appearance: none; font: 500 13px/1 var(--sans); letter-spacing: 0.06em; color: var(--ink-2); background: transparent; border: 0; padding: 6px 2px 6px 22px; cursor: pointer; }
.lang select option { background: var(--panel); color: var(--ink); }
.nav-code { font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color 0.2s; }
.nav-code:hover { border-color: var(--gold); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: 500 15px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; border-radius: 999px; padding: 15px 26px; border: 1px solid transparent; transition: background 0.25s, color 0.25s, border-color 0.25s; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary, .btn-ink { background: var(--ink); color: var(--bg); }
.btn-primary:hover, .btn-ink:hover { background: #000; }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-quiet { color: var(--ink-2); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.link-quiet:hover { color: var(--ink); border-color: var(--gold); }

/* --------------------------------------------------------------- type */
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 11px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: #b8441f; }
.kicker::before, .eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--gold); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
h1 { font: 400 clamp(44px, 5.2vw, 74px)/1.04 var(--serif); letter-spacing: -0.01em; margin: 0 0 26px; text-wrap: balance; }
h2 { font: 400 clamp(34px, 3.6vw, 50px)/1.08 var(--serif); letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
h3 { font: 500 17px/1.35 var(--sans); margin: 0 0 8px; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; color: var(--ink-2); max-width: 500px; margin: 0 0 38px; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 560px; margin: 14px 0 0; }
.head { margin-bottom: 56px; max-width: 760px; }

/* --------------------------------------------------------------- hero */
section { padding: 112px 0; position: relative; }
.hero { padding: 88px 0 120px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 55% at 78% 32%, rgba(217, 84, 47, 0.07), transparent 70%), radial-gradient(45% 50% at 8% 92%, rgba(240, 190, 140, 0.12), transparent 70%); }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.9; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.hero h1 { font-size: clamp(36px, 3.7vw, 56px); line-height: 1.08; margin-bottom: 18px; }
.motto { font: italic 400 22px/1.35 var(--serif); color: var(--ink-2); margin: 0 0 18px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.trust { margin: 44px 0 0; font-size: 13px; letter-spacing: 0.02em; color: var(--muted); }

/* product page mock */
.stage { position: relative; isolation: isolate; }
/* A soft paper backdrop keeps the stars from running behind the tabs and the mock. */
.stage::before { content: ""; position: absolute; inset: -34px -34px -40px; z-index: -1; border-radius: 40px; background: var(--bg); filter: blur(18px); }
.scene-tabs { display: flex; gap: 8px; margin: 0 0 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.scene-tabs::-webkit-scrollbar { display: none; }
.scene-tabs button { flex: 1 1 0; text-align: left; appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font: 500 13px/1 var(--sans); letter-spacing: 0.04em; padding: 0 0 12px; cursor: pointer; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.scene-tabs button b { display: block; font-weight: 600; }
.scene-tabs button small { display: block; margin-top: 6px; font: 400 12px/1 var(--sans); letter-spacing: 0; }
.scene-tabs button:hover { color: var(--ink); }
.scene-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.window { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(60, 40, 20, 0.12); }
.scenes { display: grid; }
.scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.scene { display: flex; flex-direction: column; }
.scene.on { opacity: 1; visibility: visible; transition: opacity 0.5s ease; }
.scene-notes { display: grid; margin: 0 0 16px; min-height: 2.9em; align-items: start; }
.scene-notes p { grid-area: 1 / 1; margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); opacity: 0; transition: opacity 0.4s ease; }
.scene-notes p.on { opacity: 1; }
.scene-notes b { color: var(--ink); font-weight: 600; }
.shop-home { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 22px; }
.shop-nav { display: flex; align-items: baseline; gap: 18px; font-size: 12px; color: var(--ink-2); }
.shop-nav b { font: 400 21px/1 var(--serif); color: var(--ink); margin-right: 6px; }
.shop-nav .bag { margin-left: auto; }
.welcome { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--bg-2); border-radius: 10px; padding: 26px; }
.welcome .pdp-name { margin: 10px 0 10px; }
.welcome-p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); max-width: 270px; }
.viewed { display: grid; grid-template-columns: repeat(2, 84px); gap: 10px; }
.viewed-label { grid-column: 1 / -1; font: 500 10px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.vitem img { display: block; width: 84px; height: 105px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.vitem span { display: block; margin-top: 6px; font-size: 11px; line-height: 1.3; color: var(--ink-2); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 26px; padding: 22px; }
.pdp-photo { border-radius: 8px; overflow: hidden; aspect-ratio: 1 / 1; background: #f1ede6; }
.pdp-photo img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: flex; flex-direction: column; justify-content: center; }
.pdp-brand { font: 500 10px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.pdp-name { font: 400 30px/1.1 var(--serif); margin: 12px 0 10px; }
.pdp-price { font-size: 15px; margin: 2px 0 18px; }
.pdp-price s { color: var(--muted); margin-right: 8px; }
.sizes { display: flex; gap: 6px; margin-bottom: 18px; }
.sizes span { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); }
.sizes span.on { border-color: var(--ink); color: var(--ink); }
.sizes span.sw { min-width: 26px; width: 26px; height: 26px; padding: 0; border-radius: 50%; background: var(--c); border: 2px solid var(--panel); box-shadow: 0 0 0 1px var(--line-2); }
.sizes span.sw.on { box-shadow: 0 0 0 1px var(--ink); }
.pdp-atc { display: block; text-align: center; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 12px; font-size: 13px; font-weight: 500; }
.pdp-photo.soldout img { filter: grayscale(0.4); opacity: 0.7; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; margin-bottom: 18px; font: 500 11px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--err); }
.pdp-atc.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.cart { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 190px); align-content: center; gap: 22px; align-items: center; padding: 22px; }
.cart-title { font: 400 24px/1 var(--serif); margin: 0 0 18px; }
.cart-title small { font: 400 12px/1 var(--sans); color: var(--muted); margin-left: 6px; }
.line { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.line-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: #f1ede6; }
.line-photo img { width: 100%; height: 100%; object-fit: cover; }
.line-info .pdp-brand { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-name { font: 400 20px/1.15 var(--serif); margin: 8px 0 6px; }
.line-info small { font-size: 12px; color: var(--muted); }
.line-price { font-weight: 500; font-size: 15px; }
.cart-sum { background: var(--bg-2); border-radius: 10px; padding: 18px; }
.cart-sum p { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: 13px; color: var(--ink-2); }
.cart-sum p b { color: var(--ink); font-weight: 600; }
.cart-sum .pdp-atc { margin-top: 16px; }
.reco { border-top: 1px solid var(--line); padding: 18px 22px 22px; }
.reco-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.reco-head h3 { font: 400 21px/1 var(--serif); margin: 0; }
.reco-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rc .ph { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: #f1ede6; box-shadow: 0 0 0 1px transparent; transition: box-shadow 0.8s ease; }
.rc .ph img { width: 100%; height: 100%; object-fit: cover; }
.rc.hit .ph { box-shadow: 0 0 0 1px var(--gold); transition: box-shadow 0.15s ease; }
.rc p { margin: 9px 0 0; font-size: 12px; line-height: 1.35; color: var(--ink); }
.rc p small { display: block; color: var(--muted); margin-top: 2px; font-size: 11px; }

/* ------------------------------------------------------------ demo */
.demo { padding-top: 40px; }
.demo-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; padding: 64px; border: 1px solid var(--line-2); border-radius: 20px; background: radial-gradient(70% 90% at 0% 0%, rgba(217, 84, 47, 0.07), transparent 60%), var(--panel); box-shadow: 0 24px 60px rgba(60, 40, 20, 0.08); }
.demo-copy .sub { margin-bottom: 36px; }
.demo-path { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 34px; position: relative; }
.demo-path::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; border-left: 1px dashed rgba(217, 84, 47, 0.45); }
.demo-path li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; position: relative; }
.demo-path .star { grid-row: span 2; width: 12px; height: 12px; margin: 5px 0 0 4px; background: var(--gold); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); position: relative; z-index: 1; }
.demo-path b { font: 400 23px/1.2 var(--serif); }
.demo-path li > span:last-child { color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 34px 32px 6px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step .n { display: block; font: italic 400 30px/1 var(--serif); color: var(--gold); margin-bottom: 22px; }
.step p { color: var(--ink-2); margin: 0; font-size: 15px; }
.widgets-line { list-style: none; margin: 64px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.widgets-line li { display: flex; flex-direction: column; gap: 4px; }
.widgets-line b { font: 400 24px/1.2 var(--serif); }
.widgets-line span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------- redeem */
.redeem { background: var(--bg-2); border-block: 1px solid var(--line); }
.redeem-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.perks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.perks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.perks svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input { font: 400 16px/1.2 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 12px 0; width: 100%; transition: border-color 0.2s; }
.field input::placeholder { color: #a8a49d; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.field select { font: 400 16px/1.2 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 12px 0; width: 100%; }
.field select[aria-invalid="true"] { border-bottom-color: var(--err); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pilot-done h3 { display: flex; align-items: center; gap: 12px; font: 400 28px/1.15 var(--serif); }
.pilot-done h3 svg { width: 24px; height: 24px; color: var(--ok); flex: none; }
.pilot-done p { color: var(--ink-2); margin: 10px 0 0; }
.code-box { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.code-box > summary { cursor: pointer; list-style: none; font-size: 14px; color: var(--ink-2); }
.code-box > summary::-webkit-details-marker { display: none; }
.code-box > summary::after { content: " +"; color: var(--gold); }
.code-box[open] > summary { margin-bottom: 20px; }
.code-box[open] > summary::after { content: " −"; }
.field input[aria-invalid="true"] { border-bottom-color: var(--err); }
#code { font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.hint { font-size: 12px; color: var(--muted); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13px; color: var(--ink-2); margin: 10px 0 26px; }
.check a { color: var(--gold); }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--gold); }
.form-error { min-height: 22px; color: var(--err); font-size: 14px; margin: 14px 0 0; }
.no-code { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.result { display: none; }
.result.show { display: block; animation: rise 0.5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.result h3 { display: flex; align-items: center; gap: 12px; font: 400 28px/1.15 var(--serif); }
.result h3 svg { width: 24px; height: 24px; color: var(--ok); flex: none; }
.result .block { margin: 22px 0 0; }
.result .block > p { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.result pre { position: relative; margin: 0; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 16px 92px 16px 16px; font: 400 13px/1.6 var(--mono); white-space: pre-wrap; word-break: break-all; }
.copy { position: absolute; top: 10px; right: 10px; background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); font: 500 12px/1 var(--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--gold); }
.result .warn { font-size: 13px; color: var(--gold); margin-top: 8px; }
.result a.link { word-break: break-all; font: 400 13px/1.5 var(--mono); color: var(--ink); }

/* -------------------------------------------------------------- final */
.final { text-align: center; padding: 140px 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.final .neural { opacity: 0.85; mask-image: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, 0.25) 15%, #000 70%); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, 0.25) 15%, #000 70%); }
.final h2 { font-size: clamp(36px, 4vw, 56px); max-width: 780px; margin: 0 auto 40px; }
.final h2 em { display: block; }
.final .cta-row { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ------------------------------------------------- why, engine, report */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.why-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; }
.why-card .n { display: block; font: 400 15px/1 var(--serif); color: var(--gold); margin-bottom: 26px; }
.why-card h3 { font: 400 27px/1.15 var(--serif); margin: 0 0 12px; }
.why-card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.engine-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rules button { width: 100%; display: flex; justify-content: space-between; gap: 14px; align-items: center; text-align: left; font: 500 15px/1.3 var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.rules button:hover, .rules button.on { border-color: var(--gold); background: #fffaf7; }
.rules .r-w { font: 500 13px/1 var(--mono); color: var(--gold); white-space: nowrap; }
.rules [data-kind="filter"] .r-w { color: var(--muted); }
.net-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.net { width: 100%; height: auto; display: block; }
.net .edge { stroke: var(--line-2); stroke-width: 1; fill: none; transition: stroke 0.2s, stroke-width 0.2s, opacity 0.2s; }
.net .node { fill: var(--panel); stroke: var(--line-2); stroke-width: 1.2; transition: fill 0.2s, stroke 0.2s; }
.net .node.relu { fill: var(--bg-2); }
.net .node.gate { fill: var(--bg-2); }
.net text { font: 500 11px var(--sans); fill: var(--muted); }
.net .lit .edge, .net .edge.lit { stroke: var(--gold); stroke-width: 2; }
.net .node.lit { stroke: var(--gold); fill: #fde9e1; }
.net.dim .edge:not(.lit) { opacity: 0.35; }
.readout { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; min-height: 118px; }
.readout p { margin: 0; }
.ro-name { font: 400 24px/1.2 var(--serif); }
.ro-meta { font-size: 14px; color: var(--ink-2); margin: 6px 0 8px !important; }
.ro-meta b { font: 500 13px var(--mono); color: var(--gold); }
.ro-desc { font-size: 14px; color: var(--ink-2); }
.report { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 30px 70px rgba(60, 40, 20, 0.08); }
.report-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 22px; }
.report-top b { font-weight: 600; }
.tag { display: inline-block; background: var(--gold-soft); color: #a63c1f; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.kpi span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.kpi b { font: 400 34px/1 var(--serif); }
.kpi.hl { background: #fff6f2; border-color: rgba(217, 84, 47, 0.3); }
.kpi.hl b { color: var(--gold); }
.ci { margin-top: 22px; }
.ci > p { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.ci svg { width: 100%; max-width: 620px; height: auto; display: block; }
.ci .axis { stroke: var(--line-2); }
.ci .bar.ctl { fill: #d7d2c9; }
.ci .bar.out { fill: var(--gold); }
.ci .whisk { stroke: var(--ink); stroke-width: 1.5; }
.ci .lbl { font: 500 13px var(--sans); fill: var(--ink-2); }
.ci .val { font: 600 13px var(--sans); fill: var(--ink); }
.note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
/* ----------------------------------------------- comparison, pricing */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 600 13px/1.3 var(--sans); color: var(--ink-2); }
.cmp tbody th { font-weight: 500; color: var(--ink); width: 18%; }
.cmp td { color: var(--ink-2); }
.cmp .us { background: #fff6f2; color: var(--ink); font-weight: 500; }
.cmp thead .us { color: var(--gold); font: 500 20px/1 var(--serif); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.price-row, .tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.tiers { margin-top: 22px; }
.tiers[hidden] { display: none; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.price-card.main { max-width: 560px; border-color: rgba(217, 84, 47, 0.35); }
.price-card .plan { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.price-card .amount { font: 400 52px/1 var(--serif); margin: 12px 0 0; }
.price-card .amount small { font: 400 15px var(--sans); color: var(--muted); margin-left: 4px; }
.price-card .perks { margin: 22px 0 22px; }
.price-card .after { color: var(--ink-2); margin: 0 0 22px; font-size: 15px; }
.price-card .fit { color: var(--ink-2); margin: 12px 0 0; font-size: 14px; }
/* ------------------------------------------------- faq, categories */
.faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font: 400 22px/1.3 var(--serif); display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 22px/1 var(--sans); color: var(--gold); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 12px 0 0; max-width: 640px; font-size: 15px; }
.vgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.vt { margin: 0; }
.vt img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--bg-2); }
.vt figcaption { padding-top: 12px; }
.vt b { display: block; font: 400 21px/1.15 var(--serif); }
.vt span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* gentle reveal on scroll */
.rv-on .rv { opacity: 0; translate: 0 10px; transition: opacity 0.45s ease, translate 0.45s ease; }
.rv-on .rv.in { opacity: 1; translate: 0 0; }

/* --------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero-grid, .redeem-grid, .demo-card, .faq, .engine-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { gap: 56px; }
  .demo-card { gap: 44px; padding: 44px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .kpi b { font-size: 28px; }
  .report, .price-card { padding: 22px; }
  .faq summary { font-size: 20px; }
  section { padding: 72px 0; }
  .wrap { width: min(1160px, 100% - 32px); }
  .hero { padding: 44px 0 72px; }
  h1 { font-size: clamp(38px, 11vw, 48px); }
  .nav { gap: 16px; height: 64px; }
  .nav-code { display: none; }
  .cta-row { gap: 18px; }
  .cta-row .btn { flex: 1 1 100%; }
  .pdp { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 14px; }
  .pdp-photo { aspect-ratio: 5 / 4; }
  .reco { padding: 14px; }
  .shop-home { padding: 14px; }
  .cart { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 14px; }
  .line { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .shop-nav span:not(.bag) { display: none; }
  .welcome { grid-template-columns: minmax(0, 1fr); align-content: center; padding: 18px; gap: 16px; }
  .scene-tabs button small { font-size: 11px; }
  .reco-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reco-row .rc:nth-child(4) { display: none; }
  .demo-card { padding: 32px 22px; border-radius: 16px; }
  .steps, .widgets-line { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .widgets-line { margin-top: 40px; gap: 18px; }
  .card { padding: 28px 22px; }
  .final { padding: 96px 0; }
  footer nav { margin-left: 0; }
}
