/* ============================================================
   GENESIS — design system
   Aesthetic: bio-computational laboratory, LIGHT edition. Paper-white
   canvas, deep grass-green ink with a bright lime fill accent,
   DNA/particle motifs, editorial serif display.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,400..600&family=Spline+Sans:wght@300..600&family=JetBrains+Mono:wght@400;500;700&display=swap");

:root {
  --bg: #f7f8f3;        /* warm paper white */
  --bg-2: #eef1e8;      /* faint green-gray */
  --surface: #ffffff;
  --surface-2: #f3f6ec;
  --line: #e0e5d6;      /* light hairline */
  --line-soft: rgba(67, 125, 12, 0.20);
  --ink: #14201a;       /* near-black, green-tinted */
  --muted: #566256;
  --muted-2: #8a968a;
  --lime: #43770f;      /* deep grass green — legible text/accents on white */
  --lime-deep: #345c0b; /* darkest accent (eyebrows) */
  --lime-bright: #aee63f; /* neon fill — buttons, bars, glow (with dark text) */
  --cyan: #0d8896;      /* deep teal — legible on white */
  --amber: #a9760a;
  --danger: #c63b3b;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --display: "Fraunces", Georgia, serif;
  --body: "Spline Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 24px 60px -34px rgba(20, 40, 25, 0.28);
  --glow: 0 0 0 1px rgba(67, 125, 12, 0.30), 0 14px 36px -14px rgba(120, 190, 30, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- atmospheric background: gradient mesh + grain ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% -8%, rgba(13, 136, 150, 0.12), transparent 60%),
    radial-gradient(55% 45% at 10% 4%, rgba(132, 204, 22, 0.16), transparent 55%),
    radial-gradient(85% 65% at 50% 118%, rgba(67, 125, 12, 0.08), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- typography ---- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 460; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--lime); text-decoration: none; }
strong { color: var(--ink); font-weight: 500; }
code { font-family: var(--mono); font-size: 0.86em; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--lime-deep); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lime-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--lime-deep); display: inline-block; }

.mono { font-family: var(--mono); }
.serif { font-family: var(--display); }

/* ---- layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }

/* ---- nav ---- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 243, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.25rem; color: var(--ink); letter-spacing: -0.01em; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity: 1 } 50%{ transform: scale(1.35); opacity: 0.6 } }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 0.86rem; font-weight: 500;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; white-space: nowrap;
}
.btn-primary { background: var(--lime-bright); color: #16240a; box-shadow: var(--glow); font-weight: 700; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--lime), 0 14px 40px -12px rgba(120, 190, 30, 0.8); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ---- hero ---- */
.hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 .accent { color: var(--lime); font-style: italic; }
.hero .lede { margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .stat { }
.hero-stats .num { font-family: var(--display); font-size: 2rem; color: var(--ink); line-height: 1; }
.hero-stats .lbl { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }

/* ---- DNA helix visual ---- */
.helix { position: relative; height: 420px; display: grid; place-items: center; }
.helix svg { width: 100%; height: 100%; overflow: visible; }
.helix .rung { transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.helix-rot { animation: spin 26s linear infinite; transform-origin: 50% 50%; }

/* ---- generic card ---- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--line-soft); transform: translateY(-3px); }

/* ---- section header ---- */
.sec-head { max-width: 64ch; margin-bottom: 48px; }
.sec-head h2 { margin-top: 14px; }

/* ---- steps / how it works ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; }
.step .n { font-family: var(--mono); color: var(--lime-deep); font-size: 0.8rem; }
.step .n::before { content: "0" counter(s) " — "; }
.step h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---- pillars / features ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }
.feature .ico { font-family: var(--mono); color: var(--lime); font-size: 1.1rem; border: 1px solid var(--line); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 16px; }

/* ---- channel grid ---- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 880px) { .channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .channels { grid-template-columns: 1fr; } }
.chan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: 0.2s; }
.chan:hover { border-color: var(--lime); }
.chan .cat { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.chan h3 { font-size: 1.02rem; margin: 8px 0 6px; }
.chan p { font-size: 0.86rem; margin: 0 0 12px; }
.chan .meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted-2); border-top: 1px dashed var(--line); padding-top: 10px; }
.chan .meta b { color: var(--lime); font-weight: 500; }

/* ---- standards table ---- */
.std { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .std { grid-template-columns: 1fr; } }
.std .card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.std .tag { font-family: var(--mono); font-size: 0.62rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--cyan); letter-spacing: 0.1em; }
.std ul { margin: 10px 0 0; padding-left: 18px; }
.std li { color: var(--muted); font-size: 0.9rem; margin-bottom: 6px; }

/* ---- callout ---- */
.callout { border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: var(--radius); padding: 20px 22px; background: var(--surface); }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 50px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
footer .muted { color: var(--muted-2); font-size: 0.84rem; }
footer a { color: var(--muted); font-size: 0.88rem; display: block; margin-bottom: 8px; }
footer a:hover { color: var(--lime); }

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

/* ============================================================
   Simulator-specific
   ============================================================ */
.sim-layout { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .sim-layout { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.panel.sticky { position: sticky; top: 88px; }

.field { margin-bottom: 18px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label .val { color: var(--lime); font-size: 0.82rem; }
.field select, .field input[type="number"] {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 11px 12px; font-family: var(--body); font-size: 0.95rem;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--lime); }
input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: var(--line); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); cursor: pointer; box-shadow: 0 0 12px -2px var(--lime); border: none; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); cursor: pointer; border: none; }

/* evolution status */
.evo { font-family: var(--mono); font-size: 0.74rem; color: var(--muted-2); display: flex; align-items: center; gap: 10px; margin-top: 6px; min-height: 18px; }
.evo .bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.evo .bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width 0.1s linear; }

/* scenario cards */
.scen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .scen-grid { grid-template-columns: 1fr; } }
.scen { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; cursor: pointer; transition: 0.2s; position: relative; overflow: hidden; }
.scen:hover { border-color: var(--lime); transform: translateY(-3px); }
.scen.active { border-color: var(--lime); box-shadow: var(--glow); }
.scen .arch { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.scen .tag { font-size: 0.84rem; color: var(--muted); margin: 2px 0 14px; }
.scen-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.metric { }
.metric .v { font-family: var(--display); font-size: 1.5rem; color: var(--lime); line-height: 1; }
.metric .k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.badge { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }
.badge.ok { color: #16240a; background: var(--lime-bright); font-weight: 700; }
.badge.warn { color: var(--amber); border: 1px solid var(--amber); }

/* detail / playbook */
.detail { margin-top: 22px; }
.alloc-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.alloc-row .name { font-weight: 450; color: var(--ink); }
.alloc-row .sub { font-family: var(--mono); font-size: 0.72rem; color: var(--muted-2); }
.alloc-bar { height: 6px; background: var(--line); border-radius: 6px; margin-top: 7px; overflow: hidden; max-width: 320px; }
.alloc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime-deep), var(--lime)); }
.alloc-figs { text-align: right; font-family: var(--mono); font-size: 0.8rem; white-space: nowrap; }
.alloc-figs b { color: var(--lime); font-weight: 500; }

.playbook { margin-top: 10px; }
details.pb { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--bg-2); }
details.pb summary { cursor: pointer; padding: 14px 16px; font-weight: 450; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.pb summary::-webkit-details-marker { display: none; }
details.pb summary .chev { color: var(--lime); font-family: var(--mono); transition: transform 0.2s; }
details.pb[open] summary .chev { transform: rotate(90deg); }
details.pb .pb-body { padding: 0 16px 16px; }
details.pb ol { margin: 6px 0 14px; padding-left: 18px; }
details.pb ol li { color: var(--muted); font-size: 0.9rem; margin-bottom: 6px; }
.practice { font-size: 0.84rem; color: var(--muted); border-left: 2px solid var(--cyan); padding-left: 12px; margin-bottom: 8px; }
.practice .ref { font-family: var(--mono); font-size: 0.68rem; color: var(--cyan); display: block; margin-top: 2px; }

/* chart */
.spark { width: 100%; height: 70px; margin-top: 10px; }

/* ---- chatbot ---- */
.chat { display: flex; flex-direction: column; height: 520px; }
.chat-log { flex: 1; overflow-y: auto; padding: 4px 2px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 14px; font-size: 0.92rem; line-height: 1.55; }
.msg.user { align-self: flex-end; background: var(--surface-2); border: 1px solid var(--line); }
.msg.bot { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line-soft); }
.msg.bot strong { color: var(--lime); }
.msg p { color: var(--ink); margin: 0 0 0.6em; }
.msg p:last-child { margin: 0; }
.msg ul { margin: 0.3em 0; padding-left: 18px; }
.msg li { color: var(--ink); }
.chat-input { display: flex; gap: 10px; margin-top: 14px; }
.chat-input input { flex: 1; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 12px 14px; font-family: var(--body); }
.chat-input input:focus { outline: none; border-color: var(--lime); }
.suggest { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.suggest button { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: 0.2s; }
.suggest button:hover { border-color: var(--lime); color: var(--lime); }
.typing { display: inline-flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%,60%,100% { opacity: 0.2 } 30% { opacity: 1 } }

.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab { font-family: var(--mono); font-size: 0.78rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); cursor: pointer; background: transparent; }
.tab.active { background: var(--lime-bright); color: #16240a; border-color: var(--lime-bright); font-weight: 700; }

/* ============================================================
   Growth Architect
   ============================================================ */
textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 12px 13px; font-family: var(--body); font-size: 0.95rem;
  line-height: 1.55; resize: vertical;
}
textarea:focus, input[type="text"]:focus { outline: none; border-color: var(--lime); }
input[type="text"] {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 11px 12px; font-family: var(--body); font-size: 0.95rem;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px 0 10px; }
@media (max-width: 700px) { .two-col, .grid-nums { grid-template-columns: 1fr; } }

.dropzone {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed var(--line); border-radius: 10px; padding: 13px; cursor: pointer;
  color: var(--muted); font-size: 0.88rem; transition: 0.2s; background: var(--bg-2);
}
.dropzone:hover { border-color: var(--lime); color: var(--lime); }
.file-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.file-chip { font-family: var(--mono); font-size: 0.74rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--ink); }
.file-chip em { color: var(--muted-2); font-style: normal; }

/* step strip */
.steps-strip { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.stp { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.stp span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); font-size: 0.72rem; }
.stp.active { color: var(--ink); border-color: var(--lime); }
.stp.active span { background: var(--lime-bright); color: #16240a; border-color: var(--lime-bright); font-weight: 700; }
.stp.done span { background: var(--lime); color: #fff; border-color: var(--lime); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.82rem; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 6px 12px; }

.share-link { flex: 1; min-width: 220px; background: var(--bg-2); border: 1px solid var(--lime); color: var(--ink); border-radius: 999px; padding: 9px 14px; font-family: var(--mono); font-size: 0.8rem; }

/* the rendered plan document */
.plandoc { font-size: 1rem; line-height: 1.7; color: var(--ink); }
.plandoc h3 {
  font-family: var(--display); font-size: 1.5rem; margin: 1.5em 0 0.5em; padding-top: 0.6em;
  border-top: 1px solid var(--line); color: var(--ink); letter-spacing: -0.02em;
}
.plandoc h3:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.plandoc h4 { font-family: var(--display); font-size: 1.15rem; margin: 1.2em 0 0.4em; color: var(--ink); }
.plandoc h5 { font-family: var(--mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime-deep); margin: 1em 0 0.3em; }
.plandoc p { color: var(--ink); margin: 0 0 0.9em; }
.plandoc ul, .plandoc ol { margin: 0.4em 0 1.1em; padding-left: 1.3em; }
.plandoc li { color: var(--ink); margin-bottom: 0.5em; }
.plandoc li::marker { color: var(--lime); }
.plandoc strong { color: var(--ink); font-weight: 600; }
.plandoc em { color: var(--muted); }
.plandoc blockquote { border-left: 3px solid var(--lime); margin: 1em 0; padding: 6px 0 6px 16px; color: var(--muted); background: var(--surface-2); border-radius: 0 8px 8px 0; }
.plandoc hr { border: none; border-top: 1px solid var(--line); margin: 1.5em 0; }
.plandoc a { color: var(--lime-deep); text-decoration: underline; text-underline-offset: 2px; }

/* print-only report header (hidden on screen) */
.print-head { display: none; }

/* print: clean white document — strip ALL page chrome, show only the plan */
@media print {
  @page { margin: 16mm; }
  body::before, body::after { display: none !important; }
  body { background: #fff !important; color: #000 !important; }

  /* global chrome */
  .topbar, header.nav, footer, .steps-strip { display: none !important; }

  /* Growth Architect (/plan) chrome */
  #step1, #step2, #planActions, #planStatus { display: none !important; }

  /* Capital (/capital) chrome */
  #intake, #roster, #chatWrap, #sources,
  #memoActions, #memoStatus, .suggest, .chat-input { display: none !important; }

  /* intro headings + panel eyebrows on both report pages */
  section > .wrap > .eyebrow,
  section > .wrap > h2,
  section > .wrap > .lede,
  section > .wrap > .mono,
  #memo .eyebrow, #step3 .eyebrow { display: none !important; }

  /* flatten panels so the plan sits on clean white */
  section { padding: 0 !important; }
  .panel { border: none !important; padding: 0 !important; box-shadow: none !important; background: #fff !important; }

  .print-head { display: block !important; font-family: var(--display); font-size: 1.6rem; color: #000; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #000; }
  .print-head span { display: block; font-family: var(--mono); font-size: 0.7rem; color: #555; margin-top: 4px; letter-spacing: 0.04em; }

  .plandoc { font-size: 11pt; }
  .plandoc, .plandoc * { color: #000 !important; }
  .plandoc h3 { border-top: 1px solid #bbb; break-after: avoid; }
  .plandoc h4, .plandoc h5 { break-after: avoid; }
  .plandoc li, .plandoc p { break-inside: avoid; }
  .plandoc a { color: #000 !important; text-decoration: underline; }
}

/* ============================================================
   GENESIS Capital — multi-agent roster
   ============================================================ */
.agent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .agent-grid { grid-template-columns: 1fr; } }
.agent-card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; transition: border-color .25s, opacity .4s, transform .4s; }
.agent-card.working { border-style: dashed; }
.agent-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.agent-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--lime-deep); font-size: 1.05rem; }
.agent-title { font-family: var(--display); font-size: 1.12rem; color: var(--ink); line-height: 1.1; }
.agent-focus { font-family: var(--mono); font-size: .68rem; color: var(--muted-2); margin-top: 3px; letter-spacing: .02em; }
.agent-body { min-height: 40px; }
.agent-sum { color: var(--ink); font-size: .92rem; margin: 0 0 8px; font-weight: 450; }
.agent-card ul { margin: 0; padding-left: 17px; }
.agent-card li { color: var(--muted); font-size: .86rem; margin-bottom: 5px; }
.agent-card li::marker { color: var(--lime); }

/* ============================================================
   Top credit bar (above the nav)
   ============================================================ */
.topbar {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  position: relative;
  z-index: 60;
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: var(--lime-bright); text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 480px) { .topbar { font-size: 0.68rem; } }

/* ---- hero announcement pill (capital highlight) ---- */
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em;
  padding: 7px 14px; border: 1px solid var(--lime); border-radius: 999px;
  background: rgba(174, 230, 63, 0.14); color: var(--lime-deep);
  margin-bottom: 20px; transition: background 0.2s, transform 0.2s, color 0.2s;
}
.hero-pill:hover { background: var(--lime-bright); color: #16240a; transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -16px rgba(20,32,25,0.6); color: #fff; }

/* ============================================================
   Funding directory (expandable) + Fundraising toolkit
   ============================================================ */
.fsrc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
@media (max-width: 760px) { .fsrc-grid { grid-template-columns: 1fr; } }
.fsrc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.fsrc[open] { border-color: var(--lime); }
.fsrc summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.fsrc summary::-webkit-details-marker { display: none; }
.fsrc-head .cat { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.fsrc-name { font-family: var(--display); font-size: 1.05rem; color: var(--ink); margin: 5px 0 4px; }
.fsrc-blurb { font-size: 0.84rem; color: var(--muted); }
.fsrc-meta { text-align: right; font-family: var(--mono); font-size: 0.72rem; color: var(--muted-2); white-space: nowrap; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.fsrc-meta b { color: var(--lime-deep); }
.fsrc-meta .chev { color: var(--lime); font-size: 1rem; transition: transform 0.2s; }
.fsrc[open] .fsrc-meta .chev { transform: rotate(90deg); }
.fsrc-body { padding: 2px 18px 18px; }
.fsrc-body p { font-size: 0.86rem; color: var(--muted); margin: 12px 0 8px; }
.fsrc-body p strong, .fsrc-cols strong { color: var(--ink); }
.fsrc-tip { font-size: 0.86rem; color: var(--ink); background: var(--surface-2); border-left: 3px solid var(--lime); border-radius: 0 8px 8px 0; padding: 10px 12px; margin: 8px 0 12px; }
.fsrc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0; }
@media (max-width: 520px) { .fsrc-cols { grid-template-columns: 1fr; } }
.fsrc-cols ul { margin: 6px 0 0; padding-left: 16px; }
.fsrc-cols li { font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; }

.toolkit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 760px) { .toolkit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .toolkit-grid { grid-template-columns: 1fr; } }
.toolkit-btn { font-family: var(--body); font-size: 0.92rem; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); cursor: pointer; transition: 0.18s; }
.toolkit-btn:hover { border-color: var(--lime); background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ============================================================
   Founder Tools — cap table + financial model
   ============================================================ */
.ffilter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.ffilter select { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 9px 14px; font-family: var(--mono); font-size: 0.78rem; cursor: pointer; }
.ffilter select:focus { outline: none; border-color: var(--lime); }
.ffilter #fCount { color: var(--muted-2); font-size: 0.74rem; margin-left: auto; }

.cap-bar { display: flex; height: 30px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.cap-seg { height: 100%; }
.cap-table { margin-top: 16px; display: grid; gap: 9px; }
.cap-row { display: flex; align-items: center; gap: 10px; }
.cap-dot { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.cap-name { flex: 1; color: var(--ink); font-size: 0.92rem; }
.cap-pct { font-family: var(--mono); color: var(--lime-deep); font-weight: 500; }

.model-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.model-table { border-collapse: collapse; font-family: var(--mono); font-size: 0.72rem; white-space: nowrap; min-width: 100%; }
.model-table th, .model-table td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.model-table thead th { position: sticky; top: 0; background: var(--surface-2); color: var(--muted-2); font-weight: 500; }
.model-table th:first-child, .model-table td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); color: var(--ink); }
.model-table thead th:first-child { background: var(--surface-2); z-index: 2; }
.model-table tbody td { color: var(--muted); }
.model-table .row-strong td, .model-table .row-strong th { font-weight: 700; color: var(--ink); border-top: 2px solid var(--line); }

/* ============================================================
   Start Here — glossary + equity split
   ============================================================ */
.gloss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 700px) { .gloss-grid { grid-template-columns: 1fr; } }
.gloss { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s; }
.gloss[open] { border-color: var(--lime); }
.gloss summary { list-style: none; cursor: pointer; padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 1.02rem; color: var(--ink); }
.gloss summary::-webkit-details-marker { display: none; }
.gloss summary .chev { color: var(--lime); font-family: var(--mono); }
.gloss[open] summary .chev { transform: rotate(45deg); }
.gloss p { margin: 0; padding: 0 16px 15px; color: var(--muted); font-size: 0.9rem; }

.eq-founder { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; background: var(--bg-2); }
.eq-name { width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 9px 11px; font-family: var(--display); font-size: 1.05rem; margin-bottom: 12px; }
.eq-name:focus { outline: none; border-color: var(--lime); }

/* ---- sponsors: paste-text fallback ---- */
.paste-fallback { border: 1px dashed var(--line); border-radius: 10px; padding: 0 14px; margin-bottom: 14px; }
.paste-fallback summary { cursor: pointer; padding: 12px 0; font-size: 0.88rem; color: var(--muted); list-style: none; }
.paste-fallback summary::-webkit-details-marker { display: none; }
.paste-fallback[open] summary { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ---- sponsors: action desk (prospects) ---- */
.act-list { margin: 0; padding-left: 20px; }
.act-list li { color: var(--ink); margin-bottom: 8px; }
.prospect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .prospect-grid { grid-template-columns: 1fr; } }
.prospect { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.prospect-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.prospect-name { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.prospect-cat { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.prospect-why { font-size: 0.9rem; color: var(--muted); margin: 8px 0 12px; }
.prospect-meta { display: grid; gap: 6px; font-size: 0.84rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; margin-bottom: 12px; }
.prospect-meta b { color: var(--lime-deep); font-weight: 600; margin-right: 4px; }
.prospect-draft { font-size: 0.78rem; padding: 8px 14px; }
.prospect-out { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }

/* ---- Apollo email-reveal toggle ---- */
.reveal-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; font-size: 0.84rem; color: var(--muted); cursor: pointer; vertical-align: middle; }
.reveal-toggle input { accent-color: var(--lime-deep); }
