/* Distribb lead magnets — ultra simple black & white.
   Manrope. Pure white ground, #050505 ink, #000000 body, full-pill black buttons. */

:root {
  --ground:    #FFFFFF;
  --ground-2:  #F6F6F6;
  --card:      #FFFFFF;
  --ink:       #050505;
  --body:      #000000;
  --line:      #E4E4E4;
  --line-soft: #EFEFEF;
  --code-bg:   #050505;
  --code-fg:   #F2F2F2;
  --code-dim:  #FFFFFF;
  --ok:        #1A7F44;
  --err:       #C22A22;

  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --col: 44rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- layout ---------- */
.col { width: 100%; max-width: var(--col); margin-inline: auto; padding-inline: 1.5rem; }
.col-wide { max-width: 60rem; }
section { padding-block: 3.6rem; }
section + section { padding-top: 0; }
.stack { display: flex; flex-direction: column; gap: 1.15rem; }
.stack-tight { display: flex; flex-direction: column; gap: 0.7rem; }
.stack-loose { display: flex; flex-direction: column; gap: 2rem; }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 3.6rem auto 0; max-width: var(--col); }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.14;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 3.35rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.025em; line-height: 1.35; }
p  { margin: 0; }
a  { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { opacity: 0.6; }
strong { color: var(--ink); font-weight: 700; }
em { font-style: italic; }

/* Kept so markup stays stable — in the B&W system emphasis is weight, not colour. */
.grad { color: var(--ink); }

.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { display: none; }

.lede  { font-size: 1.16rem; line-height: 1.5; color: var(--body); }
.small { font-size: 0.95rem; color: var(--body); }
ul.plain { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.4rem; font-size: 1rem; }
ol.setup { margin: 0; padding-left: 1.4rem; display: grid; gap: 0.65rem; }
ol.setup li::marker { font-weight: 700; color: var(--ink); }

/* ---------- logo / header ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 800; letter-spacing: -0.045em; font-size: 1.15rem;
  color: var(--ink); text-decoration: none;
}
.logo:hover { opacity: 1; }
.dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ink); flex: none; }

.masthead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.masthead .inner {
  max-width: 60rem; margin-inline: auto; padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--ink); color: #FFFFFF;
  font-family: var(--display); font-size: 0.98rem; font-weight: 700; letter-spacing: -0.015em;
  padding: 0.82rem 1.5rem; border: 1px solid var(--ink); border-radius: 100px;
  text-decoration: none; cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { opacity: 0.82; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn[disabled] { opacity: 0.45; cursor: progress; }
.btn-sm { font-size: 0.9rem; padding: 0.6rem 1.15rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ground-2); opacity: 1; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.cta-row.center { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding-block: 4rem 3.2rem; }
.byline { display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; }
.byline .avatar {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none;
  display: block; overflow: hidden; background: var(--ground-2);
  border: 1px solid var(--line);
  transition: opacity 0.15s ease;
}
.byline .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.byline .avatar:hover { opacity: 0.82; }
.byline .avatar:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.byline a:not(.avatar) { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem;
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.path-tag {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--body); margin-bottom: 0.6rem; display: block;
}

.free-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.free-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.tick {
  width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; flex: none; margin-top: 0.2rem;
}
.tick svg { width: 0.75rem; height: 0.75rem; }

/* ---------- stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.75rem; }
.stat { background: var(--ground-2); border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.1rem 1.2rem; }
.stat .n {
  font-size: 1.55rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums; display: block; line-height: 1.1;
}
.stat .l { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body); }

/* ---------- prompt block ---------- */
.prompt { margin-top: 1.2rem; }
.prompt-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--code-bg); border-radius: 14px 14px 0 0;
  padding: 0.6rem 0.7rem 0.6rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.prompt-name {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--code-dim);
}
.copy-btn {
  font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: #050505; background: #FFFFFF; border: 0; border-radius: 100px;
  padding: 0.38rem 0.85rem; cursor: pointer; font-weight: 700;
  transition: opacity 0.15s ease;
}
.copy-btn:hover { opacity: 0.78; }
.copy-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.copy-btn.is-copied { background: #FFFFFF; color: #050505; opacity: 0.6; }
pre.prompt-body {
  margin: 0; background: var(--code-bg); color: var(--code-fg);
  border-radius: 0 0 14px 14px; padding: 1.15rem 1.25rem 1.35rem;
  overflow-x: auto; font-family: var(--mono); font-size: 0.795rem;
  font-weight: 400; line-height: 1.68; white-space: pre; tab-size: 2;
}
pre.prompt-body::-webkit-scrollbar { height: 9px; }
pre.prompt-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 9px; }

/* ---------- loop rail ---------- */
.loop { position: relative; padding-left: 3.4rem; }
.loop::before {
  content: ""; position: absolute; left: 1.06rem; top: 0.6rem; bottom: 3.2rem;
  width: 1px; background: var(--line);
}
.step { position: relative; padding-bottom: 1.9rem; }
.step:last-of-type { padding-bottom: 0; }
.step .num {
  position: absolute; left: -3.4rem; top: -0.05rem; width: 2.15rem; height: 2.15rem;
  border-radius: 50%; background: var(--ink); border: 1px solid var(--ink);
  color: #FFFFFF; display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.step p { margin-top: 0.4rem; font-size: 1rem; }
.step .kicker {
  display: inline-block; margin-top: 0.55rem;
  font-size: 0.86rem; font-weight: 700; color: var(--ink);
}
.loop-close {
  position: relative; margin-top: 0.4rem; padding: 0.9rem 1.1rem;
  border: 1px dashed var(--line); border-radius: 12px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--body);
}
.loop-close::before {
  content: ""; position: absolute; left: -2.34rem; top: -0.4rem; width: 1.4rem; height: 1.95rem;
  border-left: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  border-bottom-left-radius: 10px;
}

/* ---------- proof slot (build note) ---------- */
.proof-slot { border: 1px dashed var(--ink); border-radius: 16px; padding: 1.6rem; background: var(--ground-2); }
.slot-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 700; color: #FFFFFF; background: var(--ink);
  padding: 0.28rem 0.65rem; border-radius: 100px; margin-bottom: 0.9rem;
}

/* ---------- email gate ---------- */
.gate {
  border: 1px solid var(--ink); border-radius: 20px; padding: 2rem 1.7rem 2.1rem;
  background: var(--ground);
}
.gate-fade {
  height: 5.5rem; margin-bottom: -3.9rem; position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #FFFFFF 88%);
  pointer-events: none;
}
.gate h3 { font-size: 1.4rem; }
.gate-form { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.3rem; }
.gate-form input[type="email"] {
  flex: 1 1 15rem; min-width: 0; font-family: var(--display); font-size: 1rem; font-weight: 500;
  color: var(--ink); background: var(--ground); border: 1px solid var(--line);
  border-radius: 100px; padding: 0.8rem 1.2rem;
}
.gate-form input[type="email"]::placeholder { color: #000000; opacity: 0.55; }
.gate-form input[type="email"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.gate-msg { font-size: 0.93rem; margin-top: 0.8rem; min-height: 1.2rem; font-weight: 600; }
.gate-msg.err { color: var(--err); }
.gate-msg.ok  { color: var(--ok); }
.gate-note { font-size: 0.86rem; color: var(--body); margin-top: 0.65rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#unlocked[hidden] { display: none; }
.unlock-banner { display: none; }
.unlock-banner::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- figures / diagrams ---------- */
.figure { margin: 0.4rem 0 0.2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.figure svg {
  display: block; width: 100%; height: auto;
  background: var(--ground); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.1rem;
}
.figure figcaption { font-size: 0.9rem; color: var(--body); text-align: center; max-width: 34rem; margin-inline: auto; }

/* ---------- rule boxes ---------- */
.rulebox h3 { margin-bottom: 0.15rem; }
ul.ruleset { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
ul.ruleset li {
  position: relative; padding-left: 1.55rem; font-size: 1rem; line-height: 1.5;
}
ul.ruleset li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ink);
}

/* ---------- do / don't ---------- */
.swap { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.9rem; margin-top: 0.3rem; }
.swap-col { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem 1.2rem; }
.swap-col p { font-size: 0.98rem; }
.swap-col.bad { background: var(--ground-2); }
.swap-col.bad p { color: #000000; text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: #C4C4C4; }
.swap-col.good { background: var(--ground); border-color: var(--ink); border-width: 1.5px; }
.swap-col.good p { color: var(--ink); font-weight: 600; }
.swap-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.5rem; color: #000000;
}
.swap-col.good .swap-tag { color: var(--ink); }
.swap-note { margin-top: 0.7rem; }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.dt { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.94rem; }
table.dt th, table.dt td { text-align: left; padding: 0.8rem 1rem; vertical-align: top; }
table.dt thead th {
  background: var(--ink); color: #fff; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
table.dt tbody tr + tr { border-top: 1px solid var(--line); }
table.dt tbody td:first-child { font-weight: 700; color: var(--ink); }

/* ---------- timeline ---------- */
.timeline { display: grid; gap: 0.75rem; }
.tl {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: start;
  border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem;
}
.tl-k { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding-top: 0.15rem; }
.tl p { font-size: 0.97rem; }

/* ---------- pull quote ---------- */
blockquote.pull {
  margin: 0; padding: 1.4rem 1.5rem; border-left: 3px solid var(--ink);
  background: var(--ground-2); border-radius: 0 14px 14px 0;
  font-size: 1.18rem; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); line-height: 1.4;
}

/* ---------- demo cta ---------- */
.demo-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem; background: var(--ink); border-radius: 18px; padding: 1.6rem 1.7rem;
}
.demo-cta h3 { color: #fff; font-size: 1.22rem; }
.demo-cta .small { color: #FFFFFF; margin-top: 0.3rem; }
.demo-cta .btn { background: #fff; color: var(--ink); border-color: #fff; flex: none; }
.demo-cta .btn:hover { opacity: 0.86; }

/* ---------- squeeze page ---------- */
/* Capture-first pages: title, what's inside, email. Everything else arrives
   after the subscribe, injected into #unlocked. */
.squeeze .capture { padding-block: 4.5rem 4rem; min-height: 72vh; display: flex; align-items: center; }
.squeeze .capture h1 { font-size: clamp(2.3rem, 5.6vw, 3.2rem); }
.squeeze .capture .lede { max-width: 34rem; }
.squeeze .gate { margin-top: 0.6rem; }
.squeeze .gate h3 { font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.squeeze .gate .free-list { margin-block: 0.2rem 0.5rem; }
.squeeze .gate .free-list li { font-size: 1rem; }
.squeeze .gate .gate-form { margin-top: 0.5rem; }
#unlocked-wrap[hidden], #final-wrap[hidden] { display: none; }
body.is-unlocked .capture { min-height: 0; padding-block: 3rem 1.5rem; display: block; }
body.is-unlocked .capture .lede { display: none; }

@media (prefers-reduced-motion: no-preference) {
  #unlocked > * { animation: rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ---------- final cta ---------- */
.final {
  background: var(--ink); border-radius: 20px;
  padding: 2.8rem 1.8rem 2.9rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
}
.final h2, .final .eyebrow { color: #FFFFFF; }
.final .eyebrow::after { background: rgba(255, 255, 255, 0.25); }
.final .lede, .final .small { color: #FFFFFF; }
.final .btn { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.final .btn-ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.35); }
.final .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

footer.foot { padding: 2.8rem 1.5rem 3.6rem; text-align: center; font-size: 0.9rem; }
footer.foot .logo { margin-bottom: 0.75rem; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding-block: 2.8rem; }
  .loop { padding-left: 3rem; }
  .step .num { left: -3rem; width: 1.95rem; height: 1.95rem; font-size: 0.78rem; }
  .masthead .inner { padding-inline: 1.1rem; }
  pre.prompt-body { font-size: 0.735rem; }
  .gate { padding: 1.6rem 1.2rem 1.7rem; }
  .final { padding: 2.2rem 1.3rem 2.3rem; }
}

@media (max-width: 560px) { .hide-sm { display: none; } }

/* ---------- VSL structure ---------- */
.contract {
  border: 1.5px solid var(--ink); border-radius: 18px; padding: 1.7rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.contract .lede { color: var(--ink); font-weight: 600; }

.vstep { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 1.5rem; }
.vstep:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.vstep-h { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 0.75rem; }
.vstep-n {
  flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 800; font-variant-numeric: tabular-nums;
  transform: translateY(0.2rem);
}
.vstep-h h3 { font-size: 1.3rem; }
.vstep-b { display: flex; flex-direction: column; gap: 0.85rem; }
.vstep-why { font-size: 1rem; }
.vstep-eg, .vstep-auto { border-radius: 12px; padding: 0.95rem 1.1rem 1rem; }
.vstep-eg { background: var(--ground-2); }
.vstep-auto { background: var(--ink); }
.vstep-auto p { color: #FFFFFF; font-size: 0.97rem; }
.vstep-eg p { font-size: 0.97rem; }
.vstep-tag {
  display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; margin-bottom: 0.4rem; color: #000000;
}
.vstep-auto .vstep-tag { color: #fff; }

.proofshot { margin: 1.6rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; }
.proofshot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 14px;
}
.proofshot figcaption { font-size: 0.9rem; color: var(--body); }
.proofshot figcaption strong { color: var(--ink); }

.gapbox { border: 1.5px dashed var(--ink); border-radius: 18px; padding: 1.6rem; }
.gapbox h3 { margin-bottom: 0.3rem; }

.vcta {
  background: var(--ink); border-radius: 20px; padding: 2.4rem 1.8rem 2.5rem;
  display: flex; flex-direction: column; gap: 1.3rem;
}
.vcta h2 { color: #fff; }
.vcta-steps { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.7rem; color: #FFFFFF; }
.vcta-steps li::marker { color: #fff; font-weight: 800; }
.vcta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.vcta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.vcta .btn-ghost:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 560px) {
  .vstep-h { flex-wrap: wrap; }
  .vcta, .contract, .gapbox { padding: 1.4rem 1.2rem; }
}

/* ---------- reading layout + table of contents ---------- */
.readwrap {
  max-width: 68rem; margin-inline: auto; padding-inline: 1.5rem;
  display: grid; grid-template-columns: 13.5rem minmax(0, 1fr);
  gap: 3.5rem; align-items: start;
}
.toc { position: sticky; top: 5.2rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
.toc-h {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 0.7rem; margin-bottom: 0.7rem; border-bottom: 1px solid var(--line);
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; counter-reset: toc; }
.toc a {
  display: block; padding: 0.4rem 0 0.4rem 0.85rem; font-size: 0.87rem; font-weight: 600;
  line-height: 1.3; color: var(--ink); text-decoration: none;
  border-left: 2px solid var(--line);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.toc a:hover { background: var(--ground-2); }
.toc a.is-active { font-weight: 800; border-left-color: var(--ink); }
@media (max-width: 900px) {
  .readwrap { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 46rem; }
  .toc { display: none; }
}

/* ---------- collapsed prompt drawer ---------- */
.drawer { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.drawer + .drawer { margin-top: 0.6rem; }
.drawer > summary {
  cursor: pointer; list-style: none; padding: 0.95rem 1.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 700; font-size: 0.97rem; color: var(--ink); background: var(--ground);
}
.drawer > summary::-webkit-details-marker { display: none; }
.drawer > summary::after { content: "+"; font-weight: 800; font-size: 1.15rem; line-height: 1; }
.drawer[open] > summary { border-bottom: 1px solid var(--line); }
.drawer[open] > summary::after { content: "\2212"; }
.drawer > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.drawer .prompt { margin: 0; }
.drawer .prompt-head { border-radius: 0; }
.drawer pre.prompt-body { border-radius: 0; }

/* ---------- case study panel ---------- */
.casestudy { border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; }
.casestudy-h { background: var(--ink); padding: 1.2rem 1.5rem; }
.casestudy-h h3 { color: #fff; font-size: 1.25rem; }
.casestudy-h .k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; display: block; margin-bottom: 0.4rem; }
.casestudy-b { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

/* ---------- what distribb does, up front ---------- */
.doeslist { display: grid; gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.doeslist li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start;
  border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem;
  font-size: 0.98rem;
}
.doeslist .who {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: #fff; border-radius: 100px; padding: 0.25rem 0.6rem;
  white-space: nowrap; transform: translateY(0.12rem);
}
.doeslist .who.you { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
