:root {
  --canvas: #f5f5f7;
  --surface: #f3f3f3;
  --surface-strong: #ffffff;
  --overlay: rgba(0, 0, 0, 0.05);
  --overlay-hover: rgba(0, 0, 0, 0.10);
  --ink: #0f0e12;
  --card-ink: #1a1a1a;
  --muted: #4f4f4f;
  --soft: rgba(26, 26, 26, 0.62);
  --accent: #00c805;
  --accent-deep: #0a7a4b;
  --blocked: #b42318;
  --warning: #9a6a00;
  --border: rgba(15, 14, 18, 0.11);
  --focus: rgba(0, 200, 5, 0.24);
  --radius-card: 25px;
  --radius-control: 999px;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)) 0 0 / 100% 360px no-repeat,
    var(--canvas);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(15, 14, 18, 0.03) 1px, transparent 1px);
  background-size: 100% 8px;
  opacity: 0.42;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 750;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.nav-pills {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: var(--radius-control);
  background: var(--overlay);
}

.nav-pills a {
  min-height: 32px;
  border-radius: var(--radius-control);
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  padding: 10px 12px 0;
}

.nav-pills a:hover {
  background: var(--overlay-hover);
  color: var(--ink);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.94fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: center;
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(78px, 11vh, 128px) 0 54px;
}

.dossier {
  min-width: 0;
}

.dossier-spread {
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.guide-cover,
.bundle-cover,
.offer-card,
.artifact-grid article,
.proof-panel,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface-strong) 58%, var(--surface));
}

.guide-cover {
  overflow: hidden;
  align-self: end;
  min-height: 420px;
}

.guide-cover img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
}

.bundle-cover {
  display: grid;
  gap: 20px;
  align-content: space-between;
  min-height: 520px;
  padding: 18px;
}

.file-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.file-topline b {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--ink);
  padding: 0 10px;
}

.file-grid {
  display: grid;
  gap: 8px;
}

.file-grid span {
  display: flex;
  min-height: 38px;
  align-items: center;
  border-radius: 14px;
  background: var(--overlay);
  color: var(--card-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 0 12px;
}

.source-note {
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 11%, var(--surface));
  padding: 14px;
}

.source-note b {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 10px;
}

.source-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9.8ch;
  margin-bottom: 0;
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 540;
  letter-spacing: 0;
  line-height: 0.88;
}

h1 span {
  display: block;
}

h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 520;
  line-height: 0.96;
}

h3 {
  margin-bottom: 0;
  font-size: 21px;
  font-weight: 590;
  line-height: 1.08;
}

.lede {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.hero-actions,
.offer-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  background: var(--overlay);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  padding: 0 16px;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover {
  background: var(--overlay-hover);
}

.button:active {
  transform: scale(0.96);
}

.button.primary {
  background: var(--ink);
  color: var(--canvas);
}

.button.primary.live {
  background: var(--accent);
  color: var(--ink);
}

.button.pending {
  cursor: not-allowed;
  background: var(--overlay);
  color: var(--muted);
}

.boundary {
  max-width: 34rem;
  margin-bottom: 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--blocked) 8%, var(--surface));
  color: var(--blocked);
  font-size: 13px;
  line-height: 1.42;
  padding: 12px 14px;
}

.section {
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 0;
}

.section.narrow {
  max-width: 43rem;
}

.section.narrow p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.problem {
  padding-top: 24px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

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

.offer-card {
  display: grid;
  gap: 22px;
  align-content: space-between;
  min-height: 520px;
  padding: 20px;
}

.offer-card.featured {
  background: color-mix(in srgb, var(--accent) 8%, var(--surface-strong));
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
}

.offer-card.muted-card {
  opacity: 0.78;
}

.offer-kicker {
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.offer-card p:not(.offer-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.offer-card ul,
.tight-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.offer-footer {
  justify-content: space-between;
  padding-top: 4px;
}

.offer-footer strong {
  font-size: 24px;
  line-height: 1;
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.artifact-grid article {
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: 18px;
}

.artifact-grid span {
  width: max-content;
  border-radius: var(--radius-control);
  background: var(--overlay);
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  padding: 8px 10px;
}

.artifact-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.proof-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
}

.proof-panel {
  overflow: hidden;
  padding: 20px;
}

pre {
  overflow: auto;
  margin: 16px 0 0;
  border-radius: 16px;
  background: var(--overlay);
  color: var(--card-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  padding: 16px;
  white-space: pre-wrap;
}

.proof-panel .tight-list {
  margin-top: 16px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--card-ink);
  font-weight: 620;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1060px) {
  .hero-shell,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .artifact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    width: min(100%, 43rem);
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  html {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-pills {
    width: 100%;
    overflow-x: auto;
  }

  .hero-shell,
  .section,
  .section.narrow,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero-shell {
    padding-top: 34px;
  }

  .hero-copy {
    order: -1;
    width: 100%;
    max-width: 320px;
    min-width: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .lede,
  .boundary,
  .dossier,
  .dossier-spread,
  .guide-cover,
  .bundle-cover {
    max-width: 100%;
    min-width: 0;
  }

  .dossier {
    max-width: 320px;
  }

  .boundary {
    overflow-wrap: anywhere;
  }

  .dossier-spread,
  .offer-grid,
  .artifact-grid {
    grid-template-columns: 1fr;
  }

  .guide-cover,
  .guide-cover img,
  .bundle-cover {
    min-height: 360px;
  }

  h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(36px, 11.5vw, 46px);
    line-height: 0.96;
  }

  .offer-card {
    min-height: auto;
  }
}

/* Forms: recovery, waitlist, support */

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.stacked-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 8px;
  max-width: 34rem;
}

.stacked-form label {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}

.inline-form input[type="email"],
.stacked-form input[type="email"],
.stacked-form select,
.stacked-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 0;
}

.inline-form input[type="email"] {
  flex: 1 1 220px;
  border-radius: var(--radius-control);
}

.inline-form input:focus,
.stacked-form input:focus,
.stacked-form select:focus,
.stacked-form textarea:focus {
  outline: 3px solid var(--focus);
  border-color: var(--accent-deep);
}

.stacked-form textarea {
  resize: vertical;
}

.stacked-form .button {
  align-self: flex-start;
  margin-top: 6px;
}

.fine-print a {
  text-decoration: underline;
}

/* Legal pages */

.legal-page h2 {
  margin-top: 28px;
  font-size: 19px;
}

.legal-page ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.legal-page ul li {
  margin-bottom: 6px;
}

/* Footer links */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: underline;
  color: var(--soft);
}

.footer-links a:hover {
  color: var(--ink);
}
