:root {
  color-scheme: dark;
  --bg: #070806;
  --bg2: #0e120e;
  --card: #141a14;
  --line: #2a382c;
  --ink: #f3f6ee;
  --dim: #a9b5a6;
  --faint: #738270;
  --gold: #c8f542;
  --gold2: #dfff7a;
  --ok: #9be15d;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

h1, h2, h3, h4 { letter-spacing: -0.022em; line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.85rem); font-weight: 760; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 720; }
h3 { font-size: 1.05rem; font-weight: 660; }
p { margin: 0 0 16px; }

a { color: inherit; }

.vh {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #10140a; padding: 12px 18px; font-weight: 650;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 3px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.76rem; font-weight: 700; color: var(--gold);
  margin: 0 0 14px;
}

.sub { color: var(--dim); font-size: 1.04rem; max-width: 56ch; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.stuck { border-bottom-color: var(--line); }
.navin { display: flex; align-items: center; gap: 20px; height: 66px; }

.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 730; letter-spacing: -0.02em; text-decoration: none; font-size: 1.04rem;
}
.logo .dot { color: var(--faint); font-weight: 500; }

.links { display: flex; gap: 26px; margin-left: auto; }
.links a {
  color: var(--dim); text-decoration: none; font-size: 0.93rem; font-weight: 500;
  padding: 6px 0; border-bottom: 1.5px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.links a:hover { color: var(--ink); border-bottom-color: var(--gold); }

.navcta { display: flex; gap: 10px; }
@media (max-width: 880px) {
  .links { display: none; }
  .navcta { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: #10140a;
  padding: 13px 24px; border: 0; border-radius: 999px;
  box-shadow: 0 4px 0 #5c7818;
  font: inherit; font-weight: 680; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--gold2); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #5c7818; }
.btn.sm { padding: 9px 16px; font-size: 0.9rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.heroin { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .heroin { grid-template-columns: 1.02fr 0.98fr; } }

.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--dim); max-width: 46ch; }

.prompt {
  display: flex; gap: 8px; max-width: 560px; margin: 26px 0 10px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; padding: 7px;
  transition: border-color 0.15s ease;
}
.prompt:focus-within { border-color: var(--gold); }
.prompt input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink);
  font: inherit; padding: 11px 12px;
}
.prompt input::placeholder { color: var(--faint); }
.prompt input:focus { outline: none; }
.promptnote { color: var(--faint); font-size: 0.86rem; margin: 0 0 4px; }

@media (max-width: 560px) {
  .prompt { flex-direction: column; align-items: stretch; }
  .prompt .btn { width: 100%; }
  .cta .btn { flex: 1 1 100%; }
}

.trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding: 0; margin: 30px 0 0; color: var(--faint); font-size: 0.88rem;
}
.trust li { position: relative; padding-left: 19px; }
.trust li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; background: var(--ok); border-radius: 50%;
}

/* ---------- hero mock ---------- */
.mock {
  background: #0c100c; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.95);
}
.mockbar {
  display: flex; align-items: center; gap: 7px; padding: 10px 13px;
  background: #121812; border-bottom: 1px solid var(--line);
}
.mockbar i { width: 9px; height: 9px; border-radius: 50%; background: #2c382c; }
.mockbar span { margin-left: 9px; color: var(--faint); font-size: 0.78rem; }
.mockbody { padding: 15px; display: grid; gap: 10px; }

.mockframe { background: #101510; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.wf { display: flex; height: 5px; }
.wf span:nth-child(1) { background: var(--gold); }
.wf span:nth-child(2) { background: #314034; }
.wf span:nth-child(3) { background: #3a4a38; }
.wf span:nth-child(4) { background: #314034; }
.mtrans { padding: 16px 15px; display: grid; gap: 7px; }
.mtrans b { font-size: 0.86rem; font-weight: 500; color: #738270; }
.mtrans b.on { color: var(--ink); background: rgba(200, 245, 66, 0.14); border-left: 2px solid var(--gold); padding: 3px 8px; margin-left: -10px; }

.mockcmd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem; color: var(--ink); background: #101510;
  border: 1px solid var(--line); border-left: 2px solid var(--gold);
  padding: 10px 12px;
}
.mockcmd span { color: var(--gold); font-weight: 700; margin-right: 6px; }

.mocktrack { display: flex; gap: 5px; flex-wrap: wrap; }
.mclip {
  font-size: 0.74rem; color: var(--dim); background: #151b15; border: 1px solid var(--line);
  border-left: 2px solid var(--ok); padding: 6px 9px;
}
.mclip.cut { border-left-color: #c0503f; color: #738270; text-decoration: line-through; }

.mockfoot {
  display: flex; justify-content: space-between; gap: 10px;
  padding-top: 10px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 0.78rem;
}
.mockfoot .ok { color: var(--ok); }

/* ---------- bands ---------- */
.band { padding: clamp(52px, 7vw, 86px) 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--bg2); }
.band h2 { margin-bottom: 12px; }

.grid {
  display: grid; gap: 16px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
}

.card {
  display: block; background: var(--card); border: 1px solid var(--line);
  padding: 24px; text-decoration: none; border-radius: 3px;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); background: #182018; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--dim); font-size: 0.93rem; margin: 0 0 14px; }
.card .try { color: var(--gold); font-size: 0.87rem; font-weight: 620; }
.card:hover .try { color: var(--gold2); }

.ico {
  width: 24px; height: 24px; display: block; margin-bottom: 15px;
  fill: none; stroke: var(--gold); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.card:hover .ico { stroke: var(--gold2); }

/* ---------- two column ---------- */
.two { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }

.ticks { list-style: none; padding: 0; margin: 22px 0 28px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 11px; color: var(--dim); }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 8px; height: 4px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- demo ---------- */
.demo {
  background: #0c100c; border: 1px solid var(--line); border-radius: 5px;
  overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}
.demobar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: #121812; border-bottom: 1px solid var(--line);
}
.dotr { width: 10px; height: 10px; border-radius: 50%; background: #2c382c; }
.demotitle { margin-left: 10px; color: var(--faint); font-size: 0.8rem; }
.demobody { padding: 16px; display: grid; gap: 8px; }

.cmdline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem; color: var(--ink);
  background: #101510; border: 1px solid var(--line); border-left: 2px solid var(--gold);
  padding: 11px 13px; margin-bottom: 6px;
}
.cmdline .caret { color: var(--gold); font-weight: 700; margin-right: 6px; }

.clip {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center;
  background: #141a14; border: 1px solid var(--line); border-left: 3px solid var(--ok);
  padding: 10px 13px; font-size: 0.86rem;
  animation: rise 0.45s ease both;
}
.clip .t { color: var(--faint); font-family: ui-monospace, Menlo, Consolas, monospace; }
.clip .nm { color: var(--ink); }
.clip .dur { color: var(--faint); }
.clip.out { border-left-color: #c0503f; opacity: 0.45; }
.clip.out .nm { text-decoration: line-through; }

.clip:nth-of-type(2) { animation-delay: 0.10s; }
.clip:nth-of-type(3) { animation-delay: 0.22s; }
.clip:nth-of-type(4) { animation-delay: 0.34s; }
.clip:nth-of-type(5) { animation-delay: 0.46s; }

@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.stat {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; padding-top: 12px;
  border-top: 1px solid var(--line); color: var(--faint); font-size: 0.82rem;
}
.stat .ok { color: var(--ok); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 26px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.step { border-top: 2px solid var(--gold); padding-top: 18px; }
.step .n {
  display: inline-block; font-weight: 760; color: var(--gold);
  font-size: 0.74rem; letter-spacing: 0.12em; margin-bottom: 10px;
}
.step p { color: var(--dim); font-size: 0.95rem; margin: 0; }

/* ---------- pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pills a {
  border: 1px solid var(--line); background: var(--card); color: var(--dim);
  padding: 10px 18px; border-radius: 999px; text-decoration: none; font-size: 0.93rem;
  transition: color 0.15s, border-color 0.15s;
}
.pills a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- faq ---------- */
.faq { margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 34px 20px 0; font-weight: 620; font-size: 1.02rem;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 18px;
  color: var(--gold); font-size: 1.3rem; font-weight: 500; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--gold2); }
.faq details p { color: var(--dim); margin: 0 0 22px; max-width: 68ch; }

/* ---------- closer + foot ---------- */
.closer { padding: clamp(60px, 8vw, 96px) 0; border-top: 1px solid var(--line); text-align: center; }
.closer .sub { margin: 0 auto; }
.closer .cta { justify-content: center; }

.foot { border-top: 1px solid var(--line); background: var(--bg2); padding: 48px 0 30px; }
.fcols {
  display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.fcols h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin: 0 0 14px;
}
.fcols a { display: block; color: var(--dim); text-decoration: none; font-size: 0.9rem; margin-bottom: 9px; }
.fcols a:hover { color: var(--ink); }
.fcols p { color: var(--faint); font-size: 0.9rem; max-width: 34ch; }
.fine { color: var(--faint); font-size: 0.84rem; margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- pipeline ---------- */
.pipe {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
}
.pipe li {
  background: var(--bg2); padding: 20px 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.16s ease;
}
.pipe li:hover { background: #151b15; }
.pipe .pnum {
  font-size: 0.7rem; letter-spacing: 0.12em; color: var(--gold); font-weight: 760;
}
.pipe b { font-size: 0.99rem; font-weight: 660; letter-spacing: -0.01em; }
.pipe i { font-style: normal; color: var(--dim); font-size: 0.86rem; line-height: 1.5; }

/* ---------- deliverables ---------- */
.deliv {
  display: grid; gap: 16px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.dcard { background: var(--card); border: 1px solid var(--line); padding: 22px; border-radius: 3px; }
.dcard h3 { margin: 0 0 8px; font-size: 1rem; }
.dcard p { color: var(--dim); font-size: 0.92rem; margin: 0; }

/* ---------- publishing roadmap ---------- */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.roadmap li {
  background: var(--bg2); padding: 16px 18px 16px 42px; position: relative;
  color: var(--dim); font-size: 0.91rem; line-height: 1.55;
}
.roadmap li b { color: var(--ink); display: block; font-weight: 640; margin-bottom: 3px; font-size: 0.97rem; }
.roadmap li::before {
  content: "✓"; position: absolute; left: 18px; top: 17px;
  color: var(--ok); font-weight: 700; font-size: 0.9rem;
}
.roadmap li.next::before { content: "→"; color: var(--gold); }
.roadmap li.next { color: var(--faint); }
.roadmap li.next b { color: var(--dim); }

/* ---------- guardrail ticks ---------- */
.ticks.big { margin-top: 30px; }
.ticks.big li { margin-bottom: 17px; color: var(--dim); font-size: 0.98rem; }
.ticks.big li b { color: var(--ink); font-weight: 640; }

/* ==========================================================================
   LEGAL PAGES.

   One stylesheet for the whole site, so these arrive looking like the rest of
   it rather than as a wall of default browser text. The measure is deliberately
   narrow -- long lines of legal prose are the single most unreadable thing a
   website can do -- and the links are visible rather than hiding behind a
   colour that vanishes on the wrong background.
   ========================================================================== */
.legal{max-width:74ch;margin:0 auto;padding:40px 22px 80px}
.legal h1{font-size:34px;line-height:1.2;margin:14px 0 18px}
.legal h2{font-size:21px;margin:34px 0 10px;padding-top:16px;
  border-top:1px solid var(--line)}
.legal p,.legal li{color:#e4eadf}
.legal ul,.legal ol{padding-left:22px;margin:10px 0}
.legal li{margin:7px 0}
.legal b{color:var(--ink)}
.legal a{color:#c8f542;text-decoration:underline;text-underline-offset:2px}
.legal a:hover{color:var(--gold2)}
.legal .note{background:var(--card);border:1px solid var(--line);
  border-left:3px solid var(--gold);border-radius:10px;padding:12px 14px;
  font-size:15px;color:var(--dim);margin:0 0 26px}
.legal .crumb{font-size:14px;color:var(--faint);margin:0}
.legal .crumb a{color:var(--dim);text-decoration:none}
.legal .crumb a:hover{color:var(--gold2);text-decoration:underline}
.legal .legallist{list-style:none;padding:0;margin:22px 0 0}
.legal .legallist li{border:1px solid var(--line);border-radius:12px;
  padding:14px 16px;margin:10px 0;background:var(--card)}
.legal .legallist a{font-weight:700;font-size:18px}
.legal .legallist span{display:block;color:var(--dim);font-size:15px;
  margin-top:4px}
@media (max-width:640px){
  .legal{padding:26px 16px 60px}
  .legal h1{font-size:27px}
}
