@font-face {
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/clash-display/clash-display-500.woff2") format("woff2");
}
@font-face {
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/clash-display/clash-display-600.woff2") format("woff2");
}
@font-face {
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/clash-display/clash-display-700.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/figtree/figtree-400.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/figtree/figtree-500.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/figtree/figtree-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/fira-code/fira-code-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/fira-code/fira-code-500.woff2") format("woff2");
}

:root {
  --ink: #0A0E12;
  --ink-2: #101820;
  --surface: #141C24;
  --line: #243041;
  --text: #F3F6F9;
  --muted: #8B9BB0;
  --accent: #22D3A5;
  --accent-dim: #1AAE88;
  --accent-soft: rgba(34, 211, 165, 0.12);
  --danger: #E86A73;
  --max: 1100px;
  --font-display: "Clash Display", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "Fira Code", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text);
  background: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-nav-open {
  overflow: hidden;
}
body.is-nav-open .topbar,
body.is-nav-open .topbar--site {
  background: rgba(10, 14, 18, 0.98);
  border-bottom-color: var(--line);
}
body.is-nav-open .hero .topbar {
  border-bottom: 1px solid var(--line);
}
body.is-nav-open .topbar__bar,
body.is-nav-open .nav-toggle {
  position: relative;
  z-index: 120;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dim); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.topbar {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: max(1.15rem, env(safe-area-inset-top)) 0 0;
  animation: rise 0.7s ease both;
}
.topbar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 30px; height: 30px; flex-shrink: 0; }
.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 28, 36, 0.85);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__lines {
  position: relative;
}
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__lines::before { top: -6px; }
.nav-toggle__lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}
.nav a.nav-cta {
  color: #042019;
  background: var(--accent);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
}
.nav a.nav-cta:hover {
  background: var(--accent-dim);
  color: #042019;
}
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.hero .topbar {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: max(1.15rem, env(safe-area-inset-top));
}
.hero .nav a:not(.nav-cta) {
  color: var(--muted);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 18, 0.2) 0%, rgba(10, 14, 18, 0.72) 55%, var(--ink) 100%),
    url("./hero-dark.svg") center top / cover no-repeat;
  animation: softZoom 1.2s ease both;
}
.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem 0 3.5rem;
}
.hero__copy {
  max-width: 44rem;
  animation: rise 0.85s ease 0.08s both;
}
.hero__brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 12vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.hero__brand span { color: var(--accent); }
.hero__headline {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 18ch;
}
.hero__support {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  max-width: 34rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-bottom: 1.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary {
  background: var(--accent);
  color: #042019;
}
.btn--primary:hover {
  background: var(--accent-dim);
  color: #042019;
}
.link-quiet {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1rem;
}
.link-quiet:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero__compat {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  animation: rise 0.9s ease 0.18s both;
  max-width: 36rem;
}
.hero__compat h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: none;
}
.hero__compat p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero__tools {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--muted);
}
.hero__tools li {
  position: relative;
  padding-left: 0.85rem;
}
.hero__tools li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.32rem;
  height: 0.32rem;
  background: var(--accent);
}

.command {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 28, 36, 0.7);
}
.command .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.1rem 0;
}
.command code {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text);
}
.command code b { color: var(--accent); font-weight: 500; }
.command span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section { padding: 5.25rem 0; }
.section--alt { background: var(--ink-2); }
.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.8vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 14ch;
}
.lede {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.stack {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}
.stack li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
}
.stack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}

/* How it works — detailed */
.howto {
  margin: 2.75rem 0 0;
  display: grid;
  gap: 0;
  counter-reset: howto;
}
.howto-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.howto-item::before {
  counter-increment: howto;
  content: "0" counter(howto);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  padding-top: 0.25rem;
}
.howto-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.howto-item p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 46rem;
}
.howto-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.howto-item li {
  color: var(--text);
  font-size: 0.98rem;
  padding-left: 1rem;
  position: relative;
}
.howto-item li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.pillars {
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}
.pillars article {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}
.pillars h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.tools {
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--muted);
}

.cli-block {
  margin-top: 2.5rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cli-block p {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cli-block pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
}
.cli-block .c { color: var(--muted); }
.cli-block .g { color: var(--accent); }

.faq {
  margin: 2rem 0 0;
  max-width: 42rem;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.pricing {
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1rem;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.35rem;
  background: var(--surface);
}
.price-card--featured {
  border-color: rgba(34, 211, 165, 0.55);
  background:
    linear-gradient(180deg, rgba(34, 211, 165, 0.08), transparent 42%),
    var(--surface);
}
.price-card .tag {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.price-card .amount {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-card .amount small {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.price-card .sub {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.price-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.98rem;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
}
.pricing-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 40rem;
}

.waitlist {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem 3rem;
  align-items: end;
}
.waitlist h2 { max-width: 11ch; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.35rem;
}
.newsletter-form { display: grid; gap: 0.7rem; }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}
input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink);
  color: var(--text);
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1rem;
}
input[type="email"]::placeholder { color: #5f7085; }
input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  background: #0d1319;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-note,
.form-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="err"] { color: var(--danger); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 max(2rem, env(safe-area-inset-bottom));
  color: var(--muted);
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.footer-logo img {
  width: 22px;
  height: 22px;
}
.footer-logo:hover { color: var(--accent); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav li {
  display: inline-flex;
  align-items: center;
}
.footer-nav li:not(:last-child)::after {
  content: "·";
  margin: 0 0.65rem;
  color: #3a4656;
  speak: never;
}
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}
.footer-nav a:hover { color: var(--text); }
.footer-meta {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(36, 48, 65, 0.85);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #6d7c8f;
}
.footer-meta a {
  color: #8B9BB0;
  text-decoration: none;
}
.footer-meta a:hover { color: var(--accent); }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes softZoom {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

/* Sticky header (inner pages) */
.topbar--site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: max(0.75rem, env(safe-area-inset-top)) 0 0.75rem;
  animation: none;
}
.topbar--site .wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Inner pages */
.page {
  padding-bottom: 2rem;
  overflow-x: clip;
}
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(34, 211, 165, 0.1), transparent 60%),
    var(--ink);
}
.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
}
.page-hero .lede {
  margin: 0;
  max-width: 40rem;
}
.page .section:first-of-type {
  border-top: 0;
}

.command code {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 120;
  }
  /* Escapes header stacking so the X stays above the overlay */
  .nav-toggle.is-nav-toggle-fixed {
    position: fixed;
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(1.15rem, env(safe-area-inset-right, 0px));
    z-index: 130;
    background: var(--surface);
    border-color: rgba(34, 211, 165, 0.45);
    color: var(--text);
  }

  .topbar,
  .topbar--site .wrap {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
  .topbar__bar {
    width: 100%;
    position: relative;
    z-index: 120;
  }
  .topbar--site,
  .hero .topbar {
    position: relative;
    z-index: 120;
  }
  .topbar--site {
    z-index: 120;
  }

  /*
   * Full-screen overlay. JS moves #site-nav onto body so hero
   * overflow/isolation cannot bury it under page content.
   */
  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    position: fixed;
    inset: 0;
    z-index: 110;
    width: 100%;
    max-width: none;
    margin: 0;
    padding:
      calc(4.75rem + env(safe-area-inset-top, 0px))
      max(1.25rem, env(safe-area-inset-right, 0px))
      max(1.5rem, env(safe-area-inset-bottom, 0px))
      max(1.25rem, env(safe-area-inset-left, 0px));
    border: 0;
    border-radius: 0;
    background: #0A0E12;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-close {
    display: none;
  }
  .nav.is-open .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    align-self: flex-end;
    min-height: 44px;
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-close span {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .nav-close span::before,
  .nav-close span::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }
  .nav-close span::before { transform: rotate(45deg); }
  .nav-close span::after { transform: rotate(-45deg); }
  .nav-close:hover {
    border-color: rgba(34, 211, 165, 0.45);
    color: var(--accent);
  }
  .nav a {
    min-height: 48px;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    font-size: 1.05rem;
    color: var(--text);
  }
  .nav a:hover,
  .nav a[aria-current="page"] {
    background: rgba(34, 211, 165, 0.12);
    color: var(--accent);
  }
  .nav a.nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
    min-height: 52px;
    color: #042019;
  }
  .nav a.nav-cta:hover {
    color: #042019;
  }

  body.is-nav-open .hero {
    overflow: visible;
  }
}

@media (min-width: 961px) {
  .nav-close {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .split,
  .waitlist,
  .pricing { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pricing .price-card--featured { order: -1; }
  .page-hero {
    padding: 3.25rem 0 2rem;
  }
  .faq summary {
    font-size: 1.05rem;
    line-height: 1.35;
  }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .wrap,
  .hero .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero {
    min-height: auto;
  }
  .page-home .hero--home {
    min-height: 100svh;
    min-height: 100dvh;
  }
  .hero__body {
    padding: 1.25rem 0 max(2rem, env(safe-area-inset-bottom));
    justify-content: flex-end;
    margin-top: 0.5rem;
  }
  .hero__eyebrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
  }
  .hero__eyebrow-sep {
    display: none;
  }
  .hero__brand {
    font-size: clamp(2.4rem, 12.5vw, 3.5rem);
    margin-bottom: 0.85rem;
  }
  .hero__headline {
    max-width: none;
    font-size: clamp(1.22rem, 5.4vw, 1.55rem);
  }
  .hero__support {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
  }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: fit-content;
    margin-inline: auto;
    text-align: center;
  }
  .hero__compat {
    padding-top: 1rem;
  }
  .hero__compat h2 {
    font-size: 1.12rem;
  }
  .hero__compat p {
    font-size: 0.94rem;
    margin-bottom: 0.7rem;
  }
  .hero__tools {
    gap: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }

  .section { padding: 2.75rem 0; }
  .page-hero {
    padding: 2.25rem 0 1.5rem;
  }
  .page-hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }
  .lede {
    font-size: 1rem;
  }
  h2 {
    font-size: clamp(1.65rem, 7.5vw, 2.25rem);
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.75rem;
  }
  .pillars article { padding-top: 0.85rem; }
  .pillars h3 { font-size: 1.08rem; }
  .pillars p { font-size: 0.94rem; }

  .howto {
    margin-top: 1.75rem;
  }
  .howto-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.65rem;
    padding: 1.15rem 0;
  }
  .howto-item::before {
    font-size: 0.82rem;
    padding-top: 0.15rem;
  }
  .howto-item h3 { font-size: 1.12rem; }
  .howto-item p {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
  }
  .howto-item li { font-size: 0.92rem; }

  .cli-block {
    padding: 0.9rem;
    margin-top: 1.5rem;
    border-radius: 8px;
  }
  .cli-block pre {
    font-size: 0.78rem;
    line-height: 1.7;
    white-space: pre;
  }

  .pricing {
    margin-top: 1.75rem;
    gap: 0.85rem;
  }
  .price-card { padding: 1.2rem 1.05rem; }
  .price-card h3 { font-size: 1.3rem; }
  .price-card .amount { font-size: 2rem; }
  .price-card .sub { font-size: 0.9rem; }
  .price-card li { font-size: 0.94rem; }
  .pricing-note {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .faq {
    margin-top: 1.5rem;
  }
  .faq details { padding: 0.9rem 0; }
  .faq summary {
    font-size: 1.02rem;
    gap: 0.75rem;
  }
  .faq p { font-size: 0.95rem; }

  .panel { padding: 1.15rem; }
  .field-row { grid-template-columns: 1fr; }
  .field-row .btn { width: 100%; }

  h2, .waitlist h2 { max-width: none; }
  .waitlist { gap: 1.5rem; }

  .command .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.95rem 0;
  }
  .command code {
    font-size: 0.84rem;
    width: 100%;
  }
  .command span { font-size: 0.88rem; }

  .tools {
    gap: 0.45rem 1rem;
    font-size: 0.84rem;
  }

  .site-footer {
    padding: 1.35rem 0 max(1.35rem, env(safe-area-inset-bottom));
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1rem;
    width: 100%;
  }
  .footer-nav li {
    display: block;
  }
  .footer-nav li:not(:last-child)::after {
    content: none;
  }
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 0.92rem;
  }
  .footer-meta {
    padding-top: 0.9rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .wrap,
  .hero .wrap {
    width: min(100% - 1.15rem, var(--max));
  }
  .brand span { font-size: 0.98rem; }
  .hero__brand { font-size: 2.15rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* ——— Home page ——— */
.page-home .hero--home {
  min-height: 100svh;
}
.hero__glow {
  position: absolute;
  inset: auto auto 18% -10%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 165, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}
.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: clamp(0.98rem, 2.8vw, 1.12rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.hero__eyebrow-sep {
  opacity: 0.7;
}
.page-home .hero__brand {
  background: linear-gradient(120deg, #ffffff 20%, #22D3A5 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-home .hero__brand span {
  color: transparent;
  background: linear-gradient(120deg, #22D3A5, #8af0d4);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-home .hero__compat {
  position: relative;
}
.page-home .hero__compat::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 3rem;
  height: 2px;
  background: var(--accent);
  animation: lineDraw 1.2s ease 0.4s both;
}

.home-rail {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(34, 211, 165, 0.06), transparent 40%),
    var(--surface);
}
.home-rail__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.15rem 0;
}
.home-rail__cmd {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.88rem, 2.4vw, 1.05rem);
  color: var(--text);
}
.home-rail__prompt { color: var(--accent); font-weight: 500; }
.home-rail__cmd code {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.home-rail__cursor {
  width: 0.55rem;
  height: 1.1em;
  background: var(--accent);
  animation: blink 1.1s step-end infinite;
  flex-shrink: 0;
}
.home-rail__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.home-problem__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.home-problem__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.home-problem__list li {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.home-problem__list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.home-problem__list span { color: var(--muted); }

.home-promise__lede { margin-bottom: 2rem; }
.home-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.home-steps li {
  padding: 1.35rem 1.2rem;
  border-top: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.02);
}
.home-steps__n {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.home-steps h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.home-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.home-promise__cta { margin: 2rem 0 0; }

.home-paths__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.home-path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.4rem 1.25rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(34, 211, 165, 0.05), transparent 55%);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  min-height: 100%;
}
.home-path:hover {
  border-color: rgba(34, 211, 165, 0.55);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(34, 211, 165, 0.1), transparent 60%);
}
.home-path__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-path h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.home-path p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.home-path__go {
  margin-top: 0.65rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}
.home-path:hover .home-path__go { color: var(--accent); }

.home-cta {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(600px 240px at 15% 0%, rgba(34, 211, 165, 0.12), transparent 65%),
    var(--ink-2);
  padding: 4rem 0;
}
.home-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.home-cta h2 { margin-bottom: 0.65rem; }

@keyframes blink {
  50% { opacity: 0; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}
@keyframes lineDraw {
  from { width: 0; opacity: 0; }
  to { width: 3rem; opacity: 1; }
}

@media (max-width: 900px) {
  .home-rail__inner,
  .home-problem__grid,
  .home-steps,
  .home-paths__grid {
    grid-template-columns: 1fr;
  }
  .home-rail__inner {
    gap: 0.75rem;
  }
  .home-steps {
    gap: 0;
  }
  .home-steps li {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 1.15rem 0;
    border-top: 1px solid var(--line);
    background: transparent;
  }
  .home-steps li:last-child {
    border-bottom: 1px solid var(--line);
  }
  .home-steps__n {
    margin: 0;
    padding-top: 0.2rem;
  }
  .home-steps h3 { font-size: 1.15rem; }
  .home-paths__grid { gap: 0.75rem; }
}

@media (max-width: 640px) {
  .home-rail__inner { padding: 0.95rem 0; }
  .home-rail__cmd {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 14, 18, 0.55);
    font-size: 0.84rem;
  }
  .home-rail__note {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .home-problem__list strong { font-size: 1.05rem; }
  .home-problem__list li { padding: 1rem 0; }
  .home-promise__lede { margin-bottom: 1.25rem; }
  .home-promise__cta .btn { width: 100%; }
  .home-path {
    padding: 1.15rem 1rem;
    border-radius: 8px;
  }
  .home-path h3 { font-size: 1.2rem; }
  .home-path p { font-size: 0.94rem; }
  .home-cta {
    padding: 2.5rem 0;
  }
  .home-cta__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
  }
  .home-cta__inner .btn { width: 100%; }
  .hero__glow {
    opacity: 0.55;
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    inset: auto auto 8% -20%;
  }
}

@media (max-height: 720px) and (max-width: 640px) {
  .page-home .hero--home {
    min-height: auto;
  }
  .hero__body {
    justify-content: flex-start;
    padding-top: 1.5rem;
  }
  .hero__brand {
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }
  .hero__compat {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
