/* ==========================================================================
   MFI Quant — Landing Stylesheet v3 (rebuild 2026-07-27)
   Concept: "The Analyst's Desk" — tokens, window-chrome, level lines, badges.
   Self-hosted IBM Plex Sans Arabic. No external requests.
   ========================================================================== */

/* ------------------------------------------------------------- fonts */
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex-arabic-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex-arabic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex-arabic-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex-arabic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/plex-arabic-600-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/plex-arabic-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/plex-arabic-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/plex-arabic-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------- tokens */
:root {
  --canvas: #04070d;
  --elev-1: #081421;
  --elev-2: #0c1c2e;
  --elev-3: #10243a;
  --line: #1b3048;
  --line-strong: #27435f;
  --text: #edf4fb;
  --text-2: #a9bcd2;
  --text-3: #7f93a9;
  --blue: #45b0ff;
  --blue-ink: #052338;
  --green: #39d98a;
  --gold: #e8bb59;
  --violet: #a78bfa;
  --red: #ff6b78;
  --font: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --shadow-deep: 0 24px 70px -18px rgba(0, 0, 0, 0.65);
  --wrap: 1200px;
}

/* ------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
s { color: var(--text-3); }
bdi, .num { unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ic {
  width: 22px; height: 22px; flex: none;
  stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; }

/* focus */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

/* skip link */
.skip {
  position: fixed; inset-block-start: -60px; inset-inline-start: 16px;
  z-index: 300; padding: 10px 18px; border-radius: 10px;
  background: var(--blue); color: var(--blue-ink); font-weight: 600;
  transition: inset-block-start 0.2s var(--ease);
}
.skip:focus-visible { inset-block-start: 12px; text-decoration: none; }

/* ------------------------------------------------------------- layout */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.wrap-narrow { max-width: 760px; }
.section { padding-block: clamp(64px, 9vw, 110px); position: relative; }
.band { background: var(--elev-1); border-block: 1px solid var(--line); }
.sec-head { max-width: 780px; margin-block-end: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.375rem); }
.sec-sub { color: var(--text-2); font-size: 1.06rem; }

.split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.split-prob { grid-template-columns: 5fr 7fr; }
.split-ws { grid-template-columns: 5fr 7fr; align-items: center; }
.split-trust { grid-template-columns: 7fr 5fr; }
.split-trust .split-main { order: 1; }
.split-trust .split-side { order: 2; }

/* ------------------------------------------------------------- nav */
.nav {
  position: sticky; inset-block-start: 0; z-index: 100;
  background: rgba(4, 7, 13, 0.75);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-block-end: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.nav.on { border-block-end-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name strong { font-size: 1.02rem; font-weight: 700; }
.brand-name small { color: var(--text-3); font-size: 0.72rem; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  color: var(--text-2); font-size: 0.95rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; min-height: 44px;
  display: inline-flex; align-items: center;
}
.nav-links a:hover { color: var(--text); background: var(--elev-2); text-decoration: none; }
.nav-links a[aria-current="true"] { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-links + .nav-actions { margin-inline-start: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding-block: 10px; padding-inline: 22px;
  border-radius: 10px; border: 1px solid transparent;
  font-size: 0.98rem; font-weight: 600; line-height: 1.4;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), filter 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--blue-ink); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--elev-2); transform: translateY(-1px); }
.btn-ghost { color: var(--blue); background: transparent; }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-lg { min-height: 52px; padding-inline: 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 500; text-underline-offset: 5px; }

/* menu button + drawer */
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  align-items: center; justify-content: center;
}
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(2, 4, 8, 0.6);
}
.drawer {
  position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 150;
  width: min(320px, 86vw); padding: 84px 22px 28px;
  background: var(--elev-1); border-inline-end: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 22px;
  transform: translateX(0);
}
.drawer[hidden] { display: none; }
html[dir="rtl"] .drawer { inset-inline-start: auto; inset-inline-end: 0; border-inline-end: 0; border-inline-start: 1px solid var(--line); }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a {
  color: var(--text); font-size: 1.1rem; font-weight: 500;
  padding: 13px 10px; border-block-end: 1px solid var(--line); min-height: 48px;
}
.drawer-links a:hover { color: var(--blue); text-decoration: none; }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-block-start: auto; }

/* ------------------------------------------------------------- hero */
.hero { position: relative; padding-block: clamp(56px, 8vw, 96px) clamp(64px, 9vw, 110px); overflow: clip; }
.hero-levels {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(69, 176, 255, 0.045) 0 1px, transparent 1px 64px);
}
.hero-levels::after {
  content: ""; position: absolute; inset-block-start: -20%; inset-inline-end: -10%;
  width: 60%; height: 90%;
  background: radial-gradient(ellipse at center, rgba(69, 176, 255, 0.09), transparent 65%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-size: 0.85rem; font-weight: 500;
  padding: 6px 14px; border: 1px solid rgba(69, 176, 255, 0.3); border-radius: 999px;
  background: rgba(69, 176, 255, 0.08); margin-block-end: 18px;
}
.hero h1 { font-size: clamp(2.25rem, 1.55rem + 3.2vw, 3.5rem); line-height: 1.35; margin-block-end: 18px; }
.lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem); line-height: 1.9; color: var(--text-2); max-width: 34em; }
.stance { color: var(--text-3); font-size: 0.95rem; border-inline-start: 3px solid var(--line-strong); padding-inline-start: 14px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-block: 26px 14px; }
.microcopy { color: var(--text-3); font-size: 0.88rem; max-width: 40em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; color: var(--text-2); font-size: 0.92rem; font-weight: 500; margin-block-start: 18px; }
.hero-facts i { color: var(--line-strong); font-style: normal; }

/* ------------------------------------------------------------- window chrome + mock */
.window-card {
  background: var(--elev-1); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-deep); overflow: hidden;
}
.wc-bar {
  display: flex; align-items: center; gap: 10px;
  padding-block: 10px; padding-inline: 14px; min-height: 40px;
  border-block-end: 1px solid var(--line); background: var(--elev-2);
}
.wc-title { font-size: 13px; font-weight: 500; color: var(--text-2); }
.wc-dots { display: inline-flex; gap: 5px; margin-inline-start: auto; }
.wc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }

.hero-mock { position: relative; }
.mock { max-width: 640px; margin-inline: auto; }
.mock-tabs { display: flex; gap: 4px; padding: 8px 12px 0; border-block-end: 1px solid var(--line); }
.mock-tab {
  font-size: 12.5px; color: var(--text-3); font-weight: 500;
  padding: 8px 14px 10px; border-start-start-radius: 8px; border-start-end-radius: 8px;
  border-block-start: 2px solid transparent;
}
.mock-tab.is-active { color: var(--text); background: var(--elev-2); border-block-start-color: var(--blue); }
.mock-tab-add { color: var(--text-3); }
.mock-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; padding: 12px; }
.mock-panel {
  background: var(--elev-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; position: relative; min-width: 0;
}
.mp-title { font-size: 13px; font-weight: 600; color: var(--text-2); margin: 0 0 8px; display: flex; align-items: center; gap: 7px; }
.mp-title .ic { width: 15px; height: 15px; }
.ic-ai { color: var(--violet); }
.mock-chart { grid-column: span 8; grid-row: span 2; }
.mock-chart svg { display: block; width: 100%; height: auto; }
.mock-gex { grid-column: span 4; }
.mock-gex svg { display: block; width: 100%; height: auto; }
.mock-ai { grid-column: span 4; }
.mock-book { grid-column: span 8; }
.mock-book svg { display: block; width: 100%; height: auto; }
.mock-stats { grid-column: span 4; }
.mock-stat-row { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-3); }
.mock-stat-row b { color: var(--text); font-weight: 600; margin-inline-start: 4px; }
.mock-stat-row .up { color: var(--green); }
.bubble { font-size: 12px; line-height: 1.7; padding: 8px 11px; border-radius: 10px; margin: 0 0 8px; max-width: 95%; }
.bubble-user { background: var(--elev-3); color: var(--text); margin-inline-start: auto; border-end-end-radius: 3px; }
.bubble-ai { background: rgba(167, 139, 250, 0.1); border: 1px solid rgba(167, 139, 250, 0.28); color: var(--text-2); border-end-start-radius: 3px; margin-block-end: 0; }
.lvl-tag {
  position: absolute; inset-inline-end: 10px;
  font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 6px;
  background: rgba(4, 7, 13, 0.85); border: 1px solid var(--line-strong); color: var(--text-2);
}
.lvl-tag-a { inset-block-start: 34px; color: var(--green); }
.lvl-tag-b { inset-block-start: 56%; color: var(--red); }
.lvl-pulse { animation: lvlPulse 3s ease-in-out infinite alternate; }
@keyframes lvlPulse { from { stroke-opacity: 0.35; } to { stroke-opacity: 1; } }
.mock-float {
  position: absolute; z-index: 2;
  font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: var(--elev-2); border: 1px solid var(--line-strong); color: var(--text);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  animation: floaty 5s ease-in-out infinite alternate;
}
.mock-float-a { inset-block-start: -14px; inset-inline-start: -8px; color: var(--green); }
.mock-float-b { inset-block-end: 40px; inset-inline-end: -10px; color: var(--blue); animation-delay: 1.2s; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.mock-caption { text-align: center; color: var(--text-2); font-size: 0.92rem; margin-block-start: 16px; }

/* ------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; line-height: 1.2;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
  background: rgba(69, 176, 255, 0.09); border: 1px solid rgba(69, 176, 255, 0.25); color: var(--blue);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.badge-live { background: rgba(57, 217, 138, 0.09); border-color: rgba(57, 217, 138, 0.28); color: var(--green); }
.badge-beta { background: rgba(167, 139, 250, 0.09); border-color: rgba(167, 139, 250, 0.28); color: var(--violet); }
.badge-free { background: rgba(69, 176, 255, 0.09); border-color: rgba(69, 176, 255, 0.25); color: var(--blue); }
.badge-premium { background: rgba(232, 187, 89, 0.09); border-color: rgba(232, 187, 89, 0.3); color: var(--gold); }
.badge-demo { background: rgba(127, 147, 169, 0.12); border-color: var(--line-strong); color: var(--text-2); font-size: 12px; margin-inline-start: 8px; }
.badge-key { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 18px; }

/* ------------------------------------------------------------- problem/solution */
.pain-list { display: flex; flex-direction: column; gap: 18px; margin-block-start: 22px; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; }
.pain-list .ic { color: var(--red); margin-block-start: 4px; }
.pain-list p { color: var(--text-2); margin: 0; }
.panel {
  background: var(--elev-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}
.solution-panel { height: 100%; }
.solution-text { font-size: 1.12rem; line-height: 1.95; margin-block-end: 20px; }
.before-after { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------- tools */
.tool-groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px) clamp(28px, 4vw, 56px); }
.tool-group h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); font-weight: 600; margin-block-end: 2px; }
.tg-sub { color: var(--text-3); font-size: 0.92rem; margin-block-end: 14px; }
.tool-list { border-block-start: 1px solid var(--line); }
.tool-row { padding-block: 16px; border-block-end: 1px solid var(--line); }
.tool-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block-end: 6px; }
.tool-name strong { font-size: 1.05rem; font-weight: 600; }
.tool-row p { color: var(--text-2); font-size: 0.96rem; margin: 0; }
.tools-note { color: var(--text-2); margin-block-start: 30px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }

/* ------------------------------------------------------------- workspace */
.ws-points { display: flex; flex-direction: column; gap: 16px; margin-block-start: 20px; }
.ws-points li { display: flex; gap: 13px; align-items: flex-start; }
.ws-points .ic { color: var(--blue); margin-block-start: 4px; }
.ws-points p { color: var(--text-2); margin: 0; }
.ws-summary { color: var(--text-3); font-size: 0.95rem; border-inline-start: 3px solid var(--line-strong); padding-inline-start: 14px; margin-block-start: 22px; }
.ws-demo { max-width: 620px; }
.ws-tabs { display: flex; gap: 4px; padding: 10px 12px 0; border-block-end: 1px solid var(--line); }
.ws-tab {
  font-size: 13.5px; font-weight: 500; color: var(--text-3);
  background: none; border: 0; border-block-start: 2px solid transparent;
  padding: 9px 14px 11px; border-start-start-radius: 8px; border-start-end-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.ws-tab:hover { color: var(--text); }
.ws-tab[aria-selected="true"] { color: var(--text); background: var(--elev-2); border-block-start-color: var(--blue); }
.ws-scenes { padding: 14px; display: grid; gap: 14px; }
html.js .ws-scene[hidden] { display: none; }
.ws-scene svg { display: block; width: 100%; height: auto; background: var(--elev-2); border: 1px solid var(--line); border-radius: 10px; }
.ws-scene-cap { color: var(--text-3); font-size: 0.88rem; margin: 10px 2px 0; }

/* ------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); counter-reset: step; position: relative; }
.step { position: relative; padding-block-start: 8px; }
.step-num {
  display: block; font-size: 3rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--line-strong);
  margin-block-end: 12px; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.2rem; font-weight: 600; }
.step p { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.step::after {
  content: ""; position: absolute; inset-block-start: 26px; inset-inline-start: calc(100% - 8px);
  width: 16px; height: 1px; background: var(--line-strong);
}
.step:last-child::after { display: none; }

/* ------------------------------------------------------------- use cases */
.uc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); }
.uc-col { border-block-start: 2px solid var(--blue); padding-block-start: 18px; }
.uc-col:nth-child(2) { border-block-start-color: var(--violet); }
.uc-col:nth-child(3) { border-block-start-color: var(--green); }
.uc-col h3 { font-size: 1.15rem; font-weight: 600; }
.uc-col p { color: var(--text-2); font-size: 0.97rem; margin: 0; }

/* ------------------------------------------------------------- compare table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: start; border-block-end: 1px solid var(--line); font-size: 0.97rem; }
.cmp-table thead th { background: var(--elev-2); font-size: 1rem; font-weight: 600; }
.cmp-table thead .cmp-premium { color: var(--gold); border-block-end: 2px solid var(--gold); }
.cmp-table tbody th { font-weight: 500; color: var(--text); }
.cmp-table tbody tr:hover { background: var(--elev-2); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-block-end: 0; }
.yes { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 500; font-size: 0.92rem; }
.yes .ic { width: 16px; height: 16px; }
.no { color: var(--text-3); font-size: 0.92rem; }
.cmp-note { color: var(--text-2); margin-block-start: 20px; max-width: 60em; }

/* ------------------------------------------------------------- pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-block-end: 26px; }
.price-card {
  position: relative; background: var(--elev-1); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.price-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-2); margin: 0; }
.price { font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.price span { font-size: 1rem; font-weight: 500; color: var(--text-2); }
.price s { font-size: 1.1rem; font-weight: 400; margin-inline-start: 8px; }
.price-eq { color: var(--text-3); font-size: 0.9rem; margin: 0 0 16px; }
.price-card .btn { margin-block-start: auto; }
.price-best { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-deep); }
.price-flag { position: absolute; inset-block-start: -13px; inset-inline-start: 18px; }
.price-truth {
  color: var(--text); font-weight: 500; text-align: center; max-width: 56em; margin-inline: auto;
  padding: 14px 20px; border: 1px dashed var(--line-strong); border-radius: 12px;
}
.pay-note { display: flex; gap: 16px; align-items: flex-start; margin-block-start: 26px; }
.pay-note .ic { color: var(--blue); margin-block-start: 5px; width: 26px; height: 26px; }
.pay-note h3 { font-size: 1.08rem; font-weight: 600; margin-block-end: 6px; }
.pay-note p { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.compliance-note { color: var(--text-3); font-size: 0.9rem; margin-block-start: 22px; max-width: 70em; }

/* ------------------------------------------------------------- trust */
.trust-list { display: flex; flex-direction: column; gap: 20px; margin-block-start: 22px; }
.trust-list li { display: flex; gap: 15px; align-items: flex-start; }
.trust-list .ic { color: var(--blue); margin-block-start: 5px; width: 24px; height: 24px; }
.trust-list h3 { font-size: 1.1rem; font-weight: 600; margin-block-end: 3px; }
.trust-list p { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.wontfind { position: sticky; inset-block-start: 96px; }
.wontfind h3 { font-size: 1.1rem; font-weight: 600; }
.wontfind p { color: var(--text-2); margin: 0; }

/* ------------------------------------------------------------- faq */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--elev-1); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; min-height: 44px; cursor: pointer;
  font-weight: 600; font-size: 1.02rem; list-style: none;
  transition: background 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--elev-2); }
.faq-item summary .ic { color: var(--text-3); transition: transform 0.25s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(180deg); color: var(--blue); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { color: var(--text-2); margin: 0; font-size: 0.97rem; }
.faq-a a { font-weight: 500; }

/* ------------------------------------------------------------- final cta */
.cta-final { position: relative; text-align: center; overflow: clip; }
.cta-level {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 49.8%, rgba(69, 176, 255, 0.18) 50%, transparent 50.4%),
    radial-gradient(ellipse 55% 75% at 50% 55%, rgba(69, 176, 255, 0.1), transparent 70%);
}
.cta-in { position: relative; max-width: 640px; }
.cta-in h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.6rem); }
.cta-in p { color: var(--text-2); font-size: 1.08rem; }
.cta-final .cta-row { justify-content: center; margin-block-start: 26px; }

/* ------------------------------------------------------------- footer */
.footer { background: var(--elev-1); border-block-start: 1px solid var(--line); padding-block-start: clamp(44px, 6vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: clamp(26px, 4vw, 48px); padding-block-end: 36px; }
.f-about p { color: var(--text-2); font-size: 0.95rem; max-width: 34em; margin-block-start: 14px; }
.f-col { display: flex; flex-direction: column; gap: 4px; }
.f-col h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-block-end: 10px; }
.f-col a { color: var(--text-2); font-size: 0.95rem; padding-block: 6px; min-height: 36px; display: inline-flex; align-items: center; }
.f-col a:hover { color: var(--blue); text-decoration: none; }
.footer-legal { border-block-start: 1px solid var(--line); padding-block: 22px 26px; }
.legal-full { color: var(--text-3); font-size: 0.85rem; line-height: 1.8; margin-block-end: 10px; }
.copy { color: var(--text-3); font-size: 0.85rem; margin: 0; }

/* ------------------------------------------------------------- reveal (JS-gated) */
html.js .reveal { opacity: 0; transform: translateY(14px); }
html.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-actions { margin-inline-start: auto; }
  .nav-actions .btn-ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: start; }
  .mock { max-width: 640px; margin-inline: auto; }
  .split, .split-prob, .split-ws, .split-trust { grid-template-columns: 1fr; }
  .split-trust .split-side { order: 0; }
  .wontfind { position: static; }
  .tool-groups { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .tool-groups { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step::after {
    inset-block-start: calc(100% + 5px); inset-inline-start: 18px;
    width: 1px; height: 16px;
  }
  .uc-cols { grid-template-columns: 1fr; }
  .mock-book { display: none; }
  .mock-chart { grid-column: span 12; }
  .mock-gex { grid-column: span 12; }
  .mock-ai { grid-column: span 12; }
  .mock-stats { grid-column: span 12; }
  .mock-stat-row { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .mock-float { display: none; }
  .price-grid { grid-template-columns: 1fr; }
  .cta-row .btn-lg { width: 100%; }
  .cta-row .text-link { margin-inline: auto; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: 7px; font-size: 0.87rem; }
  .badge-key { gap: 8px; }
}

/* ------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .lvl-pulse, .mock-float { animation: none; }
}
