/* ============================================================
   HELM official website — black & white financial OS aesthetic.
   Dual theme: midnight (default, matches reference) + daylight.
   Tokens live on :root and flip under html[data-theme="daylight"].
   ============================================================ */

:root,
html[data-theme="midnight"] {
  --bg: #050505;
  --bg-soft: #0A0A0B;
  --panel: #101012;
  --panel-raised: #151518;
  --panel-glass: rgba(255,255,255,0.035);
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.22);
  --text: #FFFFFF;
  --muted: rgba(255,255,255,0.64);
  --faint: rgba(255,255,255,0.38);
  --hairline: rgba(255,255,255,0.07);

  --ok: #7CE3A0;
  --warn: #FFE8A3;
  --risk: #FFB7B7;
  --info: #C9DDFF;

  /* pipeline-stage accent colors */
  --ac-green: #34D6A0;
  --ac-blue: #5B9BFF;
  --ac-purple: #B89BFF;
  --ac-amber: #F5B544;
  --ac-red: #FF6B6B;

  --tier-c: #C9DDFF;
  --tier-p: #FFFFFF;
  --tier-m: #E9D9FF;

  --nav-bg: rgba(5,5,5,0.72);
  --solid-bg: #FFFFFF;
  --solid-fg: #060606;
  --shadow: 0 24px 80px rgba(0,0,0,0.45);
  --mark-opacity: 0.05;
}

html[data-theme="daylight"] {
  --bg: #F4F6FA;
  --bg-soft: #ECEFF4;
  --panel: #FFFFFF;
  --panel-raised: #FFFFFF;
  --panel-glass: rgba(15,18,24,0.025);
  --border: rgba(15,18,24,0.12);
  --border-strong: rgba(15,18,24,0.26);
  --text: #0C0F14;
  --muted: rgba(12,15,20,0.62);
  --faint: rgba(12,15,20,0.42);
  --hairline: rgba(12,15,20,0.08);

  --ok: #15A66B;
  --warn: #C9821B;
  --risk: #E0454A;
  --info: #2F7FE6;

  /* pipeline-stage accent colors (darker for light bg) */
  --ac-green: #0FA873;
  --ac-blue: #2F7FE6;
  --ac-purple: #7A4FD0;
  --ac-amber: #C9821B;
  --ac-red: #E0454A;

  --tier-c: #2F7FE6;
  --tier-p: #0C0F14;
  --tier-m: #7A4FD0;

  --nav-bg: rgba(255,255,255,0.78);
  --solid-bg: #0C0F14;
  --solid-fg: #FFFFFF;
  --shadow: 0 20px 60px rgba(20,30,50,0.10);
  --mark-opacity: 0.045;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

a { color: inherit; text-decoration: none; }
.mono, .amt, .per, .step-n, .feed-live, .feed-list b { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* ---------------- buttons ---------------- */
.solid-btn, .outline-btn, .ghost-btn, .text-link {
  font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  border-radius: 12px; transition: all .2s ease; display: inline-flex;
  align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
}
.solid-btn { background: var(--solid-bg); color: var(--solid-fg); border: 1px solid var(--solid-bg); padding: 10px 18px; }
.solid-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,.12); }
html[data-theme="daylight"] .solid-btn:hover { box-shadow: 0 10px 28px rgba(20,30,50,.18); }
.outline-btn { background: transparent; color: var(--text); border: 1px solid var(--border-strong); padding: 10px 18px; }
.outline-btn:hover { border-color: var(--text); background: var(--panel-glass); }
.solid-btn.lg, .outline-btn.lg { padding: 14px 26px; font-size: 15px; border-radius: 14px; }
.solid-btn.full, .outline-btn.full { width: 100%; padding: 13px; }
.solid-btn.alt { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.solid-btn.alt:hover { background: var(--solid-bg); color: var(--solid-fg); border-color: var(--solid-bg); }
.ghost-btn { background: transparent; color: var(--muted); border: 1px solid var(--border); padding: 7px 12px; }
.ghost-btn:hover { color: var(--text); border-color: var(--border-strong); }
.text-link { color: var(--muted); background: none; border: none; padding: 0; }
.text-link:hover { color: var(--text); }
.text-link.arrow { font-weight: 500; }

/* ---------------- navbar ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
html[data-theme="daylight"] .nav.scrolled { box-shadow: 0 8px 24px rgba(20,30,50,0.08); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; height: 64px;
  display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 30px; height: auto; display: block; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: 0.14em; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; flex: 1; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { font-size: 13px; min-width: 44px; }
.theme-toggle { font-size: 15px; padding: 6px 10px; }
.signin { font-size: 14px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------------- sections ---------------- */
.section { padding: 110px 0; position: relative; }
.section.alt { background: var(--bg-soft); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.section-head h2.muted-h { color: var(--muted); }
.lede { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 620px; }
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 150px 0 100px; overflow: hidden; }
.hero-bgmark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end;
  pointer-events: none; z-index: 0; }
.hero-bgmark img { width: min(900px, 80vw); opacity: var(--mark-opacity); transform: translateX(8%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; margin-bottom: 26px; }
.hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.hero-title span { display: block; }
.grad { background: linear-gradient(120deg, var(--text) 0%, var(--muted) 60%, var(--faint) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 26px 0 34px; max-width: 540px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }

/* hero status card */
.hero-card { background: var(--panel-glass); border: 1px solid var(--border); border-radius: 22px;
  padding: 22px; box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.hc-head { font-size: 14px; font-weight: 600; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--hairline); }
.hc-rows { list-style: none; }
.hc-rows li { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 14px; border-bottom: 1px solid var(--hairline); }
.hc-ico { width: 18px; color: var(--faint); font-size: 13px; text-align: center; }
.hc-k { color: var(--muted); flex: 1; }
.hc-v { color: var(--text); font-weight: 500; font-size: 13px; }
.hc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: 6px; font-size: 14px; }
.hc-status { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); display: inline-block; flex-shrink: 0; }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* ---------------- card grids ---------------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .trust-card, .ai-card { background: var(--panel-glass); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px 24px; transition: border-color .25s, transform .25s; }
.card:hover, .trust-card:hover, .ai-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card-ico { font-size: 22px; color: var(--text); opacity: .85; margin-bottom: 18px; }
.card h3, .trust-card h3, .ai-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.trust-card ul, .ai-card ul { list-style: none; }
.trust-card li { color: var(--muted); font-size: 14px; padding: 5px 0; }

/* ---------------- split (data onboarding) ---------------- */
.split { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: start; }
.split-left h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.steps { list-style: none; margin-top: 34px; }
.steps li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--hairline); }
.steps li:first-child { border-top: none; }
.step-n { color: var(--faint); font-size: 14px; font-weight: 600; padding-top: 2px; }
.steps h4 { font-size: 15px; font-weight: 600; }
.steps p { color: var(--muted); font-size: 14px; margin-top: 2px; }

.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.panel-head { font-size: 14px; font-weight: 600; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); margin-bottom: 18px; }
.panel-block { padding: 6px 0 18px; }
.panel-block + .panel-block { border-top: 1px solid var(--hairline); padding-top: 18px; }
.panel-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.chk { display: flex; align-items: center; gap: 11px; padding: 7px 0; font-size: 14px; color: var(--muted); }
.chk .box { width: 18px; height: 18px; border: 1px solid var(--border-strong); border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; flex-shrink: 0; }
.chk.on { color: var(--text); }
.chk.on .box { background: var(--solid-bg); color: var(--solid-fg); border-color: var(--solid-bg); }
.mode-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--muted); }

/* tier badges */
.tier { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: 6px; border: 1px solid var(--border); min-width: 78px; text-align: center; }
.tier.c { color: var(--tier-c); }
.tier.p { color: var(--solid-fg); background: var(--solid-bg); border-color: var(--solid-bg); }
.tier.m { color: var(--tier-m); }

/* ---------------- compare grid (news / discovery) ---------------- */
.compare-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 26px; align-items: start; }
.compare-table { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--panel-glass); }
.ct-head { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.ct-head::before { content: ""; }
.ct-head span { padding: 16px 18px; font-size: 13px; font-weight: 600; }
.ct-head span:first-child { color: var(--muted); }
.ct-head span:last-child { background: var(--panel-glass); border-left: 1px solid var(--border); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--hairline); font-size: 13px; }
.ct-row span { padding: 13px 18px; display: flex; align-items: center; }
.ct-key { color: var(--faint); }
.ct-diy { color: var(--muted); }
.ct-helm { color: var(--text); font-weight: 500; border-left: 1px solid var(--border); background: var(--panel-glass); }

/* tier cards (discovery) */
.tier-cards { display: flex; flex-direction: column; gap: 14px; }
.tier-card { border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; background: var(--panel-glass); }
.tier-card.hot { border-color: var(--border-strong); }
.tier-card-h { margin-bottom: 12px; }
.tier-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tier-card li { color: var(--muted); font-size: 13px; position: relative; padding-left: 14px; }
.tier-card li::before { content: "·"; position: absolute; left: 4px; color: var(--faint); }

/* feed card */
.feed-card { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.feed-title { font-size: 14px; font-weight: 600; }
.feed-live { font-size: 12px; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.feed-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--faint); padding: 8px 0 16px; border-bottom: 1px solid var(--hairline); }
.feed-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 16px 0 10px; }
.feed-list { list-style: none; }
.feed-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--hairline); }
.feed-list b { color: var(--faint); font-size: 12px; font-weight: 600; min-width: 18px; }
.feed-list .sym { font-family: "JetBrains Mono", monospace; font-weight: 600; min-width: 52px; }
.feed-list .desc { color: var(--muted); font-size: 13px; }
.feed-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.feed-foot div { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }

/* ---------------- AI cards ---------------- */
.ai-card { display: flex; flex-direction: column; }
.ai-card.hot { border-color: var(--border-strong); background: var(--panel); }
.ai-tag { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.ai-card ul { flex: 1; }
.ai-card li { color: var(--muted); font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--hairline); }
.ai-card li:last-child { border-bottom: none; }
.ai-avail { margin-top: 16px; font-size: 12px; font-weight: 600; font-family: "JetBrains Mono", monospace;
  padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border); text-align: center; }
.ai-avail.c { color: var(--tier-c); }
.ai-avail.p { color: var(--solid-fg); background: var(--solid-bg); }
.ai-avail.m { color: var(--tier-m); }

/* ---------------- pricing ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card { background: var(--panel-glass); border: 1px solid var(--border); border-radius: 22px; padding: 30px 26px;
  display: flex; flex-direction: column; position: relative; transition: transform .25s, border-color .25s; }
.price-card.hot { border-color: var(--border-strong); background: var(--panel); transform: scale(1.03); box-shadow: var(--shadow); z-index: 2; }
.price-card:hover { transform: translateY(-3px); }
.price-card.hot:hover { transform: scale(1.03) translateY(-3px); }
.price-flag { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .12em; font-weight: 600;
  padding: 5px 11px; border-radius: 7px; align-self: flex-start; margin-bottom: 18px; border: 1px solid var(--border); color: var(--faint); }
.price-flag.p { color: var(--solid-fg); background: var(--solid-bg); border-color: var(--solid-bg); }
.price-flag.m { color: var(--tier-m); border-color: var(--tier-m); }
.price-flag.c { color: var(--tier-c); border-color: var(--border); }
.price-card h3 { font-size: 22px; font-weight: 700; }
.price-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.price-amt { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 6px; }
.price-amt .amt { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.price-amt .per { color: var(--faint); font-size: 14px; }
.price-for { color: var(--muted); font-size: 14px; min-height: 42px; margin-bottom: 22px; }
.price-feat { list-style: none; flex: 1; margin-bottom: 24px; }
.price-feat li { color: var(--muted); font-size: 14px; padding: 9px 0; padding-left: 26px; position: relative; border-bottom: 1px solid var(--hairline); }
.price-feat li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; font-size: 13px; }

/* ---------------- matrix ---------------- */
.matrix-wrap { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; min-width: 720px; }
.matrix th, .matrix td { text-align: left; padding: 15px 22px; font-size: 14px; border-bottom: 1px solid var(--hairline); }
.matrix thead th { font-weight: 600; color: var(--text); background: var(--panel-glass); border-bottom: 1px solid var(--border); }
.matrix tbody td:first-child { color: var(--text); font-weight: 500; }
.matrix tbody td { color: var(--muted); }
.matrix .hot-col { background: var(--panel-glass); border-left: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text); }
.matrix tbody tr:last-child td { border-bottom: none; }

/* ---------------- discipline line ---------------- */
.discipline-line { text-align: center; margin-top: 56px; font-size: clamp(20px, 2.6vw, 30px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--text); }

/* ---------------- final CTA ---------------- */
.cta-final { position: relative; padding: 130px 0; text-align: center; overflow: hidden; background: var(--bg-soft); }
.cta-bgmark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cta-bgmark img { width: min(720px, 70vw); opacity: var(--mark-opacity); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.cta-inner h2 span { display: block; }
.cta-sub { color: var(--muted); font-size: 17px; max-width: 600px; margin: 24px auto 36px; }

/* ---------------- footer ---------------- */
.footer { border-top: 1px solid var(--hairline); padding: 48px 0 36px; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 36px; }
.footer-tag { color: var(--faint); font-size: 13px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--faint); }

/* ---------------- reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Hero v2 — "Your Wealth, Your Decision." + Decision Stack
   ============================================================ */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.eyebrow .spark { color: var(--info); margin-right: 7px; }
.eyebrow.center { display: inline-flex; align-items: center; }

/* "beam of light sweeping across the coin" — a glint travels left→right over the chip */
.eyebrow.shine { position: relative; overflow: hidden; }
.eyebrow.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-18deg) translateX(-180%);
  mix-blend-mode: screen; pointer-events: none;
  animation: eyebrow-sweep 5s ease-in-out infinite;
}
@keyframes eyebrow-sweep {
  0%, 18% { transform: skewX(-18deg) translateX(-180%); }
  60%, 100% { transform: skewX(-18deg) translateX(360%); }
}
html[data-theme="daylight"] .eyebrow.shine::after {
  background: linear-gradient(100deg, transparent, rgba(20,30,50,0.16), transparent);
  mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: reduce) { .eyebrow.shine::after { display: none; } }

/* accent helpers */
.ac-green { color: var(--ac-green); } .ac-blue { color: var(--ac-blue); }
.ac-purple { color: var(--ac-purple); } .ac-amber { color: var(--ac-amber); }
.ac-red { color: var(--ac-red); }

/* hero trust pills */
.hero-pills { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.pill { display: flex; align-items: center; gap: 11px; border: 1px solid var(--border);
  border-radius: 13px; padding: 11px 15px; background: var(--panel-glass); }
.pill .pill-ico { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.pill-t b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.pill-t .sub { color: var(--faint); font-size: 12px; }

/* decision stack card */
.decision-stack { padding: 18px; }
.hc-op { display: flex; align-items: center; gap: 7px; color: var(--ac-green); font-size: 12.5px; font-weight: 500; }
.ds-rows { list-style: none; }
.ds-rows li { display: grid; grid-template-columns: 18px 38px 1fr auto; align-items: center; gap: 12px;
  padding: 12px 8px; border-radius: 12px; transition: background .2s; }
.ds-rows li + li { border-top: 1px solid var(--hairline); }
.ds-rows li:hover { background: var(--panel-glass); }
.ds-n { font-family: "JetBrains Mono", monospace; color: var(--faint); font-size: 12px; text-align: center; }
.ds-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--panel-glass); }
.ds-ico svg { width: 18px; height: 18px; }
.ds-main b { font-size: 14px; font-weight: 600; display: block; line-height: 1.35; }
.ds-main span { color: var(--muted); font-size: 12.5px; }
.ds-status { font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ds-status .sdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.ds-status .chev { color: var(--faint); font-weight: 400; }
.ds-foot { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--hairline);
  color: var(--faint); font-size: 12.5px; display: flex; gap: 8px; align-items: center; }
.ds-foot svg { width: 13px; height: 13px; }

/* ============================================================
   "From signal to decision" — 6-stage feature grid
   ============================================================ */
.grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.grid8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-card { background: var(--panel-glass); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 18px; text-align: center; transition: border-color .25s, transform .25s, background .25s, box-shadow .25s; }
.feat-card:hover { border-color: var(--border-strong); transform: translateY(-4px);
  background: var(--panel-raised); box-shadow: var(--shadow); }
.feat-ico { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--panel-glass); }
.feat-ico svg { width: 22px; height: 22px; }
.feat-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 9px; }
.feat-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   Data onboarding — hover a step → swap the right-hand panel
   ============================================================ */
.steps li { cursor: pointer; border-radius: 12px; padding-left: 14px; margin-left: -14px;
  transition: background .2s, border-color .2s; outline: none; }
.steps li:hover, .steps li.active { background: var(--panel-glass); }
.steps li.active { border-top-color: transparent; }
.steps li.active + li { border-top-color: transparent; }
.steps li.active .step-n { color: var(--text); }
.steps li.active h4 { color: var(--text); }
.steps li:focus-visible { box-shadow: 0 0 0 2px var(--border-strong) inset; }

.dp-panel { display: none; }
.dp-panel.active { display: block; }

/* generic status rows used by the installer / sources / intelligence panels */
.pn-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 14px; }
.pn-row:first-of-type { border-top: none; padding-top: 4px; }
.pn-l { color: var(--text); }
.pn-l small { display: block; color: var(--faint); font-size: 12px; font-weight: 400; }
.pn-s { font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pn-s .sdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pn-s.muted { color: var(--faint); }
.pn-s.muted .sdot { box-shadow: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 960px) {
  .nav-links, .signin { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column;
    background: var(--nav-bg); backdrop-filter: blur(18px); padding: 18px 28px; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .hero-grid, .split, .compare-grid { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid6 { grid-template-columns: repeat(3, 1fr); }
  .grid8 { grid-template-columns: repeat(2, 1fr); }
  .steps li { margin-left: 0; }
  .grid3, .price-grid { grid-template-columns: 1fr; }
  .price-card.hot { transform: none; }
  .price-card.hot:hover { transform: translateY(-3px); }
  .hero-bgmark { justify-content: center; }
  .hero-bgmark img { transform: none; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .container, .nav-inner { padding: 0 20px; }
  .grid4 { grid-template-columns: 1fr; }
  .grid6 { grid-template-columns: repeat(2, 1fr); }
  .grid8 { grid-template-columns: 1fr; }
  .hero-pills { gap: 8px; }
  .pill { padding: 9px 12px; }
  .hero { padding: 120px 0 70px; }
  .nav-actions .signin { display: none; }
  .ct-head, .ct-row { grid-template-columns: 1fr 1fr; }
  .ct-head span:first-child, .ct-diy { display: none; }
}
