:root {
  --bg: #07100d;
  --bg-2: #0a1511;
  --panel: rgba(18, 31, 25, 0.84);
  --panel-solid: #101f19;
  --panel-2: #14261f;
  --text: #f2f7f4;
  --muted: #91a49b;
  --muted-2: #64766e;
  --line: rgba(183, 255, 209, 0.12);
  --line-strong: rgba(183, 255, 209, 0.22);
  --accent: #b7ff8a;
  --accent-2: #74f3a4;
  --accent-dark: #101b13;
  --danger: #ff8b8b;
  --warning: #ffd66b;
  --info: #8cc8ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1240px;
  --sidebar: 244px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% -10%, rgba(116, 243, 164, .08), transparent 32rem),
    radial-gradient(circle at 20% 10%, rgba(183, 255, 138, .045), transparent 28rem),
    var(--bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { color: #09120e; background: var(--accent); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 7.5vw, 94px); line-height: .94; margin-bottom: 26px; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; margin-bottom: 20px; }
h3 { font-size: 22px; line-height: 1.15; }
p { color: var(--muted); line-height: 1.72; }
.lead { font-size: clamp(18px, 2.2vw, 23px); line-height: 1.55; max-width: 720px; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-small { font-size: 13px; }
.text-center { text-align: center; }
.stack { display: grid; gap: 18px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wrap { flex-wrap: wrap; }

.btn {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.025);
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(183,255,138,.45); }
.btn-primary { color: #0a130f; border-color: var(--accent); background: var(--accent); box-shadow: 0 10px 35px rgba(183,255,138,.14); }
.btn-primary:hover { background: #c6ff9f; }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 13px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.02); cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,16,13,.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-color: var(--line); }
.site-header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; position: relative; display: grid; place-items: center; color: #07100d; font-size: 11px; font-weight: 950; }
.brand-mark::before { content: ''; position: absolute; inset: 1px; border: 1px solid var(--accent); border-radius: 10px; transform: rotate(45deg); background: var(--accent); }
.brand-mark span { position: relative; z-index: 1; }
.brand-copy small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 24px; color: #becbc5; font-size: 14px; font-weight: 700; }
.site-nav a:hover { color: var(--text); }
.site-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

.hero { position: relative; overflow: hidden; padding: 94px 0 82px; }
.hero::after { content: ''; position: absolute; width: 580px; height: 580px; border: 1px solid rgba(183,255,138,.08); border-radius: 50%; right: -200px; top: -260px; box-shadow: 0 0 0 90px rgba(183,255,138,.016), 0 0 0 180px rgba(183,255,138,.01); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 64px; }
.hero-copy h1 span { display: block; color: var(--accent); }
.hero-copy .lead { max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: '✓'; color: var(--accent); font-weight: 900; }

.product-window { position: relative; background: linear-gradient(145deg, rgba(20,38,31,.95), rgba(9,19,15,.94)); border: 1px solid var(--line-strong); border-radius: 24px; padding: 14px; box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.product-window::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(183,255,138,.18), transparent 38%); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; padding: 1px; }
.window-bar { min-height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 10px; color: var(--muted); font-size: 11px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.preview-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 10px; }
.preview-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,13,10,.58); }
.preview-card.large { grid-row: span 2; }
.preview-label { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.preview-score { font-size: 44px; font-weight: 900; letter-spacing: -.06em; margin: 18px 0 3px; }
.preview-list { display: grid; gap: 9px; margin-top: 14px; }
.preview-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 10px; border-radius: 9px; background: rgba(255,255,255,.025); font-size: 11px; }
.preview-rank { color: var(--muted); }
.preview-symbol { font-weight: 850; }
.preview-move { color: var(--accent); font-weight: 800; }
.preview-bars { height: 86px; display: flex; align-items: end; gap: 6px; margin-top: 12px; }
.preview-bars i { flex: 1; background: linear-gradient(var(--accent), rgba(183,255,138,.12)); border-radius: 4px 4px 1px 1px; animation: bars 4s ease-in-out infinite alternate; }
@keyframes bars { to { filter: brightness(1.14); transform: scaleY(.92); transform-origin: bottom; } }

.ticker-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker-group { display: flex; }
.ticker-item { min-width: 220px; padding: 16px 30px; border-right: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; }
.ticker-item strong { font-size: 12px; }
.ticker-item .up { color: var(--accent); }
.ticker-item .down { color: var(--danger); }
@keyframes ticker { to { transform: translateX(-50%); } }

.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 750; }
.pill-accent { color: var(--accent); border-color: rgba(183,255,138,.24); background: rgba(183,255,138,.06); }
.pill-danger { color: var(--danger); border-color: rgba(255,139,139,.22); background: rgba(255,139,139,.05); }
.pill-warning { color: var(--warning); border-color: rgba(255,214,107,.22); background: rgba(255,214,107,.05); }

.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card, .content-card, .price-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(20,38,31,.76), rgba(10,21,17,.82)); box-shadow: 0 18px 50px rgba(0,0,0,.13); }
.feature-card { padding: 28px; min-height: 270px; position: relative; overflow: hidden; }
.feature-card::after { content: attr(data-number); position: absolute; right: 14px; bottom: -20px; font-size: 110px; font-weight: 900; color: rgba(183,255,138,.035); letter-spacing: -.08em; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(183,255,138,.08); border: 1px solid rgba(183,255,138,.16); color: var(--accent); margin-bottom: 34px; }
.feature-card p { margin-bottom: 0; }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.center { text-align: center; margin-inline: auto; }

.ritual { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.ritual-sticky { position: sticky; top: 110px; }
.ritual-list { display: grid; }
.ritual-step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.ritual-step:last-child { border-bottom: 1px solid var(--line); }
.step-number { color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.ritual-step h3 { margin-bottom: 10px; }
.ritual-step p { margin-bottom: 0; }

.split-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: rgba(255,255,255,.015); }
.split-copy { padding: clamp(34px, 6vw, 76px); }
.split-visual { min-height: 540px; position: relative; padding: 34px; display: grid; align-content: center; background: radial-gradient(circle at 50% 40%, rgba(183,255,138,.12), transparent 42%), #0b1712; border-left: 1px solid var(--line); }
.rank-story { display: grid; gap: 12px; }
.rank-story-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,16,13,.72); }
.rank-story-row.highlight { border-color: rgba(183,255,138,.36); transform: scale(1.035); box-shadow: 0 15px 35px rgba(0,0,0,.25); }
.rank-story-number { font-weight: 900; color: var(--muted); }
.rank-story-row.highlight .rank-story-number { color: var(--accent); }
.rank-story-symbol { font-weight: 850; }
.rank-story-move { color: var(--accent); font-weight: 850; }

.logo-wall { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.logo-chip { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; font-size: 12px; font-weight: 750; }

.quote-panel { border: 1px solid var(--line-strong); border-radius: 26px; padding: clamp(38px, 6vw, 76px); background: linear-gradient(135deg, rgba(183,255,138,.075), rgba(255,255,255,.012)); }
.quote-panel blockquote { margin: 0; max-width: 920px; font-size: clamp(28px, 4.5vw, 58px); line-height: 1.08; letter-spacing: -.045em; font-weight: 780; }
.quote-panel footer { color: var(--muted); margin-top: 30px; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 92px); border: 1px solid rgba(183,255,138,.24); border-radius: 30px; text-align: center; background: linear-gradient(140deg, rgba(183,255,138,.11), rgba(20,38,31,.5)); }
.cta-panel::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(183,255,138,.08); filter: blur(80px); top: -200px; left: 50%; transform: translateX(-50%); }
.cta-panel > * { position: relative; }
.cta-panel .lead { margin-inline: auto; }
.cta-panel .hero-actions { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, .7fr); gap: 40px; }
.footer-brand p { max-width: 390px; font-size: 13px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.footer-col a { display: block; color: #b8c7c0; font-size: 13px; margin: 10px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 24px; display: flex; justify-content: space-between; gap: 30px; color: var(--muted-2); font-size: 11px; line-height: 1.65; }
.footer-bottom p { max-width: 900px; margin-bottom: 0; color: inherit; }

/* App shell */
.app-body { background: #07100d; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) 1fr; }
.app-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); border-right: 1px solid var(--line); background: rgba(8,18,14,.98); padding: 20px 14px; display: flex; flex-direction: column; z-index: 60; }
.app-sidebar .brand { padding: 6px 8px 22px; }
.app-nav { display: grid; gap: 4px; }
.app-nav-label { color: var(--muted-2); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 850; padding: 18px 12px 7px; }
.app-nav a { min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 10px; color: #9db0a7; font-size: 13px; font-weight: 720; }
.app-nav a:hover { color: var(--text); background: rgba(255,255,255,.03); }
.app-nav a.active { color: #07100d; background: var(--accent); }
.nav-icon { width: 18px; text-align: center; font-size: 14px; }
.sidebar-footer { margin-top: auto; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.sidebar-footer strong { display: block; font-size: 12px; margin-bottom: 4px; }
.sidebar-footer p { font-size: 11px; line-height: 1.45; margin-bottom: 10px; }
.app-main { grid-column: 2; min-width: 0; }
.app-topbar { height: 72px; position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(7,16,13,.86); backdrop-filter: blur(16px); }
.app-topbar-left { display: flex; align-items: center; gap: 16px; }
.app-topbar-title strong { display: block; font-size: 14px; }
.app-topbar-title span { color: var(--muted); font-size: 11px; }
.search-trigger { min-width: 270px; min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.02); color: var(--muted); cursor: pointer; }
.search-trigger kbd { margin-left: auto; border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; color: var(--muted-2); font-size: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #07100d; background: var(--accent); font-size: 12px; font-weight: 900; }
.app-content { padding: 28px; }
.app-mobile-btn { display: none; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.page-heading h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.03; margin-bottom: 8px; }
.page-heading p { margin-bottom: 0; }

.dashboard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: rgba(16,31,25,.72); min-width: 0; }
.panel-pad { padding: 20px; }
.panel-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-header h2, .panel-header h3 { margin-bottom: 4px; font-size: 16px; letter-spacing: -.02em; }
.panel-header p { margin-bottom: 0; font-size: 11px; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }
.metric-card { padding: 18px; min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; }
.metric-label { color: var(--muted); font-size: 11px; font-weight: 740; }
.metric-value { font-size: 28px; font-weight: 900; letter-spacing: -.05em; }
.metric-sub { color: var(--muted); font-size: 11px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(183,255,138,.08); }
.score-ring { --score: 68; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--score) * 1%), rgba(255,255,255,.06) 0); position: relative; }
.score-ring::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--panel-solid); }
.score-ring strong { position: relative; z-index: 1; font-size: 17px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th { height: 42px; padding: 0 14px; text-align: left; color: var(--muted-2); font-size: 9px; text-transform: uppercase; letter-spacing: .11em; font-weight: 850; border-bottom: 1px solid var(--line); }
.data-table td { padding: 13px 14px; border-bottom: 1px solid rgba(183,255,209,.07); font-size: 12px; vertical-align: middle; }
.data-table tbody tr { transition: background .15s ease; cursor: pointer; }
.data-table tbody tr:hover { background: rgba(255,255,255,.022); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.rank-cell { display: flex; align-items: center; gap: 10px; }
.rank-number { width: 24px; color: var(--muted); font-weight: 800; }
.ticker-name { display: flex; align-items: center; gap: 10px; }
.ticker-badge { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(183,255,138,.07); border: 1px solid var(--line); color: var(--accent); font-size: 9px; font-weight: 900; }
.ticker-name strong { display: block; font-size: 12px; }
.ticker-name span { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.rank-up { color: var(--accent); font-weight: 800; }
.rank-down { color: var(--danger); font-weight: 800; }
.rank-flat { color: var(--muted); font-weight: 800; }
.score-chip { min-width: 38px; display: inline-flex; justify-content: center; padding: 5px 8px; border-radius: 8px; color: var(--accent); background: rgba(183,255,138,.07); font-weight: 850; }
.watch-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; border-radius: 8px; color: var(--muted); cursor: pointer; }
.watch-btn.active { color: var(--accent); border-color: rgba(183,255,138,.3); background: rgba(183,255,138,.06); }
.table-wrap { overflow-x: auto; }

.mini-list { display: grid; }
.mini-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mini-row:last-child { border-bottom: 0; }
.mini-rank { color: var(--muted); font-weight: 850; font-size: 12px; }
.mini-copy { min-width: 0; }
.mini-copy strong { display: block; font-size: 12px; }
.mini-copy span { color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; margin-top: 3px; }

.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.filter-control { min-height: 39px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: rgba(255,255,255,.02); padding: 0 12px; outline: none; }
.filter-control:focus { border-color: rgba(183,255,138,.45); }
.filter-control option { background: #102019; }
.filter-search { min-width: 230px; }

.mover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mover-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16,31,25,.72); cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.mover-card:hover { transform: translateY(-3px); border-color: rgba(183,255,138,.25); }
.mover-top { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.mover-symbol { font-size: 19px; font-weight: 900; letter-spacing: -.03em; }
.mover-name { color: var(--muted); font-size: 11px; margin-top: 3px; }
.mover-change { font-size: 25px; font-weight: 900; color: var(--accent); letter-spacing: -.04em; }
.mover-card.down .mover-change { color: var(--danger); }
.mover-card p { font-size: 12px; line-height: 1.55; min-height: 56px; }
.sparkline { width: 100%; height: 46px; }
.sparkline polyline { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mover-card.down .sparkline polyline { stroke: var(--danger); }

.ticker-hero { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 24px; }
.ticker-title { display: flex; align-items: center; gap: 16px; }
.ticker-title .ticker-badge { width: 56px; height: 56px; font-size: 13px; border-radius: 14px; }
.ticker-title h1 { font-size: 36px; margin-bottom: 4px; }
.ticker-title p { margin-bottom: 0; font-size: 12px; }
.big-score { display: flex; align-items: center; gap: 18px; }
.big-score-number { font-size: 56px; font-weight: 930; letter-spacing: -.07em; color: var(--accent); line-height: .9; }
.big-score-label { color: var(--muted); font-size: 11px; }
.driver-list { display: grid; gap: 18px; }
.driver-row { display: grid; grid-template-columns: 130px 1fr 44px 46px; align-items: center; gap: 12px; }
.driver-label { color: #c5d2cc; font-size: 12px; }
.driver-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.05); overflow: hidden; }
.driver-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.driver-value { text-align: right; font-weight: 850; font-size: 12px; }
.driver-delta { text-align: right; color: var(--accent); font-size: 11px; }
.driver-delta.negative { color: var(--danger); }
.bullet-list { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.bullet-list li { display: flex; align-items: start; gap: 10px; color: #c0cec7; font-size: 12px; line-height: 1.55; }
.bullet-list li::before { content: ''; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; margin-top: 6px; background: var(--accent); }
.bullet-list.risk li::before { background: var(--danger); }
.line-chart { min-height: 260px; padding: 18px 12px 8px; }
.line-chart svg { width: 100%; height: 240px; overflow: visible; }
.line-chart .grid-line { stroke: rgba(183,255,209,.08); stroke-width: 1; }
.line-chart .chart-line { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.line-chart .chart-area { fill: url(#chartGradient); }

.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sector-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.015); }
.sector-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.sector-rank { color: var(--muted); font-size: 11px; }
.sector-card h3 { font-size: 15px; margin: 6px 0 3px; }
.sector-state { color: var(--muted); font-size: 10px; }
.progress { height: 6px; background: rgba(255,255,255,.05); border-radius: 999px; margin-top: 18px; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }

.brief-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 18px; }
.brief-hero { padding: 32px; background: linear-gradient(135deg, rgba(183,255,138,.08), rgba(16,31,25,.7)); }
.brief-hero h2 { font-size: 36px; margin: 12px 0 14px; }
.brief-section { padding: 24px; }
.brief-section + .brief-section { border-top: 1px solid var(--line); }
.brief-section h3 { font-size: 16px; }
.insight-list { display: grid; gap: 10px; }
.insight { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.insight strong { display: block; font-size: 12px; }
.insight p { font-size: 11px; line-height: 1.5; margin: 5px 0 0; }

.empty-state { padding: 60px 24px; text-align: center; }
.empty-state-icon { width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 18px; color: var(--accent); background: rgba(183,255,138,.06); border: 1px solid var(--line); font-size: 22px; }
.empty-state h2 { font-size: 24px; }
.empty-state p { max-width: 480px; margin-inline: auto; }

/* pricing and forms */
.pricing-toggle { width: fit-content; margin: 28px auto 40px; padding: 5px; display: flex; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }
.pricing-toggle button { min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; font-size: 12px; }
.pricing-toggle button.active { color: #07100d; background: var(--accent); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.price-card { padding: 24px; display: flex; flex-direction: column; position: relative; }
.price-card.popular { border-color: rgba(183,255,138,.42); transform: translateY(-8px); }
.popular-label { position: absolute; top: -12px; left: 24px; padding: 5px 10px; border-radius: 999px; color: #07100d; background: var(--accent); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.price-card .eyebrow { font-size: 9px; }
.price-card h3 { margin: 18px 0 6px; font-size: 24px; }
.price-card p { font-size: 12px; min-height: 62px; }
.price { display: flex; align-items: end; gap: 5px; margin: 18px 0 24px; }
.price strong { font-size: 46px; letter-spacing: -.06em; line-height: .9; }
.price span { color: var(--muted); font-size: 11px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.feature-list li { color: #c4d1cb; font-size: 12px; display: flex; gap: 9px; line-height: 1.4; }
.feature-list li::before { content: '✓'; color: var(--accent); font-weight: 900; }
.price-card .btn { margin-top: auto; }

.form-page { min-height: 100vh; display: grid; grid-template-columns: .85fr 1.15fr; }
.form-aside { padding: 40px clamp(30px, 6vw, 80px); display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 30% 20%, rgba(183,255,138,.12), transparent 30rem), #0b1712; border-right: 1px solid var(--line); }
.form-aside-copy { max-width: 560px; margin: auto 0; }
.form-aside h1 { font-size: clamp(44px, 6vw, 76px); }
.form-aside h1 span { color: var(--accent); }
.form-main { display: grid; place-items: center; padding: 40px 22px; }
.form-card { width: min(100%, 480px); }
.form-card h2 { font-size: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #b9c7c0; font-size: 11px; font-weight: 740; }
.field input, .field select, .field textarea { width: 100%; min-height: 49px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: rgba(255,255,255,.025); outline: 0; }
.field textarea { min-height: 120px; padding-top: 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(183,255,138,.5); box-shadow: 0 0 0 3px rgba(183,255,138,.05); }
.checkbox-row { display: flex; align-items: start; gap: 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.checkbox-row input { accent-color: var(--accent); margin-top: 3px; }
.form-note { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: rgba(255,255,255,.018); font-size: 11px; line-height: 1.55; }
.plan-summary { padding: 18px; border: 1px solid rgba(183,255,138,.22); border-radius: 14px; background: rgba(183,255,138,.045); margin-bottom: 24px; }
.plan-summary strong { display: block; font-size: 16px; }
.plan-summary p { margin: 6px 0 0; font-size: 11px; }

.method-grid { display: grid; grid-template-columns: 320px 1fr; gap: 70px; }
.method-nav { position: sticky; top: 105px; height: fit-content; display: grid; gap: 6px; }
.method-nav a { padding: 11px 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.method-nav a:hover, .method-nav a.active { color: var(--accent); border-color: var(--accent); }
.method-content { display: grid; gap: 70px; }
.method-section { scroll-margin-top: 110px; }
.method-section h2 { font-size: 36px; }
.method-section h3 { margin-top: 28px; }
.callout { padding: 20px; border: 1px solid rgba(183,255,138,.22); border-radius: 14px; background: rgba(183,255,138,.045); }
.callout p { margin-bottom: 0; }

.comparison-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; font-size: 12px; }
.comparison-table th { color: var(--muted); background: rgba(255,255,255,.02); }
.comparison-table td:first-child { font-weight: 760; color: #cbd6d1; }
.comparison-table .yes { color: var(--accent); }
.comparison-table .no { color: var(--muted-2); }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: start center; padding-top: 90px; background: rgba(0,0,0,.66); backdrop-filter: blur(8px); }
.modal.open { display: grid; }
.search-modal-card { width: min(calc(100% - 30px), 640px); border: 1px solid var(--line-strong); border-radius: 16px; background: #0d1b16; box-shadow: var(--shadow); overflow: hidden; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 17px; }
.search-results { padding: 8px; max-height: 430px; overflow: auto; }
.search-result { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; cursor: pointer; }
.search-result:hover { background: rgba(255,255,255,.035); }
.search-result strong { font-size: 12px; }
.search-result span { color: var(--muted); font-size: 10px; }
.toast { position: fixed; z-index: 120; right: 24px; bottom: 24px; min-width: 260px; max-width: 380px; padding: 14px 16px; border: 1px solid rgba(183,255,138,.26); border-radius: 12px; color: #d9e6df; background: #102019; box-shadow: var(--shadow); transform: translateY(30px); opacity: 0; pointer-events: none; transition: .25s ease; font-size: 12px; }
.toast.show { transform: translateY(0); opacity: 1; }

.mobile-bottom-nav { display: none; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 820px; }
  .product-window { max-width: 820px; transform: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.popular { transform: none; }
  .dashboard-grid .span-3 { grid-column: span 6; }
  .dashboard-grid .span-4, .dashboard-grid .span-5, .dashboard-grid .span-7, .dashboard-grid .span-8 { grid-column: span 6; }
  .mover-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-nav, .site-actions .btn-ghost { display: none; }
  .menu-btn { display: grid; }
  .site-nav.open { position: fixed; inset: 74px 16px auto; display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #0d1b16; box-shadow: var(--shadow); }
  .site-nav.open a { padding: 14px; border-bottom: 1px solid var(--line); }
  .site-nav.open a:last-child { border: 0; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ritual, .split-panel, .method-grid { grid-template-columns: 1fr; }
  .ritual-sticky, .method-nav { position: static; }
  .split-visual { border-left: 0; border-top: 1px solid var(--line); min-height: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2; }
  .app-shell { display: block; }
  .app-sidebar { transform: translateX(-102%); transition: transform .22s ease; box-shadow: var(--shadow); }
  .app-sidebar.open { transform: translateX(0); }
  .app-main { grid-column: auto; }
  .app-mobile-btn { display: grid; }
  .search-trigger { min-width: 0; width: 44px; justify-content: center; padding: 0; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .form-page { grid-template-columns: 1fr; }
  .form-aside { min-height: 410px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brief-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .site-header-inner { min-height: 66px; }
  .hero { padding: 65px 0 64px; }
  .hero h1 { font-size: clamp(44px, 14vw, 68px); }
  .product-window { padding: 9px; border-radius: 18px; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-card.large { grid-row: auto; }
  .card-grid-4, .pricing-grid, .sector-grid, .mover-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
  .app-topbar { height: 64px; padding: 0 14px; }
  .app-topbar-title { display: none; }
  .app-content { padding: 18px 14px 88px; }
  .page-heading { align-items: start; flex-direction: column; gap: 16px; }
  .dashboard-grid { gap: 12px; }
  .dashboard-grid > [class*='span-'] { grid-column: span 12 !important; }
  .metric-card { min-height: 130px; }
  .ticker-hero { grid-template-columns: 1fr; }
  .big-score { padding-left: 72px; }
  .driver-row { grid-template-columns: 92px 1fr 35px; }
  .driver-delta { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-aside { padding: 28px 22px; min-height: 360px; }
  .form-aside h1 { font-size: 50px; }
  .mobile-bottom-nav { position: fixed; z-index: 45; inset: auto 0 0; display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); background: rgba(8,18,14,.96); backdrop-filter: blur(18px); padding: 7px 5px calc(7px + env(safe-area-inset-bottom)); }
  .mobile-bottom-nav a { min-height: 48px; display: grid; place-items: center; gap: 3px; color: var(--muted); font-size: 9px; }
  .mobile-bottom-nav a i { font-style: normal; font-size: 15px; }
  .mobile-bottom-nav a.active { color: var(--accent); }
  .toast { right: 14px; left: 14px; bottom: 82px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Prevent form layouts from expanding beyond narrow mobile viewports. */
.form-page, .form-aside, .form-main, .form-card, .form-aside-copy { min-width: 0; }
@media (max-width: 900px) {
  .form-page { grid-template-columns: minmax(0, 1fr); width: 100%; overflow-x: hidden; }
  .form-aside, .form-main { width: 100%; }
}
