:root {
  --bg: #fbfdfc;
  --ink: #16201c;
  --muted: #4d5b55;
  --jade: #1f7a63;
  --jade-dark: #145744;
  --line: #e2ece8;
  --card: #ffffff;
  --prompt-bg: #f0f7f4;
  --max: 46rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 18px;
}
a { color: var(--jade-dark); }

/* header / footer */
header.site, footer.site {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 1.1rem 1.25rem;
}
header.site { border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.brand span { color: var(--jade); }
header.site nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
footer.site { border-top: 1px solid var(--line); margin-top: 4rem; color: var(--muted); font-size: .9rem; }

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* homepage is wider than the reading column used by lessons */
main.home { max-width: 62rem; }

/* shared CTA buttons */
.cta {
  display: inline-block; background: var(--jade); color: #fff; text-decoration: none;
  font-weight: 700; padding: .8rem 1.4rem; border-radius: 10px;
}
.cta:hover { background: var(--jade-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 0 0 1.1rem; }
/* secondary CTA is deliberately subordinate — a plain link, not a competing button */
.cta-ghost {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem;
}
.cta-ghost:hover { color: var(--jade-dark); text-decoration: underline; }
/* nav "Get started" pill */
header.site nav { display: flex; gap: .9rem; align-items: center; }
.nav-cta { background: var(--jade); color: #fff !important; padding: .35rem .8rem; border-radius: 8px; }
.nav-cta:hover { background: var(--jade-dark); }

/* hero — split: copy left, ask/delegate demo right */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
  padding: 3.25rem 0 2.5rem;
}
.hero h1 { font-size: 2.7rem; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1rem; }
.hero h1 em { color: var(--jade); font-style: normal; }
.lede { font-size: 1.18rem; color: var(--muted); margin: 0 0 1.4rem; }
.trust { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.trust strong { color: var(--ink); }

/* the ask-vs-delegate demo card */
.hero-demo { display: flex; flex-direction: column; gap: .9rem; }
.bubble { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; background: var(--card); }
.bubble .tag { font-size: .82rem; font-weight: 700; color: var(--muted); }
.bubble .q { font-weight: 600; margin: .4rem 0 .3rem; }
.bubble .a { color: var(--muted); margin: 0; font-size: .95rem; }
.bubble .a .muted { color: var(--ink); font-style: italic; font-weight: 600; }
.bubble.delegate { background: var(--prompt-bg); border-color: #bfe0d4; border-left: 4px solid var(--jade); }
.bubble.delegate .tag { color: var(--jade-dark); }
.receipt { list-style: none; margin: .5rem 0 .3rem; padding: 0; font-family: var(--mono); font-size: .88rem; }
.receipt li { padding: .12rem 0 .12rem 1.4rem; position: relative; opacity: 0; animation: receipt .5s ease forwards; }
.receipt li::before { content: "✓"; position: absolute; left: 0; color: var(--jade); font-weight: 700; }
.receipt li:nth-child(1) { animation-delay: .15s; }
.receipt li:nth-child(2) { animation-delay: .5s; }
.receipt li:nth-child(3) { animation-delay: .85s; }
.receipt-done { margin: .3rem 0 0; font-weight: 700; color: var(--jade-dark); opacity: 0; animation: receipt .4s ease 1.2s forwards; }
@keyframes receipt { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .receipt li, .receipt-done { opacity: 1; animation: none; }
}

/* two ways to learn */
.ways { margin: 1rem 0 1.5rem; }
.ways > h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.ways-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.1rem; align-items: start; }
.way { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; background: var(--card); }
.cmd { min-width: 0; }
.way h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.way p { margin: .4rem 0; }
.way-primary { background: var(--prompt-bg); border-color: #bfe0d4; box-shadow: 0 2px 0 rgba(31,122,99,.12); }
.cmd { display: flex; gap: .5rem; align-items: stretch; margin: .9rem 0 .4rem; }
.cmd code {
  flex: 1; min-width: 0; background: #0f1f1a; color: #d7efe6; padding: .7rem .85rem; border-radius: 9px;
  font-family: var(--mono); font-size: .8rem; overflow-x: auto; white-space: nowrap;
}
.way-note { font-size: .88rem; color: var(--jade-dark); font-weight: 600; margin: .2rem 0 .4rem; }
.copy {
  flex: none; border: 0; background: var(--jade); color: #fff; font-weight: 700; cursor: pointer;
  padding: 0 .9rem; border-radius: 9px; font-size: .85rem;
}
.copy:hover { background: var(--jade-dark); }
.way-sub { font-size: .9rem; color: var(--muted); }
.way-bullets { margin: .7rem 0 0; padding-left: 1.2rem; color: var(--ink); }
.way-bullets li { margin: .2rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.chip { font-size: .82rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.chip.scratch { background: #e8f5ef; color: var(--jade-dark); }
.chip.intermediate { background: #fff3e0; color: #9a5b00; }
.chip.power { background: #ede7ff; color: #4b35a8; }
.way-link { display: inline-block; margin-top: .3rem; font-weight: 700; text-decoration: none; color: var(--jade-dark); }

/* narrative bands */
.band { margin: 2.4rem 0; max-width: 44rem; }
.band h2 { font-size: 1.6rem; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .6rem; }
.band p { font-size: 1.08rem; color: var(--ink); margin: .5rem 0; }
.band.authority, .band.empathy, .band.success, .band.finalcta {
  background: var(--prompt-bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem 1.8rem; max-width: none;
}
.proof-note { color: var(--muted); font-size: .95rem; }
.finalcta .risk { list-style: none; margin: .8rem 0 1.2rem; padding: 0; }
.finalcta .risk li { padding: .25rem 0 .25rem 1.6rem; position: relative; color: var(--ink); }
.finalcta .risk li::before { content: "✓"; position: absolute; left: 0; color: var(--jade); font-weight: 700; }
.finalcta .share { margin: 1.2rem 0 0; color: var(--muted); }
.finalcta .share a { font-weight: 700; color: var(--jade-dark); text-decoration: none; }
.finalcta .share a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  /* headline + CTA lead on mobile; the demo proves it right after (not before) */
  .hero { grid-template-columns: 1fr; gap: 1.4rem; padding-top: 1.5rem; }
  .hero h1 { font-size: 2.1rem; }
  .ways-grid { grid-template-columns: 1fr; }
  .cmd code { font-size: .72rem; }
}

/* tracks + lesson list */
.tracks { padding-top: 1rem; }
.track { margin: 2.5rem 0; }
.track h2 { font-size: 1.5rem; margin: 0 0 .25rem; }
.track-blurb { color: var(--muted); margin: 0 0 1rem; }
.lesson-list { list-style: none; margin: 0; padding: 0; }
.lesson-list li { margin: .6rem 0; }
.lesson-list a {
  display: flex; gap: 1rem; align-items: center; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem;
  transition: border-color .15s, transform .15s;
}
.lesson-list a:hover { border-color: var(--jade); transform: translateY(-1px); }
.lesson-num {
  flex: none; width: 2rem; height: 2rem; display: grid; place-items: center;
  background: var(--prompt-bg); color: var(--jade-dark); font-weight: 700; border-radius: 8px;
}
.lesson-meta { display: flex; flex-direction: column; }
.lesson-meta em { color: var(--muted); font-style: normal; font-size: .95rem; }

/* lesson page */
.lesson-wrap { padding-top: 2rem; }
.crumb { color: var(--muted); font-size: .9rem; }
.crumb a { color: var(--muted); }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .5rem; border-radius: 6px; }
.badge.scratch { background: #e8f5ef; color: var(--jade-dark); }
.badge.intermediate { background: #fff3e0; color: #9a5b00; }
.badge.power { background: #ede7ff; color: #4b35a8; }
.lesson h1 { font-size: 2.1rem; line-height: 1.15; letter-spacing: -.02em; margin: .4rem 0 1.25rem; }
.lesson h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
.lesson p { margin: 1rem 0; }
.lesson ul, .lesson ol { padding-left: 1.3rem; }

/* the copy-paste prompt cards (markdown blockquotes) */
.lesson blockquote {
  margin: 1.25rem 0; padding: 1rem 1.1rem; background: var(--prompt-bg);
  border: 1px solid var(--line); border-left: 4px solid var(--jade); border-radius: 10px;
  font-family: var(--mono); font-size: .95rem; color: var(--jade-dark); line-height: 1.55;
}
.lesson blockquote p { margin: .3rem 0; }
.lesson code {
  font-family: var(--mono); font-size: .9em; background: #eef4f1; padding: .1rem .35rem; border-radius: 5px;
}
.lesson pre { background: #0f1f1a; color: #d7efe6; padding: 1rem; border-radius: 10px; overflow-x: auto; }
.lesson pre code { background: none; padding: 0; }

/* "reading isn't the course" banner — top of every lesson page */
.reading-warn {
  margin: 1.1rem 0 1.6rem; padding: .85rem 1.1rem; background: #fff7e6;
  border: 1px solid #f0dba6; border-left: 4px solid #e0a92e; border-radius: 10px;
  font-size: .96rem; line-height: 1.5; color: #5b4a1e;
}
.reading-warn strong { color: #3f3413; }
.reading-warn a { font-weight: 700; color: var(--jade-dark); white-space: nowrap; }

/* "now actually do it" CTA — end of every lesson */
.do-it {
  margin: 2.4rem 0 0; padding: 1.4rem 1.5rem; background: var(--prompt-bg);
  border: 1px solid var(--line); border-left: 4px solid var(--jade); border-radius: 12px;
}
.do-it h3 { margin: 0 0 .4rem; font-size: 1.25rem; color: var(--ink); }
.do-it p { margin: 0 0 1rem; color: var(--muted); line-height: 1.55; }

/* "take the course" section subhead */
.ways-sub { max-width: 42rem; margin: -.4rem 0 1.6rem; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.ways-sub em { color: var(--jade-dark); font-style: normal; font-weight: 600; }

/* prev / next */
.prevnext { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prevnext a { text-decoration: none; font-weight: 600; color: var(--jade-dark); }
.prevnext .next { margin-left: auto; text-align: right; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero h1 { font-size: 2rem; }
}

/* connect on-ramp (no-terminal path) */
.connect-steps { margin: 1rem 0; padding-left: 1.3rem; }
.connect-steps li { margin: .55rem 0; line-height: 1.5; }
.connect-steps.big li { margin: 1.1rem 0; padding-left: .3rem; }
.connect-steps code { font-family: var(--mono); font-size: .9em; background: #eef4f1; padding: .1rem .35rem; border-radius: 5px; }
.way-cli { margin: .9rem 0; font-size: .92rem; }
.way-cli summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.way-cli summary:hover { color: var(--jade-dark); }
.way-cli[open] summary { margin-bottom: .5rem; }
.connect-page .cmd { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: .4rem 0; }
.foot-fine { font-size: .82rem; color: var(--muted); margin-top: .4rem; line-height: 1.5; }

/* ---- testimonial pull-quote ---- */
.testi { max-width: 44rem; margin: 2.4rem 0; padding: 1.3rem 1.6rem; background: var(--prompt-bg);
  border-left: 4px solid var(--jade); border-radius: 0 12px 12px 0; }
.testi p { font-size: 1.18rem; line-height: 1.42; margin: 0 0 .5rem; color: var(--ink); }
.testi strong { color: var(--jade-dark); }
.testi cite { font-style: normal; color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---- live wall (real-time social proof from /wall.json) ---- */
.band.live { background: var(--jade-dark); color: #fff; border-radius: 16px; padding: 1.6rem 1.8rem; max-width: none; }
.band.live h2 { color: #fff; }
.live-stats { display: flex; gap: 1.4rem; flex-wrap: wrap; margin: .8rem 0 1rem; }
.lstat b { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.lstat span { font-size: .85rem; opacity: .85; }
.live-cohort { background: rgba(255,255,255,.12); border-radius: 10px; padding: .6rem .8rem; font-size: .95rem; }
.live-feed { list-style: none; padding: 0; margin: .8rem 0 .4rem; }
.live-feed li { padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.live-feed .ago { opacity: .6; font-size: .8rem; margin-right: .5rem; }
.live-note { font-size: .85rem; opacity: .85; }
.live-note a { color: #cfeee4; }

/* ---- watch (proof clips) ---- */
.band.watch { max-width: none; }
.watch-sub { color: var(--muted); margin: -.2rem 0 1rem; }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.clip { margin: 0; }
.clip-vid { width: 100%; height: auto; aspect-ratio: 9 / 16; display: block; border-radius: 14px; background: #0f3d30;
  object-fit: contain; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.clip-shot { aspect-ratio: 9 / 16; background: linear-gradient(165deg, #0f3d30, #176551);
  color: #eafaf4; border-radius: 14px; padding: 1rem 1.05rem; display: flex; flex-direction: column;
  gap: .55rem; justify-content: center; overflow: hidden; }
.shot-prompt { background: rgba(255,255,255,.13); border-radius: 9px; padding: .5rem .65rem; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.shot-result { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .3rem; font-size: .86rem; }
.shot-result li { background: rgba(255,255,255,.08); border-radius: 7px; padding: .3rem .5rem; }
.shot-done { font-size: .82rem; opacity: .82; margin: 0; }
.clip-shot.reveal { align-items: center; text-align: center; }
.shot-grad { font-size: .95rem; font-weight: 600; margin: 0; }
.shot-ticket { font-size: 1.05rem; font-weight: 800; margin: 0; padding: .5rem .6rem;
  background: rgba(255,236,153,.18); border: 1px solid rgba(255,236,153,.42); border-radius: 10px; }
.clip figcaption { margin-top: .55rem; font-size: .95rem; line-height: 1.35; color: var(--ink); }
.clip figcaption strong { color: var(--jade-dark); }

/* ---- stories (case studies) ---- */
.stories { margin: 2.8rem 0; }
.stories h2 { font-size: 1.6rem; letter-spacing: -.01em; margin: 0 0 .3rem; }
.stories-sub { color: var(--muted); margin: 0 0 1.2rem; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.story { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.3rem; background: var(--card); }
.story h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.story p { margin: .4rem 0; font-size: .98rem; line-height: 1.45; }
.story-kicker { color: var(--jade-dark); font-weight: 600; border-top: 1px solid var(--line); padding-top: .55rem; margin-top: .7rem; }
.story-more { margin: .55rem 0 0; font-size: .85rem; }
.story-more a { color: var(--jade-dark); font-weight: 600; text-decoration: none; }
.story-more a:hover { text-decoration: underline; }

/* ---- /assets press-kit grid ---- */
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; margin: 1rem 0 1.5rem; }
.asset { margin: 0; }
.asset img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }
.asset figcaption { font-size: .9rem; margin-top: .55rem; line-height: 1.45; }
.asset figcaption span { color: var(--muted); }
.asset figcaption a { color: var(--jade-dark); font-weight: 600; text-decoration: none; }
.asset figcaption a:hover { text-decoration: underline; }

/* ---- certificate CTA ---- */
.cert-cta { margin: 2.8rem 0; }
.cert-cta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6rem; align-items: center; }
.cert-shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.cert-shot img { display: block; width: 100%; height: auto; }
.cert-cta-copy h2 { font-size: 1.6rem; letter-spacing: -.01em; margin: 0 0 .5rem; }
.cert-cta-copy p { font-size: 1.05rem; line-height: 1.45; margin: .4rem 0; }
.cert-wink { color: var(--muted); font-size: .95rem; }

@media (max-width: 720px) { .cert-cta-grid { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  .clips, .story-grid { grid-template-columns: 1fr; }
  .clip-shot { aspect-ratio: 16 / 9; }
}

/* ---- event landing page (STATION DC workshop) ---- */
.event-page { padding-top: 2rem; }
.event-hero { padding: .6rem 0 1.4rem; }
.event-hero h1 { font-size: 2.4rem; line-height: 1.12; letter-spacing: -.02em; margin: .5rem 0 1rem; }
.event-hero h1 em { color: var(--jade); font-style: normal; }
.event-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; margin: 0 0 2.4rem;
  padding: 1.3rem 1.5rem; background: var(--prompt-bg); border: 1px solid var(--line); border-radius: 14px;
}
.event-meta div { min-width: 0; }
.event-meta dt { font-weight: 700; color: var(--jade-dark); font-size: .92rem; margin: 0 0 .15rem; }
.event-meta dd { margin: 0; color: var(--ink); }
.event-meta .muted-note { color: var(--muted); }
.event-points { margin: .6rem 0 0; padding-left: 1.3rem; }
.event-points li { margin: .55rem 0; line-height: 1.5; }
.event-foot { color: var(--muted); font-size: .95rem; margin: 1.6rem 0 0; }

@media (max-width: 600px) {
  .event-hero h1 { font-size: 1.95rem; }
  .event-meta { grid-template-columns: 1fr; }
}
