:root {
  color-scheme: dark;
  --bg: #0b0d0e;
  --surface: #101315;
  --surface-2: #14181a;
  --surface-3: #191d1f;
  --text: #f2ede3;
  --muted: #aaa79f;
  --quiet: #747775;
  --gold: #c8a95f;
  --gold-pale: #e1cb8e;
  --gold-soft: rgba(200, 169, 95, .38);
  --line: #292e30;
  --line-bright: #3b4244;
  --olive: #87906b;
  --red: #c67b71;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
.app-shell { min-height: 100vh; background-color: var(--bg); background-image: linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px); background-size: 80px 80px; }

.topbar { height: 80px; padding: 0 clamp(24px, 3vw, 48px); display: grid; grid-template-columns: minmax(285px, 1fr) auto minmax(285px, 1fr); align-items: center; border-bottom: 1px solid var(--line); background: rgba(11, 13, 14, .97); position: sticky; top: 0; z-index: 30; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; width: fit-content; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { font-family: var(--serif); letter-spacing: .13em; font-size: 18px; white-space: nowrap; }
.brand i { margin-left: 9px; padding-left: 18px; border-left: 1px solid var(--line-bright); color: var(--quiet); font-family: var(--sans); font-size: 8px; font-style: normal; letter-spacing: .22em; text-transform: uppercase; line-height: 1.5; max-width: 85px; }
.nav { height: 100%; display: flex; align-items: stretch; }
.nav-item { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; font-size: 13px; }
.nav-item:hover, .nav-item:focus-visible { color: var(--text); }
.nav-item.active { color: var(--gold); border-bottom-color: var(--gold); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.location { color: var(--quiet); font-size: 12px; white-space: nowrap; }
.outline-button, .secondary-button, .danger-button { border: 1px solid var(--line-bright); background: transparent; min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.outline-button { color: var(--gold); border-color: var(--gold-soft); }
.outline-button:hover, .secondary-button:hover { border-color: var(--gold); background: rgba(200,169,95,.05); }
.menu-button { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }

main { width: min(1440px, calc(100% - clamp(36px, 5vw, 80px))); margin: 0 auto; padding: 44px 0 64px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.eyebrow { color: var(--gold); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.section-heading, .card-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-heading h2, .card-heading h2 { margin: 7px 0 0; font-size: 24px; }
.section-heading > p { margin: 0; max-width: 360px; color: var(--quiet); font-size: 12px; line-height: 1.5; }
.text-button, .icon-button { border: 0; background: transparent; color: var(--gold); cursor: pointer; }
.text-button { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; padding: 7px 0; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-bright); flex: 0 0 auto; }
.icon-button:hover { border-color: var(--gold); }

.command-hero { min-height: 190px; display: grid; grid-template-columns: 1fr 270px; align-items: center; gap: 50px; border-bottom: 1px solid var(--line); }
.command-hero h1 { margin: 10px 0 12px; font-size: clamp(45px, 5vw, 72px); letter-spacing: -.035em; line-height: .98; }
.command-hero p { color: var(--muted); margin: 0; font-size: 16px; }
.readiness { min-height: 115px; border-left: 1px solid var(--gold-soft); padding-left: 34px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 10px; }
.readiness strong { color: var(--gold); font-family: var(--serif); font-size: 54px; font-weight: 400; line-height: 1; }
.readiness > span { align-self: end; padding-bottom: 7px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.readiness i { grid-column: 1 / -1; display: block; height: 5px; margin-top: 12px; background: var(--line-bright); position: relative; }
.readiness i::after { content: ''; display: block; width: var(--ready); height: 100%; background: var(--gold); }
.readiness small { grid-column: 1 / -1; color: var(--quiet); margin-top: 9px; font-size: 10px; }

.command-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .65fr); gap: 18px; margin-top: 24px; }
.next-action, .company-card, .calendar-card { border: 1px solid var(--line-bright); background: rgba(16,19,21,.92); }
.next-action { padding: 24px 28px; border-color: var(--gold-soft); }
.card-kicker { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.card-kicker .icon-button { margin-left: auto; width: 32px; height: 32px; }
.type-pill { border: 1px solid var(--line-bright); padding: 4px 8px; color: var(--muted); font-family: var(--sans); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.type-pill.required { color: #17140d; background: var(--gold); border-color: var(--gold); }
.type-pill.conditional { color: var(--text); background: #3d4241; }
.type-pill.recommended { color: #14180f; background: var(--olive); border-color: var(--olive); }
.type-pill.verified { color: var(--gold-pale); border-color: var(--gold-soft); }
.next-action-body { display: grid; grid-template-columns: 78px 1fr; gap: 20px; align-items: start; padding: 20px 0 18px; }
.action-symbol { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); }
.next-action h2 { margin: 0 0 7px; font-size: clamp(28px, 3vw, 40px); line-height: 1.06; }
.next-action p { color: var(--muted); line-height: 1.5; margin: 0; font-size: 14px; max-width: 760px; }
.action-buttons { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(160px, .45fr); gap: 10px; max-width: 580px; }
.primary-button { min-height: 46px; border: 1px solid var(--gold); background: var(--gold); color: #11130f; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; text-decoration: none; cursor: pointer; }
.primary-button:hover, .primary-button:focus-visible { background: var(--gold-pale); }
.primary-button.full { width: 100%; margin-top: 18px; }
.primary-button.small { min-height: 42px; font-size: 13px; }
.secondary-button { color: var(--text); font-size: 12px; }
.secondary-button.danger, .danger-button { border-color: rgba(198,123,113,.65); color: #e49a90; }
.danger-button { cursor: pointer; }
.action-meta { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; display: flex; gap: 22px; color: var(--quiet); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.action-meta span { display: inline-flex; align-items: center; gap: 6px; }
.company-card { padding: 23px 24px; }
.company-card h2 { font-size: 23px; }
.company-card dl { margin: 22px 0 18px; }
.company-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.company-card dt { color: var(--quiet); }
.company-card dd { margin: 0; text-align: right; }
.legal-state { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 10px; line-height: 1.4; margin: 0; }
.legal-state span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }

.runway-section, .launch-section, .triggers-section { margin-top: 36px; }
.runway { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 15px; border: 1px solid var(--line-bright); }
.runway-stage { min-width: 0; min-height: 122px; border: 0; border-right: 1px solid var(--line); background: rgba(16,19,21,.7); padding: 17px 16px; text-align: left; display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto 1fr 3px; align-items: center; column-gap: 9px; cursor: pointer; position: relative; }
.runway-stage:last-child { border-right: 0; }
.runway-stage:hover, .runway-stage.current { background: rgba(200,169,95,.06); }
.runway-stage.current { box-shadow: inset 0 2px var(--gold); }
.runway-number { width: 30px; height: 30px; border: 1px solid var(--quiet); border-radius: 50%; display: grid; place-items: center; color: var(--muted); grid-row: 1 / 3; font-family: var(--serif); }
.runway-stage.current .runway-number, .runway-stage.complete .runway-number { border-color: var(--gold); color: var(--gold); }
.runway-stage strong { font-family: var(--serif); font-weight: 400; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.runway-stage small { color: var(--quiet); font-size: 9px; margin-top: 3px; }
.runway-stage i { grid-column: 1 / -1; background: var(--line); height: 3px; align-self: end; }
.runway-stage i b { display: block; height: 100%; background: var(--gold); }
.gates-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.gate-card { border: 1px solid var(--line-bright); background: rgba(16,19,21,.8); min-width: 0; min-height: 94px; padding: 16px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.gate-card:hover { border-color: var(--gold-soft); }
.gate-card.complete { border-color: rgba(135,144,107,.7); }
.gate-icon { color: var(--gold); }
.gate-card strong { display: block; font-family: var(--serif); font-size: 16px; font-weight: 400; }
.gate-card small { display: block; color: var(--quiet); font-size: 9px; line-height: 1.4; margin-top: 3px; }
.gate-card em { color: var(--muted); font-size: 9px; font-style: normal; text-transform: uppercase; white-space: nowrap; }
.gate-card em.blocked { color: var(--red); }

.lower-grid { display: grid; grid-template-columns: 1.7fr .8fr; gap: 18px; align-items: start; }
.trigger-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 15px; }
.trigger-card { border: 1px solid var(--line-bright); background: rgba(16,19,21,.75); min-height: 88px; padding: 14px; display: grid; grid-template-columns: 36px 1fr; grid-template-rows: 1fr 1fr; column-gap: 10px; text-align: left; cursor: pointer; }
.trigger-card.active { border-color: var(--gold); background: rgba(200,169,95,.05); }
.switch { width: 32px; height: 18px; border: 1px solid var(--quiet); border-radius: 18px; grid-row: 1 / 3; align-self: center; padding: 2px; }
.switch i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--quiet); transition: transform .15s ease; }
.trigger-card.active .switch { border-color: var(--gold); }
.trigger-card.active .switch i { background: var(--gold); transform: translateX(12px); }
.trigger-card strong { font-family: var(--serif); font-weight: 400; font-size: 14px; align-self: end; }
.trigger-card small { color: var(--quiet); font-size: 9px; line-height: 1.35; }
.calendar-card { margin-top: 36px; padding: 20px; }
.calendar-card h2 { font-size: 20px; }
.calendar-row { width: 100%; min-height: 61px; border: 0; border-top: 1px solid var(--line); background: transparent; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; color: var(--text); text-align: left; cursor: pointer; }
.calendar-row:hover { background: rgba(255,255,255,.015); }
.calendar-row > span:first-child { color: var(--gold); }
.calendar-row strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 13px; }
.calendar-row small { display: block; color: var(--quiet); font-size: 9px; margin-top: 2px; }
.calendar-row em { color: var(--quiet); font-size: 8px; text-transform: uppercase; font-style: normal; }
.safety-note { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--gold); }
.safety-note strong { font-family: var(--serif); font-weight: 400; }
.safety-note p { color: var(--quiet); font-size: 11px; line-height: 1.5; margin: 5px 0 0; max-width: 900px; }
.safety-note > .collapsible-content { display: contents; }
.mobile-section-toggle { display: none; }

.page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.page-title h1 { margin: 9px 0 8px; font-size: clamp(42px, 5vw, 66px); line-height: 1; letter-spacing: -.03em; }
.page-title p { color: var(--muted); margin: 0; max-width: 690px; font-size: 14px; }
.page-stat { border-left: 1px solid var(--gold-soft); padding-left: 28px; min-width: 150px; }
.page-stat strong { display: block; font-family: var(--serif); color: var(--gold); font-size: 44px; font-weight: 400; }
.page-stat span { color: var(--quiet); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }

.stage-tabs { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line-bright); }
.stage-tab { min-width: 0; min-height: 66px; border: 0; border-right: 1px solid var(--line); background: rgba(16,19,21,.7); padding: 10px 13px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.stage-tab:last-child { border-right: 0; }
.stage-tab.active { background: rgba(200,169,95,.08); box-shadow: inset 0 2px var(--gold); color: var(--gold); }
.stage-tab > span { width: 27px; height: 27px; border: 1px solid var(--quiet); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 13px; }
.stage-tab strong { font-family: var(--serif); font-size: 14px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-tab small { color: var(--quiet); font-size: 9px; }
.roadmap-toolbar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.roadmap-toolbar > span { color: var(--quiet); font-size: 10px; }
.filters { display: flex; gap: 7px; }
.filters button { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 7px 12px; font-size: 10px; cursor: pointer; text-transform: capitalize; }
.filters button.active { color: #111; background: var(--gold); border-color: var(--gold); }
.roadmap-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .75fr); gap: 22px; align-items: start; margin-top: 18px; }
.step-list { border-top: 1px solid var(--line-bright); }
.step-row { width: 100%; min-height: 70px; border: 0; border-bottom: 1px solid var(--line); background: rgba(16,19,21,.35); display: grid; grid-template-columns: 39px 1fr auto 20px; align-items: center; gap: 13px; padding: 0 15px; text-align: left; cursor: pointer; }
.step-row:hover { background: rgba(255,255,255,.018); }
.step-row.selected { background: rgba(200,169,95,.06); box-shadow: inset 2px 0 var(--gold); }
.status-dot { width: 30px; height: 30px; border: 1px solid var(--quiet); border-radius: 50%; display: grid; place-items: center; color: var(--quiet); }
.status-dot.complete { background: var(--gold); border-color: var(--gold); color: #111; }
.status-dot.blocked { border-color: var(--red); color: var(--red); }
.status-dot.skipped, .status-dot.inactive { border-style: dashed; opacity: .55; }
.step-copy strong { display: block; font-family: var(--serif); font-size: 16px; font-weight: 400; }
.step-copy small { display: block; color: var(--quiet); margin-top: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.step-status { padding: 5px 7px; border: 1px solid var(--line-bright); color: var(--muted); font-size: 8px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.step-status.complete { color: var(--olive); border-color: rgba(135,144,107,.55); }
.step-status.blocked { color: var(--red); border-color: rgba(198,123,113,.5); }
.step-status.skipped, .step-status.inactive { color: var(--quiet); border-style: dashed; }
.detail-panel { border: 1px solid var(--line-bright); background: rgba(16,19,21,.94); padding: 24px; position: sticky; top: 98px; }
.detail-heading { display: flex; justify-content: space-between; align-items: center; }
.detail-heading > div { display: flex; gap: 8px; align-items: center; }
.step-code { color: var(--quiet); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.detail-panel h2 { margin: 17px 0 10px; font-size: 31px; line-height: 1.08; }
.detail-panel > p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.detail-panel .detail-note { color: var(--gold-pale); border-left: 1px solid var(--gold); padding-left: 10px; font-size: 11px; }
.why-box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 15px 0; }
.why-box strong, .field-label { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.why-box p { color: var(--muted); margin: 6px 0 0; font-size: 11px; line-height: 1.5; }
.checklist { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checklist li { color: var(--muted); font-size: 10px; display: flex; gap: 7px; align-items: flex-start; }
.checklist svg { color: var(--gold); flex: 0 0 auto; }
.caution { border: 1px solid rgba(200,169,95,.28); background: rgba(200,169,95,.04); padding: 11px; display: flex; gap: 9px; color: var(--gold-pale); font-size: 10px; line-height: 1.45; }
.caution svg { flex: 0 0 auto; }
.status-actions { display: flex; gap: 7px; margin: 9px 0 20px; flex-wrap: wrap; }
.status-actions .secondary-button { flex: 1; min-width: 100px; padding-inline: 8px; }
.field-label { display: block; margin: 15px 0 7px; }
textarea, input, select { width: 100%; border: 1px solid var(--line-bright); background: #0d1011; color: var(--text); padding: 11px 12px; border-radius: 0; outline: none; }
textarea:focus, input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200,169,95,.1); }
.detail-panel textarea { min-height: 92px; resize: vertical; line-height: 1.5; font-size: 12px; }
.note-meta, .detail-meta { display: flex; justify-content: space-between; color: var(--quiet); font-size: 8px; margin-top: 6px; }
.detail-meta { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 15px; font-size: 9px; text-transform: uppercase; }
.detail-meta span { display: inline-flex; gap: 5px; align-items: center; }
.empty-state { border: 1px dashed var(--line-bright); color: var(--quiet); padding: 28px; }

.compliance-banner, .cost-notice { border: 1px solid var(--gold-soft); background: rgba(200,169,95,.04); padding: 18px 20px; display: flex; gap: 13px; align-items: center; margin-bottom: 24px; color: var(--gold); }
.compliance-banner strong { font-family: var(--serif); font-weight: 400; }
.compliance-banner p { color: var(--muted); margin: 4px 0 0; font-size: 11px; }
.compliance-list, .cost-table { border-top: 1px solid var(--line-bright); }
.compliance-row { min-height: 67px; display: grid; grid-template-columns: minmax(220px, 1.5fr) 1fr 150px 105px 40px; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 0 13px; }
.compliance-row.header, .cost-row.header { min-height: 38px; color: var(--gold); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.compliance-row > button:first-child { border: 0; background: transparent; text-align: left; cursor: pointer; }
.compliance-row strong { display: block; font-family: var(--serif); font-size: 15px; font-weight: 400; }
.compliance-row small { display: block; color: var(--quiet); font-size: 9px; margin-top: 3px; }
.compliance-row > span { color: var(--muted); font-size: 11px; }
.compliance-row input { height: 36px; padding: 6px 8px; font-size: 10px; }
.source-card, .variable-card { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 27px; }
.source-card > div { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0; }
.source-card a { border: 1px solid var(--line); color: var(--muted); padding: 9px 11px; display: inline-flex; gap: 7px; align-items: center; font-size: 10px; text-decoration: none; }
.source-card a:hover { border-color: var(--gold); color: var(--text); }
.source-card p, .variable-card p { color: var(--quiet); font-size: 10px; }

.deductions-section { margin: 0 0 34px; }
.deduction-notice { margin-top: 17px; border-block: 1px solid var(--gold-soft); padding: 15px 2px; display: grid; grid-template-columns: 28px 1fr; gap: 11px; color: var(--gold); }
.deduction-notice strong { font-family: var(--serif); font-weight: 400; font-size: 16px; }
.deduction-notice p { color: var(--muted); margin: 4px 0 0; max-width: 940px; font-size: 10px; line-height: 1.5; }
.deduction-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line-bright); }
.deduction-row { min-height: 118px; padding: 18px 14px 17px 2px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 11px; align-items: start; }
.deduction-row:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 20px; }
.deduction-row:nth-child(even) { padding-left: 20px; }
.deduction-row:nth-last-child(-n+2) { border-bottom: 0; }
.deduction-row > span { color: var(--gold); font-family: var(--serif); font-size: 13px; letter-spacing: .08em; }
.deduction-row h3 { margin: 0 0 5px; font-size: 17px; }
.deduction-row p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.deduction-row small { display: block; color: var(--quiet); margin-top: 8px; font-size: 9px; line-height: 1.45; }
.deduction-row small b { color: var(--gold-pale); font-weight: 500; }
.deduction-row a { color: var(--gold); padding: 4px; justify-self: end; }
.deduction-footer { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.deduction-footer > div { display: grid; gap: 3px; }
.deduction-footer strong { color: var(--gold); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.deduction-footer span { color: var(--quiet); font-size: 9px; }

.cost-summary { display: flex; border-left: 1px solid var(--gold-soft); }
.cost-summary > div { min-width: 170px; padding-left: 24px; }
.cost-summary span { display: block; color: var(--quiet); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.cost-summary strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 38px; font-weight: 400; margin-top: 5px; }
.cost-notice { justify-content: space-between; font-size: 12px; }
.cost-notice span { color: var(--muted); }
.cost-row { min-height: 65px; display: grid; grid-template-columns: minmax(220px, 1.5fr) 1fr 1fr 100px 30px; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding: 0 15px; }
.cost-row strong { font-family: var(--serif); font-size: 15px; font-weight: 400; }
.cost-row > span { color: var(--muted); font-size: 11px; }
.cost-row em { color: var(--gold); font-family: var(--serif); font-size: 16px; font-style: normal; }
.cost-row a { color: var(--muted); }
.variable-card { display: grid; grid-template-columns: 170px 1fr; gap: 20px; }
.variable-card h2 { font-size: 25px; line-height: 1.3; margin: 0; max-width: 900px; }
.variable-card p { grid-column: 2; }

.dialog-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.76); display: grid; place-items: center; padding: 20px; overflow: auto; }
.dialog { width: min(700px, 100%); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid var(--line-bright); background: #111517; padding: 30px; position: relative; }
.dialog-close { position: absolute; top: 16px; right: 16px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.dialog h2 { margin: 8px 35px 12px 0; font-size: 34px; }
.dialog > p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 23px; }
.form-grid label { color: var(--muted); font-size: 10px; display: grid; gap: 6px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid textarea { min-height: 90px; resize: vertical; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.plan-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin: 22px 0; }
.plan-stats div { padding: 18px; border-right: 1px solid var(--line); text-align: center; }
.plan-stats div:last-child { border-right: 0; }
.plan-stats strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 34px; font-weight: 400; }
.plan-stats span { color: var(--quiet); font-size: 9px; text-transform: uppercase; }
.plan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.plan-actions .danger-button { grid-column: 1 / -1; }

footer { min-height: 58px; border-top: 1px solid var(--line); padding: 0 clamp(24px, 3vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--quiet); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.mobile-bottom { display: none; }
.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; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 1240px) {
  .topbar { grid-template-columns: 1fr auto; }
  .brand i, .location { display: none; }
  .nav { position: absolute; top: 80px; left: 0; right: 0; height: 60px; background: #0d1011; border-bottom: 1px solid var(--line); display: none; justify-content: center; }
  .nav.open { display: flex; }
  .menu-button { display: block; }
}

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 1fr auto; }
  .brand i, .location { display: none; }
  .nav { position: absolute; top: 80px; left: 0; right: 0; height: 60px; background: #0d1011; border-bottom: 1px solid var(--line); display: none; justify-content: center; }
  .nav.open { display: flex; }
  .menu-button { display: block; }
  .command-grid { grid-template-columns: 1fr; }
  .company-card { display: block; }
  .company-card .collapsible-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 22px; }
  .company-card dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
  .company-card .legal-state { grid-column: 1 / -1; }
  .runway { grid-template-columns: repeat(3, 1fr); }
  .runway-stage:nth-child(3) { border-right: 0; }
  .runway-stage:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .gates-grid { grid-template-columns: repeat(2, 1fr); }
  .lower-grid { grid-template-columns: 1fr; }
  .calendar-card { margin-top: 18px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
}

@media (max-width: 760px) {
  .app-shell { background-size: 54px 54px; padding-bottom: 70px; }
  .topbar { height: 58px; padding: 0 13px; }
  .brand { gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 13px; letter-spacing: .09em; }
  .header-actions .outline-button { display: none; }
  .menu-button { padding: 8px; }
  .nav { top: 58px; height: auto; padding: 8px; flex-direction: column; align-items: stretch; }
  .nav-item { min-height: 47px; border-bottom: 0; border-left: 2px solid transparent; }
  .nav-item.active { border-left-color: var(--gold); }
  main { width: calc(100% - 24px); padding: 18px 0 30px; }
  .command-hero { min-height: 0; grid-template-columns: 1fr; gap: 12px; padding-bottom: 16px; }
  .command-hero h1 { font-size: clamp(34px, 9.5vw, 41px); margin: 6px 0 7px; line-height: .98; }
  .command-hero p { font-size: 11px; line-height: 1.42; max-width: 340px; }
  .eyebrow { font-size: 8px; letter-spacing: .16em; }
  .readiness { border-left: 0; padding-left: 0; min-height: 0; grid-template-columns: auto 1fr; }
  .readiness strong { font-size: 30px; }
  .readiness > span { padding-bottom: 3px; font-size: 9px; }
  .readiness i { grid-column: 2; grid-row: 1; align-self: center; margin: 0 0 0 10px; height: 4px; }
  .readiness small { margin-top: 4px; font-size: 8px; }
  .command-grid { margin-top: 12px; gap: 8px; }
  .next-action { padding: 15px 14px 13px; }
  .card-kicker { gap: 7px; font-size: 8px; letter-spacing: .14em; }
  .card-kicker .icon-button { width: 30px; height: 30px; }
  .type-pill { padding: 3px 6px; font-size: 8px; }
  .next-action-body { grid-template-columns: 42px 1fr; gap: 10px; padding: 12px 0; }
  .action-symbol { width: 40px; height: 40px; }
  .action-symbol svg { width: 22px; height: 22px; }
  .next-action h2 { font-size: 23px; margin-bottom: 5px; }
  .next-action p { font-size: 10.5px; line-height: 1.4; }
  .action-buttons { grid-template-columns: 1fr; }
  .primary-button, .secondary-button, .outline-button, .danger-button { min-height: 44px; }
  .action-meta { gap: 10px; flex-wrap: wrap; margin-top: 11px; padding-top: 9px; font-size: 8px; }
  .mobile-section-toggle { width: 100%; min-height: 52px; border: 0; background: transparent; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 9px; padding: 0; color: var(--text); text-align: left; cursor: pointer; }
  .mobile-section-toggle span { font-family: var(--serif); font-size: 16px; }
  .mobile-section-toggle em { color: var(--quiet); font-size: 8px; font-style: normal; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
  .mobile-section-toggle svg { color: var(--gold); transition: transform .15s ease; }
  .mobile-section-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
  .mobile-collapsed > .collapsible-content { display: none !important; }
  .company-card { display: block; padding: 0 14px; }
  .company-card .collapsible-content { display: block; padding: 0 2px 14px; }
  .company-card dl { margin: 14px 0; display: block; }
  .runway-section, .launch-section, .triggers-section { margin-top: 8px; border: 1px solid var(--line-bright); background: rgba(16,19,21,.72); padding: 0 14px; }
  .runway-section .collapsible-content, .launch-section .collapsible-content, .triggers-section .collapsible-content { padding-bottom: 14px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 7px; }
  .section-heading .text-button { margin-top: 8px; }
  .runway { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-left: 0; border-right: 0; scrollbar-width: none; }
  .runway::-webkit-scrollbar { display: none; }
  .runway-stage { flex: 0 0 155px; border-bottom: 0 !important; scroll-snap-align: start; }
  .runway-stage:nth-child(3) { border-right: 1px solid var(--line); }
  .gates-grid, .trigger-grid { grid-template-columns: 1fr; }
  .gate-card { min-height: 82px; }
  .lower-grid { gap: 0; }
  .calendar-card { margin-top: 8px; padding: 0 14px; }
  .calendar-card .collapsible-content { padding: 0 2px 10px; }
  .safety-note { margin-top: 8px; border: 1px solid var(--line-bright); padding: 0 14px; display: block; background: rgba(16,19,21,.52); }
  .safety-note > .collapsible-content { padding: 11px 1px 14px; display: grid; grid-template-columns: 27px 1fr; gap: 10px; }
  .page-title { display: block; margin-bottom: 25px; }
  .page-title h1 { font-size: 43px; }
  .page-title p { font-size: 12px; line-height: 1.5; }
  .page-title .primary-button { width: 100%; margin-top: 18px; }
  .page-stat, .cost-summary { margin-top: 22px; border-left: 0; padding-left: 0; }
  .stage-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .stage-tab { flex: 0 0 145px; scroll-snap-align: start; }
  .roadmap-toolbar { align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 0; }
  .filters { max-width: 100%; overflow-x: auto; }
  .filters button { flex: 0 0 auto; }
  .roadmap-grid { margin-top: 10px; }
  .step-row { min-height: 76px; grid-template-columns: 35px 1fr 17px; padding-inline: 8px; }
  .step-row .step-status { display: none; }
  .detail-panel { margin-inline: -12px; border-left: 0; border-right: 0; padding: 22px 18px; }
  .detail-panel h2 { font-size: 29px; }
  .checklist { grid-template-columns: 1fr; }
  .status-actions { display: grid; grid-template-columns: 1fr; }
  .compliance-banner, .cost-notice { align-items: flex-start; }
  .compliance-row { min-height: 82px; grid-template-columns: 1fr 105px 34px; gap: 9px; padding: 8px 3px; }
  .compliance-row.header { display: none; }
  .compliance-row > span, .compliance-row > .step-status { display: none; }
  .compliance-row label { grid-column: 2; }
  .source-card > div { display: grid; }
  .cost-summary { display: grid; grid-template-columns: 1fr 1fr; }
  .cost-summary > div { min-width: 0; padding-left: 0; }
  .cost-notice { display: grid; }
  .deductions-section { margin: 0 0 24px; border: 1px solid var(--line-bright); background: rgba(16,19,21,.72); padding: 0 14px; }
  .deductions-section .collapsible-content { padding-bottom: 14px; }
  .deduction-notice { margin-top: 4px; padding: 13px 1px; }
  .deduction-list { grid-template-columns: 1fr; }
  .deduction-row, .deduction-row:nth-child(odd), .deduction-row:nth-child(even) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 1px; }
  .deduction-row:last-child { border-bottom: 0; }
  .deduction-footer { align-items: stretch; flex-direction: column; padding-top: 12px; }
  .deduction-footer .secondary-button { width: 100%; }
  .cost-row { grid-template-columns: 1fr 75px 25px; gap: 8px; padding-inline: 3px; }
  .cost-row.header > span:nth-child(2), .cost-row.header > span:nth-child(3) { display: none; }
  .cost-row > span { display: none; }
  .variable-card { grid-template-columns: 1fr; }
  .variable-card p { grid-column: 1; }
  .dialog-backdrop { padding: 0; align-items: end; }
  .dialog { width: 100%; max-height: 94vh; border-left: 0; border-right: 0; border-bottom: 0; padding: 27px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: 1; }
  .dialog-actions { display: grid; grid-template-columns: 1fr; }
  .dialog-actions .primary-button { grid-row: 1; }
  .plan-actions { grid-template-columns: 1fr; }
  .plan-actions .danger-button { grid-column: 1; }
  footer { display: none; }
  .mobile-bottom { height: 66px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: rgba(11,13,14,.98); border-top: 1px solid var(--line-bright); display: grid; grid-template-columns: repeat(4, 1fr); }
  .mobile-bottom button { border: 0; border-top: 2px solid transparent; background: transparent; color: var(--quiet); display: grid; place-content: center; justify-items: center; gap: 3px; font-size: 9px; }
  .mobile-bottom button.active { color: var(--gold); border-top-color: var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
