/* Mr M Trades brand system, dashboard edition */
:root {
  --bg: #050806;
  --bg-panel: rgba(17, 25, 20, 0.72);
  --bg-panel-solid: #101712;
  --bg-panel-alt: rgba(10, 16, 12, 0.8);
  --border: rgba(120, 180, 140, 0.14);
  --border-strong: rgba(61, 220, 122, 0.38);
  --text: #eef2ef;
  --text-dim: #93a69a;
  --accent: #3ddc7a;
  --accent-2: #2fd3c3;
  --accent-hi: #8ff5b4;
  --accent-dim: #2a9c58;
  --accent-soft: rgba(61, 220, 122, 0.12);
  --danger: #ef6b5e;
  --danger-soft: rgba(239, 107, 94, 0.14);
  --font-heading: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  color: var(--text);
  font-family: var(--font-heading);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.pos { color: var(--accent); }
.neg { color: var(--danger); }
.muted { color: var(--text-dim); }
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-hi) 45%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background: beam, grid, orbs, shapes ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(61, 220, 122, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 60%, rgba(47, 211, 195, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 90%, rgba(61, 220, 122, 0.07), transparent 60%),
    linear-gradient(180deg, #06100a 0%, var(--bg) 40%, #040605 100%);
}
.beam {
  position: absolute;
  top: -30vh;
  left: 50%;
  width: 140vw;
  height: 110vh;
  transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(143, 245, 180, 0.10) 175deg, rgba(143, 245, 180, 0.16) 180deg, rgba(143, 245, 180, 0.10) 185deg, transparent 200deg);
  filter: blur(18px);
  animation: beam 14s ease-in-out infinite alternate;
}
@keyframes beam { from { transform: translateX(-50%) rotate(-6deg); } to { transform: translateX(-50%) rotate(6deg); } }
.gridlines {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(120, 200, 150, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 150, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  animation: gridpan 30s linear infinite;
}
@keyframes gridpan { to { background-position: 56px 56px, 56px 56px; } }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.o1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(61, 220, 122, 0.55), transparent 65%); top: -120px; left: -140px; animation: drift1 22s ease-in-out infinite alternate; }
.o2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(47, 211, 195, 0.40), transparent 65%); top: 30vh; right: -160px; animation: drift2 26s ease-in-out infinite alternate; }
.o3 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(61, 220, 122, 0.25), transparent 65%); bottom: -260px; left: 30%; animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-100px, 120px) scale(0.92); } }
.shape { position: absolute; }
.ring { border-radius: 50%; border: 1px solid rgba(143, 245, 180, 0.16); }
.r1 { width: 680px; height: 680px; top: -240px; right: -220px; animation: spin 80s linear infinite; border-style: dashed; }
.r2 { width: 380px; height: 380px; top: 58vh; left: -150px; box-shadow: inset 0 0 60px rgba(61, 220, 122, 0.06); animation: float 12s ease-in-out infinite; }
.diamond { width: 26px; height: 26px; border: 1.5px solid rgba(143, 245, 180, 0.45); transform: rotate(45deg); }
.d1 { top: 46vh; left: 2.2vw; animation: floatrot 9s ease-in-out infinite; }
.d2 { top: 70vh; right: 9vw; width: 16px; height: 16px; border-color: rgba(47, 211, 195, 0.55); animation: floatrot 11s ease-in-out infinite reverse; }
.dots {
  width: 180px; height: 120px; top: 34vh; right: 4vw;
  background-image: radial-gradient(rgba(143, 245, 180, 0.35) 1.2px, transparent 1.6px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 80%);
  mask-image: linear-gradient(135deg, #000, transparent 80%);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-24px); } }
@keyframes floatrot { 50% { transform: translateY(-18px) rotate(135deg); } 100% { transform: rotate(45deg); } }

/* ---------- Header + ticker tape ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 8, 6, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-in { max-width: 1280px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; }
.brand-logo { height: 22px; width: auto; display: block; }
.live-pill { margin-right: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.02); }
.header-cta {
  font-size: 13px; font-weight: 700; text-decoration: none; color: var(--accent);
  border: 1px solid var(--border-strong); padding: 8px 14px 8px 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s, box-shadow 0.2s;
}
.header-cta:hover { background: var(--accent-soft); box-shadow: 0 0 24px rgba(61, 220, 122, 0.3); }
.header-cta .arr { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.header-cta:hover .arr { transform: translateX(3px); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; position: relative; flex-shrink: 0; box-shadow: 0 0 10px var(--accent); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }

.tape { border-top: 1px solid var(--border); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tape-track { display: flex; width: max-content; animation: tape 70s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.ti { display: inline-flex; gap: 8px; align-items: center; padding: 7px 22px; font-family: var(--font-mono); font-size: 12px; border-right: 1px solid var(--border); white-space: nowrap; }
.ti b { font-weight: 600; color: var(--text); }
.ti i { font-style: normal; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 880px; }
.section { padding-top: 110px; }
.sec-head { max-width: 1000px; margin-bottom: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(61, 220, 122, 0.32);
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px;
}
.headline {
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.headline.small { font-size: clamp(30px, 4.2vw, 54px); }
.subheadline { font-size: 19px; color: var(--text-dim); margin: 0 0 32px; max-width: 560px; text-wrap: pretty; }
.h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
.lede { color: var(--text-dim); font-size: 18px; max-width: 720px; margin: 0; text-wrap: pretty; }
.lede strong { color: var(--text); }

/* ---------- CTA button ---------- */
.cta-button {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 19px 26px; border-radius: 14px;
  background: linear-gradient(135deg, #5df29a 0%, var(--accent) 45%, #22b862 100%);
  color: #04200e; font-size: 18px; font-weight: 800; text-decoration: none; letter-spacing: -0.005em;
  box-shadow: 0 0 0 1px rgba(143, 245, 180, 0.5) inset, 0 14px 40px -10px rgba(61, 220, 122, 0.7), 0 0 60px -20px rgba(61, 220, 122, 0.8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
}
.cta-button .arr { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.cta-button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(143, 245, 180, 0.7) inset, 0 20px 50px -10px rgba(61, 220, 122, 0.85), 0 0 80px -10px rgba(61, 220, 122, 0.7); }
.cta-button:hover .arr { transform: translateX(4px); }
.cta-button:active { transform: translateY(0) scale(0.99); }
/* Shine sweep */
.cta-button::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
/* Pulse ring */
.cta-button.pulse { animation: pulse 2.4s var(--ease) infinite; }
.cta-button.pulse:hover { animation-play-state: paused; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 1px rgba(143, 245, 180, 0.5) inset, 0 14px 40px -10px rgba(61, 220, 122, 0.7), 0 0 0 0 rgba(61, 220, 122, 0.55); }
  70%, 100% { box-shadow: 0 0 0 1px rgba(143, 245, 180, 0.5) inset, 0 14px 40px -10px rgba(61, 220, 122, 0.7), 0 0 0 18px rgba(61, 220, 122, 0); }
}
.cta-button.small { padding: 15px 18px; font-size: 16px; margin-top: 22px; }
.microcopy { font-size: 12px; color: var(--text-dim); margin: 12px 0 0; }
.microcopy strong { color: var(--text); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 56px; align-items: center; padding-top: 72px; }
.hero-cta { max-width: 440px; }
.trust { display: flex; gap: 30px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.trust div { display: flex; flex-direction: column; }
.trust b { font-size: 20px; color: var(--accent); font-weight: 600; }
.trust span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }

/* Console card */
.console {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 34, 26, 0.88), rgba(10, 16, 12, 0.92));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 90px -30px rgba(61, 220, 122, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.8s var(--ease);
}
.console:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.console::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(143, 245, 180, 0.9) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-spin 6s linear infinite;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes border-spin { to { --ang: 360deg; } }
.console-top { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: rgba(0, 0, 0, 0.25); }
.lights { display: inline-flex; gap: 6px; }
.lights i { width: 9px; height: 9px; border-radius: 50%; background: #2a3a2f; }
.lights i:first-child { background: #ef6b5e; } .lights i:nth-child(2) { background: #e9c24a; } .lights i:nth-child(3) { background: var(--accent); }
.console-title { font-size: 11px; letter-spacing: 0.12em; color: var(--text-dim); margin-right: auto; }
.live { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.console-main { padding: 20px 20px 6px; }
.big { display: flex; flex-direction: column; }
.big-k { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.big-v { font-size: 76px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--text); text-shadow: 0 0 40px rgba(61, 220, 122, 0.45); margin: 4px 0 8px; }
.big-s { font-size: 13px; color: var(--text-dim); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; margin-right: 4px; }
.cum { width: 100%; height: auto; display: block; margin-top: 10px; }
.cum .g { stroke: rgba(255, 255, 255, 0.05); }
.cum .line { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(61, 220, 122, 0.7)); stroke-dasharray: 1; stroke-dashoffset: 0; }
.cum .end { fill: var(--accent); }
.cum .end-pulse { fill: none; stroke: var(--accent); transform-box: fill-box; transform-origin: center; animation: ring 2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.4); opacity: 0; } }
.cum .ax { fill: var(--text-dim); font: 500 10px var(--font-mono); }
.console-tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.console-tiles > div { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.console-tiles > div + div { border-left: 1px solid var(--border); }
.console-tiles .k { font-size: 11px; color: var(--text-dim); font-weight: 600; }
.console-tiles .v { font-size: 24px; font-weight: 600; }
.console-tiles .s { font-size: 11px; color: var(--text-dim); }
.console-lock { border-top: 1px solid var(--border); padding: 14px 18px; display: flex; align-items: center; gap: 14px; background: rgba(61, 220, 122, 0.05); flex-wrap: wrap; }
.console-lock .k { font-size: 12px; font-weight: 700; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-family: var(--font-mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.3); display: inline-flex; align-items: center; gap: 4px; color: var(--text-dim); }

/* ---------- KPIs ---------- */
.kpi-sec { padding-top: 64px; }
.kpis { display: grid; gap: 14px; }
.kpis.six { grid-template-columns: repeat(6, 1fr); }
.kpis.four { grid-template-columns: repeat(4, 1fr); }
.kpi {
  position: relative; overflow: hidden;
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 4px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.kpi::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(143, 245, 180, 0.5), transparent); opacity: 0.6; }
.kpi:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.kpi .k { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.kpi .v { font-size: 32px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.kpi.lead { border-color: var(--border-strong); background: linear-gradient(160deg, rgba(61, 220, 122, 0.18), rgba(17, 25, 20, 0.8) 60%); }
.kpi.lead .v { color: var(--accent); text-shadow: 0 0 24px rgba(61, 220, 122, 0.5); }
.kpi .s { font-size: 12px; color: var(--text-dim); }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1.3fr; gap: 20px; align-items: stretch; }
.vs { align-self: center; font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--text-dim); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; background: var(--bg-panel-solid); }
.plan { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--bg-panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.plan h3 { margin: 0 0 16px; font-size: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; }
.plan .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; font-weight: 500; }
.plan .tag.on { color: #04200e; background: var(--accent); border-color: var(--accent); font-weight: 600; box-shadow: 0 0 16px rgba(61, 220, 122, 0.6); }
.plan ul { list-style: none; margin: 0; padding: 0; position: relative; }
.plan li { padding: 11px 0 11px 32px; position: relative; font-size: 16px; border-top: 1px solid var(--border); }
.plan li:first-child { border-top: 0; }
.plan li::before { position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.plan.free { color: var(--text-dim); }
.plan.free li::before { content: "–"; background: rgba(147, 166, 154, 0.12); color: var(--text-dim); }
.plan.full { border-color: var(--border-strong); background: linear-gradient(160deg, rgba(61, 220, 122, 0.14), rgba(17, 25, 20, 0.85) 55%); box-shadow: 0 30px 80px -40px rgba(61, 220, 122, 0.7); }
.plan.full li::before { content: "✓"; background: var(--accent); color: #04200e; box-shadow: 0 0 12px rgba(61, 220, 122, 0.6); }
.plan-glow { position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 220, 122, 0.35), transparent 65%); filter: blur(20px); animation: float 8s ease-in-out infinite; }

/* ---------- Dashboard grid & panels ---------- */
.dash { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.span12 { grid-column: span 12; } .span7 { grid-column: span 7; } .span5 { grid-column: span 5; }
.panel {
  position: relative;
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px -40px rgba(0, 0, 0, 0.9);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-top.pad { padding: 22px 22px 0; margin-bottom: 6px; }
.panel-h { margin: 0; font-size: 12px; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.panel-sub { margin: 0; padding: 0 22px 16px; color: var(--text-dim); font-size: 14px; }
.pill { font-size: 10px; letter-spacing: 0.1em; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--accent); background: var(--accent-soft); white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; font-family: var(--font-mono); }
.chart-note { font-size: 12px; color: var(--text-dim); margin: 14px 0 0; }

/* Move board */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.board li { display: grid; grid-template-columns: 26px 68px 1fr 76px; align-items: center; gap: 12px; font-size: 14px; }
.board .rank { color: var(--text-dim); font-size: 11px; }
.board .tk { font-weight: 700; }
.board .track { height: 14px; background: rgba(255, 255, 255, 0.04); border-radius: 4px; overflow: hidden; }
.board .fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #1f9d55, var(--accent) 70%, var(--accent-hi)); box-shadow: 0 0 14px rgba(61, 220, 122, 0.45); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.board .fill.over { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent 86%, transparent 90%, #000 90%); mask-image: linear-gradient(90deg, #000 86%, transparent 86%, transparent 90%, #000 90%); }
.board .mv { text-align: right; color: var(--accent); font-size: 13px; }

/* Weekly chart */
.weekly { width: 100%; height: auto; display: block; }
.weekly .col { fill: url(#colFill); transform-box: fill-box; transform-origin: bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); filter: drop-shadow(0 0 10px rgba(61, 220, 122, 0.35)); }
.weekly .col.partial { opacity: 0.55; }
.weekly .col-v { fill: var(--text); font: 600 16px var(--font-mono); }
.weekly .col-l { fill: var(--text-dim); font: 500 11px var(--font-mono); }
.weekly .axis { stroke: var(--border); }
.mini { list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; }
.mini li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--border); color: var(--text-dim); }
.mini li .num { color: var(--accent); }
.mini em { font-style: normal; font-size: 11px; opacity: 0.8; }

/* Daily heat strip */
.heat { display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: 8px; }
.hc {
  border-radius: 10px; padding: 12px 6px 8px; text-align: center; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(61, 220, 122, calc(var(--a) * 0.0085)), rgba(61, 220, 122, calc(var(--a) * 0.0035)));
  box-shadow: 0 0 calc(var(--a) * 0.26px) rgba(61, 220, 122, calc(var(--a) * 0.005));
  transition: transform 0.6s var(--ease), opacity 0.6s; transition-delay: calc(var(--i, 0) * 40ms);
}
.hn { display: block; font-size: 20px; font-weight: 600; color: var(--text); }
.hd { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); margin-top: 2px; }

/* Tables */
.table-panel { padding: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; }
.table-wrap.scroll { max-height: 520px; overflow-y: auto; border-top: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); padding: 13px 22px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg-panel-solid); z-index: 1; }
td { padding: 10px 22px; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.15s; }
tbody tr:hover td { background: rgba(61, 220, 122, 0.05); }
.r, td:last-child { text-align: right; }
td.tk { font-weight: 700; }
.lvl { font-size: 11px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border); color: var(--text-dim); }
td.locked { color: var(--text-dim); font-size: 12px; }
td.locked span { margin-left: 6px; }
.lock { width: 12px; height: 12px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lock rect { fill: currentColor; fill-opacity: 0.18; }
tr.masked td { background: var(--accent-soft); }
.blur { filter: blur(4.5px); user-select: none; margin-left: 6px; }

/* Swing strip */
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(22px, 1fr)); gap: 5px; }
.strip span { height: 40px; border-radius: 5px; transition: transform 0.5s var(--ease), opacity 0.5s; transition-delay: calc(var(--i, 0) * 35ms); }
.strip .w { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); box-shadow: 0 0 12px rgba(61, 220, 122, 0.35); }
.strip .l { background: linear-gradient(180deg, #ff8a7e, var(--danger)); box-shadow: 0 0 12px rgba(239, 107, 94, 0.3); }
.strip-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--text-dim); }
.strip-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.strip-legend i.w { background: var(--accent); } .strip-legend i.l { background: var(--danger); }

details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 18px; transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details.details[open] summary { margin-bottom: 18px; }
details.details .table-wrap { margin: 0 -22px -22px; border-top: 1px solid var(--border); }

.callout { display: flex; gap: 12px; align-items: center; margin: 0; padding: 16px 20px; border-radius: 14px; border: 1px dashed rgba(61, 220, 122, 0.5); background: var(--accent-soft); font-size: 15px; animation: glow 3s ease-in-out infinite; }
.callout .lock { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
@keyframes glow { 50% { box-shadow: 0 0 30px -6px rgba(61, 220, 122, 0.45); } }

.inline-cta { max-width: 460px; margin: 36px auto 0; text-align: center; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; overflow: hidden; background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color 0.3s, transform 0.3s var(--ease); }
.steps li:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.steps .n { font-size: 44px; font-weight: 600; line-height: 1; background: linear-gradient(180deg, var(--accent), rgba(61, 220, 122, 0.1)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--text-dim); font-size: 15px; }

.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.testimonial { margin: 0; padding: 24px; background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.testimonial blockquote { margin: 0 0 12px; font-size: 17px; line-height: 1.45; }
.testimonial figcaption { font-size: 13px; color: var(--accent); font-family: var(--font-mono); }

.faq { display: grid; gap: 10px; }
.faq .panel { padding: 18px 22px; }
.faq p { margin: 12px 0 0; color: var(--text-dim); font-size: 15px; }

/* Final CTA */
.final {
  position: relative; overflow: hidden; text-align: center;
  margin-top: 110px; padding: 80px 28px 72px; border-radius: 28px;
  border: 1px solid var(--border-strong);
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(61, 220, 122, 0.28), transparent 70%), linear-gradient(180deg, rgba(17, 30, 22, 0.9), rgba(6, 10, 8, 0.95));
  box-shadow: 0 50px 120px -50px rgba(61, 220, 122, 0.6);
}
.final-rays { position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(143, 245, 180, 0.06) 0 6deg, transparent 6deg 18deg); animation: spin 90s linear infinite; pointer-events: none; -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 60%); mask-image: radial-gradient(circle at 50% 30%, #000, transparent 60%); }
.final > * { position: relative; }
.final .headline { max-width: 760px; margin-left: auto; margin-right: auto; }
.final-cta { max-width: 460px; margin: 0 auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 90px; padding: 32px 24px 100px; text-align: center; color: var(--text-dim); font-size: 12px; background: rgba(0, 0, 0, 0.35); }
.site-footer .disclaimer { max-width: 760px; margin: 0 auto 16px; }
.footer-links { display: flex; gap: 16px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }

/* Sticky mobile CTA */
.sticky-cta { display: none; }

/* ---------- Scroll animations (only when JS is running) ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .console { opacity: 0; transform: perspective(1400px) rotateY(-14deg) rotateX(6deg) translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.js .console.in { opacity: 1; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
html.js .console.in:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
html.js .console .line { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) 0.4s; }
html.js .console.in .line { stroke-dashoffset: 0; }
html.js .console .area { opacity: 0; transition: opacity 1.4s ease 1.2s; }
html.js .console.in .area { opacity: 1; }
html.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
html.js .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
html.js .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
html.js .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
html.js .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { to { opacity: 1; transform: none; } }
html.js .board:not(.in) .fill { transform: scaleX(0); }
html.js .weekly:not(.in) .col { transform: scaleY(0); }
html.js .heat:not(.in) .hc { opacity: 0; transform: translateY(14px) scale(0.9); }
html.js .strip:not(.in) span { opacity: 0; transform: scaleY(0.2); }
html.js .kpis:not(.in) .kpi { opacity: 0; transform: translateY(20px); }
html.js .kpis .kpi { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), border-color 0.3s; }
html.js .kpis .kpi:nth-child(2) { transition-delay: 0.06s; } html.js .kpis .kpi:nth-child(3) { transition-delay: 0.12s; }
html.js .kpis .kpi:nth-child(4) { transition-delay: 0.18s; } html.js .kpis .kpi:nth-child(5) { transition-delay: 0.24s; }
html.js .kpis .kpi:nth-child(6) { transition-delay: 0.3s; }
.cnt.done { animation: flash 0.9s ease; }
@keyframes flash { 0% { text-shadow: 0 0 0 transparent; } 30% { text-shadow: 0 0 26px rgba(143, 245, 180, 0.95); } 100% { text-shadow: inherit; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .console, html.js .console.in { transform: none; }
  .kpis.six { grid-template-columns: repeat(3, 1fr); }
  .span7, .span5 { grid-column: span 12; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .header-in { padding: 12px 18px; }
  .live-pill, .header-cta { display: none; }
  .header-in .brand { margin-right: auto; }
  .hero { padding-top: 40px; }
  .section { padding-top: 76px; }
  .big-v { font-size: 60px; }
  .console-tiles .v { font-size: 19px; }
  .console-tiles > div { padding: 12px; }
  .kpis.six, .kpis.four { grid-template-columns: 1fr 1fr; }
  .kpi .v { font-size: 26px; }
  .compare { grid-template-columns: 1fr; }
  .vs { justify-self: center; margin: -6px 0; }
  .steps, .testimonials { grid-template-columns: 1fr; }
  .board li { grid-template-columns: 22px 60px 1fr 64px; gap: 8px; }
  td, th { padding-left: 14px; padding-right: 14px; }
  .final { padding: 56px 20px; margin-top: 76px; }
  .r1 { width: 420px; height: 420px; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 8, 6, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); transform: translateY(110%); transition: transform 0.35s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .cta-button { padding: 15px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal, html.js .console, html.js .hero-copy > *, html.js .kpis .kpi, html.js .heat .hc, html.js .strip span { opacity: 1 !important; transform: none !important; }
  html.js .board .fill, html.js .weekly .col { transform: none !important; }
  html.js .console .line { stroke-dashoffset: 0 !important; }
  html.js .console .area { opacity: 1 !important; }
}
