/* ============================================================
   FIRST CLOZE — shared design system
   Blue-forward, near-monochrome, editorial. Inter primary.
   IBM Plex Mono only for the file-tree code panel.
   ============================================================ */

:root {
  /* Tokens (per DESIGN-LANGUAGE.md) */
  --ink:        #202020;
  --green:      #004225;             /* THE accent — forest green */
  --green-dark: #00311C;             /* hover / deeper accent */
  --blue:       var(--green);        /* legacy alias: accent is now green */
  --blue-dark:  var(--green-dark);   /* legacy alias */
  --gray:       #6B7280;
  --gray-light: #9CA3AF;
  --panel-bone: #F8F8F6;
  --tint:       #E7F1EB;
  --header-bg:  #F3F4F6;
  --rule:       #E5E7EB;

  /* Aliases — existing classnames continue to read these, now flipped to the new palette */
  --base:       #ffffff;
  --base-2:     #ffffff;
  --panel:      var(--panel-bone);
  --panel-2:    var(--panel-bone);
  --line:       var(--rule);
  --bone:       var(--ink);          /* was light cream → now ink (primary text) */
  --bone-dim:   var(--gray);
  --bone-faint: var(--gray-light);
  --amber:      var(--blue);         /* THE single accent */
  --amber-dim:  var(--blue-dark);
  --pos:        var(--blue);         /* fold into the single accent */

  --radius: 0;
  --maxw: 1080px;
  --readw: 720px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--base);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  overflow-x: hidden;
}
/* No body::before background overlay — kept transparent for the white aesthetic */
body::before { content: none; }

.wrap { width: 80%; margin: 0 auto; padding: 0; position: relative; z-index: 1; }
.narrow { max-width: var(--readw); }
.mono { font-family: "IBM Plex Mono", monospace; }
a { color: inherit; }
strong { font-weight: 600; }

/* ---------- eyebrow / subhead ---------- */
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
}
.eyebrow::before { content: none; }     /* drop the leading hairline from the prior system */
.eyebrow.center { display: block; text-align: center; }

h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--gray); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn .arr { transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.nav-inner { width: 80%; margin: 0 auto; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark .logo { height: 34px; width: auto; display: block; }
.wordmark small {
  color: var(--gray);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-family: "Inter", sans-serif;
}
/* legacy bits inside .wordmark kept for safety, restyled */
.wordmark .dot { display: none; }
.wordmark .fc { display: inline-flex; align-items: baseline; gap: 1px; }
.wordmark .fc-first { font-family: "Inter", sans-serif; font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.wordmark .fc-cloze { font-family: "Inter", sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }

.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-link { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--blue); }

/* ---------- generic section ---------- */
section.band { padding: 72px 0; position: relative; z-index: 1; }
section.band.tight { padding: 44px 0; }
.band-head { max-width: 44em; margin-bottom: 40px; }
.band-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.band-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 12px; }
.band-head p { color: var(--gray); margin-top: 16px; font-size: 16px; line-height: 1.55; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { padding: 80px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); margin: 18px 0 0; letter-spacing: -0.03em; line-height: 1.05; }
.hero h1 .em { color: var(--blue); }
.hero .lede { color: var(--gray); font-size: 17px; max-width: 32em; margin-top: 20px; line-height: 1.55; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { font-family: "Inter", sans-serif; font-size: 11px; color: var(--gray); margin-top: 18px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }

/* page hero (internal pages) — section title with accent rule */
.page-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--blue);
  margin-bottom: 8px;
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin-top: 14px; max-width: 18em; letter-spacing: -0.02em; line-height: 1.1; }
.page-hero p { color: var(--gray); font-size: 17px; margin-top: 16px; max-width: 40em; line-height: 1.55; }
.page-hero .wrap { padding-bottom: 16px; }

/* ---------- manifest (file-tree code panel) ---------- */
.manifest {
  background: var(--panel-bone);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.manifest-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--rule); background: #fff; }
.manifest-bar .tl { width: 6px; height: 6px; border-radius: 0; background: var(--gray-light); }
.manifest-bar .tl.amb { background: var(--blue); }
.manifest-bar .label { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--gray); margin-left: 6px; letter-spacing: 0.04em; }
.manifest pre {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px; line-height: 1.85;
  padding: 20px 18px 22px;
  color: var(--ink);
  white-space: pre; overflow-x: auto;
  background: var(--panel-bone);
}
.manifest .dir { color: var(--blue); font-weight: 600; }
.manifest .file { color: var(--ink); }
.manifest .cmt { color: var(--gray); }
.cursor { display: inline-block; width: 8px; height: 14px; background: var(--blue); vertical-align: -2px; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- for / not-for (accent cards) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qual {
  border: none;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  padding: 22px 24px 12px;
  background: var(--panel-bone);
}
.qual.not { border-left-color: var(--gray-light); }
.qual .tag {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.qual.not .tag { color: var(--gray); }
.qual ul { list-style: none; margin-top: 14px; }
.qual li {
  padding: 12px 0 12px 22px;
  position: relative;
  border-top: 1px solid var(--rule);
  color: var(--ink); font-size: 14.5px; line-height: 1.5;
}
.qual li:first-child { border-top: 0; }
.qual li::before { position: absolute; left: 0; top: 12px; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; }
.qual.for li::before { content: "+"; color: var(--blue); }
.qual.not li::before { content: "–"; color: var(--gray); }

/* ---------- modules (numbered-list pattern) ---------- */
.modules { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.module {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
  transition: background 0.2s var(--ease);
}
.module:first-child { border-top: 0; }
.module:hover { background: var(--panel-bone); }
.module .idx {
  font-family: "Inter", sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  letter-spacing: -0.01em;
}
.module .fname { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--ink); font-weight: 500; }
.module .mdesc { color: var(--gray); font-size: 14.5px; margin-top: 6px; max-width: 52em; line-height: 1.55; }
.module .mtag {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--tint);
  border: none;
  border-radius: 0;
  padding: 4px 10px;
  margin-top: 12px;
}

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.founder-photo {
  aspect-ratio: 4/5;
  border-radius: 0;
  border: 1px solid var(--rule);
  background: var(--panel-bone);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .ph-note { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--gray); text-align: center; padding: 20px; line-height: 1.6; }
.founder h2 { font-size: clamp(24px, 3vw, 32px); }
.founder p { color: var(--ink); margin-top: 14px; font-size: 15.5px; line-height: 1.55; }
.founder p strong { color: var(--ink); font-weight: 600; }

/* stat band — bracketed by 2px ink rules */
.proofbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  margin-top: 24px; margin-bottom: 0;
  gap: 0;
}
.proofbar .stat {
  border: none;
  border-right: 1px solid var(--rule);
  border-radius: 0;
  padding: 18px 18px 18px 0;
  background: transparent;
}
.proofbar .stat:first-child { padding-left: 0; }
.proofbar .stat:last-child { border-right: none; }
.proofbar .n {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.proofbar .v { color: var(--ink); font-size: 14px; margin-top: 6px; font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; }

/* placeholder pill — used by content-team to mark TBD spans */
.ph { color: var(--blue); border-bottom: 1px dotted var(--gray-light); font-weight: 500; }

/* ---------- proof of output cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard {
  border: none;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  background: var(--panel-bone);
  padding: 22px 22px;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.pcard:hover { background: var(--tint); }
.pcard .kicker {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.pcard h3 { font-size: 17px; margin-top: 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.pcard p { color: var(--gray); font-size: 14px; margin-top: 10px; flex: 1; line-height: 1.55; }
.pcard .go {
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--blue); margin-top: 16px;
}

/* ---------- newsletter signup (accent card on tint) ---------- */
.signup {
  border: none;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  background: var(--tint);
  padding: 32px 32px;
}
.signup.center { text-align: center; }
.signup h2 { font-size: clamp(24px, 3vw, 32px); color: var(--ink); }
.signup p { color: var(--ink); margin-top: 10px; font-size: 15.5px; line-height: 1.55; }
.signup-form { display: flex; gap: 8px; margin-top: 20px; max-width: 460px; }
.signup.center .signup-form { margin-left: auto; margin-right: auto; }
.signup-form input {
  flex: 1; background: #fff;
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
  padding: 12px 14px;
  font-family: "Inter", sans-serif; font-size: 14px;
}
.signup-form input::placeholder { color: var(--gray-light); }
.signup-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.signup-note { font-family: "Inter", sans-serif; font-size: 12px; color: var(--gray); margin-top: 14px; }
.signup-note a { color: var(--blue) !important; font-weight: 500; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier {
  border: none;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  padding: 26px 24px;
  display: flex; flex-direction: column;
  background: var(--panel-bone);
  position: relative;
  box-shadow: none;
}
.tier.feature {
  background: var(--blue);
  border-left-color: var(--ink);
}
.tier.feature .tname,
.tier.feature .sub,
.tier.feature .price,
.tier.feature .price small,
.tier.feature li { color: #fff; }
.tier.feature li { border-top-color: rgba(255,255,255,0.18); }
.tier.feature li::before { color: #fff; }
.tier.feature .btn-primary { background: #fff; color: var(--blue); border-color: #fff; }
.tier.feature .btn-primary:hover { background: var(--tint); border-color: var(--tint); }
.tier.feature .pop { background: var(--ink); color: #fff; }
.tier .pop {
  position: absolute; top: -10px; left: 24px;
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--blue); color: #fff;
  padding: 4px 10px; border-radius: 0;
}
.tier .tname {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.tier .price {
  font-family: "Inter", sans-serif;
  font-weight: 700; font-size: 40px;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--ink);
  margin: 12px 0 4px;
  font-variant-numeric: tabular-nums;
}
.tier .price small {
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 400;
  color: var(--gray);
  letter-spacing: 0;
}
.tier .sub { color: var(--gray); font-size: 14px; min-height: 42px; line-height: 1.55; }
.tier ul { list-style: none; margin: 18px 0 22px; flex: 1; }
.tier li {
  padding: 9px 0 9px 22px;
  position: relative;
  font-size: 14px; color: var(--ink);
  border-top: 1px solid var(--rule);
  line-height: 1.5;
}
.tier li:first-child { border-top: 0; }
.tier li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--blue); font-family: "Inter", sans-serif; font-size: 13px; top: 9px;
}
.tier .btn { width: 100%; justify-content: center; }

/* ---------- callout (accent card with seal) ---------- */
.callout {
  border: none;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  background: var(--panel-bone);
  padding: 26px 28px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 24px; align-items: start;
}
.callout .seal {
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
  background: var(--tint);
  border: none;
  border-radius: 0;
  padding: 10px 12px;
  text-align: center;
  line-height: 1.5; white-space: nowrap;
}
.callout h3 { font-size: 20px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.callout p { color: var(--ink); margin-top: 8px; font-size: 14.5px; line-height: 1.55; }
.callout a { color: var(--blue) !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; text-align: left;
  background: none; border: 0;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.005em;
  padding: 22px 40px 22px 0;
  cursor: pointer; position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute; right: 4px; top: 18px;
  font-family: "Inter", sans-serif;
  color: var(--blue); font-size: 22px; font-weight: 400;
  transition: transform 0.2s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a p { color: var(--gray); font-size: 14.5px; padding: 0 30px 22px 0; line-height: 1.55; }

/* ---------- final ---------- */
.final {
  text-align: center;
  padding: 88px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.final h2 { font-size: clamp(28px, 4.2vw, 46px); letter-spacing: -0.02em; line-height: 1.05; }
.final p { color: var(--gray); font-size: 16px; max-width: 36em; margin: 14px auto 0; line-height: 1.55; }
.final .hero-cta { justify-content: center; margin-top: 28px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); padding: 36px 0 56px; background: #fff; }
footer .wrap { display: flex; flex-direction: column; gap: 16px; }
.disc {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-style: italic; line-height: 1.6;
  color: var(--gray); max-width: 70em;
}
.disc sup { color: var(--blue); }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-row .mono {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gray);
}
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a {
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 500;
  color: var(--gray); text-decoration: none;
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--blue); }

/* ---------- prose / articles ---------- */
.prose { max-width: var(--readw); margin: 0 auto; }
.prose p { color: var(--ink); font-size: 16px; margin: 20px 0; line-height: 1.65; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose h2 { font-size: 24px; margin: 40px 0 0; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.prose h3 { font-size: 18px; margin: 28px 0 0; color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { margin: 16px 0 16px 4px; padding-left: 22px; color: var(--ink); font-size: 16px; line-height: 1.65; }
.prose li { margin: 8px 0; }
/* prose blockquote → pull-quote: blue left bar on tint */
.prose blockquote {
  border-left: 3px solid var(--blue);
  background: var(--tint);
  padding: 14px 18px;
  margin: 26px 0;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
  font-family: "IBM Plex Mono", monospace;
}
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose .lockflag { color: var(--blue); font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500; }
.meta {
  font-family: "Inter", sans-serif;
  font-size: 11px; color: var(--gray);
  letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500;
}
/* chip — small blue label on tint */
.tag-pill {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--tint);
  border: none;
  border-radius: 0;
  padding: 4px 10px;
  white-space: nowrap;
}

/* ---------- glossary ---------- */
.glossary-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 40px; }
.glossary-nav a {
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--gray);
  border: 1px solid var(--rule);
  border-radius: 0;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.glossary-nav a:hover { border-color: var(--blue); color: var(--blue); }
.gentry {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
  display: grid; grid-template-columns: 0.4fr 1fr;
  gap: 30px;
}
.gentry .term { font-family: "Inter", sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.gentry .term .aka { display: block; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 400; color: var(--gray); margin-top: 4px; font-style: italic; }
.gentry .def { color: var(--ink); font-size: 15px; line-height: 1.6; }
.gentry .def .flag { color: var(--blue); font-size: 13px; margin-top: 8px; display: block; font-weight: 500; }
.galpha {
  font-family: "Inter", sans-serif;
  font-weight: 700; font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.14em;
  padding-top: 28px;
}

/* ---------- library / cards grid ---------- */
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lib-card {
  border: none;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  background: var(--panel-bone);
  padding: 22px 24px;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: background 0.2s var(--ease);
}
.lib-card:hover { background: var(--tint); }
.lib-card.soon { opacity: 0.55; pointer-events: none; border-left-color: var(--gray-light); }
.lib-card .row { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.lib-card h3 { font-size: 18px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.lib-card p { color: var(--gray); font-size: 14px; margin-top: 10px; flex: 1; line-height: 1.55; }
.lib-card .go {
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--blue); margin-top: 16px;
}
.lib-section-title {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
  margin: 44px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--blue);
}
.lib-section-title:first-of-type { margin-top: 8px; }

/* ---------- start-here paths ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.path {
  border: none;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  background: var(--panel-bone);
  padding: 24px;
  display: flex; flex-direction: column;
}
.path .stage {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.path h3 { font-size: 20px; margin-top: 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.path .who { color: var(--gray); font-size: 14px; margin-top: 10px; line-height: 1.55; }
.path ul { list-style: none; margin: 16px 0; flex: 1; }
.path li {
  padding: 9px 0 9px 22px;
  position: relative;
  font-size: 14px; color: var(--ink);
  border-top: 1px solid var(--rule);
  line-height: 1.5;
}
.path li:first-child { border-top: 0; }
.path li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--blue); font-family: "Inter", sans-serif; font-size: 13px; top: 9px;
}
.path a.link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sample newsletter issue ---------- */
.issue {
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}
.issue-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--rule);
  background: var(--panel-bone);
}
.issue-head .label {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.issue-head h3 { font-size: 20px; margin-top: 8px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.issue-body { padding: 4px 28px 24px; }
.issue-item { padding: 22px 0; border-top: 1px solid var(--rule); }
.issue-item:first-child { border-top: 0; }
.issue-item .num {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.issue-item h4 { font-size: 16px; margin: 6px 0 8px; color: var(--ink); font-weight: 700; letter-spacing: -0.005em; }
.issue-item p { color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.issue-item p .lockflag { color: var(--blue); font-weight: 500; }

/* ---------- diagram ---------- */
.diagram-wrap {
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #fff;
  padding: 28px;
  margin: 32px 0;
}
.diagram-wrap .cap {
  font-family: "Inter", sans-serif;
  font-size: 12px; color: var(--gray);
  margin-top: 14px; text-align: center;
  font-style: italic;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .founder, .cards3, .tiers, .paths { grid-template-columns: 1fr; }
  .lib-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 340px; }
  .callout, .gentry { grid-template-columns: 1fr; }
  .callout .seal { justify-self: start; }
  .galpha { padding-top: 0; }
  .nav-link.hideable { display: none; }
  .proofbar { grid-template-columns: repeat(2, 1fr); }
  .proofbar .stat:nth-child(2) { border-right: none; }
  .proofbar .stat:nth-child(3) { border-top: 1px solid var(--rule); padding-top: 18px; padding-left: 0; }
  .proofbar .stat:nth-child(4) { border-top: 1px solid var(--rule); padding-top: 18px; }
}
/* below ~700px the 10% gutters waste space — fall back to small fixed padding */
@media (max-width: 700px) {
  .wrap { width: auto; padding: 0 24px; }
  .nav-inner { width: auto; padding: 14px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .hero { padding: 56px 0 44px; }
  .wordmark small { display: none; }
  .manifest pre { font-size: 12px; }
  .signup-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 0; }

/* ============================================================
   COMING-SOON LAUNCH GATE
   Frosted overlay that blurs the site behind it. This is a
   visual cover only — not real access control.
   TO LAUNCH: set `#coming-soon { display: none; }` here (or
   delete this block and remove the markup from each page).
   ============================================================ */
body:has(#coming-soon) { overflow: hidden; }
#coming-soon {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 32px;
  background: rgba(248, 248, 246, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  backdrop-filter: blur(16px) saturate(118%);
  overscroll-behavior: contain;
}
#coming-soon .cs-logo { width: 300px; max-width: 80%; height: auto; margin-bottom: 4px; }
#coming-soon .cs-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
#coming-soon .cs-note {
  font-size: 16px; line-height: 1.55; color: var(--gray); max-width: 30em;
}
