/* Edgento landing page (redesign 2026-11-08).
   Design read: pre-launch landing for self-directed traders, dark technical language
   (Linear-adjacent), static HTML/CSS/JS, Geist + Geist Mono. Dark only, per DESIGN.md.
   Dials: variance 7, motion 6, density 4.
   One accent: brand blue (from the logo mark). Radius system: controls 10px, panels 16px,
   pills (tags, prompts) fully round. No em/en dashes in copy. Icons: Phosphor (MIT), inlined. */

@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Variable-Italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* "Trading floor" (matches the app, DESIGN.md Seg329): charcoal-navy ground, house amber
     for every action, one jacket colour per desk */
  --bg: #10151F;
  --bg-2: #131B29;
  --panel: #172030;
  --raised: #1F2A3E;
  --line: #2B3750;
  --hair: rgba(238, 241, 246, .08);
  --ink: #0A0E16;
  --text: #EEF1F6;
  --dim: #A9B3C4;
  --faint: #98A3B6;
  --accent: #F2A33A;          /* house amber: the one action colour */
  --accent-fill: #F2A33A;
  --accent-hover: #F6B85E;
  --accent-text: #F7C072;
  --accent-tint: rgba(242, 163, 58, .13);
  --on-accent: #1A1206;
  --j-research: #5B8CFF;
  --j-quant: #8FA8C8;   /* steel: quieter than the old pink (#E77BD3), still distinct from Research blue */
  --j-risk: #B48CFF;
  --j-trade: #2EC4B6;
  --gain: #5AD17F;
  --loss: #F0705F;
  --green-surface: #F2A33A;   /* the join section is the amber field */
  --danger: #F38A8A;
  --r-control: 10px;
  --r-panel: 16px;
  --wrap: 1200px;
  --gutter: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* site-wide static background: teal dot-wave sheet with a blue light top left, fixed while the page scrolls (position: fixed also works on iOS,
   where background-attachment: fixed does not). Dimmed with the brand ink so text stays readable everywhere. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 21, 31, .62) 0%, rgba(16, 21, 31, .46) 55%, rgba(16, 21, 31, .40) 100%),
    url(assets/bg-wave3.webp?v=1) 50% 50% / cover no-repeat, #03101e;
}
/* live version (wave.js): the dots are drawn on a canvas over the navy and the blue light; the image is the fallback */
#bg-wave { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; display: block;
  background: radial-gradient(ellipse 42% 65% at 2% 2%, rgba(10, 110, 200, .80), rgba(10, 110, 200, .25) 45%, transparent 75%), #03101e; }
.wave-live body::before { background: linear-gradient(180deg, rgba(16, 21, 31, .62) 0%, rgba(16, 21, 31, .46) 55%, rgba(16, 21, 31, .40) 100%); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
code { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
svg.ph { width: 1em; height: 1em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: var(--r-control); z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

.h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 20ch; }
.sub { margin-top: 16px; color: var(--dim); font-size: 18px; max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: var(--r-control);
  font: 550 15px/1 "Instrument Sans", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: background .2s var(--ease), border-color .2s var(--ease), transform .12s;
}
.btn .ph { font-size: 17px; transition: transform .25s var(--ease); }
.btn:hover .ph { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent-fill); color: #F4F5F7; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary[disabled] { opacity: .65; cursor: progress; }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn-lg { height: 50px; width: 100%; font-size: 16px; }
.link-quiet { color: var(--dim); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.link-quiet:hover { color: var(--text); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(16, 21, 31, .82); backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: 12px; }
.nav a { color: var(--dim); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 104px; position: relative; overflow: hidden; }
.hero::before {                  /* keep the text side a touch darker over the page background */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 21, 31, .55) 0%, rgba(16, 21, 31, .25) 45%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(36px, 3.6vw, 50px); letter-spacing: -0.035em; line-height: 1.05; max-width: 22ch; }
.hero-sub { margin-top: 20px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--text); max-width: 44ch; }
.hero-sub + .lede { margin-top: 10px; }
.lede { margin-top: 22px; font-size: 19px; color: var(--dim); max-width: 36ch; }
.quick { display: flex; gap: 10px; margin-top: 36px; max-width: 470px; }
.quick input { flex: 1; min-width: 0; }

/* the research agent at work (an illustration, animated by app.js) */
.agent { margin: 0; }
.agent-win {
  background: rgba(32, 38, 47, .74); border: 1px solid rgba(120, 200, 240, .22); border-radius: var(--r-panel);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 40px 90px -40px rgba(4, 8, 20, .75), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.agent-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: rgba(26, 31, 39, .55); }
.agent-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); font-size: 18px; }
.agent-title strong { display: block; font-size: 15px; font-weight: 600; }
.agent-title span { font-size: 13px; color: var(--dim); }
.agent-replay {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px;
  border-radius: 8px; border: 1px solid var(--hair); background: transparent; color: var(--dim); font: 500 13px "Instrument Sans", sans-serif;
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s, color .2s, background .2s;
}
.agent-replay .ph { font-size: 14px; }
.agent.finished .agent-replay { opacity: 1; pointer-events: auto; }
.agent-replay:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.agent-body { padding: 20px 18px 22px; display: grid; gap: 14px; min-height: 452px; align-content: start; }
.msg { max-width: 88%; font-size: 14.5px; line-height: 1.5; }
.msg p { padding: 11px 14px; border-radius: 12px; }
.msg-you { justify-self: end; }
.msg-you p { background: var(--accent-fill); color: #F4F5F7; border-bottom-right-radius: 4px; }
.msg-agent p { background: var(--raised); color: var(--text); border-bottom-left-radius: 4px; }
.msg-done { max-width: 100%; }
.msg-done p { background: var(--bg-2); border: 1px solid var(--line); }
.msg-done b { font-weight: 600; }
.msg-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.msg-actions span { font-size: 13px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--hair); color: var(--accent-text); background: var(--accent-tint); }
.handoffs { list-style: none; margin: 2px 0; padding: 0 0 0 14px; display: grid; gap: 8px; border-left: 1px dashed #3B4352; margin-left: 10px; }
.hand {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px;
}
.hand-who { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; color: var(--text); min-width: 96px; }
.chip-ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--raised); color: var(--accent-text); font-size: 14px; }
.hand-what { color: var(--dim); }
.hand-state { width: 20px; height: 20px; display: grid; place-items: center; color: var(--accent); font-size: 16px; }
.hand-state .ph, .hand-state .spin { grid-area: 1 / 1; }
.spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(157, 189, 255, .25); border-top-color: var(--accent); opacity: 0; }
.hand-state .ph { opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); }
.hand.is-active .spin { opacity: 1; animation: spin .8s linear infinite; }
.hand.is-active { border-color: rgba(242, 163, 58, .45); }
.hand.is-done .ph { opacity: 1; transform: none; }
.agent figcaption { margin-top: 14px; font-size: 13px; color: var(--faint); max-width: 60ch; }
@keyframes spin { to { transform: rotate(360deg); } }
/* the hero snapshot: a research agent from the app (2026-11-09) */
.hero-shot { position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: 8% -4% 4% -4%; z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 207, 110, .14), transparent 72%); filter: blur(28px); }
.hero-shot img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 16px;
  border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 34px 70px -30px rgba(4, 8, 20, .95); }
.hero-shot figcaption { position: relative; z-index: 1; }

/* step choreography: hidden until app.js reveals them */
.js .agent [data-step] { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .agent [data-step].is-in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.builder-sec { position: relative; }

/* toolkit: the industry-standard methods, as one joined board */
.tk-intro .h2 { max-width: 22ch; }
.tk-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.tk-grid li { background: rgba(16, 21, 31, .80); padding: 26px 24px 28px; transition: background .25s var(--ease); }
.tk-grid li:hover { background: var(--panel); }
.tk-ico { display: inline-flex; font-size: 24px; color: var(--accent); }
.tk-grid h3 { margin-top: 16px; font-size: 17px; letter-spacing: -0.015em; }
.tk-grid p { margin-top: 8px; color: var(--dim); font-size: 14.5px; }
.tk-band { margin-top: 20px; padding: 22px 26px; border-radius: var(--r-panel); background: var(--accent-tint); border: 1px solid rgba(242, 163, 58, .28); }
.tk-band p { font-size: 16.5px; color: var(--dim); max-width: 80ch; }
.tk-band strong { color: var(--text); font-weight: 600; }

/* build your own agent: a node graph (nodes in HTML, wires drawn by app.js) */
.graph { position: relative; margin: 56px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 80px; align-items: center; padding: 40px 36px; border-radius: var(--r-panel); border: 1px solid var(--line);
  background: radial-gradient(60% 70% at 50% 50%, rgba(242, 163, 58, .10), transparent 70%), rgba(26, 31, 39, .72);
  -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15); }
.graph-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.graph-wires .wire { fill: none; stroke: #3A4353; stroke-width: 1.5; }
.graph-wires .pulse { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 22; opacity: .9; }
.graph-wires .wire.hubwire { stroke: rgba(242, 163, 58, .45); }
.graph.flowing .graph-wires .pulse { animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -25; } }
.g-col { position: relative; z-index: 3; }
.g-agent { position: relative; }   /* no z-index: its hub and agents sit above the wires, its card below them */
.g-head { font-size: 13px; color: var(--faint); font-weight: 500; margin-bottom: 12px; }
.g-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.g-node { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.g-node > .ph { flex: none; font-size: 18px; color: var(--accent-text); }
.g-node span { font-size: 14.5px; font-weight: 550; line-height: 1.3; }
.g-node em { display: block; font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.g-agent { background: var(--bg); border: 1px solid rgba(242, 163, 58, .45); border-radius: var(--r-panel); padding: 22px 22px 18px;
  box-shadow: 0 0 0 6px rgba(242, 163, 58, .06), 0 30px 70px -40px rgba(4, 8, 20, .9); }
.g-agent-head { display: flex; align-items: center; gap: 12px; }
.g-agent-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-fill); color: #F4F5F7; font-size: 20px; flex: none; }
.g-agent-ico .ph { color: #F4F5F7; }
.g-agent-head strong { display: block; font-size: 17px; font-weight: 600; }
.g-agent-head span { font-size: 13px; color: var(--faint); }
.g-mission { margin-top: 16px; font-size: 14.5px; color: var(--dim); }
.g-mission b { display: block; font-size: 12.5px; font-weight: 550; color: var(--accent-text); margin-bottom: 2px; }
.g-orbit { position: relative; height: 250px; margin: 14px 0 6px; }
.g-hub { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel); border: 1px solid rgba(242, 163, 58, .55); z-index: 3; }
.g-hub img { width: 38px; height: auto; }
.g-sat { position: absolute; z-index: 3; left: calc(50% + cos(var(--a)) * 37%); top: calc(50% + sin(var(--a)) * 41%); transform: translate(-50%, -50%);
  white-space: nowrap; font-size: 12.5px; font-weight: 550; padding: 6px 11px; border-radius: 999px; background: var(--raised); border: 1px solid var(--hair); }
.g-sched { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); padding-top: 12px; border-top: 1px solid var(--line); }
.g-sched .ph { color: var(--accent); font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .graph.flowing .graph-wires .pulse { animation: none; } }

/* charts: real agent output */
.charts-sec { padding-top: 24px; }
.chart { margin: 0; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.chart a { display: block; background: #2A2A2D; }
.chart img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.chart a:hover img { transform: scale(1.015); }
.chart a:focus-visible { outline-offset: -3px; }
.chart figcaption { padding: 16px 20px 18px; color: var(--dim); font-size: 14.5px; border-top: 1px solid var(--line); }
.chart figcaption b { display: block; color: var(--text); font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }

/* fundamental research: note + price targets, then a strip of report charts */
.fund-sec { background: rgba(26, 31, 39, .62); border-block: 1px solid var(--line); }
.fund-sec .h2 { max-width: 26ch; }
.fund-top { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.note { border-radius: var(--r-panel); background: var(--bg); border: 1px solid var(--line); padding: 8px 28px; display: flex; flex-direction: column; }
.note-block { padding: 22px 0; }
.note-block + .note-block { border-top: 1px solid var(--line); }
.note-q { font: 400 13.5px/1.45 "Geist Mono", monospace; color: var(--accent-text); }
.note h3 { margin-top: 12px; font-size: 20px; }
.note p, .note li { color: var(--dim); font-size: 15px; }
.note h3 + p { margin-top: 8px; }
.note b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.note ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.note-src { margin-top: 10px; font-size: 12.5px !important; color: var(--faint) !important; }
.fund-main { display: flex; flex-direction: column; }
.fund-main a { flex: 1; display: flex; align-items: center; }
.fund-strip { margin-top: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.fund-card { scroll-snap-align: start; }
.fund-card figcaption { font-size: 13.5px; padding: 12px 16px 14px; }
.fund-card figcaption b { font-size: 14.5px; }

/* desk model: tabs */
.desk { background: rgba(26, 31, 39, .62); border-block: 1px solid var(--line); }
.seats { margin-top: 56px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.seat-list { display: grid; gap: 4px; }
.seat-list [role=tab] {
  text-align: left; padding: 14px 16px; border-radius: var(--r-control); border: 1px solid transparent;
  background: transparent; color: var(--dim); font: 500 16px "Instrument Sans", sans-serif; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.seat-list [role=tab]:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.seat-list [role=tab][aria-selected=true] { background: var(--panel); border-color: var(--line); color: var(--text); }
.seat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 40px 44px; min-height: 340px;
  background-image: radial-gradient(circle at 100% 0, rgba(242, 163, 58, .10), transparent 45%);
}
.js .seat:not([hidden]) { animation: seatIn .45s var(--ease); }
@keyframes seatIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.seat-ico { width: 44px; height: 44px; border-radius: 12px; font-size: 22px !important; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); font-size: 26px; }
.seat-firm { margin-top: 0; color: var(--dim); font-size: 16px; max-width: 54ch; }
.seat h3 { margin-top: 30px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; }
.seat-ours { margin-top: 12px; font-size: 17px; max-width: 54ch; color: var(--text); }
.tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags + .seat-ours { margin-top: 20px; }
.tags li { font-size: 14px; padding: 7px 13px; border-radius: 999px; background: var(--raised); border: 1px solid var(--hair); }

/* principles: bento */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cell { grid-column: span 2; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; display: flex; flex-direction: column; }
.cell h3 { font-size: 20px; margin-top: 18px; }
.cell p { color: var(--dim); font-size: 15px; margin-top: 10px; }
.h-ico { display: flex; align-items: center; gap: 14px; }
.cell .h-ico { margin-top: 0; }
.cell-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--raised); color: var(--accent-text); font-size: 20px; }
.cell-sep { grid-column: span 4; background: linear-gradient(135deg, rgba(242, 163, 58, .14), rgba(242, 163, 58, .02) 60%), var(--panel); }
.cell-sep h3 { font-size: 26px; margin-top: auto; padding-top: 28px; }
.cell-sep p { font-size: 16px; max-width: 52ch; }
.sep-visual { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sep-visual .node { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 22px; color: var(--accent-text); }
.sep-visual .node em { font-style: normal; font-size: 14px; color: var(--text); font-weight: 500; }
.sep-visual .gate { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-fill); color: #F4F5F7; font-size: 22px; position: relative; }
.sep-visual .gate::before, .sep-visual .gate::after { content: ""; position: absolute; top: 50%; width: 14px; height: 1px; background: #4A5363; }
.sep-visual .gate::before { right: 100%; } .sep-visual .gate::after { left: 100%; }
.cell-par { grid-column: span 2; background: linear-gradient(160deg, rgba(42, 92, 84, .45), rgba(30, 52, 50, .25)), var(--panel); }
.par-visual { display: grid; grid-template-columns: repeat(4, 40px); gap: 8px; }
.par-visual span { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(0, 0, 0, .22); color: var(--text); font-size: 19px; }
.cell-wide { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; background: var(--green-surface); border-color: rgba(134, 239, 172, .14); padding: 32px 36px; }
.cell-wide h3 { margin-top: 0; font-size: 24px; }
.cell-wide p { color: #C3CFCD; max-width: 60ch; }
/* ---------- product demo: one tabbed panel ---------- */
.demo { margin-top: 40px; }
.demo-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(26, 31, 39, .72); border: 1px solid var(--line);
  width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tabs [role=tab] { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 9px; background: none;
  font: 500 14px "Instrument Sans", sans-serif; color: var(--dim); cursor: pointer; white-space: nowrap; transition: color .2s, background .2s; }
.demo-tabs [role=tab] .ph { width: 17px; height: 17px; }
.demo-tabs [role=tab]:hover { color: var(--text); }
.demo-tabs [role=tab][aria-selected="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.demo-tabs [role=tab][aria-selected="true"] .ph { color: var(--accent); }
.demo-panel { margin-top: 16px; }
.demo-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-panel); }
.demo-panel .fund-top { margin-top: 0; }
.demo-panel .graph { margin-top: 16px; }
.demo-lead { margin: 0; max-width: 70ch; color: var(--dim); font-size: 15.5px; }
.demo-panel > .caveat { margin-top: 14px; }

/* ---------- three benefits ---------- */
.bn-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bn { padding: 26px 24px 24px; border-radius: var(--r-panel); background: rgba(32, 38, 47, .80); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 12px; }
.bn h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.bn-h { display: flex; align-items: flex-start; gap: 10px; }
.bn-h .ph { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--accent); }
.bn p { margin: 0; color: var(--dim); font-size: 15px; }
.bn .tags { margin-top: auto; padding-top: 6px; }
.bn-steps { list-style: none; margin: auto 0 0; padding: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: st; }
.bn-steps li { counter-increment: st; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text);
  padding: 5px 10px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hair); }
.bn-steps li::before { content: counter(st); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-text); font: 600 11px "Geist Mono", ui-monospace, monospace; }

/* ---------- interactive agent charts (charts.js) ---------- */
.ic-grid { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: stretch; }
.ic { margin: 0; border-radius: var(--r-panel); background: rgba(32, 38, 47, .86); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; min-width: 0; }
.ic-opt, .ic-fund, .ic-desk { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3.6fr); }
.ic-main { display: flex; flex-direction: column; min-width: 0; }
.ic-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px 0; }
.ic-agent { margin: 0 0 4px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--accent-text); }
.ic-agent .ph { width: 16px; height: 16px; }
.ic h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ic h3 span { margin-left: 6px; font-size: 13.5px; font-weight: 400; color: var(--faint); letter-spacing: 0; }
.ic-quote { margin: 2px 0 0; text-align: right; font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; line-height: 1.3; }
.ic-quote b { font-size: 19px; font-weight: 600; }
.ic-chg { font-size: 13px; margin-left: 4px; }
.ic-date { display: block; font-size: 12px; color: var(--faint); }
.pos { color: #5AD17F; } .neg { color: var(--danger); }
.ic-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; padding: 12px 20px 4px; }
.ic-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hair); }
.ic-seg button { font: 500 12.5px "Instrument Sans", sans-serif; color: var(--dim); background: none; border: 0; border-radius: 6px; padding: 5px 10px; cursor: pointer; }
.ic-seg button[aria-pressed="true"] { background: var(--raised); color: var(--text); }
.ic-seg button:hover { color: var(--text); }
.ic-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ic-chip { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px "Instrument Sans", sans-serif; color: var(--faint); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px 5px 9px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.ic-chip[aria-pressed="true"] { color: var(--text); border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
.ic-chip[aria-pressed="false"] em { opacity: .35; }
.ic-chip:hover { border-color: rgba(255, 255, 255, .28); }
.ic em, .ic-tip em { display: inline-block; width: 12px; height: 3px; border-radius: 2px; flex: none; }
.ic em.dash { -webkit-mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 6px); mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 6px); }
.ic-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--dim); }
.ic-rules li { display: inline-flex; align-items: center; gap: 7px; }
.ic-rules em { width: 8px; height: 8px; border-radius: 2px; }
.ic-plot { position: relative; flex: 1; min-height: 300px; margin: 6px 10px 0 16px; cursor: crosshair; touch-action: pan-y; border-radius: 8px; }
.ic-plot-tall { min-height: 360px; }
.ic-plot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ic-plot svg { position: absolute; inset: 0; display: block; overflow: visible; }
.ic-plot .ln { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.ic-plot .ln-thin { stroke-width: 1; }
.ic-plot .ln-thick { stroke-width: 2.2; }
.ic-plot .ln-draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: ic-draw 1.4s var(--ease) forwards; }
.ic-plot .ln-draw[stroke-dasharray] { animation: none; stroke-dashoffset: 0; }
@keyframes ic-draw { to { stroke-dashoffset: 0; } }
.ic-axis text, .ic-axis-t { font: 11px "Geist Mono", ui-monospace, monospace; fill: var(--faint); }
.ic-panel-t { font: 500 11.5px "Instrument Sans", sans-serif; fill: var(--faint); }
.ic-lv { font: 11px "Geist Mono", ui-monospace, monospace; fill: #F7AFAF; }
.ic-tag-t { font: 600 11px "Geist Mono", ui-monospace, monospace; }
.ic-cross line { stroke: rgba(236, 238, 241, .4); stroke-width: 1; stroke-dasharray: 3 3; }
.ic-dot { stroke: #10151F; stroke-width: 2; }
.ic-mk { stroke: #10151F; stroke-width: 1; }
.ic-tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; min-width: 168px; max-width: 250px; padding: 10px 12px; border-radius: 10px;
  background: rgba(17, 21, 27, .94); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7);
  font-size: 12.5px; color: var(--dim); transition: transform .08s linear; }
.ic-tip > b { display: block; color: var(--text); font-weight: 600; margin-bottom: 6px; }
.ic-tip-g { display: grid; grid-template-columns: auto auto; gap: 3px 14px; }
.ic-tip-g span { display: inline-flex; align-items: center; gap: 6px; }
.ic-tip-g i { font-style: normal; text-align: right; color: var(--text); font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.ic-tip-g small { color: var(--faint); }
.ic-tip em { width: 10px; }
.ic-oos { font-size: 11px; font-weight: 500; color: var(--accent-text); margin-left: 4px; }
.ic-trade { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ic-trade b { color: var(--text); font-weight: 600; margin-right: 6px; }
.ic-trade p { margin: 4px 0 0; line-height: 1.45; }
.ic-stats { margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ic-stats div { padding: 12px 14px 14px 20px; border-left: 1px solid var(--line); min-width: 0; }
.ic-stats div:first-child { border-left: 0; }
.ic-stats dt { font-size: 12px; color: var(--faint); margin-bottom: 2px; }
.ic-stats dd { margin: 0; font: 600 14.5px "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-stats dd.pos { color: #5AD17F; } .ic-stats dd.neg { color: var(--danger); }
.ic-stats small { font: 400 11.5px "Instrument Sans", sans-serif; color: var(--faint); }
.ic-opt .ic-plot, .ic-fund .ic-plot { min-height: 340px; margin-bottom: 14px; }
.ic-side { border-left: 1px solid var(--line); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.ic-side-t { margin: 0; font-size: 13px; font-weight: 600; color: var(--text); }
.ic-side-n { margin: 0; font-size: 12.5px; color: var(--faint); }
.ic-side-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.ic-weights { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ic-weights li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 76px; align-items: center; gap: 10px; font-size: 13px; }
.ic-wt { font: 600 12.5px "Geist Mono", ui-monospace, monospace; color: var(--text); }
.ic-wbar { position: relative; height: 14px; display: grid; gap: 2px; }
.ic-wbar i { display: block; height: 6px; width: 0; border-radius: 3px; background: var(--accent); transition: width 1s var(--ease); }
.ic-wbar i.was { background: rgba(167, 175, 186, .45); }
.ic.in .ic-wbar i, .no-io .ic-wbar i { width: calc(var(--w) * 2.2); max-width: 100%; }
.ic-wv { text-align: right; font: 600 12.5px "Geist Mono", ui-monospace, monospace; color: var(--text); }
.ic-wv s { color: var(--faint); font-weight: 400; margin-right: 6px; text-decoration: none; }
.ic-cmp { margin: 0; display: grid; gap: 8px; }
.ic-cmp div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; }
.ic-cmp dt { color: var(--dim); }
.ic-cmp dd { margin: 0; display: inline-flex; gap: 8px; align-items: baseline; font: 13px "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.ic-cmp s { text-decoration: none; color: var(--faint); }
.ic-cmp span { color: var(--faint); }
.ic-cmp b { color: var(--text); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ic-wbar i { transition: none; width: calc(var(--w) * 2.2); max-width: 100%; } .ic-tip { transition: none; } }

.caveat { margin-top: 24px; font-size: 14px; color: var(--faint); max-width: 70ch; }

/* how it works: sticky story */
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.how-sticky { position: sticky; top: 132px; }
.how-rail { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 6px; }
.how-rail li { font-size: 15px; color: var(--faint); padding: 6px 0; transition: color .3s, transform .3s var(--ease); }
.how-rail li.on { color: var(--text); transform: translateX(6px); }
.how-rail li.on::before { content: "\2192\00a0"; color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.step { padding: 32px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); transition: opacity .4s var(--ease), border-color .4s; }
.js .step.on { border-color: rgba(242, 163, 58, .5); background: #232A35; }
.step h3 { font-size: 24px; }
.step p { color: var(--dim); margin-top: 10px; font-size: 16px; max-width: 48ch; }
.codes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.codes code { margin-top: 0 !important; }
.step code { display: inline-block; margin-top: 20px; font-size: 13.5px; color: var(--accent-text); background: var(--accent-tint); border: 1px solid rgba(242, 163, 58, .25); border-radius: 8px; padding: 8px 12px; }

/* trust */
.trust { background: rgba(26, 31, 39, .62); border-block: 1px solid var(--line); }
.h2-wide { max-width: 30ch; font-size: clamp(26px, 3vw, 38px); line-height: 1.18; }
.commit { margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.commit > div { border-top: 1px solid var(--line); padding-top: 22px; }
.commit dt { font-weight: 600; font-size: 17px; display: grid; gap: 14px; }
.commit dt .ph { font-size: 26px; color: var(--accent); }
.commit dd { margin: 8px 0 0; color: var(--dim); font-size: 15px; }
.coverage { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px 32px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.coverage p { color: var(--dim); font-size: 14px; }
.coverage strong { display: block; color: var(--text); font: 600 26px/1.15 "Instrument Sans", sans-serif; letter-spacing: -0.02em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }


/* ---------- waitlist ---------- */
.join { background: rgba(30, 52, 50, .70); padding: 112px 0; scroll-margin-top: 60px; }
.join-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.join .sub { color: #C3CFCD; }
.join-facts { margin: 40px 0 0; }
.join-facts > div { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.join-facts dt { font-size: 14px; color: #9FD8B4; font-weight: 500; }
.join-facts dd { margin: 4px 0 0; font-size: 16.5px; }

.form-card { background: var(--bg); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-panel); padding: 34px; box-shadow: 0 30px 70px -36px rgba(3, 12, 10, .7); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 550; margin-bottom: 8px; padding: 0; }
.opt { color: var(--faint); font-weight: 400; margin-left: 4px; }
.hint { font-size: 12.5px; color: var(--faint); margin-top: 6px; }
input[type=text], input[type=email], select, textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-control);
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  font: 400 15px/1.3 "Instrument Sans", sans-serif; transition: border-color .15s, background .15s;
}
textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 88px; line-height: 1.45; }
select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A7AFBA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
input::placeholder, textarea::placeholder { color: #8C94A0; }
input:hover, select:hover, textarea:hover { border-color: #444C5A; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #232A34; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .seg { border-radius: var(--r-control); outline: 1px solid var(--danger); outline-offset: 3px; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg-4 { grid-template-columns: repeat(4, 1fr); }
.seg label { margin: 0; font-weight: 400; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 6px 8px;
  border-radius: var(--r-control); border: 1px solid var(--line); background: var(--panel); font-size: 14px; line-height: 1.2;
  color: var(--dim); cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.seg label:hover span { border-color: #444C5A; color: var(--text); }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-tint); color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 20px; margin: 12px 0 4px; font-size: 14px; }
.form-msg.err { color: var(--danger); }
.fine { font-size: 13.5px; color: var(--faint); }
.fine a { color: var(--dim); }

.done { padding: 8px 0; }
.done:focus { outline: none; }
.done img { width: 56px; height: auto; margin-bottom: 22px; }
.done h3 { font-size: 28px; margin-bottom: 10px; }
.done p { color: var(--dim); font-size: 16px; }
.done strong { color: var(--text); font-weight: 550; overflow-wrap: anywhere; }

/* ---------- referral card (thank-you panel and status.html) ---------- */
.done { scroll-margin-top: 100px; }
.invited-note { margin-top: 18px; padding: 12px 16px; border-radius: var(--r-control); background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: #DCE4E2; max-width: 46ch; }
.ref-head img { width: 52px; height: auto; margin-bottom: 18px; }
.ref-head h3 { font-size: 28px; letter-spacing: -0.03em; }
.ref-lead { margin-top: 10px; color: var(--dim); font-size: 16px; max-width: 52ch; }
.ref-lead strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.ref-resend { margin-top: 14px; font-size: 14px; color: var(--dim); }
.link-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--accent-text); font: 500 14px "Instrument Sans", sans-serif; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-btn[disabled] { color: var(--faint); cursor: default; text-decoration: none; }
.ref-card { margin-top: 26px; padding: 24px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.ref-card h4 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.ref-card h4 .ph { color: var(--accent); }
.ref-card > p { margin-top: 8px; color: var(--dim); font-size: 14.5px; }
.ref-link { margin-top: 18px; display: flex; gap: 8px; }
.ref-link input { flex: 1; min-width: 0; font-family: "Geist Mono", monospace; font-size: 13.5px; }
.ref-link .btn { height: 46px; }
.ref-share { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.ref-share .btn { height: 38px; padding: 0 14px; font-size: 14px; }
.ref-share .btn .ph, .ref-link .btn .ph { font-size: 16px; }
.ref-share .btn:hover .ph, .ref-link .btn:hover .ph { transform: none; }
.ref-fine { margin-top: 16px !important; font-size: 12.5px !important; color: var(--faint) !important; }
.status-main { padding-top: 56px; padding-bottom: 96px; }
.status-card { max-width: 720px; margin: 0 auto; }
.skeleton { display: grid; gap: 14px; }
.skeleton span { display: block; height: 18px; border-radius: 8px; background: linear-gradient(90deg, var(--panel), var(--raised), var(--panel)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton span:first-child { width: 52px; height: 36px; }
.skeleton span:nth-child(2) { width: 60%; height: 28px; }
.skeleton span:nth-child(4) { height: 220px; border-radius: var(--r-panel); }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton span { animation: none; } .ref-progress span { transition: none; } }
@media (max-width: 640px) {
  .demo { margin-top: 28px; }
  .demo-tabs { width: auto; margin: 0 -16px; border-radius: 0; border-inline: 0; padding: 4px 12px; }
  .demo-tabs [role=tab] { padding: 8px 12px; font-size: 13.5px; }
  .bn-grid { margin-top: 28px; gap: 12px; }
  .bn { padding: 20px 18px; }
  .ic-head { padding: 16px 16px 0; }
  .ic-tools { padding: 10px 16px 2px; }
  .ic-plot { margin: 6px 6px 0 10px; }
  .ic-plot, .ic-plot-tall, .ic-opt .ic-plot { min-height: 290px; }
  .ic-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ic-stats div:nth-child(3) { border-left: 0; }
  .ic-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ic h3 span { display: block; margin: 2px 0 0; }
  body::before { background: linear-gradient(180deg, rgba(16, 21, 31, .86) 0%, rgba(16, 21, 31, .74) 60%, rgba(16, 21, 31, .66) 100%), url(assets/bg-wave3.webp?v=1) 72% 50% / cover no-repeat, #03101e; }
  .wave-live body::before { background: linear-gradient(180deg, rgba(16, 21, 31, .86) 0%, rgba(16, 21, 31, .74) 60%, rgba(16, 21, 31, .66) 100%); }
  .ref-card { padding: 18px 16px; }
  .ref-link { flex-direction: column; }
  .ref-link .btn { width: 100%; }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 17.5px; font-weight: 550; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { font-size: 20px; color: var(--dim); transition: transform .3s var(--ease), color .2s; }
.faq details[open] summary .ph { transform: rotate(45deg); color: var(--accent); }
.faq summary:hover .ph { color: var(--text); }
.faq details p { padding: 0 48px 24px 0; color: var(--dim); max-width: 62ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 52px 0 60px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; align-items: center; }
.foot-grid img { height: 34px; width: auto; }
.foot-links { display: flex; gap: 26px; justify-content: flex-end; flex-wrap: wrap; }
.foot-links a { color: var(--dim); text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: var(--text); }
.disclaimer { grid-column: 1 / -1; font-size: 12.5px; color: var(--faint); max-width: 80em; border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chart img { transition: none; }
  .js .reveal, .js .agent [data-step] { opacity: 1; transform: none; transition: none; }
  .js .seat:not([hidden]) { animation: none; }
  .hand.is-active .spin { animation: none; }
  .btn, .btn .ph, .faq summary .ph, .how-rail li { transition: none; }
}

/* ---------- responsive (explicit per section) ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell, .cell-par { grid-column: span 1; }
  .cell-sep, .cell-wide { grid-column: span 2; }
  .commit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fund-top { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .bn-grid { grid-template-columns: 1fr; }
  .ic-grid { grid-template-columns: 1fr; }
  .ic-opt, .ic-fund, .ic-desk, .ic-sb, .ic-pc { grid-template-columns: 1fr; }
  .ic-side-l { border-right: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .ic-side { border-left: 0; border-top: 1px solid var(--line); }
  .nav { display: none; }
  .hero { padding: 48px 0 80px; }
  .hero-grid, .join-grid, .faq-wrap, .how-grid { grid-template-columns: 1fr; gap: 48px; }
  .agent { max-width: 640px; }
  .how-sticky { position: static; }
  .graph { grid-template-columns: 1fr; gap: 28px; padding: 24px 18px; }
  .g-col ul { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .g-in::after { content: ""; display: block; width: 1px; height: 24px; margin: 18px auto -28px; background: rgba(242, 163, 58, .5); }
  .g-agent::after { content: ""; position: absolute; left: 50%; bottom: -29px; width: 1px; height: 28px; background: rgba(242, 163, 58, .5); }
  .how-rail { display: none; }
  .seats { grid-template-columns: 1fr; gap: 16px; }
  .seat-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .seat-list::-webkit-scrollbar { display: none; }
  .seat-list [role=tab] { flex: none; scroll-snap-align: start; white-space: nowrap; padding: 10px 14px; font-size: 15px; border-color: var(--line); }
  .coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage p:last-child { grid-column: 1 / -1; }
  .section, .join { padding: 80px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .top-row { height: 64px; gap: 12px; }
  .brand img { height: 28px; }   /* the wider "Edgento" wordmark (2026-11-09) keeps Sign in on one line */
  .top-actions { gap: 12px; }
  .top-actions .btn-sm { padding: 0 12px; }
  .lede { font-size: 17px; }
  .quick { flex-direction: column; }
  .quick input { flex: none; }
  .quick .btn { width: 100%; }
  .agent-body { padding: 16px 12px 18px; min-height: 0; }
  .msg { max-width: 94%; }
  .hand { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .hand-what { grid-column: 1 / -1; grid-row: 2; }
  .seat { padding: 28px 22px; min-height: 0; }
  .bento { grid-template-columns: 1fr; }
  .cell, .cell-par, .cell-sep, .cell-wide { grid-column: span 1; }
  .cell-wide { flex-direction: column; align-items: flex-start; }
  .commit { grid-template-columns: 1fr; gap: 24px; }
  .tk-grid { grid-template-columns: 1fr; }
  .note { padding: 4px 18px; }
  .g-orbit { height: auto; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 14px; }
  .g-orbit::before { content: "Works with"; flex-basis: 100%; font-size: 12.5px; font-weight: 550; color: var(--accent-text); }
  .g-hub { display: none; }
  .g-sat { position: static; transform: none; font-size: 12.5px; }
  .fund-strip { grid-auto-columns: 78%; }
  .tk-grid li { padding: 20px 18px; }
  .coverage { padding: 22px; }
  .step { padding: 24px 20px; }
  .form-card { padding: 24px 18px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .seg-4 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .top-actions .link-quiet { display: none; }
  .brand img { height: 28px; }
}

/* ---------- consolidated page: tighter on phones ---------- */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .join { padding: 64px 0; }
  .hero { padding-bottom: 40px; }
  .hero .agent { display: none; }            /* the product demo follows right below on phones */
  .commit { margin-top: 32px; gap: 0; }
  .commit > div { padding: 16px 0; }
  .commit dt { display: flex; align-items: center; gap: 10px; font-size: 16px; }
  .commit dt .ph { font-size: 20px; }
  .commit dd { margin-top: 4px; font-size: 14.5px; }
  .coverage { margin-top: 24px; padding: 18px 20px; gap: 14px 18px; grid-template-columns: 1fr 1fr; }
  .coverage strong { font-size: 20px; }
  .coverage p:last-child { grid-column: 1 / -1; }
  .join-facts { margin-top: 24px; }
  .join-facts > div { padding: 12px 0; }
  .join-facts dd { font-size: 15px; }
  .demo-panel .graph { padding: 16px 14px; gap: 18px; }
  .g-col ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .g-node { padding: 9px 10px; gap: 8px; }
  .g-node span { font-size: 13px; }
  .g-node em { display: none; }
  .g-agent { padding: 16px; }
}

/* ---------- hero eyebrow, trust chips, scenarios, before/with, closing line ---------- */
.eyebrow { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--accent-text); background: rgba(242, 163, 58, .10); border: 1px solid rgba(242, 163, 58, .28); }
.beta-dot { width: 7px; height: 7px; border-radius: 50%; background: #5AD17F; }
.assure { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--faint); }
.assure li { display: inline-flex; align-items: center; gap: 6px; }
.assure li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); margin-right: 8px; opacity: .7; }
.assure .ph { width: 14px; height: 14px; color: #5AD17F; }
.assure-form { margin: 12px 0 10px; justify-content: center; }

.scn-wrap { margin-top: 48px; }
.scn-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.scn-top h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.scn-nav { display: inline-flex; align-items: center; gap: 8px; }
.scn-count { font: 13px "Geist Mono", ui-monospace, monospace; color: var(--faint); margin-right: 6px; white-space: nowrap; }
.scn-count b { color: var(--text); font-weight: 600; }
.scn-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(32, 38, 47, .8); color: var(--text); cursor: pointer; }
.scn-btn:hover:not(:disabled) { border-color: rgba(255, 255, 255, .3); }
.scn-btn:disabled { opacity: .35; cursor: default; }
.scn-btn .ph { width: 16px; height: 16px; }
.scn-track { list-style: none; margin: 16px 0 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3.15);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.scn-track::-webkit-scrollbar { display: none; }
.scn-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.scn { scroll-snap-align: start; padding: 20px 20px 22px; border-radius: var(--r-panel); background: rgba(32, 38, 47, .80); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 10px; min-height: 196px; }
.scn-ico .ph { width: 22px; height: 22px; color: var(--accent); }
.scn-h { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; color: var(--dim); }
.scn-h b { display: block; color: var(--text); font-weight: 600; }
.scn-p { margin: auto 0 0; font-size: 14px; color: var(--faint); }

.bw { margin-top: 36px; border-radius: var(--r-panel); border: 1px solid var(--line); background: rgba(26, 31, 39, .72); overflow: hidden;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bw-row { display: grid; grid-template-columns: 1fr 1fr; }
.bw-row + .bw-row { border-top: 1px solid var(--line); }
.bw-row p { margin: 0; padding: 14px 22px; font-size: 15.5px; }
.bw-a { color: var(--faint); }
.bw-b { color: var(--text); background: rgba(242, 163, 58, .06); border-left: 1px solid var(--line); display: flex; align-items: flex-start; gap: 10px; }
.bw-b .ph { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #5AD17F; }
.bw-head p { padding-block: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bw-head .bw-b { color: var(--accent-text); }

.closer { padding: 72px 0 80px; border-top: 1px solid var(--line); }
.closer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.closer h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.025em; line-height: 1.15; max-width: 24ch; }
.closer h2 span { color: var(--dim); }
.closer .btn { width: auto; flex: none; }

@media (max-width: 960px) { .scn-track { grid-auto-columns: calc((100% - 16px) / 2.1); } }
@media (max-width: 640px) {
  .eyebrow { font-size: 12.5px; margin-bottom: 14px; }
  .scn-wrap { margin-top: 36px; }
  .scn-top h3 { font-size: 18px; }
  .scn-track { grid-auto-columns: 82%; gap: 12px; }
  .assure li + li::before { display: none; }
  .assure { gap: 6px 16px; }
  .scn { min-height: 176px; padding: 18px; }
  .scn-h { font-size: 17.5px; }
  .bw-row { grid-template-columns: 1fr; }
  .bw-b { border-left: 0; }
  .bw-a { padding-bottom: 4px !important; text-decoration: line-through; text-decoration-color: rgba(140, 148, 160, .5); }
  .bw-b { background: none; padding-top: 0 !important; }
  .bw-head { display: none; }
  .closer { padding: 56px 0 64px; }
  .closer .btn { width: 100%; justify-content: center; }
}

/* ---------- fundamentals card ---------- */
.ic h3 b[data-f-title] { font-weight: 600; }
.f-read { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-read li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.5; color: var(--dim); }
.f-read li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.f-read b { color: var(--text); font-weight: 600; }
.f-ratios { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.f-ratios dt { font-size: 12px; color: var(--faint); }
.f-ratios dd { margin: 1px 0 0; font: 600 14px "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; color: var(--text); }
.ic-plot .f-val { fill: var(--dim); font-size: 10.5px; }
.ic-plot .f-val-last { fill: var(--text); font-weight: 600; }
.ic-plot .f-bar { transition: opacity .15s; }
@media (max-width: 640px) { .ic-plot .f-val { display: none; } .ic-plot .f-val-last { display: block; } }

/* ---------- strategy builder, portfolio constructor, trading desk ---------- */
.ic-sb, .ic-pc { display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 8fr); }
.ic-side-l { border-left: 0; border-right: 1px solid var(--line); }
.ic-side-l h3 { margin: 0 0 4px; }
.ic-sb .ic-plot { min-height: 400px; margin: 16px 12px 14px 16px; }
.sb-ask, .pc-chat .you { margin: 2px 0 6px; align-self: flex-start; padding: 9px 13px; border-radius: 12px 12px 12px 4px; background: var(--accent-fill); color: #F4F7FF; font-size: 13.5px; }
.sb-rule { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.sb-rule label { font-size: 13.5px; color: var(--dim); }
.sb-rule label b { color: var(--text); font-family: "Geist Mono", ui-monospace, monospace; }
.sb-rule input { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); margin: 4px 0 0; }
.sb-k { font: 600 11.5px "Instrument Sans", sans-serif; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.sb-buy { background: rgba(63, 207, 142, .14); color: #5AD17F; }
.sb-sell { background: rgba(213, 218, 225, .12); color: #D5DAE1; }
.sb-stop { background: rgba(240, 97, 109, .14); color: #F38A8A; }
.sb-when { margin: 2px 0 0; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dim); }
.sb-when .ph { width: 15px; height: 15px; color: var(--accent); }
.sb-out { margin: 4px 0 0; font-size: 13.5px; color: var(--dim); }
.sb-out b { color: var(--text); font-family: "Geist Mono", ui-monospace, monospace; }
.sb-out span { display: block; font-size: 12.5px; color: var(--faint); }

.pc-chat { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pc-chat li { max-width: 92%; font-size: 13.5px; line-height: 1.45; }
.pc-chat .you { margin: 0; align-self: flex-end; border-radius: 12px 12px 4px 12px; }
.pc-chat .ento { padding: 9px 13px; border-radius: 12px 12px 12px 4px; background: var(--raised); color: var(--text); }
.pc-main { padding: 20px 20px 18px; gap: 14px; }
.pc-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; }
.pc-bar i { display: block; height: 100%; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pc-table th, .pc-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.pc-table thead th { font-size: 12px; font-weight: 500; color: var(--faint); padding-top: 4px; }
.pc-table th:first-child { text-align: left; padding-left: 0; }
.pc-table td { font-family: "Geist Mono", ui-monospace, monospace; color: var(--text); }
.pc-table tbody th { font-weight: 400; }
.pc-table tbody th b { font: 600 13.5px "Geist Mono", ui-monospace, monospace; color: var(--text); margin-right: 8px; }
.pc-table tbody th span { color: var(--faint); font-size: 12.5px; }
.pc-table em { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 10px; vertical-align: 1px; }
.pc-next, .tr-ctl { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-next span, .tr-ctl span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.pc-next .ph, .tr-ctl .ph { width: 15px; height: 15px; color: var(--accent); }

.ic-desk { grid-template-columns: minmax(0, 8fr) minmax(0, 3.6fr); }
.tr-main { padding-bottom: 18px; }
.tr-acct { margin: 14px 20px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tr-acct > div { padding: 12px 14px; border-left: 1px solid var(--line); }
.tr-acct > div:first-child { border-left: 0; }
.tr-acct dt { font-size: 12px; color: var(--faint); }
.tr-acct dd { margin: 3px 0 0; font-size: 13.5px; color: var(--text); display: flex; align-items: center; gap: 7px; }
.tr-dot { width: 7px; height: 7px; border-radius: 50%; background: #5AD17F; }
.tr-log { list-style: none; margin: 16px 20px 0; padding: 0; display: grid; gap: 0; }
.tr-log li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.tr-log li:first-child { border-top: 0; }
.tr-log time { font: 12.5px "Geist Mono", ui-monospace, monospace; color: var(--faint); padding-top: 1px; }
.tr-log span { display: block; position: relative; padding-left: 26px; }
.tr-log .ph { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; color: var(--accent); }
.tr-log b { color: var(--text); font-weight: 600; }
.tr-log em { font-style: normal; }
.tr-ctl { margin: 14px 20px 0; }
.tr-alert { padding: 12px 14px; border-radius: 12px; background: rgba(42, 171, 238, .08); border: 1px solid rgba(42, 171, 238, .25); font-size: 13.5px; color: var(--text); }
.tr-alert p { margin: 0; }
.tr-alert .tr-alert-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #7CC8F0; margin-bottom: 4px; }
.tr-alert .ph { width: 15px; height: 15px; }
.ic-desk[data-trade-mode="paper"] .m-live, .ic-desk[data-trade-mode="live"] .m-paper { display: none; }
.ic-desk[data-trade-mode="live"] .tr-acct { border-color: rgba(240, 97, 109, .35); }
@media (max-width: 640px) {
  .tr-acct { grid-template-columns: 1fr 1fr; margin: 12px 16px 0; }
  .tr-acct > div:nth-child(3) { border-left: 0; }
  .tr-acct > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tr-log, .tr-ctl { margin-inline: 16px; }
  .tr-log li { grid-template-columns: 1fr; gap: 2px; }
  .ic-sb .ic-plot { min-height: 320px; margin: 12px 6px 12px 10px; }
  .pc-main { padding: 16px; }
  .pc-table th, .pc-table td { padding: 10px 6px; }
  .pc-table tbody th span { display: none; }
  .pc-table th:nth-child(4), .pc-table td:nth-child(4) { display: none; }
}

.demo-tabs { flex-wrap: wrap; width: auto; }
.demo-tabs { gap: 2px; }
.demo-tabs [role=tab] { padding: 8px 10px; font-size: 13.5px; gap: 6px; }
.demo-tabs [role=tab] .ph { width: 15px; height: 15px; }
.tr-log em { display: inline; width: auto; height: auto; border-radius: 0; }
@media (max-width: 640px) { .demo-tabs { flex-wrap: nowrap; } }
@media (max-width: 960px) {
  .ic-sb, .ic-pc, .ic-desk { grid-template-columns: 1fr; }
  .ic-side-l { border-right: 0; border-top: 0; border-bottom: 1px solid var(--line); }
}


/* =====================================================================
   Redesign layer (Nov 14, 2026): editorial type, quieter surfaces, fewer
   decorative icons, varied radii. Instrument Serif headlines, Instrument
   Sans text, Geist Mono for numbers.
   ===================================================================== */
:root { --serif: "Geist", system-ui, sans-serif; --r-panel: 14px; --r-inner: 8px; --r-chip: 6px; }
body { font-size: 16.5px; letter-spacing: -0.003em; }
p, li, dd { text-wrap: pretty; }

/* display type: serif, regular weight, italic accent in a softer tone */
h1, .h2, .closer h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; }
h1 em, .h2 em, .closer h2 em { font-style: normal; color: inherit; }
.hero h1 { font-size: clamp(36px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -0.035em; max-width: 22ch; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; max-width: 20ch; }
.h2-wide { font-size: clamp(26px, 3vw, 38px); line-height: 1.18; max-width: 30ch; }
.closer h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; max-width: 24ch; }
.closer h2 em { color: var(--dim); }
.closer h2 span { color: inherit; }
.hero-sub { font-weight: 500; letter-spacing: -0.01em; }
.sub { font-size: 17.5px; line-height: 1.6; max-width: 56ch; }
h3 { letter-spacing: -0.012em; }

/* section kicker: number + label + rule, instead of a pill */
.kicker { margin: 0 0 20px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; color: var(--dim); }
.kicker span { font: 500 12.5px "Geist Mono", ui-monospace, monospace; color: var(--accent-text); }
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line); }
.join .kicker::after { background: rgba(255, 255, 255, .16); }

/* hero eyebrow: plain text, no capsule */
.eyebrow { padding: 0; background: none; border: 0; border-radius: 0; color: var(--dim); font-size: 13.5px; gap: 10px; margin-bottom: 26px; }
.eyebrow-sep { width: 18px; height: 1px; background: var(--line); }

/* surfaces: solid and quiet, no frosted glass */
.ic, .bn, .scn, .bw, .demo-tabs, .agent-win, .graph, .note, .chart, .form-card, .coverage {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.ic, .bn, .scn, .bw, .note, .chart, .coverage { background: #172030; border-color: #2B3750; }
.agent-win { background: #172030; border-color: #2B3750; }
.graph { background: #131B29; }
.ic, .bn, .bw, .note, .chart, .graph, .agent-win, .form-card, .coverage { border-radius: var(--r-panel); }
.scn { border-radius: 10px; }
.ic, .bn, .scn, .note, .chart { transition: border-color .25s var(--ease); }
.ic:hover, .bn:hover, .scn:hover { border-color: #3A4866; }

/* chips and tags: squared, not pills */
.tags li, .ic-chip, .bn-steps li, .pc-next span, .tr-ctl span, .assure li { border-radius: var(--r-chip); }
.tags li { background: transparent; border-color: var(--line); color: var(--dim); font-size: 13.5px; padding: 6px 11px; }
.ic-seg, .ic-seg button { border-radius: var(--r-inner); }
.ic-seg button { border-radius: 6px; }

/* product tabs: an underlined tab bar instead of a floating segmented pill */
.demo-tabs { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; gap: 4px; width: 100%; }
.demo-tabs [role=tab] { position: relative; padding: 12px 12px 14px; border-radius: 0; font-size: 14px; color: var(--faint); }
.demo-tabs [role=tab]:hover { color: var(--text); background: none; }
.demo-tabs [role=tab][aria-selected="true"] { background: none; box-shadow: none; color: var(--text); }
.demo-tabs [role=tab][aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); }
.demo-panel { margin-top: 24px; }
.ic-agent { font-size: 12.5px; letter-spacing: .01em; color: var(--faint); font-weight: 500; }
.ic h3 { font-size: 20px; }

/* benefits: one lead card and two supporting, not three equal columns */
.bn-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 16px; }
.bn-lead { grid-row: span 2; padding: 36px 34px 32px; justify-content: space-between; }
.bn.bn-lead h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.025em; max-width: 16ch; }
.bn-lead p { font-size: 16.5px; max-width: 46ch; }
.bn { padding: 26px 26px 24px; gap: 12px; }
.bn-n { margin: 0; font: 500 12.5px "Geist Mono", ui-monospace, monospace; color: var(--accent-text); }
.bn h3 { font-size: 19px; }
.bw { margin-top: 16px; }
.bw-head p { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
.bw-b { background: rgba(242, 163, 58, .05); }

/* trust: numbered commitments in a 2x2 editorial grid */
.commit { counter-reset: cm; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 48px; }
.commit > div { counter-increment: cm; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding: 22px 0 24px; }
.commit > div::before { content: counter(cm, decimal-leading-zero); grid-row: span 2; font: 500 13px "Geist Mono", ui-monospace, monospace; color: var(--accent-text); padding-top: 4px; }
.commit dt { display: block; font-size: 17px; font-weight: 600; }
.commit dd { margin-top: 6px; max-width: 46ch; }
.coverage { margin-top: 40px; }


/* scenario cards: number instead of an icon */
.scn-track { counter-reset: sc; }
.scn { counter-increment: sc; }
.scn::before { content: counter(sc, decimal-leading-zero); font: 500 12px "Geist Mono", ui-monospace, monospace; color: var(--faint); }
.scn-h { font-size: 20px; }

/* buttons: crisper corners, tactile press */
.btn { border-radius: 8px; font-weight: 600; letter-spacing: -0.005em; transition: background .2s var(--ease), transform .15s var(--ease), border-color .2s; }
.btn:active { transform: translateY(1px); }
.nav a { font-size: 14px; }
.top-actions .link-quiet { font-size: 14px; }

/* subtle film grain over the fixed background */
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* optical: a touch more air below sections than above */
.section { padding: 112px 0 128px; }

@media (max-width: 960px) {
  .bn-grid { grid-template-columns: 1fr; }
  .bn-lead { grid-row: auto; }
  .commit { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0 72px; }
  .kicker { margin-bottom: 14px; }
  .bn-lead { padding: 24px 20px; }
  .bn.bn-lead h3 { font-size: 26px; }
  .demo-tabs { margin: 0 -16px; padding: 0 8px; width: auto; flex-wrap: nowrap; }
  .demo-tabs [role=tab] { padding: 12px 10px 13px; }
  .commit > div { padding: 16px 0; grid-template-columns: 36px 1fr; }
  .commit dt { font-size: 16px; }
}

.roster { margin: 8px 0 0; border-top: 1px solid var(--line); }
.roster > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.roster dt { font-size: 14.5px; font-weight: 600; color: var(--text); }
.roster dd { margin: 0; font-size: 14px; color: var(--dim); }
@media (max-width: 640px) { .roster > div { grid-template-columns: 1fr; gap: 2px; } }

/* sub-views inside a demo tab */
.sub-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.sub-lead { margin: 0; color: var(--dim); font-size: 15.5px; max-width: 60ch; }
.sub-bar .ic-seg button { font-size: 13.5px; padding: 7px 14px; }
@media (max-width: 640px) { .sub-bar { margin-bottom: 12px; } .sub-lead { font-size: 14.5px; } }

/* ---------- hero: the desk diagram (question -> Ento -> four desks -> strategy) ---------- */
.hd { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hd-in, .hd-out { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px; font-size: 14.5px; position: relative; z-index: 2; }
.hd-in { background: var(--accent-fill); color: #F4F7FF; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .6); }
.hd-in-k { font: 600 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.hd-out { background: #172030; border: 1px solid rgba(91, 217, 162, .35); color: var(--dim); }
.hd-out b { color: var(--text); font-weight: 600; }
.hd-out .ph { width: 18px; height: 18px; color: #5AD17F; }
.hd-out span { font-size: 13px; color: var(--faint); }
.hd-stage { position: relative; width: min(100%, 470px); aspect-ratio: 1; }
.hd-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hd-ring { fill: none; stroke: rgba(157, 189, 255, .14); stroke-width: .25; }
.hd-ring-m { stroke: rgba(157, 189, 255, .22); stroke-dasharray: .8 1.6; transform-origin: 50px 50px; animation: hd-spin 60s linear infinite; }
.hd-ring-i { fill: rgba(242, 163, 58, .05); }
.hd-spoke { stroke: rgba(157, 189, 255, .28); stroke-width: .3; }
.hd-arc { fill: none; stroke: var(--accent); stroke-width: .45; stroke-linecap: round; stroke-dasharray: 1 3; opacity: .55; animation: hd-flow 3s linear infinite; }
.hd-pulse { fill: #F7C072; }
@keyframes hd-spin { to { transform: rotate(360deg); } }
@keyframes hd-flow { to { stroke-dashoffset: -8; } }
.hd-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 4px; background: radial-gradient(circle at 50% 35%, #2A2114, #141A24 70%);
  border: 1px solid rgba(242, 163, 58, .5); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); z-index: 2; }
.hd-hub img { width: 52%; height: auto; }
.hd-hub span { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.hd-node { position: absolute; transform: translate(-50%, -50%); z-index: 2; min-width: 132px; padding: 10px 12px; border-radius: 10px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; background: #172030; border: 1px solid #2B3750;
  animation: hd-lit 8s var(--ease) infinite; animation-delay: calc(var(--i) * 2s); }
.hd-node .ph { grid-row: span 2; width: 20px; height: 20px; color: var(--accent); }
.hd-node b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.hd-node i { font: 11.5px "Geist Mono", ui-monospace, monospace; font-style: normal; color: var(--faint); white-space: nowrap; }
.hd-n1 { left: 50%; top: 15%; } .hd-n2 { left: 85%; top: 50%; } .hd-n3 { left: 50%; top: 85%; } .hd-n4 { left: 15%; top: 50%; }
@keyframes hd-lit {
  0%, 22% { border-color: rgba(242, 163, 58, .75); background: #1F2A3E; }
  30%, 100% { border-color: #2B3750; background: #172030; }
}
@media (prefers-reduced-motion: reduce) { .hd-ring-m, .hd-arc, .hd-node { animation: none; } .hd-pulse { display: none; } }
@media (max-width: 960px) { .hd { margin-top: 8px; } }
@media (max-width: 640px) {
  .hero .hd { display: flex; margin-top: 28px; }
  .hd-stage { width: 100%; }
  .hd-node { min-width: 0; padding: 7px 9px; column-gap: 6px; }
  .hd-node .ph { width: 16px; height: 16px; }
  .hd-node b { font-size: 12.5px; }
  .hd-node i { font-size: 11px; }
  .hd-n2 { left: 80%; } .hd-n4 { left: 20%; }
  .hd-in, .hd-out { font-size: 13px; padding: 9px 12px; }
  .hd-out span { display: none; }
}

/* intro lines inside the product tabs: on a solid strip so they read over the wave background */
.demo-lead, .sub-lead { display: block; padding: 12px 16px; border-radius: 10px; background: rgba(16, 21, 31, .92); border: 1px solid var(--line); color: #C4CBD5; max-width: none; }
.sub-bar { align-items: stretch; }
.sub-bar .sub-lead { flex: 1 1 360px; }
.sub-bar .ic-seg { align-self: center; }
.demo-panel .graph { margin-top: 12px; }

/* background photo/animation removed for now (Nov 14): plain near-black page */
html, body { background: #10151F; }
body::before, #bg-wave { display: none !important; }
.top { background: rgba(10, 12, 16, .86); }
.hd-stage { --wave: none; }
.hero::before { display: none; }

/* one-field waitlist form */
.one-line { display: flex; gap: 10px; }
.one-line input { flex: 1; min-width: 0; }
.one-line .btn { flex: none; width: auto; }
#waitlist .field { margin: 0; }
#waitlist .form-msg:empty { display: none; }
#waitlist .assure-form { justify-content: flex-start; margin: 18px 0 8px; }
@media (max-width: 640px) { .one-line { flex-direction: column; } .one-line .btn { width: 100%; } }
.join-grid { align-items: center; }

/* referral stats: confirmed, waiting, places gained */
.ref-stats { margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ref-stats > div { padding: 12px 14px; border-left: 1px solid var(--line); }
.ref-stats > div:first-child { border-left: 0; }
.ref-stats dt { font-size: 12.5px; color: var(--faint); }
.ref-stats dd { margin: 2px 0 0; font: 600 20px "Geist Mono", ui-monospace, monospace; color: var(--text); font-variant-numeric: tabular-nums; }
.ref-card p b { color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .ref-stats dd { font-size: 17px; } .ref-stats > div { padding: 10px; } }

/* timely scenario card */
.scn-news { border-color: rgba(242, 163, 58, .45); background: #1F2A3E; }
.scn-news::before { display: none; }
.scn-tag { margin: 0; font: 500 12px "Geist Mono", ui-monospace, monospace; color: var(--accent-text); }
.scn-news .scn-p { color: var(--dim); }


/* =====================================================================
   Trading floor (2026-11-19): the app's world on the landing page.
   Amber is the only thing you press; each desk wears its jacket.
   ===================================================================== */
[data-desk="house"] { --jk: var(--accent); }
[data-desk="research"] { --jk: var(--j-research); }
[data-desk="quant"] { --jk: var(--j-quant); }
[data-desk="risk"] { --jk: var(--j-risk); }
[data-desk="trade"] { --jk: var(--j-trade); }

::selection { background: rgba(242, 163, 58, .32); color: var(--text); }
html { scrollbar-color: #2B3750 var(--bg); accent-color: var(--accent); }
input, textarea { caret-color: var(--accent); }
:focus-visible { outline-color: var(--accent); }
a { text-underline-offset: 3px; }
.top { background: rgba(16, 21, 31, .9); }
html, body { background: var(--bg); }

/* buttons: amber fill, ink text */
.btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary .ph { color: var(--on-accent); }
.btn-ghost { border-color: rgba(238, 241, 246, .2); }
.btn-xl { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 8px; }

/* hero: demo first, join second */
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 600; text-decoration: none; font-size: 15.5px; }
.link-arrow:hover { color: var(--accent); text-decoration: underline; }
.link-arrow .ph { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .ph { transform: translateX(3px); }
.beta-line { margin: 22px 0 0; display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--faint); }
.beta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gain); flex: none; }

/* hero diagram: house hub, jacketed desks */
.hd-in { background: #2A3752; color: var(--text); }
.hd-in-k { color: var(--accent-text); opacity: 1; }
.hd-hub { background: radial-gradient(circle at 50% 35%, #2A2114, #141A26 72%); border-color: rgba(242, 163, 58, .6); }
.hd-arc { stroke: var(--accent); }
.hd-pulse { fill: var(--accent-text); }
.hd-spoke { stroke: rgba(169, 179, 196, .3); }
.hd-ring { stroke: rgba(169, 179, 196, .14); }
.hd-ring-m { stroke: rgba(242, 163, 58, .3); }
.hd-ring-i { fill: rgba(242, 163, 58, .04); }
.hd-node { background: var(--panel); border-color: var(--line); overflow: hidden; padding-top: 13px; }
.hd-node::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--jk); }
.hd-node .ph { color: var(--jk); }
@keyframes hd-lit {
  0%, 22% { border-color: var(--jk); background: #1F2A3E; }
  30%, 100% { border-color: var(--line); background: var(--panel); }
}
.hd-out { border-color: rgba(90, 209, 127, .4); }

/* product tabs wear their desk's jacket */
.demo-tabs [role=tab][aria-selected="true"]::after { background: var(--jk, var(--accent)); height: 3px; }
.demo-tabs [role=tab][aria-selected="true"] { color: var(--text); }
.demo-tabs [role=tab]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jk); margin-right: 8px; opacity: .55; display: inline-block; }
.demo-tabs [role=tab][aria-selected="true"]::before { opacity: 1; }
.demo-panel .ic, .demo-panel .graph, .demo-panel .note, .demo-panel .chart { position: relative; overflow: hidden; }
.demo-panel[data-desk] .ic::before, .demo-panel[data-desk] .graph::before, .demo-panel[data-desk] .note::before, .demo-panel[data-desk] .fund-main::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--jk); z-index: 4; }
.demo-panel .ic-agent { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; background: var(--jk, var(--accent)); color: var(--ink);
  font-weight: 600; font-size: 12px; letter-spacing: 0; }
.demo-panel .ic-plot { overflow: visible; }
.sub-lead, .demo-lead { background: var(--panel); border-color: var(--line); color: var(--dim); }
.ic-chip[aria-pressed="true"] { border-color: rgba(238, 241, 246, .22); background: rgba(238, 241, 246, .05); }
.ic-seg button[aria-pressed="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }

/* your own messages are quiet slate, not amber */
.sb-ask, .pc-chat .you { background: #2A3752; color: var(--text); }
.pc-chat .ento { background: var(--raised); }

/* benefits: desk swatches in the roster */
.roster > div[data-desk] dt { display: flex; align-items: center; gap: 9px; }
.roster > div[data-desk] dt::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--jk); flex: none; }
.bn-lead { background: linear-gradient(180deg, #1A2436, var(--panel) 55%); }
.bw-b { background: rgba(242, 163, 58, .05); }
.bw-head .bw-b { color: var(--accent-text); }

/* trust: no counters, risk violet marks the checks */
.commit > div { grid-template-columns: 1fr; }
.commit > div::before { content: ""; grid-row: auto; width: 26px; height: 3px; border-radius: 2px; background: var(--j-risk); padding: 0; margin-bottom: 14px; }
.trust { background: var(--bg-2); }
.coverage { background: var(--panel); }

/* scenarios: no numbers; the news card wears research blue */
.scn::before { display: none; }
.scn-news { border-color: rgba(91, 140, 255, .55); background: #18233A; }
.scn-tag { color: #9DB8FF; }

/* the waitlist: the amber field */
.join { background: var(--accent); color: var(--on-accent); }
.join .h2, .join h2 { color: var(--on-accent); }
.join .sub, .join .join-facts dd { color: #3A2A10; }
.join .join-facts > div { border-top-color: rgba(26, 18, 6, .2); }
.join .join-facts dt { color: var(--on-accent); font-weight: 650; }
.join .invited-note { color: var(--on-accent); }
.join .form-card { background: var(--ink); border-color: rgba(26, 18, 6, .4); box-shadow: 0 30px 60px -30px rgba(26, 18, 6, .55); color: var(--text); }
.join .form-card label { color: var(--text); }
.join .hint, .join .fine { color: var(--faint); }
.join .fine a { color: var(--accent-text); }
.join .assure { color: var(--faint); }
.join .assure .ph { color: var(--gain); }

/* closing line */
.closer { border-top: 0; background: var(--bg); }
.closer h2 em { color: var(--accent-text); }

/* review fixes: amber only on things you press; colours keep their meaning */
.closer h2 em { color: var(--dim); }
.g-mission b, .g-orbit::before { color: var(--dim); }
.bw-head .bw-b { color: var(--text); }
.bn-steps li::before { background: var(--raised); color: var(--text); }
.hd-in-k { text-transform: none; letter-spacing: 0; font: 600 12px "Instrument Sans", sans-serif; color: var(--dim); }
.hd-node i { font: 12px "Instrument Sans", sans-serif; letter-spacing: 0; }
.beta-dot { background: var(--dim); }
.hd-out { border-color: var(--line); }
.hd-out .ph, .join .assure .ph, .assure .ph { color: var(--dim); }
.commit { align-items: start; }
.commit > div::before { background: var(--line); }
.bn-lead { justify-content: flex-start; gap: 14px; }
.bn-lead .roster { margin-top: 10px; }
/* scenario cards wear their desk */
.scn[data-desk] { position: relative; overflow: hidden; }
.scn[data-desk]::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--jk); }
.scn-badge { margin: 0; align-self: flex-start; padding: 3px 9px; border-radius: 6px; background: var(--jk); color: var(--ink); font-size: 12px; font-weight: 600; }
.scn-news { border-color: var(--line); background: var(--panel); }
.scn-src { margin: 0; font-size: 12.5px; color: var(--faint); }
/* phone: the email field keeps its height in the stacked form */
.one-line input { height: 46px; border-radius: 8px; flex: 1 1 auto; }
@media (max-width: 640px) { .one-line input { flex: 0 0 auto; width: 100%; } }

.scn-lead { margin: 4px 0 0; font-size: 14.5px; color: var(--dim); }
.scn-wrap { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }

/* Build your own agent: its own card above the desk tabs (2026-11-24) */
.build-card { position: relative; overflow: hidden; margin-top: 40px; padding: 28px 32px 22px; border-radius: var(--r-panel); border: 1px solid var(--line); background: #131B29; }
.build-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--jk); }
.bc-head h3 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
.bc-head p { margin: 8px 0 0; max-width: 72ch; color: var(--dim); font-size: 15.5px; }
.build-card .graph { margin: 20px 0 0; padding: 12px 0 8px; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bc-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.demo + .build-card { margin-top: 48px; }
@media (max-width: 900px) { .build-card { padding: 22px 16px 18px; } .build-card .graph { padding: 8px 0; } }

/* Hero photo: the desk at night (2026-11-25), replaces the hub diagram */
.hero-photo { position: relative; margin: 0; height: min(640px, 78vh); border-radius: var(--r-panel); overflow: hidden; background: #0B1420;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%); mask-composite: intersect; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 960px) { .hero-photo { height: 440px; margin-top: 8px; } .hero-photo img { object-position: 50% 25%; } }
