/* badge.md — brand: Seal Green #059669 on ink #0B1220 / paper #F7F7F5 */

:root {
  --seal: #059669;
  --seal-bright: #10B981;
  --ink: #0B1220;
  --ink-2: #16213A;
  --paper: #F7F7F5;
  --slate: #475569;
  --slate-lt: #94A3B8;
  --line: #E2E8F0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--seal); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--seal-bright);
  outline-offset: 2px;
}

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: #E2E8F0;
  padding-bottom: 5.5rem;
}

nav {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.seal {
  display: inline-block;
  background: var(--seal);
  color: #fff;
  border-radius: 7px;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  text-align: center;
  margin-right: 0.5em;
  font-weight: 700;
}

.nav-links { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #CBD5E1; text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--seal);
  color: #fff !important;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--seal-bright); }

.hero-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 0;
  text-align: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--seal-bright);
  font-weight: 600;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: #fff;
}

.lede {
  font-size: 1.2rem;
  color: #CBD5E1;
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.hero-badge { margin: 0 0 2.25rem; }
.hero-badge img { max-width: 100%; height: auto; }

.cta-row {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}
.btn-primary { background: var(--seal); color: #fff; }
.btn-primary:hover { background: var(--seal-bright); }
.btn-ghost { color: #E2E8F0; border: 1px solid #334155; }
.btn-ghost:hover { border-color: #64748B; color: #fff; }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--ink-2); }

.hero-note { color: var(--slate-lt); font-size: 0.9rem; margin-top: 1.5rem; }
.hero-note a { color: var(--slate-lt); }

/* ---------- sections ---------- */

.section {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-alt {
  max-width: none;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-alt > * { max-width: 44rem; margin-left: auto; margin-right: auto; }

.section-dark {
  max-width: none;
  background: var(--ink);
  color: #CBD5E1;
  text-align: center;
}
.section-dark > * { max-width: 44rem; margin-left: auto; margin-right: auto; }
.section-dark h2 { color: #fff; }
.section-dark a:not(.btn) { color: var(--seal-bright); }

h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.section-lede { color: var(--slate); max-width: 38rem; margin-top: -0.5rem; }

.prose p { margin: 0 0 1.1rem; }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 2rem auto;
  display: grid;
  gap: 1.75rem;
}

.steps li {
  counter-increment: step;
  padding-left: 3.4rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--seal);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps h3 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--slate); }

/* ---------- snippet ---------- */

.snippet-block { margin-top: 2.5rem; }
.snippet-label { font-weight: 600; margin-bottom: 0.5rem; }

.snippet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ink);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  overflow-x: auto;
}

.snippet code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88rem;
  color: #A7F3D0;
  white-space: nowrap;
}

.copy-btn {
  flex-shrink: 0;
  margin-left: auto;
  background: var(--seal);
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.copy-btn:hover { background: var(--seal-bright); }

.snippet-note { color: var(--slate); font-size: 0.92rem; margin-top: 0.6rem; }

/* ---------- badge wall ---------- */

.badge-wall {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: grid;
  gap: 1.6rem;
}

.badge-wall li { display: grid; gap: 0.35rem; justify-items: start; }
.badge-wall img { max-width: 100%; height: auto; }
.badge-caption { color: var(--slate); font-size: 0.92rem; }

/* ---------- compare ---------- */

.compare {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin: 2rem auto 0;
}

.compare dt { font-weight: 700; margin-bottom: 0.3rem; }
.compare dd { margin: 0; color: var(--slate); }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--slate);
}
footer a { color: var(--slate); }
.fineprint { font-size: 0.8rem; color: var(--slate-lt); }

/* ---------- motion & small screens ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (max-width: 480px) {
  .nav-links { gap: 0.9rem; font-size: 0.9rem; }
  .hero-inner { padding-top: 3rem; }
}
