/* AlgoBot site styles
   Brand: deep-space navy, Geist type, the green dot, a warm sunrise accent.
   Dark only, like the brand. */
:root {
  --ink: #050A14;
  --surface: #0A1220;
  --raised: #101A2D;
  --line: #1B2740;
  --line-strong: #2D3C5E;
  --text: #EEF2F8;
  --soft: #C9D5EA;
  --mute: #94A1BA;
  --go: #3DDC84;
  --go-hi: #63E89D;
  --go-ink: #04130A;
  --ion: #8DBBFF;
  --sun: #F0D9A8;
  --sun-hi: #F7E6C2;
  --sun-ink: #1A1406;
  --loss: #FF9C8A;
  --sans: "Geist", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 72rem; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, header.top, footer { position: relative; z-index: 1; }

/* ---------- header ---------- */
header.top { z-index: 4; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: flex-start; font-weight: 600; font-size: 1.35rem; letter-spacing: -0.045em; text-decoration: none; line-height: 1; padding-block: 0.5rem; }
.brand i { width: 0.42rem; height: 0.42rem; margin: 0.1rem 0 0 0.2rem; border-radius: 50%; background: var(--go); box-shadow: 0 0 10px rgba(61, 220, 132, 0.55); }
.nav { display: flex; align-items: center; gap: 0.25rem 1.5rem; font-size: 0.93rem; }
.nav a { text-decoration: none; color: var(--mute); padding-block: 0.6rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .new { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text); }
.nav .new b { font: 500 0.66rem var(--mono); letter-spacing: 0.08em; color: var(--sun-ink); background: var(--sun); border-radius: 999px; padding: 0.1rem 0.4rem; }
.topbar .actions { display: flex; align-items: center; gap: 0.5rem; }
.menu { display: none; min-height: 2.5rem; padding: 0 0.9rem; border-radius: 0.5rem; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }

/* Blog dropdown */
.nav .sub { position: relative; }
.nav .sub summary { list-style: none; cursor: pointer; color: var(--mute); padding-block: 0.6rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav .sub summary::-webkit-details-marker { display: none; }
.nav .sub summary::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.15s ease; }
.nav .sub[open] summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.nav .sub summary:hover, .nav .sub[open] summary { color: var(--text); }
.sub-panel { position: absolute; top: calc(100% + 0.5rem); right: -8rem; z-index: 10; width: min(34rem, calc(100vw - 2rem)); max-height: min(70vh, 34rem); overflow-y: auto; overscroll-behavior: contain; padding: 0.75rem; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 0.9rem; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.95); }
.sub-panel ul { display: flex; flex-direction: column; }
.nav .sub-panel a { display: block; padding: 0.5rem 0.6rem; border-radius: 0.45rem; color: var(--soft); font-size: 0.9rem; line-height: 1.35; }
.nav .sub-panel a:hover { background: var(--raised); color: var(--text); }
.nav .sub-panel .sub-all { color: var(--go); font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 0.45rem 0.45rem 0 0; margin-bottom: 0.25rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0 1.25rem; border-radius: 0.55rem; border: 1px solid transparent; font: 600 0.97rem var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.65; cursor: default; }
.btn-go { background: var(--go); color: var(--go-ink); }
.btn-go:hover { background: var(--go-hi); }
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-sun:hover { background: var(--sun-hi); }
.btn-quiet { border-color: var(--line-strong); color: var(--text); background: transparent; font-weight: 500; }
.btn-quiet:hover { border-color: var(--mute); }
.btn-sm { min-height: 2.5rem; padding: 0 1rem; font-size: 0.9rem; }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.nudge { animation: nudge 1.6s ease-out 1.8s 2; }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 100% { box-shadow: 0 0 0 18px rgba(61, 220, 132, 0); } }
.soon { color: var(--sun); font-size: 0.85rem; }

/* ---------- Earth from orbit, sunrise at the edge ---------- */
.orbit { position: relative; overflow-x: clip; }
.earth { position: absolute; left: 0; right: 0; top: 0; height: 640px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 0, #000 45%, transparent 100%); mask-image: linear-gradient(#000 0, #000 45%, transparent 100%); --sx: 430px; --sy: 209px; --sa: 16.7deg; }
.globe { position: absolute; left: 50%; top: 146px; width: 3000px; height: 3000px; margin-left: -1500px; border-radius: 50%; overflow: hidden; background: linear-gradient(#0B2A63 0, #08193A 80px, var(--ink) 240px); box-shadow: 0 -1px 3px rgba(205, 232, 255, 0.75), 0 -8px 26px rgba(96, 165, 255, 0.45), 0 -40px 120px rgba(44, 110, 235, 0.28); }
.globe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 1.5px 1px rgba(220, 240, 255, 0.95), inset 0 7px 16px rgba(130, 195, 255, 0.65), inset 0 30px 70px rgba(50, 120, 240, 0.4), inset 0 70px 110px rgba(24, 66, 160, 0.28); }
.clouds { position: absolute; left: 0; top: 0; width: 3000px; height: 240px; mix-blend-mode: screen; opacity: 0.55; }
.sun-core, .sun-glow, .sun-arc, .sun-spike { position: absolute; left: calc(50% + var(--sx)); top: var(--sy); animation: dawn 4s ease-out 0.6s backwards; }
.sun-core { width: 22px; height: 22px; margin: -15px 0 0 -11px; border-radius: 50%; background: #FFF7E6; box-shadow: 0 0 18px 6px rgba(255, 240, 210, 0.9), 0 0 60px 22px rgba(255, 200, 130, 0.45); }
.sun-glow { width: 600px; height: 600px; margin: -300px 0 0 -300px; background: radial-gradient(closest-side, rgba(255, 228, 190, 0.32), rgba(255, 200, 140, 0.09) 34%, rgba(255, 190, 130, 0) 70%); mix-blend-mode: screen; }
.sun-arc { width: 860px; height: 86px; margin: -43px 0 0 -430px; transform: rotate(var(--sa)); background: radial-gradient(closest-side, rgba(255, 246, 228, 0.95), rgba(255, 196, 132, 0.55) 16%, rgba(130, 185, 255, 0.26) 46%, rgba(80, 150, 255, 0)); mix-blend-mode: screen; }
.sun-spike { width: 540px; height: 2px; margin: -1px 0 0 -270px; transform: rotate(var(--sa)); background: linear-gradient(90deg, rgba(255, 244, 224, 0), rgba(255, 244, 224, 0.5), rgba(255, 244, 224, 0)); mix-blend-mode: screen; }
@keyframes dawn { from { opacity: 0; } }

/* ---------- home hero ---------- */
.hero { position: relative; z-index: 2; text-align: center; padding-block: 10.5rem 3.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.kicker { font: 500 0.78rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--go); }
.hero .kicker { color: var(--soft); }
.hero h1 { font-weight: 700; font-size: clamp(2.8rem, 9vw, 6.2rem); line-height: 0.98; letter-spacing: -0.055em; text-wrap: balance; }
.hero .model { margin-top: -0.6rem; font: 500 0.85rem var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.hero .lede { max-width: 38rem; color: var(--soft); font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.5; text-wrap: balance; }
.hero .lede b { color: var(--text); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.trustline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 1.75rem; margin-top: 1.5rem; color: var(--mute); font-size: 0.85rem; }
.trustline span { font: 500 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.trustline b { color: var(--soft); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }

/* latest signal strip */
.strip { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 1.25rem; max-width: 60rem; margin: 0 auto; padding: 0.75rem 1rem; border: 1px solid var(--line-strong); border-radius: 0.8rem; background: rgba(10, 18, 32, 0.8); backdrop-filter: blur(8px); font-size: 0.92rem; }
.live { display: inline-flex; align-items: center; gap: 0.45rem; font: 500 0.74rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--go); }
.live::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--go); animation: blip 1.6s ease-in-out infinite; }
@keyframes blip { 50% { opacity: 0.25; } }
.strip .pair { font-weight: 600; }
.strip .lvl { font: 400 0.86rem var(--mono); color: var(--soft); font-variant-numeric: tabular-nums; }
.strip a { color: var(--go); text-decoration: none; font-weight: 500; }

/* ---------- bands ---------- */
.band { padding-block: 5.5rem; }
.band + .band { border-top: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 0.75rem; max-width: 44rem; }
.head.center { margin: 0 auto; text-align: center; align-items: center; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
.intro { color: var(--soft); font-size: 1.08rem; max-width: 40rem; }
.stack { display: flex; flex-direction: column; gap: 3rem; }

.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.feature .copy { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.ticks { display: flex; flex-direction: column; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.6rem; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.75rem; height: 0.42rem; border-left: 2px solid var(--go); border-bottom: 2px solid var(--go); transform: rotate(-45deg); }

/* Telegram-style signal card */
.tg { min-width: 0; background: #0E1626; border: 1px solid var(--line-strong); border-radius: 1rem; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.tg-top { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); background: var(--raised); }
.tg-top img { width: 2.4rem; flex: none; }
.tg-top b { display: block; font-size: 0.98rem; }
.tg-top small { color: var(--mute); font-size: 0.8rem; }
.tg-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.msg { max-width: 22rem; background: var(--raised); border: 1px solid var(--line); border-radius: 0.95rem 0.95rem 0.95rem 0.3rem; padding: 0.8rem 0.95rem; font-size: 0.93rem; line-height: 1.5; }
.msg .t { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; margin-bottom: 0.4rem; }
.msg dl { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; font: 400 0.86rem var(--mono); font-variant-numeric: tabular-nums; }
.msg dt { color: var(--mute); }
.msg dl + p { margin-top: 0.5rem; }
.msg .why { color: var(--soft); font-size: 0.88rem; }
.msg time { display: block; text-align: right; color: var(--mute); font-size: 0.72rem; margin-top: 0.3rem; }
.msg.result { border-color: rgba(61, 220, 132, 0.4); }
.dir { font: 600 0.72rem var(--mono); letter-spacing: 0.06em; padding: 0.1rem 0.45rem; border-radius: 0.3rem; }
.dir.buy { background: rgba(61, 220, 132, 0.16); color: var(--go); }
.dir.sell { background: rgba(255, 156, 138, 0.16); color: var(--loss); }
.paper { font: 500 0.66rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun); border: 1px solid rgba(240, 217, 168, 0.4); border-radius: 999px; padding: 0.05rem 0.45rem; }

/* ---------- forms ---------- */
.capture { display: flex; flex-direction: column; gap: 0.85rem; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 1rem; padding: 1.25rem; }
.capture .row { display: flex; gap: 0.5rem; }
.capture input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 3.1rem; padding: 0 1rem; border-radius: 0.55rem; border: 1px solid var(--line-strong); background: var(--ink); font-size: 1rem; }
.capture input[type="email"]::placeholder { color: var(--mute); }
.capture input[type="email"]:focus { outline: none; border-color: var(--go); }
.capture .btn { min-height: 3.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { float: left; color: var(--mute); font-size: 0.88rem; margin-right: 0.5rem; padding: 0; line-height: 2.2rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip label { display: inline-flex; align-items: center; min-height: 2.2rem; padding: 0 0.85rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--soft); font-size: 0.88rem; cursor: pointer; }
.chip input:checked + label { border-color: var(--go); color: var(--text); background: rgba(61, 220, 132, 0.1); }
.chip input:focus-visible + label { outline: 2px solid var(--go); outline-offset: 2px; }
.fine { color: var(--mute); font-size: 0.82rem; line-height: 1.45; }
.err { color: var(--loss); font-size: 0.88rem; }
.done { display: flex; flex-direction: column; gap: 0.8rem; }
.done h3 { display: flex; align-items: center; gap: 0.5rem; }
.done h3::before { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--go); box-shadow: 0 0 10px rgba(61, 220, 132, 0.6); }
.done p { color: var(--soft); }
.channels { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }

/* ---------- about, ways to use ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.split p { color: var(--soft); }
.split .body { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.way { min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.way .tag { align-self: flex-start; font: 500 0.7rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ion); }
.way p { color: var(--soft); font-size: 0.95rem; }
.way .via { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); color: var(--mute); font-size: 0.85rem; }
.way .via b { color: var(--text); font-weight: 500; }
.way.free { border-color: rgba(61, 220, 132, 0.45); }
.way.free .tag { color: var(--go); }

.markets { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.markets li { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; flex: 1 1 11rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 0.8rem; }
.markets b { font-weight: 600; }
.markets span { font: 400 0.82rem var(--mono); color: var(--mute); }

/* ---------- pricing ---------- */
.billing { display: inline-flex; padding: 0.25rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.billing button { min-height: 2.4rem; padding: 0 1rem; border-radius: 999px; border: 0; background: transparent; color: var(--mute); cursor: pointer; font-size: 0.9rem; }
.billing button[aria-pressed="true"] { background: var(--raised); color: var(--text); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.plan { min-width: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.plan.pick { border-color: var(--go); background: linear-gradient(180deg, rgba(61, 220, 132, 0.07), rgba(61, 220, 132, 0) 40%), var(--surface); }
.plan .name { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.plan .name em { font: 500 0.68rem var(--mono); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--go-ink); background: var(--go); padding: 0.15rem 0.5rem; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 0.35rem; font-variant-numeric: tabular-nums; }
.price b { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; }
.price span { color: var(--mute); }
.plan > p { color: var(--soft); font-size: 0.95rem; }
.plan ul { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.93rem; color: var(--soft); }
.plan ul li { position: relative; padding-left: 1.4rem; }
.plan ul li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.6rem; height: 0.35rem; border-left: 2px solid var(--go); border-bottom: 2px solid var(--go); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.save-note { color: var(--go); font-size: 0.85rem; min-height: 1.3rem; }

/* ---------- brokers ---------- */
.brokers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.broker { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; }
.broker .mark { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.04em; }
.broker p { color: var(--soft); font-size: 0.95rem; }
.broker .warn { color: var(--mute); font-size: 0.8rem; border-top: 1px solid var(--line); padding-top: 0.75rem; align-self: stretch; }

/* ---------- Bollinger panels (community, waitlist) ---------- */
.panel { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 2.5rem; align-items: center; padding: 2.5rem; border: 1px solid var(--line-strong); border-radius: 1.25rem; background: radial-gradient(120% 140% at 100% 0, rgba(240, 217, 168, 0.12), rgba(240, 217, 168, 0) 50%), var(--surface); }
.panel .who { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.panel .who img { width: 9rem; }
.panel .body { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.panel p { color: var(--soft); }
.panel .capture { background: var(--ink); max-width: 34rem; }
.nametag { color: var(--soft); font: 600 0.8rem var(--sans); letter-spacing: 0.02em; }
.float { animation: float 3.2s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-7px); } }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; max-width: 48rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mute); font-weight: 300; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--soft); padding-bottom: 1.2rem; max-width: 42rem; }

/* ---------- signals page ---------- */
.sig-hero { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding-block: 9.5rem 4rem; }
.sig-hero .copy { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.sig-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; text-wrap: balance; }
.sig-hero h1 em { font-style: normal; color: var(--go); }
.sig-hero .lede { color: var(--soft); font-size: 1.15rem; max-width: 34rem; }
.says { display: flex; align-items: flex-end; gap: 0.9rem; }
.says img { width: 5.5rem; flex: none; }
.bubble { position: relative; padding: 0.7rem 1rem; background: var(--raised); border: 1px solid rgba(201, 213, 234, 0.3); border-radius: 1.05rem 1.05rem 1.05rem 0.3rem; font-size: 0.98rem; line-height: 1.45; max-width: 26rem; }
.bubble b { color: var(--go); font-weight: 600; }
.next-up { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; color: var(--mute); font-size: 0.92rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1.1rem; border-top: 2px solid var(--line-strong); counter-increment: s; }
.steps li::before { content: "Step " counter(s); font: 500 0.74rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--go); }
.steps p { color: var(--soft); font-size: 0.96rem; }

.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; }
.board { overflow-x: auto; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.board table { width: 100%; min-width: 44rem; border-collapse: collapse; font-size: 0.92rem; }
.board th { text-align: left; font: 500 0.72rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.board td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.board tr:last-child td { border-bottom: 0; }
.board td.num { font-family: var(--mono); font-size: 0.86rem; color: var(--soft); }
.board td.r, .board th.r { text-align: right; }
.board td.r { font-family: var(--mono); font-weight: 500; }
.pos { color: var(--go); }
.neg { color: var(--loss); }
.flat { color: var(--mute); }
.st { display: inline-flex; align-items: center; gap: 0.35rem; font: 500 0.74rem var(--mono); padding: 0.15rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.st.tp { color: var(--go); background: rgba(61, 220, 132, 0.12); }
.st.sl { color: var(--loss); background: rgba(255, 156, 138, 0.12); }
.st.open { color: var(--ion); background: rgba(141, 187, 255, 0.12); }
.example { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--sun); font-size: 0.85rem; }
.example::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--sun); }

.why-free { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.why-free div { min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 0.9rem; }
.why-free p { color: var(--soft); font-size: 0.95rem; }

.risk { padding: 1.1rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 0.8rem; background: var(--raised); color: var(--soft); font-size: 0.88rem; }
.risk b { color: var(--text); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.foot p { color: var(--mute); font-size: 0.9rem; max-width: 22rem; margin-top: 0.75rem; }
.foot ul { display: flex; flex-direction: column; gap: 0.35rem; }
.foot a { text-decoration: none; color: var(--soft); font-size: 0.92rem; }
.foot a:hover { color: var(--text); }
.foot h4 { font: 500 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-bottom: 0.6rem; }
.foot .social { flex-direction: row; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 1rem; }
.foot .social a { color: var(--text); font-weight: 500; }
.legal { margin-top: 2.5rem; color: var(--mute); font-size: 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; }

/* ---------- Bollinger chat ---------- */
.bchat-launch { position: fixed; z-index: 20; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3.25rem; padding: 0 1.1rem 0 0.45rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--raised); color: var(--text); font: 600 0.93rem var(--sans); cursor: pointer; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9); transition: transform 0.2s ease, border-color 0.2s ease; }
.bchat-launch:hover { border-color: var(--go); transform: translateY(-2px); }
.bchat-launch img { width: 2.5rem; }
.bchat-launch .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--go); box-shadow: 0 0 8px rgba(61, 220, 132, 0.7); }
.bchat-hint { position: fixed; z-index: 20; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); max-width: 16rem; padding: 0.65rem 2rem 0.65rem 0.9rem; background: var(--raised); border: 1px solid rgba(201, 213, 234, 0.3); border-radius: 0.95rem 0.95rem 0.25rem 0.95rem; font-size: 0.92rem; line-height: 1.4; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9); animation: rise 0.35s ease-out; }
.bchat-hint button { position: absolute; top: 0.2rem; right: 0.2rem; width: 1.8rem; height: 1.8rem; border: 0; background: transparent; color: var(--mute); cursor: pointer; font-size: 1.1rem; line-height: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.bchat { position: fixed; z-index: 21; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); width: min(24rem, calc(100vw - 2rem)); height: min(36rem, calc(100vh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 1.1rem; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.95); overflow: hidden; animation: rise 0.25s ease-out; }
.bchat-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 0.8rem 0.8rem 1rem; border-bottom: 1px solid var(--line); background: var(--raised); }
.bchat-head img { width: 2.6rem; flex: none; }
.bchat-head div { flex: 1; min-width: 0; }
.bchat-head b { display: block; font-size: 1rem; }
.bchat-head small { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--mute); font-size: 0.8rem; }
.bchat-head small::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--go); }
.bchat-close { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--mute); font-size: 1.4rem; cursor: pointer; }
.bchat-close:hover { color: var(--text); background: var(--surface); }
.bchat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; overscroll-behavior: contain; }
.bmsg { max-width: 88%; padding: 0.65rem 0.9rem; border-radius: 0.95rem; font-size: 0.93rem; line-height: 1.5; overflow-wrap: anywhere; }
.bmsg.bot { align-self: flex-start; background: var(--raised); border: 1px solid var(--line); border-bottom-left-radius: 0.3rem; }
.bmsg.me { align-self: flex-end; background: rgba(61, 220, 132, 0.14); border: 1px solid rgba(61, 220, 132, 0.35); border-bottom-right-radius: 0.3rem; }
.bmsg p + p { margin-top: 0.45rem; }
.bmsg a { color: var(--go); }
.bmsg.typing { color: var(--mute); }
.bmsg.typing span { display: inline-block; width: 0.4rem; height: 0.4rem; margin-right: 0.2rem; border-radius: 50%; background: var(--mute); animation: blip 1s infinite; }
.bmsg.typing span:nth-child(2) { animation-delay: 0.15s; }
.bmsg.typing span:nth-child(3) { animation-delay: 0.3s; }
.bchat-quick { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.75rem; }
.bchat-quick button { min-height: 2.1rem; padding: 0 0.75rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--soft); font-size: 0.84rem; cursor: pointer; }
.bchat-quick button:hover { border-color: var(--go); color: var(--text); }
.bchat-form { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--line); }
.bchat-form input { flex: 1; min-width: 0; min-height: 2.75rem; padding: 0 0.9rem; border-radius: 0.55rem; border: 1px solid var(--line-strong); background: var(--ink); font-size: 1rem; }
.bchat-form input:focus { outline: none; border-color: var(--go); }
.bchat-form .btn { min-height: 2.75rem; padding: 0 1rem; }
.bchat-note { padding: 0 1rem 0.6rem; color: var(--mute); font-size: 0.72rem; }

/* ---------- long-form content (restored site copy) ---------- */
.hero h1.h1-long { font-size: clamp(2.4rem, 6.4vw, 4.8rem); line-height: 1.02; letter-spacing: -0.05em; max-width: 16ch; }
.prose { display: flex; flex-direction: column; gap: 1rem; min-width: 0; max-width: 44rem; color: var(--soft); }
.prose b { color: var(--text); }
.prose a, .faq a, .card a.more-link { color: var(--go); }
.more summary { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; color: var(--go); font-weight: 500; font-size: 0.95rem; list-style: none; padding-block: 0.25rem; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: 0.38rem; height: 0.38rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); }
.more[open] summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.more .close-label, .more[open] .open-label { display: none; }
.more[open] .close-label { display: inline; }
.more > .prose, .more > p { margin-top: 0.75rem; }
.card .more > p { color: var(--soft); font-size: 0.95rem; }
.steps-list { list-style: decimal; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; color: var(--soft); }
.steps-list li::marker { color: var(--go); font-family: var(--mono); font-size: 0.85em; }
.example-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line-strong); border-radius: 0.9rem; background: var(--surface); }
.example-card p { color: var(--soft); }
.meet { display: flex; align-items: flex-end; gap: 0.8rem; margin-top: 0.75rem; }
.meet img { width: 4.5rem; flex: none; }
.meet .bubble { font-size: 0.92rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.card.wide { grid-column: span 3; }
.card > p { color: var(--soft); font-size: 0.97rem; }
.card .more-link { margin-top: auto; text-decoration: none; font-weight: 500; font-size: 0.93rem; }
.card .ticks { margin-top: 0.25rem; }
.chiprow { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chiprow li { padding: 0.3rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--soft); font-size: 0.86rem; }
.chiprow.big li { padding: 0.45rem 0.95rem; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.quotes figure { min-width: 0; display: flex; flex-direction: column; gap: 0.9rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.quotes blockquote { margin: 0; color: var(--soft); font-size: 0.97rem; }
.quotes blockquote::before { content: "\201C"; display: block; color: var(--go); font-size: 2rem; line-height: 0.6; margin-bottom: 0.4rem; font-weight: 700; }
.quotes figcaption { color: var(--mute); font-size: 0.88rem; }
.quotes figcaption b { color: var(--text); font-weight: 600; }
.band.slim { padding-block: 2.5rem; }
.media { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; }
.media ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.25rem; }
.media li { color: var(--mute); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.actions.start { justify-content: flex-start; }
.ava { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border: 1px solid rgba(61, 220, 132, 0.4); border-radius: 0.9rem; background: rgba(61, 220, 132, 0.06); }
.ava p { color: var(--soft); }
.ava b { color: var(--text); }
.broker h3 { font-size: 1rem; color: var(--soft); font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 75rem) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav.open { max-height: calc(100vh - 5rem); overflow-y: auto; }
  .nav.open > a, .nav.open .sub summary { padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
  .nav.open .sub summary { display: flex; justify-content: space-between; }
  .sub-panel { position: static; width: auto; max-height: none; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0.25rem 0 0.5rem 0.75rem; background: transparent; }
  .menu { display: inline-flex; align-items: center; }
}
@media (max-width: 60rem) {
  .feature, .split, .sig-hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .ways, .plans, .steps, .why-free { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.wide { grid-column: 1 / -1; }
  .panel { grid-template-columns: 1fr; padding: 1.75rem; }
  .panel .who { align-items: flex-start; }
  .panel .who img { width: 6.5rem; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .earth { --sx: 150px; --sy: 160px; --sa: 6deg; }
}
@media (max-width: 34rem) {
  .topbar .actions .btn { padding: 0 0.8rem; font-size: 0.85rem; }
  .hero { padding-block: 11rem 2.5rem; }
  .capture .row { flex-direction: column; }
  .brokers { grid-template-columns: 1fr; }
  .cards, .cards.two, .quotes { grid-template-columns: 1fr; }
  .meet img { width: 3.5rem; }
  .band { padding-block: 4rem; }
  .sig-hero { padding-block: 6.5rem 3rem; }
  .bchat-launch .label { display: none; }
  .bchat-launch { padding: 0 0.7rem 0 0.4rem; }
  .bchat { right: 0; bottom: 0; width: 100%; height: min(85vh, 100%); border-radius: 1.1rem 1.1rem 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== v8 layout fixes (AlgoBot overhaul, 21 Oct 2026) ===== */
/* 5-card grids left an empty 6th cell: rows now fill evenly */
.cards:not(.two){display:flex;flex-wrap:wrap;gap:1rem}
.cards:not(.two)>.card{flex:1 1 calc((100% - 2rem)/3)}
.cards:not(.two)>.card.wide{flex-basis:100%}
@media (max-width:60rem){.cards:not(.two)>.card{flex-basis:calc((100% - 1rem)/2)}}
@media (max-width:34rem){.cards:not(.two)>.card{flex-basis:100%}}
/* green-on-green "Get started" inside prose blocks */
.prose a.btn-go,.faq a.btn-go,.card a.btn-go{color:var(--go-ink)}
.prose a.btn-quiet,.faq a.btn-quiet{color:var(--text)}
