@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --bg: #07100e;
  --bg-deep: #030706;
  --panel: rgba(15, 28, 24, .72);
  --panel-solid: #0f1c18;
  --line: rgba(218, 255, 231, .14);
  --line-strong: rgba(218, 255, 231, .28);
  --text: #ecf7ef;
  --muted: #8fa79d;
  --acid: #ffc06a;
  --mint: #67e5a1;
  --aqua: #53d7c5;
  --lavender: #b6a7ff;
  --coral: #ff987e;
  --cream: #ffe3b2;
  --mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.ambient { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .16; pointer-events: none; z-index: -1; }
.ambient-a { width: 560px; height: 560px; background: #e88942; right: -160px; top: 90px; }
.ambient-b { width: 460px; height: 460px; background: #2f8f78; left: -220px; top: 62%; }

.entry-reveal,
.scroll-reveal {
  opacity: 0;
  filter: blur(9px);
  transform: translate3d(0, 32px, 0);
  transition:
    opacity .85s cubic-bezier(.2,.75,.25,1) var(--entry-delay, 0ms),
    transform 1s cubic-bezier(.16,1,.3,1) var(--entry-delay, 0ms),
    filter .8s ease var(--entry-delay, 0ms);
  will-change: opacity, transform, filter;
}
.entry-from-top { filter: none; transform: translate3d(0, -28px, 0); }
.entry-from-side { transform: translate3d(54px, 0, 0) scale(.985); }
.entry-scale { transform: translate3d(0, 20px, 0) scale(.94); }
.entry-reveal.is-revealed,
.scroll-reveal.is-revealed {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.site-header {
  height: 78px;
  padding: 0 clamp(22px, 4vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 14, .78);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
  animation: header-enter .72s cubic-bezier(.16,1,.3,1) backwards;
}
@keyframes header-enter {
  from { opacity: 0; transform: translate3d(0, -100%, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; }
.brand em { color: var(--muted); font-style: normal; }
.brand-mark { width: 28px; height: 28px; position: relative; display: block; }
.brand-mark i { position: absolute; display: block; width: 3px; background: var(--acid); border-radius: 3px; box-shadow: 0 0 10px rgba(255,192,106,.7); transform-origin: bottom; }
.brand-mark i:nth-child(1) { height: 16px; left: 13px; bottom: 4px; }
.brand-mark i:nth-child(2) { height: 12px; left: 12px; bottom: 14px; transform: rotate(-47deg); }
.brand-mark i:nth-child(3) { height: 11px; right: 5px; bottom: 13px; transform: rotate(48deg); }
.header-note { font: 11px var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; text-decoration: none; transition: color .2s; }
.header-note:hover { color: var(--acid); }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.nav-link { justify-self: end; text-decoration: none; font-size: 13px; padding-bottom: 5px; border-bottom: 1px solid var(--line-strong); }
.nav-link span { color: var(--acid); margin-left: 8px; }

.hero { min-height: 740px; padding: 60px clamp(22px, 6vw, 100px) 80px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(30px, 5vw, 90px); border-bottom: 1px solid var(--line); position: relative; }
.hero-copy { max-width: 620px; position: relative; z-index: 2; }
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-intro,
.hero-copy .primary-action,
.hero-copy .trust-row {
  animation: hero-copy-enter .9s cubic-bezier(.16,1,.3,1) backwards;
}
.hero-copy .eyebrow { animation-delay: .12s; }
.hero-copy h1 { animation-delay: .22s; }
.hero-copy .hero-intro { animation-delay: .36s; }
.hero-copy .primary-action { animation-delay: .48s; }
.hero-copy .trust-row { animation-delay: .58s; }
@keyframes hero-copy-enter {
  from { opacity: 0; filter: blur(9px); transform: translate3d(0, 34px, 0); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
}
.eyebrow { margin: 0 0 28px; font: 11px var(--mono); letter-spacing: .17em; color: var(--muted); text-transform: uppercase; display: flex; align-items: center; gap: 13px; }
.eyebrow span { color: var(--acid); border: 1px solid rgba(255,192,106,.34); padding: 4px 6px; border-radius: 50%; letter-spacing: 0; }
.hero-copy .eyebrow { font-size: 13px; letter-spacing: .14em; color: #c6d8cf; text-shadow: 0 0 14px rgba(198,216,207,.12); }
h1 { margin: 0; font-size: clamp(48px, 6.2vw, 98px); line-height: .97; letter-spacing: -.065em; font-weight: 300; }
h1 span { color: var(--acid); font-style: italic; font-family: Georgia, serif; letter-spacing: -.055em; text-shadow: 0 0 35px rgba(255,192,106,.18); }
.hero-intro { margin: 34px 0 35px; max-width: 520px; color: #aabeb5; font-size: 17px; line-height: 1.7; }
.primary-action { width: fit-content; display: flex; align-items: center; gap: 32px; color: #0b160e; text-decoration: none; text-transform: uppercase; font: 500 11px var(--mono); letter-spacing: .12em; background: var(--acid); padding: 8px 8px 8px 23px; border-radius: 40px; box-shadow: 0 0 28px rgba(255,192,106,.16); transition: transform .25s, box-shadow .25s; }
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 0 38px rgba(255,192,106,.3); }
.action-orbit { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #132018; color: var(--acid); font-size: 18px; }
.trust-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font: 11px var(--mono); letter-spacing: .02em; }
.trust-row i { color: var(--mint); font-style: normal; margin-right: 5px; }

.hero-tree { min-height: 620px; position: relative; border-left: 1px solid var(--line); overflow: hidden; animation: hero-tree-enter 1.15s cubic-bezier(.16,1,.3,1) .28s backwards; }
@keyframes hero-tree-enter {
  from { opacity: 0; filter: blur(12px); transform: translate3d(54px, 0, 0) scale(.98); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); }
}
.hero-tree::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 54%, rgba(108,244,172,.1), transparent 48%); pointer-events: none; }
.hero-tree svg { width: 100%; height: 600px; display: block; position: relative; z-index: 1; }
.tree-grid path { stroke: rgba(255,255,255,.035); stroke-width: 1; }
.branches path { fill: none; stroke: url(#branch); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 800; animation: draw 2.2s cubic-bezier(.2,.8,.3,1) .62s both; }
.branches path:nth-child(n+4) { stroke-width: 1; opacity: .78; animation-delay: .82s; }
@keyframes draw { from { stroke-dashoffset: 800; } to { stroke-dashoffset: 0; } }
.tree-nodes circle { fill: var(--acid); stroke: rgba(255,192,106,.38); stroke-width: 10; paint-order: stroke; transform-box: fill-box; transform-origin: center; animation: node-enter .5s cubic-bezier(.16,1,.3,1) 1.05s backwards; }
.tree-nodes circle:nth-child(2n) { animation-delay: 1.18s; }
@keyframes node-enter {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}
.tree-scan { position: absolute; height: 1px; left: 8%; right: 4%; top: 52%; background: linear-gradient(90deg, transparent, rgba(255,192,106,.5), transparent); box-shadow: 0 0 15px rgba(255,192,106,.36); animation: scan 7s ease-in-out infinite; }
@keyframes scan { 0%,100% { transform: translateY(-190px); opacity: .1; } 50% { transform: translateY(190px); opacity: .65; } }
.tree-label { position: absolute; z-index: 3; font: 11px var(--mono); letter-spacing: .13em; color: var(--muted); }
.label-now { left: 48%; bottom: 68px; color: var(--acid); }
.label-choice-a { left: 18%; top: 49%; }
.label-choice-b { right: 17%; top: 49%; }
.future-tag { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 5px; padding: 11px 14px; border-left: 1px solid var(--mint); background: linear-gradient(90deg, rgba(79,207,141,.12), transparent); backdrop-filter: blur(5px); animation: hero-detail-enter .7s cubic-bezier(.16,1,.3,1) 1.05s backwards; }
.future-tag small { font: 10px var(--mono); letter-spacing: .14em; color: var(--muted); }
.future-tag b { font: 500 16px var(--mono); color: var(--cream); }
.future-tag span { font: 11px var(--mono); color: var(--muted); }
.tag-a { top: 12%; left: 2%; }
.tag-b { top: 12%; right: 0; }
.hero-readout { position: absolute; z-index: 3; right: 0; bottom: 20px; display: flex; align-items: baseline; gap: 15px; animation: hero-detail-enter .7s cubic-bezier(.16,1,.3,1) 1.18s backwards; }
@keyframes hero-detail-enter {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.hero-readout span { font: 10px var(--mono); color: var(--muted); letter-spacing: .1em; }
.hero-readout strong { font: 300 32px var(--mono); color: var(--acid); }

.simulator-section { padding: 90px clamp(18px, 4vw, 72px) 110px; background: rgba(3,8,7,.4); }
.simulator-section.section-reveal .section-heading,
.simulator-section.section-reveal .decision-picker,
.simulator-section.section-reveal .workspace {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 38px, 0);
  transition:
    opacity .85s cubic-bezier(.2,.75,.25,1),
    transform 1s cubic-bezier(.16,1,.3,1),
    filter .8s ease;
  will-change: opacity, transform, filter;
}
.simulator-section.section-reveal .decision-picker { transition-delay: .14s; }
.simulator-section.section-reveal .workspace { transition-delay: .28s; }
.simulator-section.section-reveal.is-revealed .section-heading,
.simulator-section.section-reveal.is-revealed .decision-picker,
.simulator-section.section-reveal.is-revealed .workspace {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
.section-heading { max-width: 1380px; margin: 0 auto 44px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); font-weight: 300; letter-spacing: -.045em; }
.section-heading > p { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.decision-picker { max-width: 1380px; margin: 0 auto; border: 1px solid var(--line); border-bottom: 0; background: rgba(8,17,14,.72); }
.picker-summary { min-height: 78px; padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.picker-summary > div { min-width: 0; display: grid; grid-template-columns: auto auto; column-gap: 15px; align-items: baseline; }
.picker-label { grid-column: 1 / -1; margin-bottom: 5px; color: var(--muted); font: 10px var(--mono); letter-spacing: .14em; }
.picker-summary strong { font-size: 18px; font-weight: 500; }
.picker-summary small { color: var(--muted); font: 11px var(--mono); }
.picker-summary button { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.picker-summary button:hover { color: var(--text); border-color: var(--line-strong); }
.picker-summary button span { color: var(--acid); margin-left: 7px; }
.decision-picker.expanded .picker-summary { border-bottom: 1px solid var(--line); }
.decision-menu { padding: 18px 22px 22px; transform-origin: top center; }
.decision-menu:not([hidden]) { animation: menu-enter .48s cubic-bezier(.16,1,.3,1) both; }
@keyframes menu-enter {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(-10px); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}
.category-tabs { display: flex; gap: 5px; margin-bottom: 15px; }
.category-tabs button { padding: 8px 11px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font: 11px var(--mono); }
.category-tabs button span { opacity: .65; margin-left: 4px; }
.category-tabs button[aria-selected="true"] { color: #10160e; background: var(--acid); border-color: var(--acid); }
.decision-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.decision-option { min-width: 0; min-height: 86px; padding: 15px; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: start; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); color: var(--text); text-align: left; cursor: pointer; animation: tile-enter .58s cubic-bezier(.16,1,.3,1) var(--tile-delay, 0ms) both; transition: background-color .25s ease, transform .25s ease; }
.decision-option:hover { background: rgba(255,192,106,.07); }
.decision-option:hover { transform: translateY(-2px); }
.decision-option.active { background: linear-gradient(120deg, rgba(255,192,106,.14), rgba(83,215,197,.03)); box-shadow: inset 0 2px 0 var(--acid); }
.decision-number { color: var(--muted); font: 10px var(--mono); }
.decision-option b { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 500; }
.decision-option small { display: block; color: var(--muted); font: 10px/1.45 var(--mono); }
.decision-option i { color: var(--acid); font-style: normal; }
@keyframes tile-enter {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.workspace { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 320px minmax(0, 1fr); border: 1px solid var(--line); background: rgba(8,16,14,.82); box-shadow: 0 45px 120px rgba(0,0,0,.28); }
.mobile-steps, .mobile-primary, .mobile-edit { display: none; }
.control-panel { padding: 30px 26px; border-right: 1px solid var(--line); background: rgba(11,23,19,.76); }
.panel-kicker { color: var(--muted); font: 10px var(--mono); letter-spacing: .15em; }
.panel-kicker span { color: var(--acid); }
.control-panel h3, .analysis-panel h3 { margin: 13px 0 0; font-size: 24px; font-weight: 400; letter-spacing: -.025em; }
.control-intro { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 12px 0 27px; }
.priority-block { margin: 0 0 27px; padding: 0; border: 0; }
.priority-block legend { margin-bottom: 10px; color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.priority-options { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.priority-options button { padding: 9px 7px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; text-align: left; font-size: 11px; }
.priority-options button span { margin-right: 5px; color: var(--muted); font-family: var(--mono); }
.priority-options button.active { border-color: rgba(255,192,106,.45); background: rgba(255,192,106,.1); color: var(--text); }
.priority-options button.active span { color: var(--acid); }
.dynamic-controls { display: flex; flex-direction: column; gap: 25px; }
.input-group { border-bottom: 1px solid var(--line); padding-bottom: 22px; animation: control-enter .55s cubic-bezier(.16,1,.3,1) var(--control-delay, 0ms) both; }
@keyframes control-enter {
  from { opacity: 0; transform: translate3d(-14px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.control-label { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 11px; }
.control-label label, .control-label span { font-size: 12px; color: #c4d4cc; }
.control-label output { font: 500 13px var(--mono); color: var(--cream); }
input[type="range"] { width: 100%; height: 16px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--mint) var(--fill, 50%), rgba(255,255,255,.13) var(--fill, 50%)); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; margin-top: -5.5px; border-radius: 50%; background: var(--acid); border: 3px solid #15231c; box-shadow: 0 0 0 1px var(--acid), 0 0 12px rgba(255,192,106,.4); }
input[type="range"]::-moz-range-track { height: 2px; background: rgba(255,255,255,.13); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--mint); }
input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: var(--acid); border: 2px solid #15231c; }
.range-ends { display: flex; justify-content: space-between; color: #81968c; font: 10px var(--mono); margin-top: 4px; }
.advanced-controls { margin-top: 24px; border-bottom: 1px solid var(--line); }
.advanced-controls summary { padding: 0 0 15px; display: flex; justify-content: space-between; color: var(--muted); cursor: pointer; list-style: none; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.advanced-controls summary::-webkit-details-marker { display: none; }
.advanced-controls summary span { color: var(--acid); }
.advanced-controls .dynamic-controls { padding-top: 10px; }
.advanced-controls[open] .dynamic-controls { animation: details-enter .48s cubic-bezier(.16,1,.3,1) both; transform-origin: top; }
@keyframes details-enter {
  from { opacity: 0; transform: translateY(-10px) scaleY(.96); }
  to { opacity: 1; transform: translateY(0) scaleY(1); }
}
.horizon-control { margin-top: 24px; }
.reset-button { width: 100%; margin-top: 25px; padding: 12px 0; background: transparent; border: 1px solid var(--line); cursor: pointer; color: var(--muted); font: 10px var(--mono); letter-spacing: .09em; text-transform: uppercase; transition: .2s; }
.reset-button:hover { color: var(--text); border-color: var(--line-strong); }
.reset-button span { float: right; margin-right: 12px; color: var(--acid); }
.privacy-note { color: #81968c; font: 10px var(--mono); text-align: center; margin: 16px 0 0; }

.analysis-panel { min-width: 0; }
.decision-tree-mini { height: 128px; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.decision-tree-mini svg { width: 100%; height: 126px; display: block; }
.decision-tree-mini path { fill: none; stroke: rgba(190,220,207,.15); stroke-width: 1.2; }
.decision-tree-mini .mini-active { stroke: var(--acid); stroke-width: 1.5; stroke-dasharray: 3 5; }
.decision-tree-mini circle { fill: var(--bg); stroke: var(--muted); stroke-width: 1.2; }
.decision-tree-mini .node-a { fill: var(--acid); stroke: var(--acid); }
.decision-tree-mini .node-b { fill: var(--aqua); stroke: var(--aqua); }
.mini-now { position: absolute; left: 4%; top: 70px; color: var(--muted); font: 10px var(--mono); letter-spacing: .12em; }
.path-label { position: absolute; right: 3%; width: 190px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 8px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.path-label small { color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; white-space: nowrap; }
.path-label b { font-size: 12px; font-weight: 500; }
.path-label.active b { color: var(--acid); }
.path-label.path-a { top: 11px; }
.path-label.path-b { bottom: 10px; }

.result-head { padding: 27px 34px 24px; display: flex; justify-content: space-between; gap: 25px; align-items: end; }
.result-head h3 { max-width: 720px; }
.outlook-control { flex: 0 0 auto; }
.outlook-control > span { display: block; margin-bottom: 8px; color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; }
.outlook-control > div { display: flex; border: 1px solid var(--line); }
.outlook-control button { padding: 8px 9px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font: 10px var(--mono); }
.outlook-control button:last-child { border-right: 0; }
.outlook-control button.active { color: #10160e; background: var(--acid); }
.metric-summary { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-card { min-width: 0; padding: 17px 19px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--line); background: rgba(255,255,255,.012); }
.metric-card:last-child { border-right: 0; }
.metric-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; border: 1px solid var(--line-strong); font: 11px var(--mono); color: var(--mint); flex: 0 0 auto; }
.metric-card small { display: block; color: var(--muted); font: 10px var(--mono); letter-spacing: .09em; margin-bottom: 6px; }
.metric-card strong { display: block; font: 400 14px var(--mono); color: var(--cream); white-space: nowrap; }
.metric-card em { display: block; color: var(--muted); font: normal 10px var(--mono); margin-top: 4px; }
.metric-card.is-priority { background: linear-gradient(120deg, rgba(255,192,106,.11), rgba(255,255,255,.01)); box-shadow: inset 0 2px 0 rgba(255,192,106,.65); }
.time-card .metric-icon { color: var(--aqua); }
.wellbeing-card .metric-icon { color: var(--lavender); }
.risk-card .metric-icon { color: var(--coral); }

.timeline-wrap { padding: 26px 28px 18px; }
.chart-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.chart-title { display: block; font: 11px var(--mono); letter-spacing: .11em; }
.chart-subtitle { display: block; margin-top: 4px; color: var(--muted); font: 10px var(--mono); }
.legend { display: flex; gap: 15px; color: var(--muted); font: 10px var(--mono); }
.legend span { display: flex; gap: 6px; align-items: center; }
.legend b { font-weight: 400; }
.legend i { width: 13px; height: 2px; display: block; }
.legend-a { background: var(--acid); box-shadow: 0 0 5px rgba(255,192,106,.55); }
.legend-b { background: var(--aqua); }
.timeline-chart { width: 100%; min-height: 420px; position: relative; }
.timeline-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-grid { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.chart-zero { stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-dasharray: 2 4; }
.chart-lane-divider { stroke: rgba(255,255,255,.1); stroke-width: 1; }
.chart-line-a, .chart-line-b { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: d .45s ease; }
.chart-line-a { stroke: var(--acid); filter: drop-shadow(0 0 4px rgba(255,192,106,.35)); }
.chart-line-b { stroke: var(--aqua); }
.chart-area-a { fill: url(#areaA); opacity: .16; }
.chart-area-b { fill: url(#areaB); opacity: .10; }
.uncertainty-band-a { fill: var(--acid); opacity: .09; }
.uncertainty-band-b { fill: var(--aqua); opacity: .08; }
.lane-priority-bg { fill: var(--acid); opacity: .035; }
.chart-dot-a { fill: var(--acid); }
.chart-dot-b { fill: var(--aqua); }
.axis-label { fill: var(--muted); font: 10px var(--mono); }
.lane-title { fill: var(--text); font: 500 11px var(--mono); letter-spacing: .06em; }
.lane-unit { fill: var(--muted); font: 10px var(--mono); }
.end-value-a, .end-value-b { font: 500 10px var(--mono); }
.end-value-a { fill: var(--cream); }
.end-value-b { fill: #a6f8eb; }
.risk-band-a { fill: var(--acid); opacity: .72; }
.risk-band-b { fill: var(--aqua); opacity: .68; }
.chart-marker-line { stroke: var(--mint); stroke-width: 1; stroke-dasharray: 3 4; opacity: .55; }
.chart-marker-label { fill: var(--mint); font: 10px var(--mono); }

.insight-strip { margin: 4px 28px 0; min-height: 58px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 12px 15px; border: 1px solid rgba(255,192,106,.2); background: linear-gradient(90deg, rgba(255,192,106,.08), transparent); }
.insight-mark { color: var(--acid); text-shadow: 0 0 8px rgba(255,192,106,.65); }
.insight-strip p { margin: 0; font-size: 12px; line-height: 1.55; }
.insight-strip p b { display: block; color: var(--cream); font-weight: 500; }
.insight-strip p span { color: var(--muted); }
.insight-strip button { border: 0; background: transparent; cursor: pointer; color: var(--muted); font: 10px var(--mono); }
.insight-strip button span { color: var(--acid); margin-left: 5px; }
.why-details { margin: 0 28px; padding: 14px 15px; border: 1px solid var(--line); border-top: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.disclaimer { margin: 18px 28px 25px; color: #81968c; font: 10px var(--mono); line-height: 1.6; }

.closing {
  min-height: 920px;
  padding: 265px 20px;
  display: grid;
  place-content: center;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #06100d;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: -5%;
  z-index: -2;
  background: url('assets/decision-background-q40.webp') center 64% / cover no-repeat;
  opacity: 0;
  transform: scale(1.09);
  transition: opacity 1.5s ease, transform 2.3s cubic-bezier(.16,1,.3,1);
}
.closing::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3,9,7,.46) 0%, rgba(3,9,7,.16) 40%, rgba(3,9,7,.32) 100%),
    radial-gradient(circle at 50% 44%, rgba(5,14,11,.02) 0%, rgba(3,9,7,.16) 66%, rgba(3,9,7,.42) 100%);
}
.closing.visual-reveal.is-revealed::before { opacity: .92; transform: scale(1); }
.closing > * { position: relative; z-index: 1; }
.closing .eyebrow { justify-content: center; }
.closing blockquote { max-width: 1100px; margin: 0 auto 38px; font: 300 clamp(28px, 4vw, 56px)/1.25 var(--sans); letter-spacing: -.04em; text-shadow: 0 3px 28px rgba(0,0,0,.8); }
.closing blockquote em { color: var(--acid); font-family: Georgia, serif; }
.closing a { text-decoration: none; text-transform: uppercase; font: 10px var(--mono); letter-spacing: .1em; border-bottom: 0; padding-bottom: 0; }
.closing a span { color: var(--acid); margin-left: 7px; }
footer { min-height: 92px; padding: 0 clamp(22px, 4vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #8da198; font: 11px var(--mono); letter-spacing: .1em; }
.footer-design { color: var(--text); font-size: 17px; font-weight: 500; letter-spacing: .02em; text-decoration-color: var(--acid); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .2s; }
.footer-design:hover { color: var(--acid); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 1fr; padding-left: 40px; padding-right: 40px; }
  .hero-tree { min-height: 560px; }
  .decision-grid { grid-template-columns: repeat(2, 1fr); }
  .workspace { grid-template-columns: 280px minmax(0, 1fr); }
  .outlook-control > div { flex-direction: column; }
  .outlook-control button { border-right: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .outlook-control button:last-child { border-bottom: 0; }
  .metric-summary { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-tree { min-height: 530px; border-left: 0; border-top: 1px solid var(--line); }
  .hero-tree svg { height: 540px; }
  .section-heading { align-items: start; flex-direction: column; }
  .picker-summary > div { grid-template-columns: 1fr; }
  .picker-summary small { margin-top: 4px; }
  .workspace { grid-template-columns: 1fr; }
  .mobile-steps { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .mobile-steps button { padding: 14px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
  .mobile-steps button:last-child { border-right: 0; }
  .mobile-steps button span { margin-right: 7px; color: var(--muted); }
  .mobile-steps button.active { color: #10160e; background: var(--acid); }
  .mobile-steps button.active span { color: #10160e; }
  .workspace:not(.mobile-results) .analysis-panel { display: none; }
  .workspace.mobile-results .control-panel { display: none; }
  .workspace.step-changing:not(.mobile-results) .control-panel,
  .workspace.step-changing.mobile-results .analysis-panel { animation: mobile-step-enter .58s cubic-bezier(.16,1,.3,1) both; }
  @keyframes mobile-step-enter {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  .control-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .dynamic-controls { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
  .horizon-control { max-width: calc(50% - 14px); }
  .mobile-primary { width: 100%; margin-top: 24px; padding: 13px 16px; display: flex; justify-content: space-between; border: 0; background: var(--acid); color: #10160e; cursor: pointer; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
  .mobile-edit { width: 100%; padding: 12px 18px; display: block; border: 0; border-bottom: 1px solid var(--line); background: rgba(255,192,106,.07); color: var(--muted); cursor: pointer; text-align: left; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
}

@media (max-width: 560px) {
  .site-header { height: 66px; padding: 0 17px; }
  .brand em { display: none; }
  .nav-link { font-size: 10px; }
  .hero { padding: 68px 20px 50px; min-height: auto; }
  h1 { font-size: 49px; }
  .hero-intro { font-size: 14px; }
  .hero-tree { min-height: 450px; }
  .hero-tree svg { height: 450px; transform: scale(1.17); }
  .tag-a { left: 0; }
  .tag-b { right: 0; }
  .future-tag { padding: 8px 10px; }
  .future-tag b { font-size: 12px; }
  .tree-label { display: none; }
  .simulator-section { padding: 72px 12px 80px; }
  .section-heading { padding: 0 7px; }
  .picker-summary { min-height: 94px; padding: 14px; align-items: flex-start; }
  .picker-summary strong { font-size: 16px; }
  .picker-summary button { padding: 8px; }
  .picker-summary button { font-size: 0; }
  .picker-summary button span { font-size: 15px; margin-left: 0; }
  .decision-menu { padding: 14px; }
  .category-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .category-tabs button { border-color: var(--line); }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-option { min-height: 76px; }
  .control-panel { padding: 26px 20px; }
  .dynamic-controls { grid-template-columns: 1fr; }
  .priority-options { grid-template-columns: repeat(2, 1fr); }
  .horizon-control { max-width: none; }
  .decision-tree-mini { height: 150px; }
  .decision-tree-mini svg { height: 140px; transform: translateX(-60px) scale(1.2); }
  .path-label { right: 2%; width: 165px; }
  .result-head { padding: 24px 20px; align-items: start; flex-direction: column; }
  .outlook-control { width: 100%; }
  .outlook-control > div { display: grid; grid-template-columns: repeat(3, 1fr); flex-direction: initial; }
  .outlook-control button { padding: 9px 4px; border-right: 1px solid var(--line); border-bottom: 0; text-align: center; font-size: 9px; }
  .metric-summary { grid-template-columns: 1fr 1fr; }
  .metric-card { padding: 13px 11px; gap: 8px; }
  .metric-icon { width: 24px; height: 24px; }
  .metric-card strong { font-size: 11px; }
  .timeline-wrap { padding: 24px 10px 15px; }
  .chart-header { align-items: flex-start; }
  .chart-subtitle { max-width: 200px; }
  .legend { gap: 7px; }
  .timeline-chart { min-height: 440px; }
  .insight-strip { margin-left: 10px; margin-right: 10px; }
  .why-details, .disclaimer { margin-left: 10px; margin-right: 10px; }
  .insight-strip button { align-self: start; }
  .closing { min-height: 760px; padding: 200px 20px; }
  .closing::before { background-position: 50% 68%; }
  footer { padding: 25px 18px; flex-direction: column; align-items: flex-start; }
}

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