:root {
    --paper: #f4f1e8;
    --paper-2: #ebe7db;
    --ink: #102637;
    --ink-2: #294252;
    --muted: #71808a;
    --line: #d7d3c7;
    --white: #fffdf8;
    --lime: #c7f06b;
    --lime-dark: #779b2d;
    --coral: #ff745f;
    --blue: #70a9ff;
    --gold: #d2a946;
    --danger: #c74337;
    --good: #2e7d55;
    --shadow: 0 18px 50px rgba(16, 38, 55, 0.11);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(16,38,55,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,38,55,.025) 1px, transparent 1px),
        var(--paper);
    background-size: 32px 32px;
    color: var(--ink);
    font-family: 'Prompt', sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--ink); color: white; padding: 10px 16px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.topbar {
    height: 72px;
    padding: 0 clamp(18px, 4vw, 58px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(16,38,55,.14);
    background: rgba(244,241,232,.9);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 30;
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; width: max-content; }
.wordmark-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .5px; transform: rotate(-2deg); }
.wordmark-name { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: -.1px; }
.product-name { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.product-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,116,95,.15); }
.beta { font-size: 9px; letter-spacing: 1px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 7px; }
.top-actions { display: flex; justify-content: flex-end; gap: 8px; }
.text-button { border: 0; background: transparent; padding: 9px 11px; text-decoration: none; color: var(--ink-2); font-size: 12px; cursor: pointer; border-radius: 8px; }
.text-button:hover, .text-button:focus-visible { background: rgba(16,38,55,.07); outline: none; }

.view { width: 100%; }
.setup-view { min-height: calc(100vh - 72px); display: flex; flex-direction: column; }
.setup-shell {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: clamp(42px, 7vw, 90px) 0 52px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 7vw, 95px);
    align-items: center;
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.eyebrow span { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; color: var(--ink-2); }
.eyebrow span:first-child { background: var(--lime); padding: 6px 10px; border-radius: 6px; }
.eyebrow span:last-child::before { content: '●'; color: var(--coral); font-size: 8px; margin-right: 9px; }
.hero-copy h1, .report-heading h1 { margin: 0; font-size: clamp(46px, 6.5vw, 82px); line-height: 1.08; letter-spacing: -3.5px; font-weight: 700; }
.hero-copy h1 em, .report-heading h1 em { font-style: normal; color: var(--coral); position: relative; }
.hero-copy h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 7px; background: var(--lime); z-index: -1; transform: rotate(-1deg); }
.hero-lead { max-width: 590px; font-size: clamp(16px, 1.9vw, 21px); line-height: 1.75; color: var(--ink-2); margin: 28px 0 30px; font-weight: 400; }
.hero-proof { display: flex; align-items: stretch; gap: 0; border-block: 1px solid var(--line); max-width: 540px; }
.hero-proof div { flex: 1; padding: 17px 10px 16px 0; display: flex; flex-direction: column; }
.hero-proof div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.hero-proof strong { font-family: 'DM Sans', sans-serif; font-size: 25px; line-height: 1; letter-spacing: -1px; }
.hero-proof span { color: var(--muted); font-size: 11px; margin-top: 7px; }
blockquote { margin: 28px 0 0; padding-left: 18px; border-left: 3px solid var(--coral); color: var(--ink-2); font-size: 13px; line-height: 1.7; }

.setup-card { background: var(--white); border: 1px solid rgba(16,38,55,.13); border-radius: 28px; padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); position: relative; }
.setup-card::before { content: ''; position: absolute; width: 90px; height: 90px; right: -14px; top: -18px; background: var(--blue); border-radius: 22px; z-index: -1; transform: rotate(7deg); }
.step-kicker { font-family: 'DM Sans', sans-serif; color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.setup-card h2 { font-size: 23px; margin: 7px 0 23px; letter-spacing: -.5px; }
fieldset { margin: 0; padding: 0; border: 0; }
.business-options { display: grid; gap: 10px; }
.business-card { display: grid; grid-template-columns: 50px 1fr 22px; align-items: center; gap: 13px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; cursor: pointer; transition: .2s ease; background: #fff; }
.business-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.business-card.selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); background: #fcfbf5; }
.business-card input, .choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.business-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 15px; }
.bg-coral { background: #ffd2ca; }
.bg-blue { background: #d9e8ff; }
.bg-lime { background: #e2f7b3; }
.business-copy { min-width: 0; display: flex; flex-direction: column; }
.business-copy strong { font-size: 14px; }
.business-copy small { color: var(--muted); margin-top: 3px; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-check { width: 18px; height: 18px; border: 1px solid #aeb5b9; border-radius: 50%; position: relative; }
.selected .radio-check { border-color: var(--ink); background: var(--ink); }
.selected .radio-check::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); position: absolute; inset: 0; margin: auto; }
.field-label { display: block; margin: 20px 0 7px; font-size: 12px; font-weight: 600; }
.field-label span { color: var(--muted); font-weight: 400; }
.text-input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 11px; padding: 0 14px; color: var(--ink); background: #fff; outline: none; }
.text-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16,38,55,.08); }
.primary-button { width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: var(--ink); color: white; font-weight: 600; cursor: pointer; padding: 12px 18px; display: flex; align-items: center; justify-content: center; gap: 14px; transition: transform .2s, box-shadow .2s, background .2s; text-decoration: none; }
.primary-button span { color: var(--lime); font-size: 20px; line-height: 1; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,38,55,.22); }
.primary-button:active { transform: translateY(0); }
.setup-card .primary-button { margin-top: 15px; }
.resume-button { width: 100%; border: 1px solid var(--ink); color: var(--ink); background: transparent; border-radius: 12px; min-height: 48px; margin-top: 9px; cursor: pointer; font-size: 12px; font-weight: 600; }
.resume-button:hover { background: rgba(16,38,55,.05); }
.privacy-note { text-align: center; color: var(--muted); font-size: 9.5px; margin: 12px 0 0; }
.learning-strip { border-top: 1px solid var(--line); padding: 17px 5vw; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 24px); color: var(--ink-2); font-size: 11px; white-space: nowrap; overflow: hidden; }
.strip-label { font-weight: 700; color: var(--coral); }
.learning-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); flex: none; }

/* Game */
.game-view { width: min(1280px, calc(100% - 36px)); margin: 0 auto; padding: 36px 0 72px; }
.game-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.round-label { font-family: 'DM Sans', sans-serif; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.game-header h1 { margin: 5px 0 2px; font-size: clamp(27px, 4vw, 42px); line-height: 1.15; letter-spacing: -1.6px; }
.game-header p { margin: 0; font-size: 12px; color: var(--muted); }
.round-progress { width: min(320px, 32vw); }
.round-progress-copy { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-bottom: 7px; }
.round-progress-copy strong { color: var(--ink); }
.progress-track { height: 7px; background: #dedacf; border-radius: 10px; overflow: hidden; }
.progress-track span { display: block; width: 16.67%; height: 100%; background: var(--coral); border-radius: inherit; transition: width .5s ease; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 13px; }
.metric-card { background: rgba(255,253,248,.78); border: 1px solid var(--line); border-radius: 16px; padding: 17px 18px 15px; min-width: 0; }
.cash-card { background: var(--ink); color: white; border-color: var(--ink); }
.metric-head { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted); margin-bottom: 9px; }
.cash-card .metric-head, .cash-card small { color: #a7bac5; }
.metric-symbol { width: 24px; height: 24px; display: grid; place-items: center; background: rgba(112,169,255,.15); color: var(--blue); border-radius: 7px; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.cash-card .metric-symbol { background: rgba(199,240,107,.12); color: var(--lime); }
.metric-card > strong { display: block; font-family: 'DM Sans', sans-serif; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.1; letter-spacing: -1.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-card > strong b { font-size: 11px; color: var(--muted); letter-spacing: 0; margin-left: 3px; }
.metric-card small { color: var(--muted); font-size: 9.5px; display: block; margin-top: 6px; }
.metric-card small.positive { color: var(--good); }
.metric-card small.negative { color: var(--danger); }
.market-pulse { display: grid; grid-template-columns: auto auto 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--ink); border-radius: 16px; background: var(--white); padding: 16px 19px; margin-bottom: 14px; position: relative; overflow: hidden; }
.market-pulse::after { content: ''; position: absolute; width: 90px; height: 90px; background: var(--lime); right: -58px; top: -45px; border-radius: 50%; opacity: .5; }
.pulse-badge { writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'DM Sans', sans-serif; font-size: 8px; letter-spacing: 1.5px; color: var(--muted); padding-right: 12px; border-right: 1px solid var(--line); }
.pulse-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; background: #fff1c9; font-size: 20px; }
.pulse-copy span { color: var(--coral); font-size: 9px; font-weight: 700; }
.pulse-copy h2 { margin: 1px 0 2px; font-size: 15px; }
.pulse-copy p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.pulse-impact { font-family: 'DM Sans', sans-serif; color: var(--good); font-size: 11px; font-weight: 700; background: #e5f3e9; padding: 7px 10px; border-radius: 99px; white-space: nowrap; margin-right: 16px; }
.pulse-impact.negative { color: var(--danger); background: #f9e1dc; }
.decision-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.decision-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel-heading { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.panel-heading span, .desk-title span, .coach-card span, .next-actions-head span { font-family: 'DM Sans', sans-serif; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: 1.6px; }
.panel-heading h2 { margin: 3px 0 0; font-size: 20px; }
.panel-heading p { max-width: 260px; color: var(--muted); font-size: 9.5px; text-align: right; margin: 0; }
.decision-block { padding: 21px 0; border-bottom: 1px solid var(--line); }
.decision-block legend { width: 100%; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.decision-no { font-family: 'DM Sans', sans-serif; color: var(--coral); font-size: 9px; font-weight: 700; padding-top: 2px; }
.decision-block legend > span:last-child { display: flex; flex-direction: column; }
.decision-block legend strong { font-size: 13px; }
.decision-block legend small { color: var(--muted); font-size: 9px; margin-top: 2px; font-weight: 400; }
.choice-grid { display: grid; gap: 8px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-card { border: 1px solid var(--line); border-radius: 12px; padding: 13px 13px 12px; cursor: pointer; display: flex; flex-direction: column; min-width: 0; transition: .18s; position: relative; }
.choice-card::after { content: ''; position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; border: 1px solid #aeb5b9; border-radius: 50%; }
.choice-card:hover { border-color: var(--ink); }
.choice-card.selected { background: #edf8d5; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice-card.selected::after { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--lime); }
.choice-title { font-size: 10px; color: var(--muted); }
.choice-card strong { font-family: 'DM Sans', sans-serif; font-size: 18px; margin: 5px 0 4px; letter-spacing: -.5px; }
.choice-card small { color: var(--muted); font-size: 8.5px; }
.choice-card.compact strong { font-family: 'Prompt', sans-serif; font-size: 12px; margin: 4px 0 3px; }
.slider-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 8.5px; color: var(--muted); margin-bottom: 8px; }
.slider-top span:last-child { text-align: right; }
.slider-top strong { color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 15px; background: #edf8d5; padding: 5px 11px; border-radius: 7px; }
.range-input { width: 100%; height: 6px; appearance: none; border-radius: 10px; background: linear-gradient(90deg, var(--coral) 25%, #dad6cb 25%); outline: none; display: block; }
.range-input::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border: 4px solid var(--white); border-radius: 50%; background: var(--ink); box-shadow: 0 1px 5px rgba(0,0,0,.28); cursor: grab; }
.range-input::-moz-range-thumb { width: 14px; height: 14px; border: 4px solid var(--white); border-radius: 50%; background: var(--ink); box-shadow: 0 1px 5px rgba(0,0,0,.28); cursor: grab; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 8px; margin-top: 7px; }
.decision-submit { display: flex; gap: 16px; align-items: center; justify-content: flex-end; padding-top: 22px; }
.decision-submit > div { display: flex; flex-direction: column; text-align: right; }
.decision-submit small { color: var(--muted); font-size: 8.5px; }
.decision-submit strong { font-family: 'DM Sans', sans-serif; font-size: 15px; }
.decision-submit .primary-button { width: auto; min-width: 260px; }
.founder-desk { display: grid; gap: 10px; position: sticky; top: 88px; }
.desk-card, .history-card { background: var(--ink); color: white; border-radius: 17px; padding: 19px; }
.desk-title { display: flex; flex-direction: column; gap: 2px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.14); }
.desk-title span { color: var(--lime); }
.desk-title strong { font-size: 12px; }
.desk-card dl { margin: 0; }
.desk-card dl div { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); padding: 11px 0; }
.desk-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.desk-card dt { color: #a6b5bd; font-size: 9px; }
.desk-card dd { margin: 0; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; }
.coach-card { border: 1px solid #d3b85f; background: #fff5ce; border-radius: 17px; padding: 16px; display: flex; gap: 11px; align-items: flex-start; }
.coach-avatar { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-family: 'DM Sans', sans-serif; font-size: 8px; font-weight: 800; }
.coach-card span { color: #977a1f; }
.coach-card p { margin: 4px 0 0; color: #574b2f; font-size: 9.5px; line-height: 1.6; }
.history-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.history-card .desk-title { border-color: var(--line); }
.history-card .desk-title span { color: var(--coral); }
.history-chart { height: 105px; display: flex; align-items: flex-end; gap: 7px; padding: 16px 4px 0; border-bottom: 1px solid var(--line); }
.history-chart > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.history-chart span { display: block; width: 100%; height: max(4%, var(--bar)); background: var(--line); border-radius: 4px 4px 0 0; transition: height .45s ease; }
.history-chart span.profit { background: var(--lime-dark); }
.history-chart span.loss { background: var(--coral); }
.history-chart small { color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 7px; }
.chart-legend { display: flex; justify-content: center; gap: 14px; color: var(--muted); font-size: 8px; padding-top: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 4px; }
.chart-legend i { width: 6px; height: 6px; border-radius: 50%; }
.profit-dot { background: var(--lime-dark); }
.loss-dot { background: var(--coral); }

/* Round result dialog */
.round-dialog { width: min(610px, calc(100% - 28px)); border: 0; padding: 0; border-radius: 24px; color: var(--ink); background: var(--white); box-shadow: 0 30px 100px rgba(5,18,27,.35); overflow: hidden; }
.round-dialog::backdrop { background: rgba(16,38,55,.7); backdrop-filter: blur(5px); }
.dialog-accent { height: 8px; background: var(--lime); }
.dialog-accent.loss { background: var(--coral); }
.dialog-inner { padding: 28px; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.dialog-top button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; }
.result-verdict { display: inline-block; margin: 20px 0 8px; color: var(--good); background: #e6f2e8; border-radius: 99px; padding: 5px 10px; font-size: 9px; font-weight: 600; }
.result-verdict.loss { color: var(--danger); background: #f9e1dc; }
.round-dialog h2 { margin: 0; font-size: clamp(27px, 5vw, 38px); letter-spacing: -1.4px; }
.round-dialog h2 em { font-style: normal; color: var(--good); }
.round-dialog h2 em.loss { color: var(--danger); }
.round-dialog > p, #resultExplanation { color: var(--muted); font-size: 11px; line-height: 1.6; }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin: 22px 0 18px; }
.result-grid div { padding: 15px 10px; display: flex; flex-direction: column; }
.result-grid div + div { border-left: 1px solid var(--line); }
.result-grid span { color: var(--muted); font-size: 8px; }
.result-grid strong { font-family: 'DM Sans', sans-serif; font-size: 14px; margin-top: 4px; }
.learning-note { padding: 14px 16px; border-radius: 12px; background: #edf3f6; margin-bottom: 16px; }
.learning-note span { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.learning-note p { font-size: 10px; color: var(--ink-2); line-height: 1.6; margin: 4px 0 0; }

/* Report */
.report-view { min-height: calc(100vh - 72px); background: var(--ink); color: white; padding: clamp(42px, 7vw, 86px) 0; position: relative; overflow: hidden; }
.report-view::before, .report-view::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.report-view::before { width: 500px; height: 500px; background: rgba(112,169,255,.08); top: -260px; right: -100px; }
.report-view::after { width: 370px; height: 370px; border: 60px solid rgba(199,240,107,.04); bottom: -220px; left: -120px; }
.report-shell { width: min(1080px, calc(100% - 36px)); margin: auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 290px; gap: 36px 60px; }
.report-heading .eyebrow span { color: #d0dbe0; }
.report-heading .eyebrow span:first-child { color: var(--ink); }
.report-kicker { color: var(--blue); font-size: 12px; margin: 0 0 10px; }
.report-heading h1 { font-size: clamp(38px, 5.5vw, 65px); letter-spacing: -2.8px; }
.report-heading h1 em { color: var(--lime); }
.report-heading h1 em::after { display: none; }
.report-heading > p:last-child { max-width: 680px; color: #b9c5cc; font-size: 14px; line-height: 1.7; margin: 20px 0 0; }
.score-orbit { display: grid; place-items: center; }
.score-ring { --score: 68%; width: 230px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--lime) var(--score), rgba(255,255,255,.1) 0); position: relative; }
.score-ring::before { content: ''; position: absolute; inset: 13px; background: var(--ink); border-radius: 50%; }
.score-ring::after { content: ''; position: absolute; inset: -18px; border: 1px dashed rgba(199,240,107,.25); border-radius: 50%; }
.score-ring div { position: relative; display: grid; grid-template-columns: auto auto; align-items: baseline; text-align: center; }
.score-ring strong { font-family: 'DM Sans', sans-serif; font-size: 68px; letter-spacing: -4px; }
.score-ring span { color: #9fb0ba; font-family: 'DM Sans', sans-serif; font-size: 15px; }
.score-ring small { grid-column: 1 / -1; color: var(--lime); font-family: 'DM Sans', sans-serif; font-size: 8px; letter-spacing: 1.5px; }
.report-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(255,255,255,.16); }
.report-metrics article { padding: 18px 16px 18px 0; display: flex; flex-direction: column; }
.report-metrics article + article { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.report-metrics span { color: #9fb0ba; font-size: 9px; }
.report-metrics strong { font-family: 'DM Sans', sans-serif; font-size: 25px; margin: 5px 0 3px; }
.report-metrics small { color: var(--lime); font-size: 8.5px; }
.readiness-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.score-card { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.045); border-radius: 14px; padding: 17px; }
.score-card-head { display: flex; justify-content: space-between; font-size: 11px; }
.score-card-head strong { font-family: 'DM Sans', sans-serif; color: var(--lime); }
.score-bar { height: 5px; background: rgba(255,255,255,.12); border-radius: 10px; margin: 10px 0; overflow: hidden; }
.score-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--lime)); border-radius: inherit; transition: width .8s ease .2s; }
.score-card p { color: #9fb0ba; font-size: 9px; line-height: 1.55; margin: 0; }
.next-actions { grid-column: 1 / -1; background: var(--paper); color: var(--ink); border-radius: 20px; padding: 25px; }
.next-actions-head { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.next-actions-head h2 { margin: 3px 0 0; font-size: 19px; }
.next-actions ol { list-style: none; padding: 0; margin: 0; counter-reset: actions; }
.next-actions li { counter-increment: actions; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.55; }
.next-actions li:last-child { border-bottom: 0; padding-bottom: 0; }
.next-actions li::before { content: '0' counter(actions); font-family: 'DM Sans', sans-serif; color: var(--coral); font-weight: 800; }
.next-actions li strong { display: block; margin-bottom: 2px; }
.next-actions li span { color: var(--muted); font-size: 9.5px; }
.report-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 9px; }
.report-actions .primary-button { background: var(--lime); color: var(--ink); }
.report-actions .primary-button span { color: var(--coral); }
.secondary-button { min-height: 52px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: transparent; color: white; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; padding: 10px; font-size: 11px; }
.secondary-button:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.5); }
.disclaimer { grid-column: 1 / -1; color: #7f929e; text-align: center; font-size: 8.5px; margin: -17px 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: white; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 11px 16px; font-size: 11px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sandbox-footer { padding: 18px clamp(18px, 4vw, 58px); display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); font-family: 'DM Sans', sans-serif; font-size: 9px; background: var(--paper); }

@media (max-width: 960px) {
    .setup-shell { grid-template-columns: 1fr; max-width: 720px; padding-top: 60px; }
    .hero-copy { text-align: center; }
    .hero-lead, .hero-proof { margin-left: auto; margin-right: auto; }
    .eyebrow { justify-content: center; }
    blockquote { display: inline-block; text-align: left; }
    .decision-layout { grid-template-columns: 1fr; }
    .founder-desk { position: static; grid-template-columns: repeat(3, 1fr); }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .report-shell { grid-template-columns: 1fr; }
    .score-orbit { grid-row: 2; }
}

@media (max-width: 700px) {
    .topbar { height: 62px; grid-template-columns: 1fr auto; }
    .wordmark-name, .top-actions .text-button:last-child { display: none; }
    .product-name { justify-self: end; }
    .top-actions { position: fixed; right: 16px; bottom: 16px; z-index: 40; }
    .top-actions #resetTopBtn:not(.hidden) { display: block; background: var(--white); border: 1px solid var(--line); box-shadow: 0 5px 18px rgba(16,38,55,.14); }
    .setup-view { min-height: calc(100vh - 62px); }
    .setup-shell { width: min(100% - 24px, 560px); padding: 40px 0; gap: 36px; }
    .hero-copy h1 { font-size: clamp(39px, 12vw, 60px); letter-spacing: -2.5px; }
    .hero-lead { font-size: 15px; margin-top: 20px; }
    .hero-proof span { font-size: 9px; }
    .learning-strip { justify-content: flex-start; overflow-x: auto; padding-inline: 18px; }
    .game-view { width: min(100% - 22px, 620px); padding-top: 24px; }
    .game-header { align-items: flex-start; flex-direction: column; gap: 17px; }
    .round-progress { width: 100%; }
    .metric-card { padding: 14px; }
    .market-pulse { grid-template-columns: auto 1fr; padding: 14px; gap: 10px; }
    .pulse-badge { display: none; }
    .pulse-impact { grid-column: 2; width: max-content; margin: 0; }
    .decision-panel { padding: 18px 14px; }
    .panel-heading { align-items: flex-start; }
    .panel-heading p { display: none; }
    .choice-grid.three { gap: 5px; }
    .choice-card { padding: 12px 8px 10px; }
    .choice-card::after { right: 7px; top: 7px; }
    .choice-title { font-size: 9px; padding-right: 8px; }
    .choice-card strong { font-size: 14px; }
    .choice-card small { font-size: 7.5px; }
    .decision-submit { flex-direction: column; align-items: stretch; }
    .decision-submit > div { flex-direction: row; justify-content: space-between; }
    .decision-submit .primary-button { width: 100%; min-width: 0; }
    .founder-desk { grid-template-columns: 1fr; }
    .report-heading { text-align: center; }
    .report-heading .eyebrow { flex-wrap: wrap; }
    .report-heading h1 { font-size: 38px; letter-spacing: -2px; }
    .report-metrics { grid-template-columns: repeat(2, 1fr); }
    .report-metrics article:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
    .report-metrics article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
    .readiness-grid { grid-template-columns: 1fr; }
    .report-actions { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: repeat(2, 1fr); }
    .result-grid div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .result-grid div:nth-child(4) { border-top: 1px solid var(--line); }
    .dialog-inner { padding: 22px 18px; }
    .sandbox-footer { flex-direction: column; gap: 5px; text-align: center; }
}

@media (max-width: 420px) {
    .setup-card { padding: 20px 15px; border-radius: 21px; }
    .business-card { grid-template-columns: 43px 1fr 18px; padding: 10px; gap: 10px; }
    .business-icon { width: 42px; height: 42px; }
    .metric-card > strong { font-size: 19px; }
    .choice-card strong { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
