:root {
  --ink: #171318;
  --paper: #fffaf1;
  --white: #ffffff;
  --cream: #fff0c9;
  --mint: #c9f7e8;
  --pink: #ffd7e8;
  --blue: #d8ecff;
  --lavender: #e8dcff;
  --peach: #ffd9bf;
  --green: #18b98f;
  --orange: #ff8a4c;
  --gold: #ffd166;
  --muted: #625c68;
  --line: #171318;
  --shadow: 7px 7px 0 var(--ink);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 247, 232, 0.9), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(255, 215, 232, 0.85), transparent 26rem),
    radial-gradient(circle at 50% 92%, rgba(216, 236, 255, 0.9), transparent 28rem);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container,
.article-shell {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(255, 250, 241, 0.78);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 10px 12px 10px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--mint);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #05785f;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.secondary {
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 215, 232, 0.65), rgba(216, 236, 255, 0.78)),
    var(--cream);
  padding: 68px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
  padding: 0;
}

.hero-media {
  position: relative;
  inset: auto;
  z-index: 0;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 rgba(23, 19, 24, 0.24);
  transform: rotate(1.3deg);
  padding: 12px;
}

.hero-media::before {
  content: "Made in the club";
  display: inline-flex;
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  border: 2px solid var(--ink);
  background: var(--mint);
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.hero-media::after {
  content: "";
  display: block;
  position: absolute;
  right: -16px;
  bottom: -18px;
  width: 46%;
  height: 34%;
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, var(--ink) 12px, transparent 12px) 0 0 / 22px 100%,
    var(--lavender);
  box-shadow: 6px 6px 0 var(--ink);
}

.terminal-card {
  border: 3px solid var(--ink);
  background: var(--ink);
  color: #d7fff3;
  box-shadow: 10px 10px 0 rgba(23, 19, 24, 0.24);
  padding: 0;
  transform: rotate(1deg);
}

.terminal-top {
  display: flex;
  gap: 6px;
  border-bottom: 3px solid var(--ink);
  background: var(--cream);
  padding: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.dot:nth-child(1) { background: var(--pink); }
.dot:nth-child(2) { background: var(--gold); }
.dot:nth-child(3) { background: var(--mint); }

.terminal-body {
  padding: 18px;
  font-family: "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: 0.92rem;
}

.terminal-body p {
  margin: 0 0 10px;
}

.prompt {
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  background: var(--mint);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 7px 10px;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.eyebrow::before {
  content: none;
}

h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 6.7vw, 6.4rem);
  max-width: 820px;
  font-weight: 1000;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 5rem);
  font-weight: 1000;
  text-transform: uppercase;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.08;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  font-weight: 680;
  max-width: 700px;
}

.hero-actions,
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--ink);
}

.pill {
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.band {
  padding: 82px 0;
  border-bottom: 4px solid var(--ink);
  background: var(--white);
}

.band:nth-of-type(odd) {
  background: var(--cream);
}

.band.tight {
  padding: 42px 0;
  background: var(--mint);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.48fr);
  gap: 24px;
  align-items: end;
  max-width: none;
  margin-bottom: 32px;
}

.section-head p,
.muted {
  color: var(--muted);
  font-weight: 650;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat,
.card,
.phase,
.article-card,
.price-box,
.faq-item,
.timeline-item {
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.stat {
  padding: 22px;
  background: var(--white);
}

.stat:nth-child(2) { background: var(--pink); }
.stat:nth-child(3) { background: var(--blue); }
.stat:nth-child(4) { background: var(--lavender); }

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 1000;
}

.stat span {
  font-weight: 800;
}

.grid-3,
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2,
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.split {
  gap: 34px;
  align-items: start;
}

.card,
.phase,
.article-card,
.price-box,
.faq-item {
  padding: 24px;
}

.card:nth-child(2),
.phase:nth-child(2),
.article-card:nth-child(2n) {
  background: var(--mint);
}

.card:nth-child(3),
.phase:nth-child(3),
.article-card:nth-child(3n) {
  background: var(--pink);
}

.card:nth-child(4),
.phase:nth-child(4),
.article-card:nth-child(4n) {
  background: var(--blue);
}

.phase:nth-child(5),
.article-card:nth-child(5n) {
  background: var(--lavender);
}

.phase:nth-child(6) {
  background: var(--peach);
}

.card p,
.phase p,
.article-card p,
.faq-item p {
  color: var(--muted);
  font-weight: 630;
}

.number {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 12px;
  background: var(--ink);
  color: var(--white);
  font-weight: 950;
  padding: 0 10px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--mint);
  color: var(--ink);
  font-weight: 950;
  line-height: 1;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.timeline-item strong {
  text-transform: uppercase;
  font-weight: 950;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.article-card {
  display: block;
  min-height: 100%;
}

.article-card small {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--ink);
  border: 2px solid var(--ink);
  background: var(--white);
  padding: 4px 8px;
  font-weight: 950;
  text-transform: uppercase;
}

.price-box {
  background: var(--gold);
}

.price {
  margin: 18px 0;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 1000;
  line-height: 0.95;
  text-transform: uppercase;
}

.faq {
  display: grid;
  gap: 12px;
}

.footer {
  padding: 40px 0;
  border-top: 4px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--paper);
  font-weight: 850;
}

.article-hero {
  padding: 74px 0 38px;
  border-bottom: 4px solid var(--ink);
}

.article-shell {
  max-width: 920px;
}

.article-shell h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.article-body {
  padding: 42px 0 82px;
}

.article-body p,
.article-body li {
  color: #34303a;
  font-weight: 590;
}

.article-body h2 {
  margin-top: 42px;
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
}

.article-body h3 {
  margin-top: 28px;
}

.article-body a {
  color: #05785f;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toc {
  padding: 18px;
  border: 3px solid var(--ink);
  background: var(--mint);
  box-shadow: var(--shadow);
}

@media (max-width: 920px) {
  .nav-inner {
    border-radius: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .stats,
  .grid-3,
  .grid-2,
  .split,
  .phases,
  .article-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .hero-media,
  .terminal-card {
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }
}
