
/* ---------- Tokens ---------- */
:root {
  --bg: #0a0b10;
  --line: #1f2937;
  --line-soft: rgba(255, 255, 255, 0.06);
  --glass: rgba(18, 21, 31, 0.55);
  --text: #e9ecf3;
  --muted: #9aa4b5;
  --dim: #7c869a;
  --gold: #e8b95a;
  --gold-hi: #f6d58b;
  --gold-lo: #c8962f;
  --steel: #33507f;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
::selection { background: rgba(232, 185, 90, 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--gold); color: #1b1406; font-weight: 600;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 11px;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease,
              border-color 0.2s ease, color 0.2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  color: #1b1406;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 0 0 1px rgba(246, 213, 139, 0.35) inset, 0 8px 28px -10px rgba(232, 185, 90, 0.6);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(246, 213, 139, 0.5) inset, 0 14px 36px -10px rgba(232, 185, 90, 0.8);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #3a475c; transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn:active { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 16, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  color: #ffcb45;
  background: radial-gradient(circle at 30% 20%, rgba(255, 203, 69, 0.28), rgba(255, 203, 69, 0.06) 70%);
  border: 1px solid rgba(255, 203, 69, 0.5);
  box-shadow: 0 0 18px -6px rgba(255, 203, 69, 0.55);
}
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.9; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: #fff0b8; stroke: none; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--muted); font-size: 14.5px; text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 2px 2px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none; position: relative;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); color: var(--text); cursor: pointer;
}
.menu-btn i {
  position: absolute; left: 12px; top: 19px;
  width: 16px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.25s ease;
}
.menu-btn i:first-child { transform: translateY(-3px); }
.menu-btn i:last-child { transform: translateY(3px); }
.menu-btn[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }

@media (max-width: 759px) {
  /* Without JS the links simply wrap under the logo; with JS they collapse into a menu. */
  .nav { height: auto; min-height: 64px; flex-wrap: wrap; padding: 10px 0; }
  .nav-actions { flex-wrap: wrap; }
  .nav-links a { padding: 8px 10px; }
  .js .nav { height: 64px; flex-wrap: nowrap; padding: 0; }
  .js .menu-btn { display: inline-block; }
  .js .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 24px 16px;
    background: rgba(10, 11, 16, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .js .nav-links.open { display: flex; }
  .js .nav-links a { padding: 12px 10px; font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 88px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, #000 25%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(620px 400px at 16% 6%, rgba(232, 185, 90, 0.17), transparent 70%),
    radial-gradient(720px 520px at 88% 28%, rgba(51, 80, 127, 0.3), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; }
}
.hero h1 {
  font-size: clamp(2.5rem, 4.2vw + 1rem, 4rem);
  line-height: 1.04; letter-spacing: -0.038em; font-weight: 700;
  padding-bottom: 0.1em; margin-bottom: 14px;
  background: linear-gradient(180deg, #ffffff 25%, #a6afc2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lead { max-width: 54ch; color: var(--muted); font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.25rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Hero workflow panel */
.panel {
  position: relative; width: 100%; max-width: 480px; margin-inline: auto;
  padding: 22px 20px 18px;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, rgba(26, 30, 44, 0.72), rgba(14, 16, 24, 0.55));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}
.panel::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 185, 90, 0.7), transparent);
}
.flow { display: block; width: 100%; height: auto; }
.flow text { font-family: var(--font); text-anchor: middle; }
.flow .t { fill: var(--text); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.flow .s { fill: #8b95a8; font-size: 11.5px; }
.node { fill: rgba(255, 255, 255, 0.03); stroke: #2b3547; stroke-width: 1.25; animation: light 6s ease-in-out infinite both; }
.edge { fill: none; stroke: #2b3547; stroke-width: 1.5; }
@keyframes light {
  0% { stroke: #2b3547; fill: rgba(255, 255, 255, 0.03); }
  4% { stroke: var(--gold); fill: rgba(232, 185, 90, 0.12); }
  28% { stroke: rgba(232, 185, 90, 0.55); fill: rgba(232, 185, 90, 0.05); }
  55%, 100% { stroke: #2b3547; fill: rgba(255, 255, 255, 0.03); }
}
.panel-caption { margin-top: 14px; color: var(--dim); font-size: 13px; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section h2 {
  font-size: clamp(1.75rem, 2.2vw + 1.1rem, 2.75rem);
  line-height: 1.12; letter-spacing: -0.032em; font-weight: 680;
  margin-bottom: 14px;
}
.section-head p, .split-intro p { max-width: 52ch; color: var(--muted); font-size: 1.0625rem; }

.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color 0.25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 185, 90, 0.11), transparent 62%);
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover { border-color: #334155; }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.022em; font-weight: 650; }
.card p { max-width: 46ch; color: var(--muted); }
.card-lead { padding: 36px; }
.card-lead h3 { font-size: 1.75rem; }
/* Principles */
.split { display: grid; gap: 40px; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
  .split-intro { position: sticky; top: 112px; align-self: start; }
}
.principles { list-style: none; margin: 0; padding: 0; }
.principle {
  display: grid; gap: 6px 32px; padding: 26px 0;
  border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .principle { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); }
}
.principle h3 { font-size: 1.0625rem; font-weight: 620; letter-spacing: -0.012em; }
.principle p { color: var(--muted); max-width: 52ch; }

/* Closing call to action */
.cta-wrap { padding: 24px 0 112px; }
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 64px 40px;
  border: 1px solid var(--line); border-radius: 26px;
  background: rgba(14, 16, 24, 0.6);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(232, 185, 90, 0.22), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(51, 80, 127, 0.28), transparent 70%);
}
.cta h2 {
  max-width: 18ch; margin-bottom: 14px;
  font-size: clamp(1.875rem, 2.6vw + 1.1rem, 3rem);
  line-height: 1.1; letter-spacing: -0.034em; font-weight: 700;
}
.cta p { max-width: 46ch; color: var(--muted); font-size: 1.0625rem; }
.cta .hero-actions { margin-top: 32px; }

/* ---------- Responsive tuning ---------- */
@media (max-width: 759px) {
  .wrap { width: min(1160px, 100% - 40px); }
  .hero { padding: 56px 0 72px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .card, .card-lead { padding: 24px; }
  .layer-top { margin-inline: 22px; }
  .layer-mid { margin-inline: 11px; }
  .cta { padding: 44px 24px; border-radius: 22px; }
  .cta-wrap { padding-bottom: 80px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .node { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.eyebrow {display:inline-flex;align-items:center;gap:9px;color:var(--gold-hi);font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:650;margin-bottom:22px;}
.eyebrow::before {content:"";width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 12px #e8b95a66;}
.stage-note {color:var(--muted);font-size:13px;margin-top:20px;max-width:52ch;}
.panel-label {display:flex;justify-content:space-between;gap:12px;color:var(--gold-hi);font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px;}
.panel-label span:last-child {color:var(--muted);}
.section-alt {background:rgba(255,255,255,.014);border-block:1px solid var(--line-soft);}
.step-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:0;}
.step-no {display:block;color:var(--gold);font-size:13px;font-weight:650;letter-spacing:.08em;margin-bottom:14px;}
.field-example {display:grid;gap:9px;margin-top:24px;border-top:1px solid var(--line);padding-top:18px;font-size:13px;}
.field-example div {display:flex;justify-content:space-between;gap:14px;}
.field-example dt {color:var(--muted);}.field-example dd {margin:0;color:var(--text);}
.small {font-size:13px;color:var(--muted);margin-top:18px;}
.text-link {color:var(--gold-hi);text-underline-offset:4px;}
.faq {max-width:820px;}.faq details {border-top:1px solid var(--line);padding:22px 0;}.faq details:last-child {border-bottom:1px solid var(--line);}
.faq summary {cursor:pointer;font-weight:600;}.faq details p {color:var(--muted);padding-top:14px;max-width:65ch;}
.status-label {color:var(--gold-hi);font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;}
.footer-links {display:flex;gap:18px;flex-wrap:wrap;list-style:none;padding:0;margin:0;font-size:14px;color:var(--muted);}
.footer-links a {text-decoration:none;}.footer-links a:hover {color:var(--gold-hi);}
.email-link {display:inline-block;color:var(--gold-hi);overflow-wrap:anywhere;margin-top:20px;text-underline-offset:4px;}
.prose {max-width:780px;}.prose h1 {font-size:clamp(2.2rem,4vw,3.4rem);line-height:1.12;letter-spacing:-.03em;margin-bottom:18px;}
.prose h2 {font-size:1.35rem;margin-top:38px;margin-bottom:12px;}.prose p,.prose li {color:var(--muted);}.prose p+p {margin-top:16px;}.prose a {color:var(--gold-hi);text-underline-offset:4px;}
.hero h1 {font-size:clamp(2.5rem,4.2vw + 1rem,3.9rem);}
@media(max-width:759px){.step-grid{grid-template-columns:1fr}.nav-actions{gap:8px}.nav-actions>.btn{padding-inline:12px;font-size:12px}.panel-label{font-size:10px}.footer-links{gap:14px}.hero h1{font-size:clamp(2.3rem,8.7vw,3.6rem)}}
@media(max-width:359px){.wrap{width:calc(100% - 32px)}.brand{font-size:16px}.nav{gap:8px}.nav-actions>.btn{padding-inline:9px;font-size:11px}}

.keep-together{white-space:nowrap}
/* ---------- Product preview (sample data) ---------- */
.preview-frame{border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(26,30,44,.72),rgba(14,16,24,.55));padding:18px;box-shadow:0 40px 90px -40px rgba(0,0,0,.9);margin:0}
.preview-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:2px 4px 16px;border-bottom:1px solid var(--line-soft);margin-bottom:18px}
.preview-bar .dots{display:flex;gap:6px}.preview-bar .dots i{width:10px;height:10px;border-radius:50%;background:#2b3547}
.preview-title{font-size:13px;color:var(--muted)}
.tag{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;border:1px solid rgba(232,185,90,.5);color:var(--gold-hi);background:rgba(232,185,90,.08);white-space:nowrap}
.tag-warn{border-color:rgba(251,146,60,.55);color:#fdba74;background:rgba(251,146,60,.1)}
.tag-ok{border-color:rgba(74,222,128,.45);color:#86efac;background:rgba(74,222,128,.08)}
.preview-grid{display:grid;gap:18px}
.preview-grid>*{min-width:0}
@media(min-width:960px){.preview-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}}
.pane-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);margin-bottom:10px}
/* sample paper document */
.paper{position:relative;background:#f3efe6;color:#26221b;border-radius:12px;padding:20px 18px 18px;font-size:12px;line-height:1.45;box-shadow:0 18px 40px -22px rgba(0,0,0,.8);overflow:hidden}
.paper::after{content:"SAMPLE";position:absolute;left:-30px;bottom:20px;transform:rotate(45deg);background:rgba(180,40,40,.12);color:rgba(150,30,30,.55);font-weight:800;letter-spacing:.2em;font-size:11px;padding:3px 34px}
.paper .p-head{display:flex;justify-content:space-between;gap:12px;border-bottom:1.5px solid #26221b;padding-bottom:10px;margin-bottom:10px}
.paper .p-co{font-weight:800;font-size:14px;letter-spacing:.02em}
.paper .p-sub{color:#5f574a;font-size:11px}
.paper .p-doc{text-align:right;font-weight:800;font-size:12px;letter-spacing:.08em}
.paper .p-meta{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;margin-bottom:12px;font-size:11.5px}
.paper .p-meta b{font-weight:700}
.paper table{width:100%;border-collapse:collapse;font-size:11px}
.paper th{font-weight:700;text-align:left;border-bottom:1px solid #8c8270;padding:4px 3px}
.paper td{padding:5px 3px;border-bottom:1px dashed #c9bfae;vertical-align:top}
.paper .num{text-align:right;white-space:nowrap}
.paper .pen{position:relative;display:inline-block}
.paper .pen s{color:#7a7262}
.paper .pen em{font-style:normal;font-family:"Segoe Script","Bradley Hand","Comic Sans MS",cursive;color:#1d4ed8;margin-left:3px}
.paper .p-tot{margin-top:10px;margin-left:auto;width:min(220px,100%);font-size:11.5px}
.paper .p-tot div{display:flex;justify-content:space-between;gap:10px;padding:2px 0}
.paper .p-tot .grand{border-top:1.5px solid #26221b;margin-top:4px;padding-top:5px;font-weight:800}
/* extracted fields */
.fields{border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.02);overflow:hidden}
.f-row{display:grid;grid-template-columns:minmax(0,96px) minmax(0,1fr);align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid var(--line-soft);font-size:13px}
.f-row:last-child{border-bottom:0}
.f-key{color:var(--dim);font-size:12px}
.f-val{color:var(--text);overflow-wrap:anywhere}
.f-val small{display:block;color:var(--dim);font-size:11px}
.f-row.flag{background:rgba(251,146,60,.07);box-shadow:inset 3px 0 0 #fb923c}
.lines{padding:8px 14px 10px;border-bottom:1px solid var(--line-soft)}
.lines .f-key{display:block;margin-bottom:6px}
.l-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:7px 10px;border:1px solid var(--line-soft);border-radius:9px;margin-top:6px;font-size:12.5px}
.l-item .l-name{color:var(--text)}
.l-item .l-calc{color:var(--muted);font-size:12px;grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 12px}
.l-item.flag{border-color:rgba(251,146,60,.55);background:rgba(251,146,60,.07)}
.checks{display:grid;gap:6px;margin-top:14px;font-size:12.5px;color:var(--muted);list-style:none;padding:0}
.checks li{display:flex;gap:8px;align-items:flex-start}
.checks .ok{color:#86efac}.checks .warn{color:#fdba74}
.review-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.fake-btn{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:9px;font-size:13px;font-weight:600;border:1px solid var(--line);color:var(--muted);background:rgba(255,255,255,.03)}
.fake-btn.primary{color:#1b1406;background:linear-gradient(180deg,var(--gold-hi),var(--gold));border-color:transparent;opacity:.55}
/* csv */
.csv{margin-top:18px;border:1px solid var(--line);border-radius:12px;background:#07080c;overflow:hidden}
.csv-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line-soft);font-size:12px;color:var(--muted)}
.csv pre{margin:0;padding:12px 14px;overflow-x:auto;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#cdd5e3;white-space:pre}
.csv pre .h{color:var(--gold-hi)}
.preview-note{margin-top:14px;color:var(--dim);font-size:12.5px;line-height:1.5}
/* steps / audience / claude */
.step-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1023px){.step-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639px){.step-grid.four{grid-template-columns:1fr}}
.claude-card{margin-top:20px;display:grid;gap:10px}
@media(min-width:900px){.claude-card{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:start}}
.claude-list{list-style:none;padding:0;margin:0;display:grid;gap:10px;color:var(--muted)}
.claude-list li{display:flex;gap:10px}.claude-list li::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--gold);margin-top:9px}
@media(max-width:759px){.preview-frame{padding:12px;border-radius:18px}.f-row{grid-template-columns:minmax(0,80px) minmax(0,1fr);padding:9px 10px;gap:8px}.paper{padding:16px 12px 14px}.lines{padding:8px 10px 10px}}


/* =====================================================================
   Multi-page additions (v4)
   ===================================================================== */
.flow .d1 { animation-delay: 1s; } .flow .d2 { animation-delay: 2s; }
.flow .d3 { animation-delay: 3s; } .flow .d4 { animation-delay: 4s; }

/* Inner-page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 64px; border-bottom: 1px solid var(--line-soft); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 30% 0%, #000 20%, transparent 75%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(560px 340px at 12% 0%, rgba(232, 185, 90, 0.15), transparent 70%),
    radial-gradient(640px 420px at 92% 20%, rgba(51, 80, 127, 0.26), transparent 70%);
}
.page-hero h1 {
  max-width: 20ch; margin-bottom: 18px;
  font-size: clamp(2.25rem, 3.4vw + 1rem, 3.5rem);
  line-height: 1.06; letter-spacing: -0.036em; font-weight: 700;
  background: linear-gradient(180deg, #ffffff 30%, #a6afc2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 0.08em;
}
.page-hero-grid { display: grid; gap: 40px; align-items: end; }
.page-hero-grid > * { min-width: 0; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; } }

/* Status card */
.status-card {
  padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 30, 44, 0.72), rgba(14, 16, 24, 0.55));
}
.status-card h2, .status-card h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); font-weight: 650; margin: 0 0 14px; }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.status-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; font-size: 14.5px; color: var(--muted); }
.status-list li b { display: block; color: var(--text); font-weight: 600; }
.status-list li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; border: 2px solid #3a475c; }
.status-list li.now::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 12px rgba(232, 185, 90, .6); }

/* Tags reused outside preview */
.tag-muted { border-color: var(--line); color: var(--muted); background: rgba(255,255,255,.03); }

/* Spec / field groups */
.spec-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .spec-grid { grid-template-columns: 1fr; } }
.field-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; }
.field-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; color: var(--muted); }
.field-list li:first-child { border-top: 0; }
.field-list code, .mono { font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--dim); }

/* Check table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--glass); }
.check-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.check-table th, .check-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.check-table th { color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.check-table tr:last-child td { border-bottom: 0; }
.check-table td:first-child { color: var(--text); font-weight: 600; width: 28%; }
.check-table td { color: var(--muted); }
.check-table td:last-child { white-space: nowrap; width: 1%; }

/* Two-column feature blocks */
.feature-row { display: grid; gap: 36px; align-items: start; }
.feature-row > * { min-width: 0; }
@media (min-width: 900px) { .feature-row { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks li::before { content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px; border: 1px solid rgba(232, 185, 90, .5); background: rgba(232, 185, 90, .08); color: var(--gold-hi); font-size: 12px; font-weight: 700; }

/* Export cards */
.export-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .export-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .export-grid { grid-template-columns: 1fr; } }
.card .tag { align-self: flex-start; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* Callout */
.callout {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px;
  padding: 18px 20px; border: 1px solid rgba(232, 185, 90, .35); border-radius: 14px;
  background: rgba(232, 185, 90, .06); color: var(--muted); font-size: 15px;
}
.callout::before { content: "i"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-hi); font: 600 13px/1 var(--font); }
.callout b { color: var(--text); }

/* Facts list (about) */
.facts { display: grid; margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--glass); }
.facts > div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line-soft); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--dim); font-size: 14px; }
.facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.facts a { color: var(--gold-hi); text-underline-offset: 4px; }
@media (max-width: 639px) { .facts > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; } }

/* Founder */
.founder { display: grid; gap: 24px; }
@media (min-width: 720px) { .founder { grid-template-columns: 96px minmax(0, 1fr); gap: 28px; } }
.monogram {
  width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center;
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: #1b1406;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 18px 40px -18px rgba(232, 185, 90, .7);
}
.founder h3 { font-size: 1.5rem; }
.founder .role { color: var(--gold-hi); font-size: 14px; margin-top: 2px; }
.creds { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.link-row-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Social / icon buttons */
.icon-link {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 14px; text-decoration: none;
  background: rgba(255,255,255,.02); transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.icon-link:hover { color: var(--gold-hi); border-color: rgba(232,185,90,.55); background: rgba(232,185,90,.08); }
.icon-link svg { width: 16px; height: 16px; fill: currentColor; }

/* Contact */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .card .btn { align-self: flex-start; margin-top: 10px; }
.contact-grid address { font-style: normal; color: var(--muted); }
.contact-grid address a { color: var(--gold-hi); text-underline-offset: 4px; }
.prefill { margin: 4px 0 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }

/* Legal pages */
.legal-page { padding: 72px 0 96px; }
.legal-page .prose { margin-inline: auto; }
.legal-page .prose h1 { background: none; -webkit-text-fill-color: currentColor; color: var(--text); }
.prose ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 6px; }
.updated { color: var(--dim); font-size: 14px; margin-bottom: 28px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13.5px; text-decoration: none; }
.toc a:hover { color: var(--gold-hi); border-color: rgba(232,185,90,.55); }

/* 404 */
.notfound { min-height: 62vh; display: grid; align-items: center; }
.notfound .code { font-size: clamp(4.5rem, 12vw, 8rem); font-weight: 750; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(232,185,90,.7); margin-bottom: 18px; }

.notfound h1 { font-size: clamp(1.75rem, 2.2vw + 1.1rem, 2.5rem); letter-spacing: -0.03em; margin-bottom: 12px; }

.spec-grid, .export-grid { list-style: none; margin: 0; padding: 0; }
.export-grid + .csv { margin-top: 24px; }
.lead + .callout, .callout + .callout { margin-top: 24px; }
#no-docs { margin-top: 28px; }
.cta p.small { font-size: 13px; margin-top: 18px; }
.founder > div > p + p, .founder .creds + .link-row-inline { margin-top: 12px; }
.founder .role + p { margin-top: 12px; }

/* Section helpers */
.section-foot { margin-top: 28px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); font-weight: 600; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.center { text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; background: rgba(255,255,255,.008); }
.foot-grid { display: grid; gap: 40px; }
.foot-grid > * { min-width: 0; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.6fr)); gap: 48px; } }
@media (min-width: 560px) and (max-width: 899px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { margin-top: 14px; max-width: 40ch; color: var(--muted); font-size: 14.5px; }
.foot-col h2 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 650; margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--gold-hi); }
.foot-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 14px; }
@media (min-width: 900px) { .foot-legal { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.legal { color: var(--dim); font-size: 0.875rem; line-height: 1.7; }
.legal a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.legal a:hover { color: var(--gold-hi); }
.foot-legal .email-link { margin-top: 0; font-size: 14px; }

@media (max-width: 759px) {
  .page-hero { padding: 56px 0 48px; }
  .legal-page { padding: 48px 0 72px; }
  .check-table th, .check-table td { padding: 12px 14px; }
}
@media print {
  .site-header, .site-footer, .hero-actions, .menu-btn { display: none !important; }
  body { background: #fff; color: #000; }
}
