:root {
  --ink: #0d1626;
  --navy: #0a1322;
  --navy-2: #101c31;
  --navy-3: #17263f;
  --text: #1c2638;
  --muted: #5d6879;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --accent: #0f766e;
  --accent-bright: #2dd4bf;
  --up: #16a34a;
  --down: #dc2626;
  --radius: 10px;
  --max: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.up { color: var(--up); }
.down { color: var(--down); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 19, 34, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.logo svg { width: 28px; height: 28px; }
.logo span em { font-style: normal; color: var(--accent-bright); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #b9c3d3; font-size: 15px; padding: 8px 14px; border-radius: 6px; transition: color .15s, background .15s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a.active { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: #fff; }
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--accent-bright); color: #052e2a; }
.btn-primary:hover { background: #5eead4; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1b2a45; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: #b8c1cf; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(45, 212, 191, 0.10), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 58px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.hero p.lead { color: #aab6c8; font-size: 19px; line-height: 1.6; margin: 22px 0 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13px; color: #7d8aa0; }

/* dashboard mock */
.dash {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  overflow: hidden;
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.dash-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3a57; }
.dash-bar span { margin-left: 10px; font-size: 12px; color: #7d8aa0; font-family: var(--mono); }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 18px 20px 6px; }
.dash-sym { font-size: 13px; color: #8d9ab0; }
.dash-price { font-size: 28px; font-weight: 650; color: #fff; letter-spacing: -0.02em; font-family: var(--mono); }
.dash-chg { font-size: 13px; font-family: var(--mono); }
.dash-tabs { display: flex; gap: 4px; }
.dash-tabs b { font-weight: 500; font-size: 12px; color: #8d9ab0; padding: 4px 9px; border-radius: 5px; }
.dash-tabs b.on { background: var(--navy-3); color: #fff; }
.dash canvas { width: 100%; height: 250px; }
.dash-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.07); }
.dash-foot div { padding: 14px 20px; border-right: 1px solid rgba(255,255,255,.07); }
.dash-foot div:last-child { border-right: 0; }
.dash-foot small { display: block; font-size: 11px; color: #7d8aa0; text-transform: uppercase; letter-spacing: .06em; }
.dash-foot strong { font-size: 15px; color: #e6ecf5; font-family: var(--mono); font-weight: 600; }

/* ticker */
.ticker { background: var(--navy); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: scroll 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: flex; gap: 10px; align-items: baseline; padding: 13px 28px; border-right: 1px solid rgba(255,255,255,.06); font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.tick b { color: #e6ecf5; font-weight: 600; }
.tick span { color: #8d9ab0; }
.ticker-note { background: var(--navy); color: #5d6b83; font-size: 11px; text-align: right; padding: 0 24px 8px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--accent); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: #cfd7e3; box-shadow: 0 8px 28px -14px rgba(13, 22, 38, .18); }
.card .icon { width: 40px; height: 40px; border-radius: 9px; background: #e8f6f4; color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.step { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 20px; }
.step::before { content: "0" counter(s); font-family: var(--mono); font-size: 13px; color: var(--accent); display: block; margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* screener table */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.split.flip { grid-template-columns: 1.25fr 1fr; }
.split h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 18px; font-weight: 700; }
.split p { color: var(--muted); font-size: 17px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #e0f4f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%230f766e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 50px -28px rgba(13,22,38,.28); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.panel-head small { font-weight: 500; color: var(--muted); font-size: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
table.data td { padding: 12px 18px; border-bottom: 1px solid #eef1f5; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; }
.pill.bull { background: #e3f6ea; color: #15803d; }
.pill.bear { background: #fde8e8; color: #b91c1c; }
.pill.flat { background: #eef1f5; color: #4b5668; }
.bar { display: inline-block; width: 64px; height: 6px; background: #e8ecf2; border-radius: 3px; vertical-align: middle; margin-right: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); }

.alert-list { padding: 8px 0; }
.alert-item { display: flex; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #eef1f5; align-items: flex-start; }
.alert-item:last-child { border-bottom: 0; }
.alert-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: var(--accent); flex: none; }
.alert-item strong { display: block; font-size: 14px; color: var(--ink); }
.alert-item span { font-size: 13px; color: var(--muted); }
.alert-item time { margin-left: auto; font-size: 12px; color: #8a94a5; font-family: var(--mono); white-space: nowrap; }

/* principle strip */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.principles > div { padding: 32px; border-right: 1px solid var(--line); }
.principles > div:last-child { border-right: 0; }
.principles h3 { font-size: 17px; margin-bottom: 8px; }
.principles p { font-size: 15px; color: var(--muted); margin: 0; }

/* CTA */
.cta { background: var(--navy); color: #fff; padding: 80px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); max-width: 560px; }
.cta p { color: #9eacc0; margin: 12px 0 0; font-size: 17px; }

/* ---------- Page header ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 80px; border-bottom: 1px solid rgba(255,255,255,.06); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 50px); font-weight: 700; letter-spacing: -0.03em; max-width: 760px; }
.page-hero p { color: #a5b2c5; font-size: 19px; max-width: 640px; margin: 18px 0 0; }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin-bottom: 44px; }
.billing button { border: 0; background: none; padding: 8px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); }
.billing button.on { background: var(--ink); color: #fff; }
.billing small { font-weight: 500; opacity: .75; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); position: relative; }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 99px; }
.plan h3 { font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14px; margin: 8px 0 22px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price strong { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.price span { color: var(--muted); font-size: 14px; }
.plan .billed { font-size: 13px; color: var(--muted); margin-bottom: 24px; min-height: 20px; }
.plan .checks { margin: 28px 0 0; flex: 1; }
.plan .btn { width: 100%; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Platform page ---------- */
.feature-row { padding: 80px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-of-type { border-bottom: 0; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 14px; display: block; }
.code { background: var(--navy); color: #cdd8e8; border-radius: 12px; padding: 22px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.75; overflow-x: auto; box-shadow: 0 24px 50px -28px rgba(13,22,38,.5); }
.code .c { color: #62728c; }
.code .k { color: #5eead4; }
.code .s { color: #fcd34d; }

/* ---------- About / Contact / Legal ---------- */
.prose { max-width: 740px; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { color: #3b4659; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.meta { color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid #cdd5e0; border-radius: 8px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,118,110,.14); }
.form-note { font-size: 13px; color: var(--muted); }
.info-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-block:first-child { padding-top: 0; }
.info-block h3 { font-size: 15px; margin-bottom: 6px; }
.info-block p, .info-block a { color: var(--muted); font-size: 15px; margin: 0; }
.info-block a { color: var(--accent); }

.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound .code404 { font-family: var(--mono); font-size: 80px; font-weight: 700; color: var(--ink); letter-spacing: -0.04em; }
.notfound p { color: var(--muted); margin: 8px 0 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #94a2b8; padding: 72px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid p { margin: 16px 0 0; max-width: 300px; line-height: 1.6; }
.footer-grid h4 { color: #e6ecf5; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 600; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-risk { padding: 28px 0; font-size: 12.5px; line-height: 1.7; color: #76849b; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: #76849b; gap: 20px; flex-wrap: wrap; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .split.flip, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-3, .plans, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .principles > div:last-child { border-bottom: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 72px 0; }
  .feature-row { padding: 56px 0; }
  .split.flip > :first-child { order: 2; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 10px 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .header-cta .btn { display: none; }
  .hero { padding: 56px 0 64px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  table.data th:nth-child(4), table.data td:nth-child(4) { display: none; }
}
