:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #f7f7f2;
  --muted: #aaa9a2;
  --faint: #6e6d68;
  --yellow: #ffcd00;
  --yellow-soft: #ffe16a;
  --yellow-ink: #11100a;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --hair: rgba(255, 255, 255, .14);
  --hair-soft: rgba(255, 255, 255, .075);
  --danger: #ff7568;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 35px 100px -55px rgba(0, 0, 0, .95);
  --font: Inter, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--black); font-family: var(--font); line-height: 1.5; overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
::selection { color: var(--yellow-ink); background: var(--yellow); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; color: var(--yellow-ink); background: var(--yellow); border-radius: 8px; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.ambient { position: fixed; z-index: -2; width: 52vw; height: 52vw; border-radius: 999px; filter: blur(110px); pointer-events: none; opacity: .12; }
.ambient-one { right: -28vw; top: -22vw; background: var(--yellow); }
.ambient-two { left: -35vw; bottom: -38vw; background: #7a6100; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.site-header { position: sticky; top: 0; z-index: 30; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 3vw, 46px); border-bottom: 1px solid var(--hair-soft); background: rgba(5, 5, 5, .82); backdrop-filter: blur(24px); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { position: relative; display: block; width: 33px; height: 33px; border: 2px solid var(--yellow); border-radius: 50%; }
.brand-mark::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255, 205, 0, .55); border-radius: 50%; }
.brand-mark i { position: absolute; left: 50%; width: 2px; height: 9px; background: var(--yellow); transform-origin: 50% 16px; }
.brand-mark i:first-child { transform: translateX(-1px) rotate(45deg); }
.brand-mark i:last-child { transform: translateX(-1px) rotate(225deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .83rem; letter-spacing: .1em; }
.brand small { margin-top: 1px; color: var(--muted); font: 600 .55rem/1.2 var(--mono); letter-spacing: .08em; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.save-state { margin-right: 8px; color: var(--muted); font: 600 .68rem var(--mono); letter-spacing: .03em; }
.save-state span { margin-right: 5px; color: #86d993; font-size: .7rem; }
.save-state.saving span { color: var(--yellow); }
.icon-button { width: 41px; height: 41px; display: grid; place-items: center; padding: 0; border: 1px solid var(--hair); border-radius: 50%; background: var(--surface); cursor: pointer; transition: .2s ease; }
.icon-button:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-1px); }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.rail { position: sticky; top: 76px; height: calc(100vh - 76px); padding: 26px 20px 24px; border-right: 1px solid var(--hair-soft); background: rgba(7, 7, 7, .56); overflow-y: auto; }
.rail-progress { display: flex; align-items: center; gap: 13px; padding: 0 8px 22px; border-bottom: 1px solid var(--hair-soft); }
.progress-ring { --progress: 0deg; flex: 0 0 auto; width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--yellow) var(--progress), rgba(255,255,255,.09) 0); position: relative; }
.progress-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #090909; }
.progress-ring span { position: relative; z-index: 1; font: 750 .68rem var(--mono); }
.rail-progress strong, .rail-progress small { display: block; }
.rail-progress strong { font-size: .82rem; }
.rail-progress small { margin-top: 3px; color: var(--faint); font-size: .65rem; }
.day-nav { display: grid; gap: 3px; padding: 18px 0; }
.day-nav a { position: relative; display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 7px; min-height: 64px; padding: 10px 9px; border: 1px solid transparent; border-radius: 12px; color: var(--muted); text-decoration: none; transition: .2s ease; }
.day-nav a:hover { color: var(--ink); background: var(--surface); }
.day-nav a[aria-current="page"] { color: var(--ink); border-color: rgba(255, 205, 0, .35); background: linear-gradient(90deg, rgba(255, 205, 0, .12), rgba(255, 205, 0, .025)); }
.day-nav a[aria-current="page"]::before { content: ""; position: absolute; left: -21px; width: 3px; height: 27px; border-radius: 9px; background: var(--yellow); box-shadow: 0 0 22px rgba(255, 205, 0, .5); }
.nav-number { color: var(--faint); font: 700 .68rem var(--mono); }
.day-nav a[aria-current="page"] .nav-number { color: var(--yellow); }
.day-nav strong, .day-nav small { display: block; }
.day-nav strong { font-size: .76rem; }
.day-nav small { margin-top: 2px; color: var(--faint); font-size: .62rem; }
.nav-check { display: none; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: var(--yellow-ink); background: var(--yellow); font-size: .65rem; }
.day-nav a.is-complete .nav-check { display: grid; }
.privacy-note { display: flex; gap: 9px; margin-top: 8px; padding: 14px 12px; color: var(--faint); border: 1px solid var(--hair-soft); border-radius: 12px; background: rgba(255,255,255,.018); }
.privacy-note span { color: var(--yellow); font: 800 1rem var(--mono); }
.privacy-note p { margin: 0; font-size: .62rem; line-height: 1.5; }
.privacy-note strong { color: var(--muted); }

main { min-width: 0; }
.workbook-page { width: min(1320px, 100%); min-height: calc(100vh - 76px); margin: 0 auto; padding: clamp(54px, 7vw, 104px) clamp(28px, 6vw, 92px) 100px; animation: page-in .42s cubic-bezier(.2,.8,.2,1); }
.workbook-page[hidden] { display: none; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.eyebrow { display: flex; align-items: center; gap: 15px; color: var(--yellow); font: 700 .69rem var(--mono); letter-spacing: .16em; }
.eyebrow i { width: 44px; height: 1px; background: rgba(255,205,0,.55); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); align-items: center; gap: clamp(40px, 8vw, 110px); min-height: 570px; }
.hero-copy h1 { max-width: 760px; margin: 24px 0 22px; font-size: clamp(3.2rem, 6vw, 6.6rem); line-height: .94; letter-spacing: -.064em; }
.hero-copy h1 em { display: block; color: var(--yellow); font-style: normal; }
.lead { max-width: 650px; margin: 0 0 32px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.22rem); }
.identity-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 720px; margin-bottom: 22px; padding: 18px; border: 1px solid var(--hair); border-radius: var(--radius); background: linear-gradient(140deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); box-shadow: var(--shadow); }
.field-group label, label { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; }
.field-group.grow { flex: 1; }
input, textarea, select { width: 100%; color: var(--ink); border: 1px solid var(--hair); border-radius: 9px; background: rgba(0,0,0,.3); transition: border-color .2s, background .2s, box-shadow .2s; }
input { height: 45px; padding: 0 13px; }
textarea { min-height: 86px; padding: 11px 13px; line-height: 1.45; resize: vertical; }
select { height: 42px; padding: 0 36px 0 11px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
input:hover, textarea:hover, select:hover { border-color: rgba(255,205,0,.45); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--yellow); background: rgba(255,205,0,.035); box-shadow: 0 0 0 3px rgba(255,205,0,.1); }
input::placeholder, textarea::placeholder { color: #65645f; }
.field-group label { margin-bottom: 7px; }
.primary-button, .secondary-button, .danger-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 19px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-weight: 850; font-size: .78rem; letter-spacing: .025em; text-decoration: none; cursor: pointer; transition: .22s ease; }
.primary-button { color: var(--yellow-ink); background: linear-gradient(115deg, var(--yellow), var(--yellow-soft)); box-shadow: 0 18px 45px -22px rgba(255,205,0,.65); }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 22px 55px -22px rgba(255,205,0,.85); }
.primary-button span { font-size: 1.1rem; }
.secondary-button { border-color: var(--hair); background: var(--surface); }
.danger-button { color: #140604; background: var(--danger); }

.hero-system { position: relative; width: min(500px, 100%); aspect-ratio: 1; justify-self: center; }
.orbit { position: absolute; inset: 10%; border: 1px solid rgba(255,205,0,.22); border-radius: 50%; }
.orbit-b { inset: 24%; border-color: rgba(255,255,255,.12); }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 25px var(--yellow); }
.orbit::before { left: 8%; top: 22%; }.orbit::after { right: 4%; bottom: 31%; }
.system-core { position: absolute; inset: 35%; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,205,0,.55); border-radius: 50%; background: radial-gradient(circle, rgba(255,205,0,.18), rgba(255,205,0,.025) 68%); box-shadow: 0 0 80px rgba(255,205,0,.1); }
.system-core span { color: var(--yellow); font: 700 .58rem var(--mono); letter-spacing: .12em; }.system-core strong { font-size: clamp(.9rem, 1.3vw, 1.15rem); }
.system-step { position: absolute; width: 108px; padding: 11px 13px; border: 1px solid var(--hair); border-radius: 12px; background: rgba(12,12,12,.82); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.system-step b, .system-step span { display: block; }.system-step b { margin-bottom: 2px; color: var(--yellow); font: 700 .6rem var(--mono); }.system-step span { font-size: .72rem; font-weight: 800; }
.step-one { left: 3%; top: 18%; }.step-two { right: 1%; top: 16%; }.step-three { right: -3%; bottom: 19%; }.step-four { left: 39%; bottom: -1%; }.step-five { left: -4%; bottom: 22%; }
.premise-strip { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid var(--hair); font-size: clamp(.72rem, 1.15vw, .9rem); font-weight: 900; letter-spacing: .05em; }
.premise-strip span:last-child { color: var(--yellow); }

.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-bottom: 42px; padding-bottom: 32px; border-bottom: 1px solid var(--hair); }
.day-kicker { color: var(--yellow); font: 750 .69rem var(--mono); letter-spacing: .15em; }
.page-heading h1 { margin: 13px 0 9px; font-size: clamp(2.7rem, 5vw, 5.4rem); line-height: .97; letter-spacing: -.055em; }
.page-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1rem; }
.page-icon { flex: 0 0 auto; position: relative; width: 104px; height: 104px; border: 1px solid rgba(255,205,0,.45); border-radius: 50%; background: radial-gradient(circle, rgba(255,205,0,.15), transparent 70%); }
.map-icon { display: flex; align-items: center; justify-content: center; gap: 6px; }.map-icon span { width: 15px; height: 42px; border: 1px solid var(--yellow); border-radius: 4px; }.map-icon span:nth-child(2) { height: 62px; background: var(--yellow); }
.tax-icon { display: grid; place-items: center; }.tax-icon b { color: var(--yellow); font: 400 3rem Georgia, serif; }
.jobs-icon { display: flex; align-items: center; justify-content: center; gap: 8px; }.jobs-icon span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--yellow); border-radius: 50%; color: var(--yellow); font: 800 .7rem var(--mono); }.jobs-icon i { width: 17px; height: 1px; background: var(--yellow); }
.blueprint-icon { display: grid; grid-template-columns: repeat(2, 22px); place-content: center; gap: 6px; }.blueprint-icon i { height: 22px; border: 1px solid var(--yellow); }.blueprint-icon i:first-child { background: var(--yellow); }
.score-icon { display: grid; place-content: center; text-align: center; }.score-icon strong { color: var(--yellow); font-size: 2.2rem; line-height: 1; }.score-icon span { color: var(--muted); font: .65rem var(--mono); }

.context-card { display: flex; align-items: flex-end; gap: 28px; margin-bottom: 26px; padding: 20px; border: 1px solid rgba(255,205,0,.28); border-radius: var(--radius); background: linear-gradient(100deg, rgba(255,205,0,.09), rgba(255,205,0,.018)); }
.context-card p { flex: 1.2; margin: 0; color: var(--muted); font-size: .78rem; }.context-card p strong { color: var(--ink); }
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.map-column, .job-panel { min-width: 0; padding: 18px; border: 1px solid var(--hair); border-radius: var(--radius); background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.map-column.featured { border-color: rgba(255,205,0,.55); box-shadow: inset 0 0 55px rgba(255,205,0,.035); }
.column-head { margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--hair-soft); }.column-head span, .column-head strong { display: block; }.column-head span { color: var(--yellow); font: 700 .61rem var(--mono); letter-spacing: .12em; }.column-head strong { margin-top: 3px; font-size: .88rem; }
.repeat-list { display: grid; gap: 8px; min-height: 54px; }
.repeat-item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--hair-soft); border-radius: 10px; background: rgba(0,0,0,.22); }
.repeat-item input[type="text"] { height: 39px; border: 0; background: transparent; padding: 0 5px; }
.repeat-item input[type="text"]:focus { box-shadow: none; }
.dependence-toggle { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--hair); border-radius: 50%; color: var(--faint); background: transparent; cursor: pointer; }
.dependence-toggle:hover { color: var(--yellow); border-color: var(--yellow); }
.dependence-toggle[aria-pressed="true"] { color: var(--yellow-ink); border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,205,0,.12); }
.remove-item { position: absolute; right: -6px; top: -7px; width: 20px; height: 20px; padding: 0; display: none; place-items: center; border: 1px solid var(--hair); border-radius: 50%; color: var(--muted); background: #111; cursor: pointer; font-size: .66rem; }
.repeat-item:hover .remove-item, .repeat-item:focus-within .remove-item { display: grid; }
.add-button { width: 100%; margin-top: 9px; padding: 10px; border: 1px dashed var(--hair); border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; font-size: .69rem; font-weight: 750; }
.add-button:hover { color: var(--yellow); border-color: rgba(255,205,0,.55); background: rgba(255,205,0,.035); }
.add-button.wide { margin-top: 0; border-radius: 0 0 11px 11px; }
.legend { margin: 12px 0 28px; color: var(--faint); font-size: .67rem; }.legend-ring { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 2px solid var(--yellow); border-radius: 50%; vertical-align: -2px; }

.reflection-panel { position: relative; margin-top: 28px; padding: 31px 20px 20px; border: 1px solid rgba(255,205,0,.35); border-radius: var(--radius); background: linear-gradient(130deg, rgba(255,205,0,.075), rgba(255,255,255,.02)); }
.panel-label { position: absolute; left: 20px; top: -11px; padding: 4px 9px; color: var(--yellow-ink); background: var(--yellow); border-radius: 4px; font: 800 .58rem var(--mono); letter-spacing: .1em; }
.reflection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.reflection-grid.three { grid-template-columns: repeat(3, 1fr); }.reflection-grid label, .two-up label { line-height: 1.4; }.reflection-grid textarea, .two-up textarea { margin-top: 8px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; padding: 25px 0 0; border-top: 1px solid var(--hair); }.page-footer p { max-width: 720px; margin: 0; font-weight: 800; }.page-footer p span { display: block; margin-bottom: 5px; color: var(--yellow); font: 700 .59rem var(--mono); letter-spacing: .12em; }.page-footer.final { padding: 25px; border: 1px solid rgba(255,205,0,.4); border-radius: var(--radius); background: rgba(255,205,0,.055); }

.worksheet-block { margin-bottom: 34px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 15px; }.section-title > div { display: flex; align-items: center; gap: 11px; }.section-title span { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 7px; border-radius: 7px; color: var(--yellow-ink); background: var(--yellow); font: 800 .67rem var(--mono); }.section-title h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.025em; }.section-title p { margin: 0; color: var(--faint); font-size: .7rem; }
.tax-table, .function-table { overflow: hidden; border: 1px solid var(--hair); border-radius: var(--radius); }
.tax-head, .tax-row { display: grid; grid-template-columns: 1.1fr 1.2fr .65fr 1.7fr; align-items: stretch; }
.tax-head, .function-head { color: var(--yellow); background: #020202; font: 750 .62rem var(--mono); letter-spacing: .04em; }
.tax-head span, .function-head span { padding: 12px; }
.tax-row { border-top: 1px solid var(--hair-soft); background: rgba(255,255,255,.025); }.tax-row:nth-child(even) { background: rgba(255,255,255,.045); }.tax-row > * { border: 0; border-right: 1px solid var(--hair-soft); border-radius: 0; background: transparent; }.tax-row > *:last-child { border-right: 0; }.tax-row strong { display: flex; align-items: center; padding: 11px 12px; font-size: .74rem; }.tax-row input { height: 52px; }.tax-total { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; padding: 14px 17px; border-top: 1px solid rgba(255,205,0,.35); background: rgba(255,205,0,.07); }.tax-total span { margin-right: auto; color: var(--yellow); font: 750 .61rem var(--mono); letter-spacing: .1em; }.tax-total strong { font-size: 1.25rem; }.tax-total small { color: var(--faint); font-size: .61rem; }
.belief-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 15px; }
.belief-card { position: relative; min-width: 0; padding: 15px 13px; border: 1px solid var(--hair); border-radius: 13px; background: var(--surface); }.belief-card::after { content: "→"; position: absolute; right: -11px; top: 19px; z-index: 2; color: var(--yellow); font-weight: 800; }.belief-card:nth-child(4)::after, .belief-card:last-child::after { display: none; }.belief-card header { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }.belief-card header span { color: var(--faint); font: 700 .55rem var(--mono); }.belief-card header strong { font-size: .7rem; }.belief-card textarea { min-height: 74px; font-size: .7rem; }.owner-check { display: flex; align-items: center; gap: 7px; margin-top: 7px; cursor: pointer; color: var(--faint); font-size: .6rem; }.owner-check input { width: 15px; height: 15px; accent-color: var(--yellow); }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.jobs-grid { display: grid; grid-template-columns: 1fr 66px 1fr; align-items: stretch; margin-bottom: 30px; }.job-panel { padding: 22px; }.job-panel.prepare { border-color: rgba(255,205,0,.35); }.job-panel.convert { border-color: rgba(255,205,0,.6); background: linear-gradient(145deg, rgba(255,205,0,.07), rgba(255,255,255,.025)); }.job-panel header { min-height: 112px; border-bottom: 1px solid var(--hair-soft); margin-bottom: 13px; }.job-panel header > span { color: var(--yellow); font: 700 .59rem var(--mono); letter-spacing: .11em; }.job-panel h2 { margin: 5px 0 5px; font-size: 1.5rem; }.job-panel header p { margin: 0; color: var(--faint); font-size: .69rem; }.job-prompts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }.job-prompts span { padding: 4px 6px; border: 1px solid var(--hair-soft); border-radius: 5px; color: var(--faint); font: 600 .49rem var(--mono); }
.handoff { display: grid; align-content: center; justify-items: center; gap: 4px; color: var(--yellow); }.handoff span { writing-mode: vertical-rl; font: 700 .52rem var(--mono); letter-spacing: .13em; }.handoff i { font-style: normal; font-size: 1.4rem; }
.function-head, .function-row { display: grid; grid-template-columns: 1.45fr 1.35fr 1fr 38px; }.function-row { border-top: 1px solid var(--hair-soft); background: var(--surface); }.function-row > * { border: 0; border-right: 1px solid var(--hair-soft); border-radius: 0; background-color: transparent; }.function-row > *:last-child { border-right: 0; }.function-row button { color: var(--faint); background: transparent; border: 0; cursor: pointer; }.function-row button:hover { color: var(--danger); }

.blueprint-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; align-items: stretch; }
.blueprint-stage { position: relative; min-width: 0; padding: 18px 13px 14px; border: 1px solid var(--hair); border-radius: var(--radius); background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }.blueprint-stage:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 31px; z-index: 2; color: var(--yellow); font-weight: 900; }.blueprint-stage header { min-height: 72px; border-bottom: 1px solid var(--hair-soft); margin-bottom: 12px; }.blueprint-stage header span { color: var(--yellow); font: 700 .55rem var(--mono); }.blueprint-stage h2 { margin: 3px 0 3px; font-size: 1rem; }.blueprint-stage header p { margin: 0; color: var(--faint); font-size: .56rem; line-height: 1.35; }.blueprint-stage label { margin-top: 10px; color: var(--faint); font: 650 .57rem var(--mono); }.blueprint-stage textarea, .blueprint-stage input { margin-top: 5px; font-family: var(--font); font-size: .7rem; }.blueprint-stage textarea { min-height: 72px; }.blueprint-stage .signal-input { border-color: rgba(255,205,0,.3); }
.operating-model { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 2vw, 25px); margin-top: 28px; padding: 20px; color: var(--yellow); border: 1px solid rgba(255,205,0,.27); border-radius: var(--radius); background: rgba(255,205,0,.035); font: 800 .72rem var(--mono); letter-spacing: .08em; }.operating-model i { color: var(--faint); font-style: normal; }

.score-instructions { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; color: var(--muted); font-size: .68rem; }.score-instructions > span { margin-right: auto; color: var(--ink); font-weight: 800; }.score-instructions div { display: flex; align-items: center; gap: 5px; }.score-instructions i { display: grid; place-items: center; width: 22px; height: 22px; color: var(--yellow-ink); background: var(--yellow); border-radius: 50%; font: 800 .59rem var(--mono); font-style: normal; }
.scorecard { overflow: hidden; border: 1px solid var(--hair); border-radius: var(--radius); counter-reset: question; }
.score-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; min-height: 83px; padding: 14px 16px; border-bottom: 1px solid var(--hair-soft); background: rgba(255,255,255,.025); counter-increment: question; }.score-row:last-child { border-bottom: 0; }.score-row:nth-child(even) { background: rgba(255,255,255,.045); }.score-row.proof-gate { border-left: 3px solid var(--yellow); }.score-question { display: flex; align-items: flex-start; gap: 12px; }.score-question::before { content: counter(question, decimal-leading-zero); flex: 0 0 auto; color: var(--yellow); font: 700 .6rem var(--mono); }.score-question div { font-size: .82rem; font-weight: 700; }.score-question small { display: block; margin-top: 4px; color: var(--faint); font: .57rem var(--mono); }.score-options { display: flex; gap: 5px; border: 0; padding: 0; margin: 0; }.score-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }.score-options label { position: relative; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--hair); border-radius: 10px; color: var(--muted); background: rgba(0,0,0,.22); cursor: pointer; font: 800 .75rem var(--mono); }.score-options label:hover { border-color: var(--yellow); color: var(--yellow); }.score-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }.score-options label:has(input:checked) { color: var(--yellow-ink); border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,205,0,.1); }
.fine-print { margin: 10px 2px 28px; color: var(--faint); font-size: .65rem; }.fine-print strong { color: var(--yellow); }
.decision-panel { display: grid; grid-template-columns: 280px 1fr; gap: 33px; padding: 27px; border: 1px solid rgba(255,205,0,.4); border-radius: var(--radius); background: radial-gradient(circle at 15% 50%, rgba(255,205,0,.14), transparent 42%), var(--surface); }
.score-display { display: grid; align-content: center; padding-right: 29px; border-right: 1px solid var(--hair); }.score-display > span { color: var(--yellow); font: 700 .61rem var(--mono); letter-spacing: .12em; }.score-display strong { display: block; margin: 3px 0 14px; font-size: 4rem; line-height: 1; }.score-display strong small { color: var(--faint); font-size: 1rem; }.score-track { height: 5px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.09); }.score-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--yellow); transition: width .35s ease; }
.decision-copy > span { color: var(--yellow); font: 700 .6rem var(--mono); letter-spacing: .1em; }.decision-copy h2 { margin: 7px 0 7px; font-size: 1.65rem; letter-spacing: -.025em; }.decision-copy p { max-width: 690px; margin: 0; color: var(--muted); font-size: .78rem; }.apply-button { display: none; margin-top: 17px; }.decision-panel.is-ready .apply-button { display: inline-flex; }
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }.outcomes article { min-width: 0; padding: 16px; border: 1px solid var(--hair-soft); border-radius: 13px; background: var(--surface); }.outcomes span { color: var(--yellow); font: 700 .55rem var(--mono); }.outcomes strong { display: block; margin: 3px 0; font-size: .78rem; }.outcomes p { margin: 0; color: var(--faint); font-size: .61rem; line-height: 1.45; }

.mobile-nav { display: none; }
.reset-link { display: block; margin: 18px 0 0 auto; padding: 5px; color: #5f5e59; border: 0; background: transparent; cursor: pointer; font-size: .56rem; }.reset-link:hover { color: var(--danger); }
dialog { max-width: 430px; color: var(--ink); border: 1px solid var(--hair); border-radius: 18px; background: #121212; box-shadow: 0 30px 120px #000; }.dialog-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; color: #180605; background: var(--danger); font-weight: 900; }dialog h2 { margin-bottom: 5px; }dialog p { color: var(--muted); font-size: .8rem; }dialog form > div { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 250px minmax(0, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }.hero-system { display: none; }
  .belief-chain { grid-template-columns: repeat(2, 1fr); }.belief-card:nth-child(2)::after, .belief-card:nth-child(6)::after { display: none; }.belief-card:nth-child(4)::after { display: block; }
  .blueprint-flow { grid-template-columns: repeat(2, 1fr); }.blueprint-stage::after { display: none; }.blueprint-stage:last-child { grid-column: 1 / -1; }
  .reflection-grid.three { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .site-header { height: 65px; }.brand small { display: none; }.save-state { display: none; }
  .app-shell { display: block; }.rail { display: none; }
  .workbook-page { min-height: calc(100vh - 65px); padding: 45px 18px 110px; }
  .hero-grid { min-height: 0; }.hero-copy h1 { font-size: clamp(3.25rem, 16vw, 5.2rem); }.identity-card { grid-template-columns: 1fr; }.premise-strip { display: grid; gap: 4px; margin-top: 40px; }
  .page-heading { gap: 15px; }.page-icon { width: 62px; height: 62px; }.page-heading h1 { font-size: 2.7rem; }.page-heading p { font-size: .84rem; }
  .map-grid, .jobs-grid, .two-up, .reflection-grid, .decision-panel, .outcomes { grid-template-columns: 1fr; }
  .handoff { height: 50px; display: flex; justify-content: center; }.handoff span { writing-mode: initial; }.handoff i { transform: rotate(90deg); }
  .context-card, .page-footer { align-items: stretch; flex-direction: column; }.page-footer .primary-button { width: 100%; }
  .tax-head { display: none; }.tax-row { grid-template-columns: 1fr 1fr; padding: 10px; gap: 7px; }.tax-row > * { border: 1px solid var(--hair-soft); border-radius: 8px; }.tax-row strong { grid-column: 1 / -1; color: var(--yellow); border: 0; }.tax-total { flex-wrap: wrap; }.tax-total span { flex: 1 0 100%; }
  .function-head { display: none; }.function-row { grid-template-columns: 1fr; padding: 10px; gap: 7px; }.function-row > * { border: 1px solid var(--hair-soft); border-radius: 8px; }.function-row button { min-height: 32px; }
  .belief-chain { grid-template-columns: 1fr; }.belief-card::after { display: none !important; }
  .blueprint-flow { grid-template-columns: 1fr; }.blueprint-stage:last-child { grid-column: auto; }
  .score-instructions { align-items: flex-start; flex-wrap: wrap; }.score-instructions > span { flex: 1 0 100%; }.score-row { grid-template-columns: 1fr; gap: 10px; }.score-options { width: 100%; }.score-options label { flex: 1; }
  .decision-panel { gap: 20px; }.score-display { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--hair); }
  .mobile-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; height: 74px; display: grid; grid-template-columns: 58px 1fr 58px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--hair); background: rgba(7,7,7,.94); backdrop-filter: blur(20px); }.mobile-nav button { width: 43px; height: 43px; border: 1px solid var(--hair); border-radius: 50%; background: var(--surface); cursor: pointer; }.mobile-nav button:last-child { justify-self: end; color: var(--yellow-ink); border-color: var(--yellow); background: var(--yellow); }.mobile-nav span { text-align: center; }.mobile-nav strong, .mobile-nav small { display: block; }.mobile-nav strong { font-size: .72rem; }.mobile-nav small { margin-top: 2px; color: var(--faint); font-size: .59rem; }
}

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

/* Perception + conversion refinement, August 2026 */
:root {
  --muted: #b9b8b1;
  --faint: #92918a;
  --radius: 12px;
  --radius-sm: 8px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { font-size: 16px; }
.brand small { font-size: .68rem; letter-spacing: .07em; }
.save-state { font-size: .75rem; }
.rail-progress strong { font-size: .88rem; }
.rail-progress small, .privacy-note p { font-size: .75rem; }
.day-nav strong { font-size: .8125rem; }
.day-nav small { font-size: .72rem; line-height: 1.35; }

.workbook-page {
  width: min(1260px, 100%);
  padding: clamp(54px, 6vw, 92px) clamp(34px, 4.8vw, 72px) 112px;
}
.eyebrow, .day-kicker { font-size: .75rem; letter-spacing: .11em; }
.hero-copy h1 { max-width: 12ch; font-size: clamp(3.2rem, 5.7vw, 6rem); letter-spacing: -.06em; }
.lead { max-width: 58ch; margin-bottom: 34px; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; }
.page-heading p { font-size: .9375rem; line-height: 1.55; }
.page-icon {
  width: 96px;
  height: 96px;
  border-color: rgba(255,205,0,.35);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,205,0,.09), rgba(255,255,255,.018));
}
.score-icon { border-radius: 50%; }

.field-group label, label { font-size: .8125rem; }
input, textarea, select { border-radius: 7px; background-color: rgba(0,0,0,.34); }
.primary-button, .secondary-button, .danger-button {
  min-height: 50px;
  gap: 16px;
  padding-inline: 22px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 820;
  letter-spacing: 0;
}
.add-button { min-height: 44px; border-radius: 7px; font-size: .78rem; }

.context-card {
  margin-bottom: 32px;
  padding: 22px;
  border-color: var(--hair);
  border-left: 3px solid var(--yellow);
  background: linear-gradient(100deg, rgba(255,205,0,.045), rgba(255,255,255,.018));
}
.context-card p { font-size: .875rem; line-height: 1.55; }
.map-column, .job-panel { padding: 20px; }
.map-column.featured {
  border-color: var(--hair);
  border-top: 3px solid var(--yellow);
  box-shadow: inset 0 0 55px rgba(255,205,0,.025);
}
.map-column:focus-within, .job-panel:focus-within, .belief-card:focus-within, .blueprint-stage:focus-within {
  border-color: rgba(255,205,0,.58);
  box-shadow: 0 0 0 3px rgba(255,205,0,.07);
}
.column-head span { font-size: .72rem; letter-spacing: .09em; }
.column-head strong { font-size: .95rem; }
.legend { margin: 14px 0 38px; font-size: .75rem; line-height: 1.5; }

.reflection-panel {
  margin-top: 42px;
  padding: 34px 22px 22px;
  border-color: var(--hair);
  border-left: 3px solid var(--yellow);
  background: linear-gradient(130deg, rgba(255,205,0,.035), rgba(255,255,255,.02));
}
.panel-label {
  left: 19px;
  top: -12px;
  padding: 4px 0;
  color: var(--yellow);
  background: var(--black);
  border-radius: 0;
  font-size: .72rem;
  letter-spacing: .08em;
}
.page-footer { margin-top: 46px; padding-top: 32px; }
.page-footer p span { font-size: .72rem; letter-spacing: .09em; }
.page-footer.final {
  padding: 27px;
  border-color: var(--hair);
  border-left: 3px solid var(--yellow);
  background: rgba(255,205,0,.025);
}

.worksheet-block { margin-bottom: 46px; }
.section-title { display: grid; align-items: initial; justify-content: initial; gap: 7px; margin-bottom: 18px; }
.section-title span {
  border: 1px solid rgba(255,205,0,.5);
  border-radius: 6px;
  color: var(--yellow);
  background: rgba(255,205,0,.08);
  font-size: .72rem;
}
.section-title p { margin-left: 45px; font-size: .78rem; }
.tax-head, .function-head { font-size: .72rem; letter-spacing: .03em; }
.tax-row strong { font-size: .85rem; }
.tax-total { background: rgba(255,205,0,.05); }
.tax-total span, .tax-total small { font-size: .72rem; }

.belief-card { padding: 18px; border-radius: 10px; }
.belief-card::after { top: 22px; }
.belief-card header span { font-size: .72rem; }
.belief-card header strong { font-size: .875rem; }
.belief-card textarea { min-height: 82px; font-size: .8125rem; }
.owner-check { min-height: 36px; font-size: .75rem; }
.owner-check input { width: 17px; height: 17px; }

.job-panel.prepare { border-color: var(--hair); }
.job-panel.convert {
  border-color: var(--hair);
  border-top: 3px solid var(--yellow);
  background: linear-gradient(145deg, rgba(255,205,0,.035), rgba(255,255,255,.025));
}
.job-panel header { min-height: 122px; margin-bottom: 15px; }
.job-panel header > span { font-size: .72rem; letter-spacing: .09em; }
.job-panel header p { font-size: .8125rem; line-height: 1.5; }
.job-prompts { gap: 6px; margin-top: 16px; }
.job-prompts span { padding: 5px 7px; border-radius: 4px; font: 600 .68rem var(--font); }
.handoff span { font-size: .7rem; letter-spacing: .1em; }

.blueprint-stage { padding: 20px; border-radius: 10px; }
.blueprint-stage:not(:last-child)::after { top: 34px; }
.blueprint-stage header { min-height: 90px; margin-bottom: 16px; }
.blueprint-stage header span { font-size: .72rem; letter-spacing: .06em; }
.blueprint-stage h2 { margin-block: 4px; font-size: 1.08rem; }
.blueprint-stage header p { font-size: .75rem; line-height: 1.45; }
.blueprint-stage label { margin-top: 15px; color: var(--muted); font: 700 .75rem var(--font); }
.blueprint-stage textarea, .blueprint-stage input { margin-top: 7px; font-size: .875rem; }
.blueprint-stage textarea { min-height: 82px; }
.blueprint-stage .signal-input { border-color: var(--hair); }
.operating-model { margin-top: 36px; border-color: var(--hair); border-radius: 8px; background: rgba(255,205,0,.025); font-size: .8rem; }

.score-instructions { gap: 12px; margin-bottom: 16px; font-size: .78rem; }
.score-instructions i { width: 25px; height: 25px; font-size: .68rem; }
.score-question div { font-size: .9rem; }
.score-question small { margin-top: 5px; font: .75rem/1.45 var(--font); }
.fine-print { margin: 12px 2px 32px; font-size: .75rem; }
.decision-panel { border-color: var(--hair); background: var(--surface); transition: border-color .25s, box-shadow .25s, background .25s; }
.decision-panel.is-ready {
  border-color: rgba(255,205,0,.62);
  background: radial-gradient(circle at 15% 50%, rgba(255,205,0,.14), transparent 42%), var(--surface);
  box-shadow: 0 24px 70px -45px rgba(255,205,0,.5);
}
.decision-copy p { font-size: .875rem; line-height: 1.55; }
.apply-button { min-height: 56px; min-width: 250px; margin-top: 20px; }
.outcomes { gap: 12px; margin-top: 20px; }
.outcomes article { padding: 17px; border-radius: 9px; }
.outcomes span { font-size: .72rem; }
.outcomes strong { font-size: .875rem; }
.outcomes p { font-size: .75rem; line-height: 1.5; }
.qualified-apply { display: none; min-height: 56px; min-width: 250px; }
.qualified-apply.is-visible { display: inline-flex; }

@media (max-width: 1350px) {
  .app-shell { grid-template-columns: 270px minmax(0, 1fr); }
  .rail { padding-inline: 17px; }
  .hero-page { padding-top: 50px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-system { display: none; }
  .hero-copy h1 { max-width: 13ch; margin-block: 17px 16px; font-size: clamp(3.2rem, 5vw, 4.6rem); }
  .hero-copy .lead { margin-bottom: 24px; }
  .hero-copy .identity-card { margin-bottom: 18px; padding: 15px; }
  .belief-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .belief-card:nth-child(2n)::after { display: none; }
  .blueprint-flow { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .blueprint-stage { grid-column: span 2; }
  .blueprint-stage::after { display: none; }
  .blueprint-stage:nth-child(4) { grid-column: 2 / span 2; }
  .blueprint-stage:nth-child(5) { grid-column: 4 / span 2; }
}

@media (max-width: 1100px) {
  .belief-card:nth-child(2n)::after { display: none; }
  .blueprint-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blueprint-stage, .blueprint-stage:nth-child(4) { grid-column: auto; }
  .blueprint-stage:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .workbook-page { padding: 45px 18px calc(130px + env(safe-area-inset-bottom)); }
  .hero-page { padding-top: 42px; }
  .hero-copy h1 { max-width: 11ch; font-size: clamp(3rem, 15vw, 4.6rem); }
  .page-heading p { font-size: .9rem; }
  .belief-chain, .blueprint-flow { grid-template-columns: 1fr; row-gap: 24px; }
  .belief-card::after {
    display: block !important;
    content: "↓";
    left: 50%;
    right: auto;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
  }
  .belief-card:last-child::after { display: none !important; }
  .blueprint-stage, .blueprint-stage:nth-child(4), .blueprint-stage:nth-child(5) { grid-column: auto; }
  .blueprint-stage:not(:last-child)::after {
    display: block;
    content: "↓";
    left: 50%;
    right: auto;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
  }
  .mobile-nav {
    min-height: calc(78px + env(safe-area-inset-bottom));
    height: auto;
    align-items: start;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-nav button { width: 48px; height: 48px; }
  .mobile-nav span { padding-top: 5px; }
  .mobile-nav strong { font-size: .78rem; }
  .mobile-nav small { font-size: .7rem; }
  .remove-item { display: grid; width: 36px; height: 36px; right: -8px; top: -10px; }
}

@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff; font-size: 9pt; }
  body::after, .ambient, .site-header, .rail, .mobile-nav, .reset-link, .add-button, .remove-item, .page-footer .primary-button, .icon-button { display: none !important; }
  .app-shell { display: block; }.workbook-page, .workbook-page[hidden] { display: block !important; width: 100%; min-height: 0; padding: 12mm 10mm; page-break-before: always; animation: none; }.hero-page { page-break-before: auto; }
  .page-heading, .context-card, .map-column, .job-panel, .reflection-panel, .tax-table, .function-table, .blueprint-stage, .scorecard, .decision-panel, .outcomes article, .page-footer.final { border-color: #999; background: #fff; box-shadow: none; }
  .page-heading h1, .hero-copy h1 { color: #111; }.hero-copy h1 em, .day-kicker, .column-head span, .panel-label, .section-title span, .score-question::before { color: #111; }.panel-label, .section-title span { background: var(--yellow); }.page-heading p, .lead, label, .context-card p, .section-title p { color: #444; }
  input, textarea, select { color: #111; border-color: #aaa; background: #fff; }
  .map-grid, .jobs-grid, .belief-chain, .blueprint-flow, .outcomes { break-inside: avoid; }.reflection-panel, .worksheet-block, .scorecard, .decision-panel { break-inside: avoid; }
  .jobs-grid { grid-template-columns: 1fr 36px 1fr; }.blueprint-flow { grid-template-columns: repeat(5, 1fr); }.belief-chain { grid-template-columns: repeat(4, 1fr); }
  .tax-head, .function-head { color: #111; background: #e9e9e9; }.tax-row, .function-row, .score-row { background: #fff !important; }
}
