:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f1eb;
  --surface: #ffffff;
  --ink: #14161a;
  --muted: #5b6270;
  --line: #e4e0d7;
  --accent: #0b8f63;
  --accent-ink: #ffffff;
  --accent-soft: #dff3ea;
  --amber: #b26b00;
  --amber-soft: #fbefd9;
  --red: #c93c3c;
  --red-soft: #fbe3e3;
  --cyan: #0b7c99;
  --cyan-soft: #dcf0f5;
  --gray-soft: #ecebe6;
  --term-bg: #0d1117;
  --term-ink: #d6dbe3;
  --term-line: #222833;
  --shadow: 0 1px 2px rgb(20 22 26 / 6%), 0 12px 40px -12px rgb(20 22 26 / 18%);
  --radius: 14px;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0d10;
    --bg-alt: #101318;
    --surface: #14181e;
    --ink: #e8eaee;
    --muted: #9aa3b2;
    --line: #232831;
    --accent: #34d399;
    --accent-ink: #062018;
    --accent-soft: #0f2a21;
    --amber: #f5b14c;
    --amber-soft: #2b2112;
    --red: #f87171;
    --red-soft: #2c1517;
    --cyan: #5ccbe6;
    --cyan-soft: #0f2730;
    --gray-soft: #1c2129;
    --term-bg: #07090c;
    --term-line: #1b2029;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 20px 50px -20px rgb(0 0 0 / 70%);
  }
}
:root[data-theme='dark'] {
  --bg: #0b0d10;
  --bg-alt: #101318;
  --surface: #14181e;
  --ink: #e8eaee;
  --muted: #9aa3b2;
  --line: #232831;
  --accent: #34d399;
  --accent-ink: #062018;
  --accent-soft: #0f2a21;
  --amber: #f5b14c;
  --amber-soft: #2b2112;
  --red: #f87171;
  --red-soft: #2c1517;
  --cyan: #5ccbe6;
  --cyan-soft: #0f2730;
  --gray-soft: #1c2129;
  --term-bg: #07090c;
  --term-line: #1b2029;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 20px 50px -20px rgb(0 0 0 / 70%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--gray-soft);
  padding: 0.1em 0.35em;
  border-radius: 5px;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 750;
}
h3 {
  font-size: 1.1rem;
  font-weight: 650;
}
p {
  margin: 0 0 1em;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}
.narrow-wrap {
  width: min(760px, 100% - 32px);
}
.narrow {
  max-width: 640px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.center {
  text-align: center;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.eyebrow {
  font: 600 0.78rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Deadline bar */
.deadline {
  background: var(--ink);
  color: var(--bg);
  font-size: 0.875rem;
}
.deadline__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 0;
  flex-wrap: wrap;
  text-align: center;
}
.deadline__link {
  color: var(--bg);
  font-weight: 600;
  text-underline-offset: 3px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 0 0 rgb(248 113 113 / 60%);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgb(248 113 113 / 0%);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(248 113 113 / 0%);
  }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 1.15rem/1 var(--sans);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo__mark {
  width: 28px;
  height: 28px;
}
.logo__bg {
  fill: var(--ink);
}
.logo__drift {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.4;
  stroke-linecap: round;
}
.logo__fix {
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
}
.nav nav {
  margin-left: auto;
}
.nav__links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--muted);
}
.nav__links a:hover {
  color: var(--ink);
}
@media (max-width: 860px) {
  .nav nav {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  box-shadow: none;
  border-color: var(--muted);
}
.btn--small {
  padding: 8px 14px;
  font-size: 0.9rem;
}
.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 400px at 85% -10%, var(--accent-soft), transparent 70%),
    radial-gradient(700px 360px at -10% 10%, var(--amber-soft), transparent 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}
.hl {
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
}
.lede em {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}
.cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 10px 10px 18px;
  background: var(--term-bg);
  color: var(--term-ink);
  border-radius: 12px;
  font-family: var(--mono);
  box-shadow: var(--shadow);
  max-width: 480px;
  text-align: left;
}
.cmd code {
  background: none;
  padding: 0;
  font-size: 0.95rem;
  flex: 1;
  white-space: nowrap;
  overflow-x: auto;
}
.cmd__prompt {
  color: #34d399;
}
.cmd__copy {
  font: 600 0.8rem var(--sans);
  background: #1f2632;
  color: var(--term-ink);
  border: 1px solid #2c3442;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  flex: none;
}
.cmd__copy:hover {
  background: #2a3341;
}
.cmd__copy.is-done {
  color: #34d399;
}
.hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.hint a {
  color: var(--muted);
}
.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Terminal */
.term {
  background: var(--term-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--term-line);
  overflow: hidden;
  min-width: 0;
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--term-line);
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2b313c;
}
.term__tabs {
  margin-left: auto;
  display: flex;
  gap: 4px;
  background: #151a22;
  padding: 3px;
  border-radius: 8px;
}
.term__tabs button {
  font: 500 0.78rem var(--mono);
  color: #8a93a3;
  background: transparent;
  border: 0;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.term__tabs button[aria-selected='true'] {
  background: #253041;
  color: #e8eaee;
}
.term__body {
  margin: 0;
  padding: 18px 20px 22px;
  color: var(--term-ink);
  font: 400 0.8rem/1.6 var(--mono);
  overflow-x: auto;
  min-height: 430px;
}
.term__body.is-in {
  animation: fade 0.35s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
.t-dim {
  color: #6b7485;
}
.t-bold {
  color: #fff;
  font-weight: 700;
}
.t-red {
  color: #f87171;
  font-weight: 700;
}
.t-green {
  color: #34d399;
  font-weight: 700;
}
.t-cyan {
  color: #5ccbe6;
}

/* Sections */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
}
section[id],
.cmd[id] {
  scroll-margin-top: 80px;
}
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.chores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.chores li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.chores span {
  font: 600 0.8rem var(--mono);
  color: var(--muted);
  min-width: 22px;
}
.chores__x {
  border-color: var(--red) !important;
  background: var(--red-soft) !important;
  font-weight: 600;
}
.chores__x span {
  color: var(--red);
  font-size: 1.1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.step__n {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font: 700 0.9rem var(--mono);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.catches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 860px) {
  .catches {
    grid-template-columns: 1fr;
  }
}
.catch {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px dashed var(--line);
}
.pill {
  display: inline-block;
  font: 700 0.7rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 8px;
  border-radius: 6px;
  margin-right: 8px;
  margin-bottom: 6px;
}
.pill--red {
  background: var(--red-soft);
  color: var(--red);
}
.pill--amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.pill--cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
}
.pill--gray {
  background: var(--gray-soft);
  color: var(--muted);
}

/* Trust */
.levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .levels {
    grid-template-columns: 1fr;
  }
}
.level {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid;
}
.level p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.level--high {
  border-top-color: var(--accent);
}
.level--med {
  border-top-color: var(--amber);
}
.level--low {
  border-top-color: var(--red);
}
.badge {
  font: 700 0.7rem/1 var(--mono);
  padding: 5px 7px;
  border-radius: 6px;
  margin-right: 6px;
  vertical-align: 2px;
}
.badge--green {
  background: var(--accent-soft);
  color: var(--accent);
}
.badge--amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.badge--red {
  background: var(--red-soft);
  color: var(--red);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
@media (max-width: 860px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: 0;
}
@media (max-width: 860px) {
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
.stat__n {
  font: 800 clamp(1.8rem, 3vw, 2.4rem) / 1 var(--sans);
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 10px;
}
.stat__l {
  font-size: 0.9rem;
  color: var(--muted);
}
.stat__l strong {
  color: var(--ink);
  font-weight: 600;
}
.footnote {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 18px;
  max-width: 760px;
}
.footnote.center {
  margin-inline: auto;
  margin-top: 28px;
}

/* Privacy */
.privacy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
@media (max-width: 860px) {
  .privacy {
    grid-template-columns: 1fr;
  }
}
.privacy__item p {
  color: var(--muted);
  margin: 0;
}

/* Agencies */
.agency {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 860px) {
  .agency {
    grid-template-columns: 1fr;
  }
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  padding-left: 32px;
  position: relative;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b8f63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/16px no-repeat;
}
.pilot {
  padding: 32px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.pilot p {
  color: var(--muted);
}
.reach {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.85rem;
}
.reach__label {
  color: var(--muted);
}
.reach__addr {
  font-size: 0.82rem;
  user-select: all;
}
.reach__btn {
  font: 600 0.78rem var(--sans);
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 9px;
  cursor: pointer;
  text-decoration: none;
}
.reach__btn:hover {
  border-color: var(--muted);
}
.reach__btn.is-done {
  color: var(--accent);
  border-color: var(--accent);
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 960px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.plan {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.plan--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 0.7rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 9px;
  border-radius: 6px;
}
.plan__price {
  font: 800 2.2rem/1 var(--sans);
  letter-spacing: -0.03em;
  margin: 6px 0 4px;
}
.plan__price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.plan__for {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.plan ul {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}
.plan li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
details:first-of-type {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  font: 400 1.4rem/1 var(--mono);
  color: var(--muted);
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  color: var(--muted);
  margin: 12px 0 0;
}

/* Final CTA */
.final {
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(700px 300px at 50% 120%, var(--accent-soft), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.final__inner {
  text-align: center;
}
.final h2 {
  max-width: 18em;
  margin-inline: auto;
}
.cmd--center {
  margin-inline: auto;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 32px;
  align-items: start;
}
.footer__links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}
.footer__links a {
  color: var(--muted);
}
.footer__legal {
  grid-column: 1 / -1;
  margin: 0;
}
.logo--small {
  font-size: 1rem;
  margin-bottom: 6px;
}
@media (max-width: 560px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* npm */
.npm-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: none;
}
.nav__npm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}
.nav__npm:hover {
  color: var(--ink);
}
.nav__npm .npm-icon {
  color: #cb3837;
}
@media (max-width: 860px) {
  .nav__npm {
    margin-left: auto;
  }
  .nav__npm + .btn {
    margin-left: 0;
  }
}
.ver {
  font: 600 0.72rem/1 var(--mono);
  padding: 4px 6px;
  border-radius: 6px;
  background: var(--gray-soft);
  color: var(--muted);
}
.ver--on {
  background: color-mix(in srgb, var(--accent-ink) 18%, transparent);
  color: inherit;
}
.btn .npm-icon {
  color: #cb3837;
}
.btn:not(.btn--ghost) .npm-icon {
  color: currentColor;
}

/* Get started */
.quick {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  display: grid;
  gap: 14px;
  max-width: 720px;
  text-align: left;
}
.quick li {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.quick li > div {
  min-width: 0;
  flex: 1;
}
.quick p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}
.quick .cmd {
  margin-top: 14px;
  max-width: none;
  padding: 8px 8px 8px 14px;
}
.quick .cmd code {
  font-size: 0.82rem;
}
.quick__n {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font: 700 0.85rem var(--mono);
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.get {
  margin-top: 36px;
}
