:root {
  color-scheme: dark;
  --bg: #0b0a09;
  --bg-2: #131110;
  --panel: #171513;
  --input-bg: #0d0c0b;
  --line: rgba(244, 236, 225, 0.09);
  --line-2: rgba(244, 236, 225, 0.16);
  --text: #f4ece1;
  --muted: #a39a8e;
  --dim: #6e665d;
  --ember: #ff6a2b;
  --ember-2: #ffb36b;
  --ember-hi: #ffd9b3;
  --sage: #9bb59a;
  --nav-bg: rgba(11, 10, 9, 0.72);
  --glass: rgba(14, 12, 11, 0.62);
  --stage-a: #1d1916;
  --stage-b: #100e0d;
  --aurora-1: rgba(255, 106, 43, 0.28);
  --aurora-2: rgba(255, 179, 107, 0.16);
  --aurora-3: rgba(155, 181, 154, 0.12);
  --shadow: rgba(0, 0, 0, 0.6);
  --grain: 0.06;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --max: 1180px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f7f2ea;
    --bg-2: #efe7dc;
    --panel: #fffaf3;
    --input-bg: #fffdf9;
    --line: rgba(45, 30, 18, 0.09);
    --line-2: rgba(45, 30, 18, 0.16);
    --text: #1d1712;
    --muted: #6b6157;
    --dim: #a2978b;
    --ember: #ec5a1c;
    --ember-2: #c2410c;
    --ember-hi: #f59e5b;
    --sage: #4f7a4d;
    --nav-bg: rgba(247, 242, 234, 0.78);
    --glass: rgba(255, 251, 245, 0.72);
    --stage-a: #fffaf3;
    --stage-b: #f1e8dc;
    --aurora-1: rgba(255, 122, 61, 0.22);
    --aurora-2: rgba(255, 196, 140, 0.32);
    --aurora-3: rgba(155, 181, 154, 0.22);
    --shadow: rgba(80, 50, 20, 0.18);
    --grain: 0.035;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f2ea;
  --bg-2: #efe7dc;
  --panel: #fffaf3;
  --input-bg: #fffdf9;
  --line: rgba(45, 30, 18, 0.09);
  --line-2: rgba(45, 30, 18, 0.16);
  --text: #1d1712;
  --muted: #6b6157;
  --dim: #a2978b;
  --ember: #ec5a1c;
  --ember-2: #c2410c;
  --ember-hi: #f59e5b;
  --sage: #4f7a4d;
  --nav-bg: rgba(247, 242, 234, 0.78);
  --glass: rgba(255, 251, 245, 0.72);
  --stage-a: #fffaf3;
  --stage-b: #f1e8dc;
  --aurora-1: rgba(255, 122, 61, 0.22);
  --aurora-2: rgba(255, 196, 140, 0.32);
  --aurora-3: rgba(155, 181, 154, 0.22);
  --shadow: rgba(80, 50, 20, 0.18);
  --grain: 0.035;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  transition: background-color .4s ease, color .4s ease;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ember-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #ff7a3d, #f2581a);
  color: #1a0d05; font: 600 15px/1 var(--sans); white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255,140,80,.4) inset, 0 10px 30px -10px rgba(255,106,43,.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,160,100,.6) inset, 0 16px 40px -10px rgba(255,106,43,.85); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--text) inset; }
.btn-small { padding: 10px 16px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(16px, calc((100vw - var(--max)) / 2));
  background: var(--nav-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font: 400 26px/1 var(--serif); }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Shared */
.section { max-width: var(--max); margin: 0 auto; padding: 120px 16px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(38px, 5vw, 64px); }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.section-sub { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* Nav actions + theme toggle */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: transparent; color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; transition: transform .3s, box-shadow .2s;
}
.theme-toggle:hover { box-shadow: 0 0 0 1px var(--text) inset; transform: rotate(-15deg); }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }

/* Hero */
.hero { position: relative; max-width: var(--max); margin: 0 auto; padding: 72px 16px 24px; text-align: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(56px, 9.2vw, 132px); }
.shimmer {
  background: linear-gradient(100deg, var(--ember-2) 0%, var(--ember) 30%, var(--ember-hi) 50%, var(--ember) 70%, var(--ember-2) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite; padding-right: .06em;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.lede { font-size: 19px; color: var(--muted); max-width: 580px; margin: 24px auto 0; }

.aurora { position: absolute; inset: -80px 0 auto; height: 620px; pointer-events: none; z-index: 0; filter: blur(60px); }
.aurora i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 520px; height: 360px; left: 50%; top: 120px; margin-left: -260px; background: var(--aurora-1); }
.aurora i:nth-child(2) { width: 420px; height: 300px; left: 12%; top: 40px; background: var(--aurora-2); animation-duration: 22s; }
.aurora i:nth-child(3) { width: 380px; height: 280px; right: 10%; top: 80px; background: var(--aurora-3); animation-duration: 26s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

/* The magic prompt bar */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.magic-bar {
  position: relative; display: flex; align-items: center; gap: 8px;
  max-width: 760px; margin: 40px auto 0; padding: 8px 8px 8px 18px; border-radius: 999px;
  background: var(--input-bg); box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 80px -30px var(--aurora-1);
  transition: transform .3s ease;
}
.magic-bar::before, .magic-bar::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0deg 200deg, var(--ember) 260deg, var(--ember-hi) 300deg, transparent 360deg);
  animation: spin 4.5s linear infinite;
}
.magic-bar::before {
  padding: 1.5px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.magic-bar::after { z-index: -1; filter: blur(18px); opacity: .55; }
.magic-bar:focus-within { transform: translateY(-2px); }
.magic-bar:focus-within::before, .magic-bar.forging::before { animation-duration: 1.4s; }
.magic-bar:focus-within::after, .magic-bar.forging::after { opacity: .9; animation-duration: 1.4s; }
@keyframes spin { to { --angle: 360deg; } }
.bar-icon { width: 20px; height: 20px; color: var(--ember); flex: none; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.8) rotate(20deg); opacity: .7; } }
.magic-bar input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text);
  font: 400 17px var(--sans); padding: 12px 6px; text-align: left;
}
.magic-bar input::placeholder { color: var(--dim); }
.magic-bar .btn { padding: 15px 24px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.chips-label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-right: 4px; }
.chips button {
  background: transparent; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 14px; font: 400 13px var(--sans); cursor: pointer; transition: all .2s;
}
.chips button:hover { color: var(--text); border-color: var(--ember); transform: translateY(-1px); }

/* Stage */
.stage {
  position: relative; z-index: 1; margin-top: 48px; aspect-ratio: 16 / 8.2; border-radius: 28px; overflow: hidden;
  background: radial-gradient(55% 55% at 50% 64%, var(--aurora-1), transparent 70%), radial-gradient(100% 90% at 50% 0%, var(--stage-a), var(--stage-b));
  border: 1px solid var(--line); box-shadow: 0 50px 120px -50px var(--shadow);
}
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(60% 60% at 50% 55%, #000 10%, transparent 75%); opacity: .6;
}
#morph { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.prompt-pill {
  position: absolute; left: 20px; top: 20px; z-index: 2; max-width: calc(100% - 40px);
  display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; text-align: left;
  background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line-2); font: 400 13.5px/1.3 var(--mono);
}
.pill-label { color: var(--ember); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.caret { width: 8px; height: 16px; flex: none; background: var(--ember); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.spec-tags { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; transition: opacity .4s; }
.spec-tags span {
  padding: 7px 12px; border-radius: 999px; font: 500 12px/1 var(--mono);
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(8px); animation: tagIn .5s ease both;
}
.spec-tags span:nth-child(2) { animation-delay: .1s; }
.spec-tags span:nth-child(3) { animation-delay: .2s; color: var(--ember-2); }
@keyframes tagIn { from { opacity: 0; transform: translateY(6px); } }

.pipeline {
  position: absolute; left: 50%; bottom: 20px; z-index: 3; transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  transition: opacity .35s, transform .35s;
}
.stage.forging .pipeline { opacity: 1; transform: translate(-50%, 0); }
.stage.forging .spec-tags { opacity: 0; }
.pipeline div { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font: 500 12px var(--mono); color: var(--dim); transition: all .3s; }
.pipeline span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: all .3s; }
.pipeline .active { color: var(--text); background: var(--line); }
.pipeline .active span { background: var(--ember); box-shadow: 0 0 10px var(--ember); animation: pulse .8s infinite; }
.pipeline .done { color: var(--text); }
.pipeline .done span { background: var(--sage); }

.spec-card {
  position: absolute; z-index: 3; top: 20px; right: 20px; bottom: 20px; width: min(340px, 40%);
  display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 20px; text-align: left;
  background: var(--glass); backdrop-filter: blur(16px); border: 1px solid var(--line-2);
  opacity: 0; transform: translateX(24px); pointer-events: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.spec-card.show { opacity: 1; transform: none; pointer-events: auto; }
.result-kicker { font: 500 11px/1 var(--mono); color: var(--ember); text-transform: uppercase; letter-spacing: .12em; }
.spec-card h3 { font: 400 30px/1.1 var(--serif); }
.spec-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.spec-card dt { font-size: 12px; color: var(--muted); }
.spec-card dd { font: 500 14px var(--mono); }
.spec-card .btn { align-self: flex-start; margin-top: auto; }

.hero-stats { display: flex; justify-content: center; gap: 64px; margin-top: 36px; }
.hero-stats dt { font: 400 34px/1 var(--serif); }
.hero-stats dd { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; margin-top: 40px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font: 400 30px/1 var(--serif); color: var(--muted); white-space: nowrap; }
.marquee span:nth-child(3n) { font-style: italic; color: var(--text); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step-num { font: 500 12px/1 var(--mono); color: var(--ember); }
.step p { color: var(--muted); font-size: 14.5px; }
.step-vis {
  margin-top: auto; height: 120px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; font: 400 11.5px/1.4 var(--mono); color: var(--muted);
}
.vis-prompt span { padding: 14px; color: var(--text); }
.vis-render { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; place-items: stretch; }
.vis-render img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 8px; display: block; }
.vis-cad svg { width: 100%; height: 100%; color: var(--muted); }
.vis-cad text { fill: var(--text); font: 10px var(--mono); }
.vis-quote { display: flex; flex-direction: column; gap: 6px; padding: 10px; place-items: stretch; }
.vis-quote div { display: flex; justify-content: space-between; gap: 6px; padding: 7px 9px; border-radius: 8px; background: var(--panel); font-size: 10.5px; }
.vis-quote b { color: var(--text); font-weight: 500; }
.vis-quote div:first-child { box-shadow: 0 0 0 1px var(--ember) inset; }

/* Showcase */
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .4s; }
.card:hover { transform: translateY(-6px); }
.card-art { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--bg-2); }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-art img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px;
  font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em;
  background: rgba(11,10,9,.55); color: #f4ece1; backdrop-filter: blur(8px); border: 1px solid rgba(244,236,225,.2);
}
.showcase-note { margin-top: 20px; font: 400 12px var(--mono); color: var(--dim); }
.card-body { padding: 18px; }
.card-prompt { font: 400 19px/1.25 var(--serif); font-style: italic; }
.card-meta { font: 400 12px var(--mono); color: var(--muted); margin-top: 10px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.feature { padding: 32px 28px 0 0; border-top: 1px solid var(--line-2); margin-right: 20px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 32px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan-featured { background: linear-gradient(180deg, #23180f, var(--panel) 60%); border-color: rgba(255,106,43,.5); }
.badge { position: absolute; top: 20px; right: 20px; font: 500 11px/1 var(--mono); padding: 6px 10px; border-radius: 999px; background: var(--ember); color: #1a0d05; }
.price { font: 400 56px/1 var(--serif); margin-top: 8px; }
.price small { font: 400 15px var(--sans); color: var(--muted); }
.plan-sub { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 16px 0 28px; display: grid; gap: 10px; font-size: 14.5px; }
.plan li::before { content: "✦"; color: var(--ember); margin-right: 10px; font-size: 11px; }
.plan .btn { margin-top: auto; }

/* Enterprise */
.enterprise {
  margin-top: 16px; padding: 40px; border-radius: 22px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center;
  background: radial-gradient(80% 120% at 0% 0%, rgba(255,106,43,.22), transparent 60%), #14110f; color: #f4ece1;
  border: 1px solid rgba(244,236,225,.12);
}
.enterprise .eyebrow { color: #ffb36b; }
.enterprise h3 { font: 400 clamp(30px, 3.4vw, 44px)/1.05 var(--serif); letter-spacing: -0.01em; }
.ent-copy p:not(.eyebrow) { color: #b5aa9c; margin: 14px 0 26px; max-width: 420px; }
.ent-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.ent-list li { font-size: 13.5px; color: #b5aa9c; padding-top: 14px; border-top: 1px solid rgba(244,236,225,.14); }
.ent-list b { display: block; color: #f4ece1; font-weight: 600; font-size: 15px; margin-bottom: 4px; }

/* CTA */
.cta { text-align: center; padding-bottom: 120px; }
.cta h2 { max-width: 820px; margin: 0 auto; font-size: clamp(42px, 6vw, 80px); }
.cta > p { color: var(--muted); font-size: 18px; margin: 20px 0 36px; }
.waitlist { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; padding: 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); }
.form-msg { margin-top: 16px; min-height: 24px; font-size: 14px; color: var(--sage); }
.form-msg.error { color: #ff8f6b; }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 28px max(16px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero { padding-top: 48px; }
  .stage { aspect-ratio: auto; height: 520px; }
  .spec-card { width: 46%; }
  .steps, .showcase, .features { grid-template-columns: repeat(2, 1fr); }
  .features { gap: 24px 0; }
  .pricing { grid-template-columns: 1fr; }
  .enterprise { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .result { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .steps, .features { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-prompt { font-size: 15px; }
  .card-body { padding: 12px; }
  .ent-list { grid-template-columns: 1fr; }
  .hero-stats dt { font-size: 26px; }
  .magic-bar { flex-wrap: wrap; border-radius: 22px; padding: 10px 10px 10px 16px; }
  .magic-bar input { flex-basis: calc(100% - 40px); }
  .magic-bar .btn { width: 100%; }
  .chips-label { width: 100%; margin: 0; }
  .stage { height: auto; aspect-ratio: auto; display: flex; flex-direction: column; overflow: visible; background: none; border: 0; box-shadow: none; }
  .stage::after { display: none; }
  #morph { position: relative; height: 420px; border-radius: 22px; border: 1px solid var(--line);
    background: radial-gradient(55% 55% at 50% 64%, var(--aurora-1), transparent 70%), radial-gradient(100% 90% at 50% 0%, var(--stage-a), var(--stage-b)); }
  .prompt-pill { left: 12px; top: 12px; max-width: calc(100% - 24px); }
  .spec-tags { left: 12px; bottom: auto; top: 360px; }
  .pipeline { bottom: auto; top: 356px; max-width: calc(100% - 24px); }
  .pipeline div { padding: 6px 8px; font-size: 11px; }
  .pipeline div span { display: none; }
  .spec-card { position: relative; inset: auto; width: 100%; margin-top: 12px; transform: translateY(16px); display: none; }
  .spec-card.show { display: flex; }
  .hero-stats { gap: 24px; }
  .waitlist { flex-direction: column; border-radius: 18px; }
  .waitlist input { padding: 12px; }
  .section { padding-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Light mode: soften big shadows */
:root[data-theme="light"] .btn { color: #fff; background: linear-gradient(180deg, #f2692c, #dc4c12); }
:root[data-theme="light"] .plan-featured { background: linear-gradient(180deg, #ffe9d9, var(--panel) 60%); }

/* "Stamped for production" mark on the spec card */
.approved {
  position: absolute; bottom: 24px; right: 18px; padding: 7px 10px; border: 2px solid var(--ember); border-radius: 8px;
  font: 600 9.5px/1.25 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--ember);
  transform: rotate(8deg) scale(2.2); opacity: 0;
}
.spec-card.show .approved { animation: stampDown .45s cubic-bezier(.2,1.4,.4,1) .55s forwards; }
@keyframes stampDown { 0% { opacity: 0; transform: rotate(-6deg) scale(2.2); } 70% { opacity: 1; transform: rotate(8deg) scale(.94); } 100% { opacity: .92; transform: rotate(8deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .spec-card.show .approved { opacity: .92; transform: rotate(8deg); } }
