/* ─── tokens ─────────────────────────────────────────────── */
:root {
  --bg: #07090c;
  --bg-2: #0c1016;
  --bg-3: #11161e;
  --fg: #e8edf4;
  --muted: #8b97a8;
  --dim: #5b6675;
  --rule: #1d242e;
  --acc: #4ade80;
  --acc-2: #38bdf8;
  --acc-3: #a78bfa;
  --warn: #fbbf24;
  --danger: #f87171;
  --glow: rgba(74, 222, 128, 0.14);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
  --max: 68rem;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fdfdfc;
    --bg-2: #f4f6f8;
    --bg-3: #eceff3;
    --fg: #10151c;
    --muted: #5a6675;
    --dim: #8d99a8;
    --rule: #e0e5ea;
    --acc: #15803d;
    --acc-2: #0369a1;
    --acc-3: #6d28d9;
    --warn: #b45309;
    --danger: #b91c1c;
    --glow: rgba(21, 128, 61, 0.1);
  }
}

:root[data-theme="dark"] {
  --bg: #07090c; --bg-2: #0c1016; --bg-3: #11161e;
  --fg: #e8edf4; --muted: #8b97a8; --dim: #5b6675; --rule: #1d242e;
  --acc: #4ade80; --acc-2: #38bdf8; --acc-3: #a78bfa;
  --warn: #fbbf24; --danger: #f87171; --glow: rgba(74, 222, 128, 0.14);
}
:root[data-theme="light"] {
  --bg: #fdfdfc; --bg-2: #f4f6f8; --bg-3: #eceff3;
  --fg: #10151c; --muted: #5a6675; --dim: #8d99a8; --rule: #e0e5ea;
  --acc: #15803d; --acc-2: #0369a1; --acc-3: #6d28d9;
  --warn: #b45309; --danger: #b91c1c; --glow: rgba(21, 128, 61, 0.1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

a { color: inherit; }

.sr-only, .skip {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 100;
  width: auto; height: auto; clip: auto; margin: 0;
  padding: .6rem 1rem; background: var(--acc); color: var(--bg);
  border-radius: .4rem; font-weight: 600;
}

/* ─── nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 3.75rem; }
.brand {
  display: inline-flex; align-items: baseline; gap: .45rem;
  text-decoration: none; font-weight: 700; letter-spacing: -.02em;
}
.brand-mark { color: var(--acc); font-size: 1.05rem; }
.brand-name { font-size: 1.0625rem; }
.brand-tm { font-size: .6rem; color: var(--dim); }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; font-size: .875rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }

/* ─── buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .7rem 1.25rem; border-radius: .5rem;
  font-size: .9375rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5rem .9rem; font-size: .8125rem; }
.btn-primary { background: var(--acc); color: #04120a; }
.btn-primary:hover { background: color-mix(in srgb, var(--acc) 85%, #fff); }
.btn-ghost { border-color: var(--rule); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn-block { width: 100%; margin-top: auto; }
.nav .btn-sm { background: var(--acc); color: #04120a; margin-left: 0; }

/* ─── hero ───────────────────────────────────────────────── */
.hero {
  position: relative; padding: 5rem 0 4rem; text-align: center;
  background:
    radial-gradient(60rem 28rem at 50% -8rem, var(--glow), transparent 70%),
    linear-gradient(var(--bg), var(--bg-2));
  border-bottom: 1px solid var(--rule);
}
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1.5rem; padding: .35rem .85rem;
  border: 1px solid var(--rule); border-radius: 100px;
  background: var(--bg-3);
  font-family: var(--mono); font-size: .7rem; color: var(--muted);
  letter-spacing: .02em;
}
.dot {
  width: .4rem; height: .4rem; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 0 3px var(--glow);
}
h1 {
  max-width: 20ch; margin: 0 auto;
  font-size: clamp(2.1rem, 5.6vw, 3.9rem); line-height: 1.06;
  font-weight: 700; letter-spacing: -.035em; text-wrap: balance;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--acc), var(--acc-2) 55%, var(--acc-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  max-width: 46rem; margin: 1.5rem auto 0;
  font-size: 1.0625rem; color: var(--muted); text-wrap: pretty;
}
.lede strong { color: var(--fg); font-weight: 600; }
.cta-row {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center; margin-top: 2rem;
}
.micro { margin: 1rem 0 0; font-family: var(--mono); font-size: .75rem; color: var(--dim); }

/* ─── terminal ───────────────────────────────────────────── */
.term {
  max-width: 52rem; margin: 3.5rem auto 0; text-align: left;
  border: 1px solid var(--rule); border-radius: .7rem; overflow: hidden;
  background: var(--bg); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}
.term-bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .6rem .85rem; background: var(--bg-3);
  border-bottom: 1px solid var(--rule);
}
.tl { width: .65rem; height: .65rem; border-radius: 50%; }
.tl-r { background: var(--danger); } .tl-y { background: var(--warn); } .tl-g { background: var(--acc); }
.term-title {
  margin-left: .6rem; font-family: var(--mono);
  font-size: .7rem; color: var(--dim);
}
.term-body {
  margin: 0; padding: 1.1rem; overflow-x: auto;
  font-family: var(--mono); font-size: .76rem; line-height: 1.85;
}
.term-body code { white-space: pre; }
.c-dim { color: var(--dim); } .c-ok { color: var(--acc); }
.c-warn { color: var(--warn); } .c-acc { color: var(--acc-2); }
.cursor { color: var(--acc); animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ─── marquee ────────────────────────────────────────────── */
.marquee {
  overflow: hidden; padding: .85rem 0;
  border-bottom: 1px solid var(--rule); background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 1.4rem; width: max-content;
  animation: scroll 46s linear infinite;
  font-family: var(--mono); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.marquee-track i { color: var(--acc); font-style: normal; font-size: .6rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ─── logos ──────────────────────────────────────────────── */
.logos { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
.kicker {
  margin: 0 0 .75rem; font-family: var(--mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--acc);
  text-align: center;
}
.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.25rem 2.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none;
}
.logo-row li {
  font-weight: 700; font-size: 1rem; letter-spacing: .16em;
  color: var(--dim); opacity: .8;
}

/* ─── stats ──────────────────────────────────────────────── */
.stats { padding: 3rem 0; background: var(--bg-2); border-bottom: 1px solid var(--rule); }
.stat-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: .3rem; }
.stat-n {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700;
  letter-spacing: -.03em; color: var(--acc); line-height: 1;
}
.stat-n .pct { font-size: .55em; color: var(--muted); }
.stat-l { font-size: .8125rem; color: var(--muted); }

/* ─── sections ───────────────────────────────────────────── */
.section { padding: 5rem 0; border-bottom: 1px solid var(--rule); }
.section.alt { background: var(--bg-2); }
.section h2 {
  max-width: 24ch; margin: 0 auto;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem); line-height: 1.15;
  font-weight: 700; letter-spacing: -.03em; text-align: center;
  text-wrap: balance;
}
.section-lede {
  max-width: 42rem; margin: 1rem auto 0;
  text-align: center; color: var(--muted); text-wrap: pretty;
}
.section-lede strong { color: var(--acc); }

/* ─── feature cards ──────────────────────────────────────── */
.cards {
  display: grid; gap: 1rem; margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.card {
  padding: 1.6rem; border: 1px solid var(--rule); border-radius: .75rem;
  background: var(--bg-2); transition: border-color .18s ease, transform .18s ease;
}
.section.alt .card { background: var(--bg-3); }
.card:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--rule)); transform: translateY(-2px); }
.card-ico { display: block; margin-bottom: .8rem; font-size: 1.25rem; color: var(--acc); }
.card h3 { margin: 0 0 .55rem; font-size: 1.0625rem; letter-spacing: -.015em; }
.card p { margin: 0; font-size: .9375rem; color: var(--muted); text-wrap: pretty; }

/* ─── steps ──────────────────────────────────────────────── */
.steps {
  display: grid; gap: 1rem; margin: 3rem 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  counter-reset: step;
}
.steps li {
  position: relative; padding: 1.5rem 1.25rem;
  border: 1px solid var(--rule); border-radius: .75rem; background: var(--bg-3);
}
.step-n {
  display: block; margin-bottom: .6rem; font-family: var(--mono);
  font-size: .75rem; color: var(--acc); letter-spacing: .1em;
}
.steps h3 { margin: 0 0 .45rem; font-size: 1rem; }
.steps p { margin: 0; font-size: .875rem; color: var(--muted); text-wrap: pretty; }

/* ─── quotes ─────────────────────────────────────────────── */
.quotes {
  display: grid; gap: 1rem; margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.quote {
  margin: 0; padding: 1.6rem; border: 1px solid var(--rule);
  border-radius: .75rem; background: var(--bg-2);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.quote blockquote {
  margin: 0; font-size: .9375rem; color: var(--fg);
  text-wrap: pretty; line-height: 1.6;
}
.quote figcaption { display: flex; flex-direction: column; margin-top: auto; }
.q-name { font-size: .875rem; font-weight: 600; }
.q-role { font-size: .78rem; color: var(--dim); }

/* ─── badges ─────────────────────────────────────────────── */
.badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .6rem; margin: 2.5rem 0 0; padding: 0; list-style: none;
}
.badges li {
  padding: .5rem 1rem; border: 1px solid var(--rule); border-radius: 100px;
  background: var(--bg-3); font-family: var(--mono);
  font-size: .78rem; color: var(--muted);
}
.fineprint {
  margin: 1.5rem auto 0; max-width: 34rem; text-align: center;
  font-size: .8125rem; color: var(--dim); text-wrap: pretty;
}

/* ─── pricing ────────────────────────────────────────────── */
.tiers {
  display: grid; gap: 1rem; margin-top: 3rem; align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.tier {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.5rem; border: 1px solid var(--rule);
  border-radius: .85rem; background: var(--bg-2);
}
.tier-hero { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 20px 50px -30px var(--acc); }
.tier-flag {
  position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%);
  padding: .2rem .7rem; border-radius: 100px; background: var(--acc);
  color: #04120a; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.tier h3 { margin: 0 0 .5rem; font-size: 1.0625rem; }
.price {
  margin: 0; font-size: 2rem; font-weight: 700;
  letter-spacing: -.03em; line-height: 1.1;
}
.price span { font-size: .55em; vertical-align: super; color: var(--muted); }
.price small { font-size: .42em; font-weight: 500; color: var(--muted); }
.tier-sub { margin: .4rem 0 1.25rem; font-size: .8125rem; color: var(--dim); }
.tier ul {
  margin: 0 0 1.75rem; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: .55rem;
}
.tier li {
  position: relative; padding-left: 1.35rem;
  font-size: .875rem; color: var(--muted); text-wrap: pretty;
}
.tier li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--acc); font-size: .8rem; font-weight: 700;
}

/* ─── cta band ───────────────────────────────────────────── */
.cta-band {
  padding: 5rem 0; text-align: center;
  background:
    radial-gradient(48rem 22rem at 50% 120%, var(--glow), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--rule);
}
.cta-band h2 {
  max-width: 22ch; margin: 0 auto;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem); line-height: 1.15;
  font-weight: 700; letter-spacing: -.03em; text-wrap: balance;
}
.cta-band > .wrap > p {
  max-width: 40rem; margin: 1rem auto 0; color: var(--muted); text-wrap: pretty;
}
.cta-form {
  display: flex; flex-wrap: wrap; gap: .6rem;
  justify-content: center; margin-top: 2rem;
}
.cta-form input {
  flex: 1 1 16rem; max-width: 20rem;
  padding: .7rem 1rem; border: 1px solid var(--rule); border-radius: .5rem;
  background: var(--bg); color: var(--fg); font: inherit; font-size: .9375rem;
}
.cta-form input:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: transparent; }
.cta-form input::placeholder { color: var(--dim); }

/* ─── footer ─────────────────────────────────────────────── */
.foot { padding: 3rem 0 4rem; background: var(--bg); }
.foot-top {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .5rem 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule);
}
.foot-brand {
  display: inline-flex; align-items: baseline; gap: .45rem;
  font-weight: 700; letter-spacing: -.02em;
}
.foot-tag {
  margin: 0 0 0 auto; font-family: var(--mono);
  font-size: .75rem; color: var(--dim);
}
.disclaimer {
  margin: 1.5rem 0 0; padding: 1rem 1.15rem;
  border: 1px solid var(--rule); border-left: 3px solid var(--warn);
  border-radius: .5rem; background: var(--bg-2);
  font-size: .8125rem; color: var(--muted); text-wrap: pretty;
}
.disclaimer strong { color: var(--fg); }
.copyright { margin: 1.25rem 0 0; font-size: .78rem; color: var(--dim); }

/* ─── motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-in { gap: 1rem; }
  .nav .btn-sm { margin-left: auto; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
}
