:root {
  --bg: #f6f7f4; --panel: #fff; --ink: #14181f; --muted: #5d6573; --line: #e2e5df; --link: #1d4ed8;
  --green: #15803d; --green-2: #16a34a; --red: #dc2626; --gold: #b45309; --head: #052e16;
  --breakout: #7c3aed; --success: #15803d; --bust: #dc2626;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0c110e; --panel: #141b17; --ink: #e8efe9; --muted: #9aa7a0; --line: #243029; --link: #8ab4ff; --breakout: #a78bfa; --success: #4ade80; --bust: #f87171; --gold: #fbbf24; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: var(--link); text-underline-offset: 2px; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header.site { background: var(--head); color: #ecfdf5; }
header.site .wrap { display: flex; align-items: center; gap: 6px 18px; min-height: 54px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--green-2); color: #fff; font-size: 0.8rem; font-weight: 900; }
header.site nav { display: flex; gap: 2px 14px; flex-wrap: wrap; font-size: 0.93rem; }
header.site nav a { color: #bbf7d0; text-decoration: none; padding: 4px 0; }
header.site nav a[aria-current="page"], header.site nav a:hover { color: #fff; text-decoration: underline; }
main { padding: 22px 16px 48px; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0.2em 0 0.3em; }
h2 { font-size: 1.15rem; margin: 0 0 0.5em; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 700px; margin: 0 0 1em; }
.sub.warn { color: var(--gold); }
.fine { color: var(--muted); font-size: 0.86rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--green-2); font-weight: 800; margin: 0 0 6px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 18px 0; }
.how ol { margin: 0 0 8px; padding-left: 1.2em; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 6px 24px rgba(0,0,0,0.06); }
.pitchcard .hl { font-size: 1.35rem; font-weight: 800; line-height: 1.25; margin: 0 0 10px; }
.facts { margin: 12px 0 0; padding-left: 1.1em; color: var(--muted); }
.facts li { margin: 3px 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.btn { display: inline-block; text-align: center; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 10px; padding: 11px 16px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.choices .btn { font-size: 1.15rem; padding: 14px; }
.btn.invest { background: var(--green); border-color: var(--green); }
.btn.pass { background: var(--panel); color: var(--red); border: 2px solid var(--red); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.yourcall { grid-column: 1 / -1; margin: 0; font-size: 1.05rem; padding: 10px 12px; border-radius: 10px; }
.yourcall.ok { background: color-mix(in srgb, var(--success) 14%, transparent); }
.yourcall.no { background: color-mix(in srgb, var(--bust) 14%, transparent); }
.answer { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 12px; }
.answer .btn.next { margin-top: 6px; }
.badge { display: inline-block; font-weight: 800; font-size: 0.85rem; padding: 3px 10px; border-radius: 999px; color: #fff; background: var(--c); }
.o-breakout { --c: var(--breakout); } .o-success { --c: var(--success); } .o-bust { --c: var(--bust); }
.pros { color: var(--muted); }
.ghead { margin: 0 0 6px; font-weight: 700; color: var(--muted); font-size: 0.9rem; }
.dots { display: flex; gap: 6px; margin: 0 0 12px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.dot.now { background: var(--gold); } .dot.ok { background: var(--success); } .dot.no { background: var(--bust); }
.score { text-align: center; }
.score .big { font-size: 4rem; font-weight: 900; line-height: 1; margin: 6px 0; }
.score .big span { font-size: 1.6rem; color: var(--muted); }
.score .marks { font-size: 1.8rem; letter-spacing: 0.15em; margin: 6px 0 10px; }
.tally { list-style: none; padding: 0; margin: 0 0 14px; color: var(--muted); }
.share-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0; }
.review { text-align: left; margin-top: 12px; }
.review summary, details.reveal summary { cursor: pointer; font-weight: 700; }
details.reveal { margin: 16px 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.crumbs { font-size: 0.86rem; color: var(--muted); }
.more { padding-left: 1.1em; }
.more li { margin: 4px 0; }
.more .badge { font-size: 0.72rem; padding: 1px 7px; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: top; padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line); }
th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.count { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.support { border: 1px dashed var(--line); border-radius: 8px; padding: 6px 10px; display: inline-block; }
footer.site { border-top: 1px solid var(--line); padding: 20px 0 36px; color: var(--muted); font-size: 0.88rem; }
footer.site p { margin: 0 0 8px; }
@media (max-width: 520px) { .card { padding: 16px; } .pitchcard .hl { font-size: 1.2rem; } .score .big { font-size: 3.2rem; } }
/* embed widget */
body.embed { background: transparent; margin: 0; }
.ewidget { max-width: 480px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--green-2); border-radius: 12px; padding: 14px 16px; font-family: var(--sans); color: var(--ink); }
.ewidget .eh { font-weight: 900; display: block; }
.ewidget .ep { margin: 6px 0 10px; }
/* share image (1200x630) */
body.og { width: 1200px; height: 630px; margin: 0; overflow: hidden; background: #052e16; color: #f0fdf4; }
body.og .ogwrap { padding: 56px 70px; height: 100%; display: flex; flex-direction: column; border-top: 14px solid #22c55e; }
body.og .ogtop { display: flex; gap: 14px; align-items: center; font-size: 26px; font-weight: 800; color: #bbf7d0; }
body.og .ogtop .logo { width: 46px; height: 46px; font-size: 18px; border-radius: 10px; }
body.og h1 { font-size: 64px; line-height: 1.08; margin: 26px 0 14px; max-width: 1000px; }
body.og p { font-size: 30px; color: #dcfce7; margin: 0; max-width: 980px; }
body.og .ogscore { font-size: 150px; font-weight: 900; line-height: 1; margin-top: 18px; color: #4ade80; }
body.og .ogscore span { font-size: 64px; color: #bbf7d0; }
body.og .ogbtns { margin-top: auto; display: flex; gap: 18px; }
body.og .ogbtns span { font-size: 30px; font-weight: 900; padding: 14px 40px; border-radius: 14px; }
body.og .b1 { background: #16a34a; color: #fff; } body.og .b2 { border: 3px solid #f87171; color: #fecaca; }
