/* Investor page (/invest/). Maps the page's tokens onto the site palette in site.css. */
.invest {
  --fg: var(--text); --dim: var(--text-dim); --line: var(--border); --surface: var(--card);
  --warn: var(--amber); --warn-soft: var(--amber-soft);
  --display: Inter, "Segoe UI", system-ui, sans-serif; --body: Inter, "Segoe UI", system-ui, sans-serif;
  max-width: 980px; margin: 0 auto; padding-inline: 20px; padding-block: 40px 72px; display: grid; gap: 72px;
}
.invest { max-width: 980px; margin: 0 auto; padding-inline: 20px; padding-block: 40px 72px; display: grid; gap: 72px; }
.invest h1, .invest h2, .invest h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.08; }
.invest h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; font-stretch: 88%; }
.invest h3 { font-size: 1.1rem; font-weight: 700; font-stretch: 95%; }
.invest p { margin: 0; max-width: 65ch; }
.invest .dim { color: var(--dim); }
.invest .kicker { font: 600 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.invest .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.invest section { display: grid; gap: 20px; }
.invest a:not(.btn) { color: var(--accent); }
.invest a:focus-visible, .invest button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.invest .ihero { display: grid; gap: 24px; }
.invest .ihero h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); font-weight: 800; font-stretch: 78%; letter-spacing: -.015em; max-width: 16ch; }
.invest .ihero h1 em { font-style: normal; color: var(--accent); }
.invest .ihero .lede { font-size: 1.15rem; color: var(--dim); max-width: 60ch; }
.invest .ihero .lede strong { color: var(--fg); font-weight: 600; }
.invest .rack { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 18px; }
.invest .rack-row { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: center; }
.invest .rack-label { font: 600 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.invest .rack-label b { display: block; color: var(--fg); font-size: 1.05rem; letter-spacing: 0; }
.invest .slots { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.invest .slot { width: 26px; height: 34px; border-radius: 3px; border: 1px solid var(--line); position: relative; }
.invest .slot.on { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent-soft); }
.invest .slot.on::after { content: ""; position: absolute; left: 5px; right: 5px; top: 6px; height: 2px; background: var(--bg); opacity: .55; box-shadow: 0 6px 0 var(--bg), 0 12px 0 var(--bg); }
.invest .slot.wait { border-style: dashed; border-color: var(--warn); background: var(--warn-soft); width: 14px; height: 14px; border-radius: 50%; align-self: center; }
.invest .slot.plan { border-style: dashed; }
.invest .slot.wait.paid { background: var(--warn); border-style: solid; }
.invest .rack-note { font-size: .88rem; color: var(--dim); border-top: 1px solid var(--line); padding-top: 14px; }
@media (prefers-reduced-motion: no-preference) {
.invest .slot.on { animation: pulse 2.6s ease-in-out infinite; }
.invest .slot.on:nth-child(2) { animation-delay: 1.3s; }
@keyframes pulse { 50% { box-shadow: 0 0 2px var(--accent-soft); } }

}
.invest .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.invest .stat { background: var(--bg); padding: 18px; display: grid; gap: 6px; align-content: start; }
.invest .stat .n { font: 700 1.9rem/1 var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; }
.invest .stat .l { font-size: .86rem; color: var(--dim); line-height: 1.4; }
.invest .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.invest .cols > div { display: grid; gap: 10px; align-content: start; min-width: 0; }
.invest ul.plain { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.invest ul.plain li { padding-left: 18px; position: relative; max-width: 62ch; }
.invest ul.plain li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 2px; background: var(--accent); }
.invest ul.plain.warn li::before { background: var(--warn); }
.invest .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.invest table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .93rem; }
.invest th, .invest td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.invest tr:last-child td { border-bottom: 0; }
.invest th { font: 600 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); background: var(--surface); }
.invest td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.invest th.num { text-align: right; }
.invest td:first-child { font-weight: 600; }
.invest tr.total td { background: var(--accent-soft); font-weight: 600; }
.invest .chart { display: grid; gap: 10px; }
.invest .bar { display: grid; grid-template-columns: 210px 1fr 72px; gap: 12px; align-items: center; font-size: .9rem; }
.invest .bar .name { min-width: 0; }
.invest .bar .name small { color: var(--dim); display: block; font-size: .78rem; }
.invest .track { height: 14px; background: var(--surface); border-radius: 2px; position: relative; }
.invest .fill { position: absolute; inset: 0 auto 0 0; background: var(--dim); opacity: .55; border-radius: 2px; }
.invest .bar.us .fill { background: var(--accent); opacity: 1; }
.invest .bar.us .name { font-weight: 600; }
.invest .bar .v { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; font-size: .85rem; }
.invest .plan-tbl td:first-child { white-space: nowrap; }
.invest .foot { font-size: .82rem; color: var(--dim); max-width: 72ch; }
.invest .gates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.invest .gate { border-top: 3px solid var(--line); padding-top: 14px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.invest .gate.now { border-color: var(--accent); }
.invest .gate .when { font: 600 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.invest .gate .fleet { font: 700 1.5rem/1 var(--display); font-stretch: 85%; }
.invest .gate p { font-size: .88rem; color: var(--dim); }
.invest .ask { background: var(--surface); border: 1px solid var(--accent); border-radius: 10px; padding: 28px; display: grid; gap: 18px; }
.invest .ask .ask-amount { font: 800 clamp(2rem, 5vw, 3.2rem)/1 var(--display); font-stretch: 80%; }
.invest .ask .ask-amount span { color: var(--accent); }
.invest .contact { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.invest .lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.invest .line { border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; background: var(--bg); }
.invest .line-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.invest .badge { font: 600 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); white-space: nowrap; }
.invest .badge.live { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.invest .badge.pilot { color: var(--warn); border-color: var(--warn); background: var(--warn-soft); }
.invest .line p { font-size: .92rem; color: var(--dim); }
.invest .line.wide { grid-column: 1 / -1; }
.invest .line .who { font: 600 .74rem/1.4 var(--mono); letter-spacing: .04em; color: var(--fg); }
.invest .path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.invest .pstep { padding: 14px 16px; display: grid; gap: 4px; border-right: 1px solid var(--line); min-width: 0; }
.invest .pstep:last-child { border-right: 0; }
.invest .pstep b { font: 700 1rem/1.1 var(--display); font-stretch: 90%; }
.invest .pstep span { font-size: .84rem; color: var(--dim); }
.invest .pstep i { font: 600 .68rem/1 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 760px) {
.invest .lines { grid-template-columns: 1fr; }
.invest .path { grid-template-columns: 1fr 1fr; }
.invest .pstep:nth-child(2) { border-right: 0; }
.invest .pstep:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.invest .calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.invest .calc-in, .invest .calc-out { background: var(--surface); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.invest .calc-out { background: var(--bg); }
.invest .calc label { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--dim); margin-top: 4px; }
.invest .calc output { font-family: var(--mono); color: var(--fg); font-variant-numeric: tabular-nums; }
.invest .calc input[type=range] { width: 100%; accent-color: var(--accent); }
.invest .kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--dim); }
.invest .kv:last-child { border-bottom: 0; }
.invest .kv b { font: 600 1.05rem/1 var(--mono); color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.invest .kv.big b { font: 800 2rem/1 var(--display); font-stretch: 85%; color: var(--accent); }
.invest #plan h3 { margin-top: 12px; }
@media (max-width: 760px) {
.invest .calc { grid-template-columns: 1fr; }
}
.invest .notes { border-top: 1px solid var(--line); padding-top: 18px; font-size: .82rem; color: var(--dim); display: grid; gap: 6px; }
@media (max-width: 760px) {
.invest .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.invest .cols { grid-template-columns: 1fr; }
.invest .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.invest .rack-row { grid-template-columns: 1fr; gap: 8px; }
.invest .bar { grid-template-columns: 1fr 64px; }
.invest .bar .track { grid-column: 1 / -1; grid-row: 2; }
.invest { gap: 56px; }
}
