/* ============================================================
   GUAC — Modern crypto-fintech design system
   Inspiration: Phantom, Coinbase, Linear, Vercel, Pionex
   ============================================================ */

:root {
  /* canvas — darker, minimalist */
  --bg: #050605;
  --bg-2: #0B0D0A;
  --bg-3: #121511;
  --bg-4: #1B1F17;

  /* text */
  --text: #ECEDE3;
  --text-2: #B8BAAC;
  --text-3: #86897C;
  --text-4: #43463D;

  /* brand */
  --lime: #C8FF3D;
  --lime-2: #B6F232;
  --lime-glow: rgba(200, 255, 61, 0.35);
  --lime-tint: rgba(200, 255, 61, 0.08);
  --lime-dim: #4A6212;
  --olive: #2A3416;

  /* signals */
  --green: #7CE85F;
  --green-2: #45B028;
  --red: #FF5E47;
  --red-2: #D43E2A;
  --amber: #FFB347;
  --blue: #5DB5FF;
  --purple: #B47BFF;

  /* surfaces */
  --line: rgba(244, 245, 238, 0.08);
  --line-2: rgba(244, 245, 238, 0.16);
  --line-bright: rgba(244, 245, 238, 0.28);

  /* spacing 4px scale */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10: 128px; --s11: 160px;

  /* radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-full: 999px;

  /* typography */
  --sans: 'Satoshi', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* layout */
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 48px);

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 40px 100px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--line);
  --shadow-glow: 0 0 40px var(--lime-glow);
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* ambient glow */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(200, 255, 61, 0.06), transparent 60%),
    radial-gradient(ellipse 80% 60% at 10% 30%, rgba(124, 232, 95, 0.025), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--lime); color: var(--bg); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime-glow);
}

h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text);
}

h1 {
  font-size: clamp(46px, 6.2vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h3 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h4 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h5 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gradient {
  background: linear-gradient(180deg, var(--lime) 0%, var(--green-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

p { color: var(--text-2); line-height: 1.55; }

.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 56ch;
  font-weight: 400;
}

.mono { font-family: var(--mono); }

/* ============================================================
   CONTAINERS
   ============================================================ */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: var(--s10) 0;
  z-index: 1;
}

.section-tight { padding: var(--s9) 0; }

/* Chaptering — alternating tone panels give the scroll rhythm */
.section.panel {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

/* Standardized section-head spacing (replaces scattered inline margins) */
.eyebrow + h2 { margin-top: var(--s4); }
h2 + .lead { margin-top: var(--s4); }

.section-head {
  max-width: 720px;
  margin-bottom: var(--s8);
}

.section-head .eyebrow { margin-bottom: var(--s4); }

.section-head h2 + p { margin-top: var(--s4); }

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   TICKER
   ============================================================ */

.ticker {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
}

.ticker-track {
  display: flex;
  gap: var(--s7);
  animation: ticker-scroll 60s linear infinite;
  white-space: nowrap;
  padding-left: var(--s7);
}

.ticker-item {
  font-family: var(--mono);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-weight: 500;
}

.ticker-item .sym { color: var(--text); font-weight: 600; }
.ticker-item .up { color: var(--green); }
.ticker-item .down { color: var(--red); }
.ticker-item::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--line-2);
  border-radius: 50%;
  margin-left: var(--s7);
}

@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 8, 0.78);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 28px;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.nav-link {
  font-size: 14px;
  color: var(--text-2);
  position: relative;
  padding: 8px 0;
  transition: color 0.18s ease;
  font-weight: 500;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover { color: var(--text); }

.nav-link.has-sub::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  opacity: 0.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-full);
  transition: all 0.18s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--lime);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 0 0 var(--lime-glow);
}

.btn-primary:hover {
  background: #D6FF5E;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--lime-glow), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-ghost {
  background: rgba(244, 245, 238, 0.04);
  border: 1px solid var(--line-2);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(244, 245, 238, 0.08);
  border-color: var(--line-bright);
}

.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
  transition: gap 0.18s ease;
}

.btn-link:hover { gap: 10px; }
.btn-link i { font-size: 11px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  height: 18px;
  justify-content: center;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.3s;
}

/* mega menu */
.mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s7) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 0.22s ease;
  box-shadow: var(--shadow-lg);
}

.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6);
}

.mega-col h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s4);
  font-weight: 500;
}

.mega-col ul { list-style: none; }
.mega-col li { margin-bottom: 6px; }

.mega-col a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.mega-col a:hover { background: var(--bg-3); color: var(--lime); }
.mega-col a.disabled { opacity: 0.35; pointer-events: none; }
.mega-col a i { width: 16px; font-size: 13px; color: var(--text-3); }
.mega-col a:hover i { color: var(--lime); }

.mega-feature {
  background: linear-gradient(135deg, rgba(200, 255, 61, 0.08), rgba(200, 255, 61, 0));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.mega-feature h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-transform: none;
  font-family: var(--sans);
  letter-spacing: -0.02em;
  margin: 0;
}

.mega-feature p { font-size: 13px; color: var(--text-2); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: var(--s9) 0 var(--s10);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--lime-tint), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s8);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(200, 255, 61, 0.08);
  border: 1px solid rgba(200, 255, 61, 0.18);
  border-radius: var(--r-full);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--lime);
  font-weight: 500;
  margin-bottom: var(--s5);
}

.hero-badge .pill {
  background: var(--lime);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-kicker { margin-bottom: var(--s5); }
.hero h1 { margin-bottom: var(--s5); font-weight: 900; letter-spacing: -0.045em; }

.hero .lead {
  margin-bottom: var(--s6);
  font-size: clamp(17px, 1.4vw, 20px);
}

.hero-cta {
  display: flex;
  gap: var(--s3);
  margin-bottom: var(--s7);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s3);
  color: var(--text-3);
  font-size: 13px;
  flex-wrap: wrap;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.hero-trust strong { color: var(--text); font-weight: 700; }
.hero-trust .sep { color: var(--text-4); }

.hero-trust .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--lime-tint);
  border: 1px solid rgba(200, 255, 61, 0.25);
  border-radius: var(--r-full);
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-trust .status-pill .dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot { 50% { opacity: 0.5; } }

/* hero stat strip below */
.hero-stat-strip {
  margin-top: var(--s9);
  padding: var(--s5) 0;
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
}

.hero-stat-strip .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-strip .n {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.hero-stat-strip .n .accent { color: var(--lime); }

.hero-stat-strip .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-transform: uppercase;
}

/* ============================================================
   HERO DASHBOARD MOCK — clean, no skew
   ============================================================ */

.dash {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-xl);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--line);
}

.dash-bar .lights { display: flex; gap: 5px; }
.dash-bar .lights span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-4);
}
.dash-bar .lights span:nth-child(1) { background: #FF5E47; }
.dash-bar .lights span:nth-child(2) { background: #FFB347; }
.dash-bar .lights span:nth-child(3) { background: #7CE85F; }

.dash-bar .url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-bar .url::before {
  content: '';
  width: 10px; height: 10px;
  border: 1.5px solid var(--text-3);
  border-radius: 2px;
  border-right: none;
  border-top: none;
  transform: scale(0.8);
}

.dash-bar .live {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.dash-bar .live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* portfolio header */
.dash-port {
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(200, 255, 61, 0.08), transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-port .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.dash-port .val {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.dash-port .val .change {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: -0.01em;
  background: rgba(124, 232, 95, 0.12);
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-family: var(--mono);
}

.dash-port .sparkline {
  width: 120px;
  height: 36px;
}

/* dash grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
}

.dash-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
}

.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dash-card-head h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.dash-card-head .tag {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--lime);
  background: var(--lime-tint);
  padding: 3px 7px;
  border-radius: var(--r-full);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.dash-card-head .tag.warm {
  color: var(--amber);
  background: rgba(255, 179, 71, 0.12);
}

/* sentiment bar */
.sentiment {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sentiment-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sentiment-value .v {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
}

.sentiment-value .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-transform: uppercase;
}

.sentiment-bar {
  height: 8px;
  background: var(--bg-3);
  border-radius: var(--r-full);
  overflow: hidden;
  position: relative;
  display: flex;
}

.sentiment-bar .seg {
  flex: 1;
  height: 100%;
  margin-right: 2px;
  background: var(--bg-4);
  border-radius: 2px;
  transition: background 0.5s ease;
}

.sentiment-bar .seg:last-child { margin-right: 0; }
.sentiment-bar .seg.on1 { background: var(--red); }
.sentiment-bar .seg.on2 { background: #FF9B47; }
.sentiment-bar .seg.on3 { background: var(--amber); }
.sentiment-bar .seg.on4 { background: #B6F232; }
.sentiment-bar .seg.on5 { background: var(--green); box-shadow: 0 0 8px rgba(124, 232, 95, 0.5); }

.sentiment-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-4);
}

/* signals list */
.signals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signal {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.signal:last-child { border: none; padding-bottom: 0; }

.signal .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
}

.signal .icon.eth { background: linear-gradient(135deg, #627EEA, #3C5BCC); color: white; }
.signal .icon.sol { background: linear-gradient(135deg, #9945FF, #14F195); color: white; }
.signal .icon.avax { background: linear-gradient(135deg, #E84142, #B73537); color: white; }
.signal .icon.ada { background: linear-gradient(135deg, #0033AD, #002280); color: white; }

.signal .pair {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.signal .act {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.signal .act.buy { background: rgba(124, 232, 95, 0.14); color: var(--green); }
.signal .act.sell { background: rgba(255, 94, 71, 0.14); color: var(--red); }

.signal .time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-4);
}

/* chart card */
.dash-chart {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
}

.dash-chart-svg {
  width: 100%;
  height: 90px;
  display: block;
}

.dash-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.mini-stat .l {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 3px;
}

.mini-stat .v {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mini-stat .v .d {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  margin-left: 4px;
  font-family: var(--mono);
}

/* float card */
.float-card {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--text);
  color: var(--bg);
  padding: 12px 14px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: float-bob 4s ease-in-out infinite;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-card .check {
  width: 32px;
  height: 32px;
  background: var(--green);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.float-card .text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bg);
}

.float-card .text span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(10, 12, 8, 0.65);
}

/* ============================================================
   PARTNERS / EXCHANGE STRIP
   ============================================================ */

.partners {
  padding: var(--s7) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.partners-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s5);
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--s8);
  animation: marquee-scroll 50s linear infinite;
  width: max-content;
  padding: 0 var(--s8);
}

.marquee-track img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(0.82) opacity(0.7);
  transition: filter 0.3s ease;
}

.marquee-track img:hover { filter: brightness(0) invert(1) opacity(1); }

@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  position: relative;
}

.how-step {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: all 0.3s ease;
}

.how-step:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  background: var(--bg-3);
}

.how-step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lime);
  font-weight: 600;
}

.how-step h3 { font-size: 26px; letter-spacing: -0.025em; }

.how-step p { font-size: 14.5px; }

.how-step .visual {
  margin-top: var(--s4);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s4);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   FEATURES BENTO
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: var(--s4);
}

.bento .cell {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bento .cell:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
  transform: translateY(-3px);
}

.bento .cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--lime-tint), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento .cell:hover::before { opacity: 1; }

.bento .cell > * { position: relative; z-index: 1; }

.bento .cell.lg { grid-column: span 3; grid-row: span 2; }
.bento .cell.md { grid-column: span 3; }
.bento .cell.sm { grid-column: span 2; }
.bento .cell.tall { grid-column: span 2; grid-row: span 2; }

.bento .icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.bento .cell h3 { font-size: 22px; letter-spacing: -0.025em; }
.bento .cell.lg h3 { font-size: 32px; }
.bento .cell p { font-size: 14px; line-height: 1.5; color: var(--text-2); }

.bento .visual {
  margin-top: auto;
  position: relative;
}

/* AI signal pulse for bento */
.ai-pulse {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-pulse .core {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 40px var(--lime-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-size: 20px;
  z-index: 2;
}

.ai-pulse .ring {
  position: absolute;
  border: 1px solid var(--lime);
  border-radius: 50%;
  animation: ring-pulse 3s ease-out infinite;
  opacity: 0;
}

.ai-pulse .ring:nth-child(1) { width: 80px; height: 80px; animation-delay: 0s; }
.ai-pulse .ring:nth-child(2) { width: 80px; height: 80px; animation-delay: 1s; }
.ai-pulse .ring:nth-child(3) { width: 80px; height: 80px; animation-delay: 2s; }

@keyframes ring-pulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.8); }
}

/* lock illustration */
.lock-shield {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lock-shield .shield {
  width: 70px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  border: 1px solid var(--lime);
  border-radius: 8px 8px 50% 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 26px;
  box-shadow: 0 8px 24px -4px var(--lime-glow);
}

/* candlestick visual */
.candles {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  justify-content: center;
}

.candle {
  width: 7px;
  position: relative;
}

.candle .body {
  width: 100%;
  background: var(--green);
  border-radius: 1px;
}

.candle.r .body { background: var(--red); }

.candle .wick {
  position: absolute;
  left: 50%;
  width: 1px;
  background: currentColor;
  transform: translateX(-50%);
  color: var(--green);
}

.candle.r .wick { color: var(--red); }

/* ============================================================
   LIVE FEED SECTION
   ============================================================ */

.live-feed {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  max-height: 440px;
  overflow: hidden;
  position: relative;
}

.live-feed::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--bg-2));
  pointer-events: none;
}

.live-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}

.live-feed-head h4 { font-size: 16px; letter-spacing: -0.01em; }

.feed-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--s3);
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.feed-row:last-child { border: none; }

.feed-row .coin {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  color: var(--text);
  flex-shrink: 0;
}

.feed-row .info .pair {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.feed-row .info .meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
}

.feed-row .price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  text-align: right;
}

.feed-row .pl {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-full);
  text-align: right;
  min-width: 70px;
}

.feed-row .pl.up { background: rgba(124, 232, 95, 0.12); color: var(--green); }
.feed-row .pl.down { background: rgba(255, 94, 71, 0.12); color: var(--red); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.compare-col {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.compare-col.featured {
  border-color: var(--lime);
  background: linear-gradient(180deg, rgba(200, 255, 61, 0.06), var(--bg-2));
  position: relative;
  box-shadow: 0 0 0 1px var(--lime), var(--shadow-glow);
}

.compare-col h4 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-col.featured h4 .badge {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--lime);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.compare-col p { font-size: 13.5px; color: var(--text-3); }

.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: var(--s2); }

.compare-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
}

.compare-col ul li i.fa-check { color: var(--green); margin-top: 4px; font-size: 11px; }
.compare-col ul li i.fa-xmark { color: var(--red); margin-top: 4px; font-size: 11px; }
.compare-col ul li i.fa-minus { color: var(--text-4); margin-top: 4px; font-size: 11px; }

/* ============================================================
   SKILL LEVELS (kept, refined)
   ============================================================ */

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.skill-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.skill-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.skill-card:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--bg-3); }
.skill-card:hover::after { transform: scaleX(1); }

.skill-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-card .level {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.skill-card .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.skill-card h3 { font-size: 28px; }
.skill-card .tag { font-size: 14px; color: var(--text-3); }

.skill-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.skill-card ul li {
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
}

.skill-card ul li::before {
  content: '✓';
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 12px;
}

.skill-card .btn { margin-top: auto; align-self: start; }

/* ============================================================
   ROADMAP
   ============================================================ */

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}

.phase {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: relative;
  transition: 0.3s;
}

.phase:hover { border-color: var(--line-2); background: var(--bg-3); }

.phase.done { border-color: rgba(124, 232, 95, 0.3); }
.phase.now { border-color: rgba(255, 179, 71, 0.4); background: linear-gradient(180deg, rgba(255, 179, 71, 0.04), var(--bg-2)); }

.phase-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phase-meta .q { color: var(--text-3); }

.phase-meta .status { font-weight: 600; }
.phase.done .phase-meta .status { color: var(--green); }
.phase.now .phase-meta .status { color: var(--amber); }
.phase.future .phase-meta .status { color: var(--text-3); }
.phase.later .phase-meta .status { color: var(--text-4); }

.phase h3 { font-size: 22px; letter-spacing: -0.025em; }

.phase > p {
  font-size: 13.5px;
  color: var(--text-3);
}

.phase-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}

.phase-item h6 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phase-item .pct {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--lime);
  font-weight: 500;
}

.phase-item p { font-size: 12px; line-height: 1.45; margin-bottom: 6px; color: var(--text-3); }

.phase-item .pbar {
  height: 3px;
  background: var(--bg-3);
  border-radius: var(--r-full);
  overflow: hidden;
}

.phase-item .pbar i { display: block; height: 100%; background: var(--lime); border-radius: var(--r-full); }

/* ============================================================
   PRICING
   ============================================================ */

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 4px;
  margin: 0 auto var(--s7);
}

.pricing-toggle button {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--r-full);
  color: var(--text-3);
  transition: 0.2s;
  letter-spacing: -0.005em;
  font-family: inherit;
}

.pricing-toggle button.active { background: var(--lime); color: var(--bg); }

.pricing-toggle .save {
  font-family: var(--mono);
  font-size: 10px;
  background: rgba(200, 255, 61, 0.15);
  color: var(--lime);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.pricing-toggle button.active .save { background: rgba(10, 12, 8, 0.18); color: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}

.plan {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  position: relative;
  transition: all 0.3s ease;
}

.plan:hover { border-color: var(--line-2); transform: translateY(-4px); }

.plan.popular {
  border-color: var(--lime);
  background: linear-gradient(180deg, rgba(200, 255, 61, 0.06), var(--bg-2));
  box-shadow: var(--shadow-glow);
}

.plan .badge {
  position: absolute;
  top: -10px;
  right: var(--s5);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-weight: 700;
}

.plan.free .badge { background: var(--text); color: var(--bg); }

.plan h4 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan .price .v {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.plan .price .per {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.plan > p { font-size: 13.5px; color: var(--text-3); }

.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}

.plan ul li {
  font-size: 13.5px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.plan ul li i { color: var(--lime); font-size: 11px; margin-top: 4px; flex-shrink: 0; }

.plan .btn { margin-top: auto; justify-content: center; }

.guarantee {
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: var(--s6);
  letter-spacing: 0.04em;
}

.guarantee i { color: var(--lime); margin-right: 6px; }

/* ============================================================
   TESTIMONIAL CARDS (replaced testimonial slider)
   ============================================================ */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.testi-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.testi-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.testi-card .stars { color: var(--lime); display: flex; gap: 2px; font-size: 13px; }

.testi-by {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}

.testi-by .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--green-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg);
  font-size: 14px;
}

.testi-by .av.b { background: linear-gradient(135deg, #5DB5FF, #4A90E2); color: white; }
.testi-by .av.c { background: linear-gradient(135deg, #B47BFF, #8B5FBF); color: white; }

.testi-by div strong { font-size: 13.5px; font-weight: 600; display: block; color: var(--text); }
.testi-by div span { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-block {
  position: relative;
  border-radius: var(--r-xl);
  padding: var(--s10) var(--s7);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--lime-tint), transparent 60%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-2);
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='rgba(244,245,238,0.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-block > * { position: relative; }

.cta-block h2 { font-size: clamp(36px, 5.5vw, 72px); margin-bottom: var(--s4); }

.cta-block p { font-size: 17px; color: var(--text-2); max-width: 50ch; margin: 0 auto var(--s6); }

.cta-block .cta-btns { display: inline-flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; }

/* ============================================================
   COMMUNITY
   ============================================================ */

.community {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.community-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s8);
  align-items: center;
}

.community h2 { margin-bottom: var(--s4); }
.community p { font-size: 17px; max-width: 50ch; margin-bottom: var(--s5); color: var(--text-2); }

.community-points {
  display: flex;
  gap: var(--s5);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}

.community-points .pt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
}

.community-points .pt i { color: var(--lime); }

.discord-card {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: var(--s5);
}

.discord-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}

.discord-card .head h5 {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-card .head h5 i { color: var(--lime); }

.discord-card .head .live {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.discord-card .head .live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.4s ease-in-out infinite;
}

.discord-msgs { display: flex; flex-direction: column; gap: var(--s3); }

.dmsg { display: flex; gap: 10px; }

.dmsg .av {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--green-2));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg);
  font-size: 13px;
}

.dmsg .b { flex: 1; }
.dmsg .b strong { font-size: 13px; color: var(--text); margin-right: 6px; font-weight: 600; }
.dmsg .b time { font-family: var(--mono); font-size: 10px; color: var(--text-4); }
.dmsg .b p { font-size: 13px; color: var(--text); margin-top: 2px; }

.team-badge {
  font-family: var(--mono);
  font-size: 9px;
  background: var(--lime);
  color: var(--bg);
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: var(--s9) 0 var(--s5);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: var(--s7);
  padding-bottom: var(--s7);
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
  margin: var(--s4) 0 var(--s5);
  max-width: 32ch;
}

.socials { display: flex; gap: var(--s2); }

.socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.2s ease;
}

.socials a:hover { background: var(--lime); color: var(--bg); border-color: var(--lime); transform: translateY(-2px); }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s4);
  font-weight: 500;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.18s ease;
  font-weight: 500;
}

.footer-col a:hover { color: var(--lime); }

.subscribe { display: flex; flex-direction: column; gap: var(--s3); }

.subscribe-form {
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  padding: 4px 4px 4px 16px;
}

.subscribe-form input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.subscribe-form input::placeholder { color: var(--text-4); }

.subscribe-form button {
  width: 34px; height: 34px;
  background: var(--lime);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s5);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.03em;
}

.footer-bottom ul { list-style: none; display: flex; gap: var(--s5); }
.footer-bottom a:hover { color: var(--lime); }

/* ============================================================
   SUBPAGE COMMON
   ============================================================ */

.subhero {
  padding: var(--s10) 0 var(--s8);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.subhero h1 {
  font-size: clamp(48px, 7vw, 88px);
  margin: var(--s4) 0 var(--s4);
}

.subhero .lead { font-size: 18px; max-width: 64ch; }

.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--lime); }
.crumbs span.sep { color: var(--text-4); }

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2, .prose h3 {
  margin-top: var(--s7);
  margin-bottom: var(--s4);
}

.prose h3 { color: var(--text); }

.prose p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: var(--s4);
  line-height: 1.65;
}

.prose ul { padding-left: var(--s5); margin-bottom: var(--s5); color: var(--text); }
.prose ul li { margin-bottom: 6px; }

.callout {
  border-left: 2px solid var(--lime);
  padding: var(--s4) var(--s5);
  background: var(--lime-tint);
  margin: var(--s5) 0;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.callout strong { color: var(--lime); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s4);
  margin: var(--s5) 0;
}

.info-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: all 0.3s ease;
}

.info-card:hover { border-color: var(--line-2); background: var(--bg-3); transform: translateY(-3px); }

.info-card .icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 4px;
}

.info-card h4 { font-size: 18px; font-weight: 600; }
.info-card p { font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* subpage tabs */
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 4px;
  margin-bottom: var(--s7);
  flex-wrap: wrap;
  width: max-content;
  max-width: 100%;
}

.tabs-nav button {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  border-radius: var(--r-full);
  transition: 0.2s;
  letter-spacing: -0.005em;
  font-family: inherit;
}

.tabs-nav button:hover { color: var(--text); }
.tabs-nav button.active { background: var(--lime); color: var(--bg); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade-in 0.5s ease; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* form */
.form-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s6); }

.form-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s6);
}

.form-field { margin-bottom: var(--s4); }

.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field textarea { resize: vertical; min-height: 140px; }

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--lime);
}

.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-4); }

/* FAQ */
.faq-search {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  padding: 4px 6px 4px var(--s4);
  margin-bottom: var(--s5);
}

.faq-search i { color: var(--text-3); margin-right: var(--s3); }

.faq-search input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 0;
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.faq-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--s6);
}

.faq-cats button {
  padding: 8px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  transition: 0.2s;
  letter-spacing: -0.005em;
  font-family: inherit;
}

.faq-cats button:hover { color: var(--text); border-color: var(--line-bright); }
.faq-cats button.active { background: var(--lime); color: var(--bg); border-color: var(--lime); }

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--s4) 0;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  padding: var(--s2) 0;
  letter-spacing: -0.015em;
}

.faq-q .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  flex-shrink: 0;
  width: 32px;
  font-weight: 500;
}

.faq-q .qtext { flex: 1; line-height: 1.3; }

.faq-q .toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-q .toggle { transform: rotate(45deg); background: var(--lime); color: var(--bg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-a { max-height: 1500px; }

.faq-a-inner {
  padding: var(--s3) 0 var(--s3) 40px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

/* exchange grid */
.exchange-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s4);
}

.exch-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: 0.3s;
}

.exch-card:hover { border-color: var(--line-2); background: var(--bg-3); transform: translateY(-3px); }

.exch-card .logo {
  height: 32px;
  display: flex;
  align-items: center;
}

.exch-card .logo img { height: 100%; width: auto; filter: brightness(0) invert(0.92); }

.exch-card h4 { font-size: 20px; font-weight: 600; }

.exch-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }

.exch-card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  background: var(--bg-3);
  color: var(--text-2);
  border-radius: 4px;
  font-weight: 500;
}

.exch-card p { font-size: 13.5px; line-height: 1.5; color: var(--text-3); }

.exch-card .btn-link { margin-top: auto; align-self: start; font-size: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid, .community-grid, .form-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento .cell.lg, .bento .cell.md, .bento .cell.sm, .bento .cell.tall { grid-column: span 2; grid-row: auto; min-height: 220px; }
  .how, .skill-grid, .pricing-grid, .roadmap, .compare-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-inner { grid-template-columns: 1fr 1fr; }
  .hero-stat-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --s10: 80px; --s9: 64px; --s8: 48px; }
  h1 { font-size: clamp(40px, 11vw, 64px); }
  h2 { font-size: clamp(30px, 8vw, 48px); }
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-stat-strip { grid-template-columns: 1fr 1fr; }
  .bento, .how, .skill-grid, .pricing-grid, .roadmap, .compare-grid, .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .footer-bottom { flex-direction: column; gap: var(--s3); text-align: center; }
  .float-card { left: 0; bottom: -10px; }
  .cta-block { padding: var(--s8) var(--s5); }
}

/* ===== Mobile full-screen menu (direct child of body, viewport-fixed) ===== */
.mobile-menu { display: none; }
body.nav-lock { overflow: hidden; }

.hamburger span { transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--bg);
    padding: calc(68px + var(--s6)) var(--gutter) var(--s7);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), visibility 0.28s;
  }
  .mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .mm-nav { display: flex; flex-direction: column; }
  .mm-nav a {
    font-size: clamp(24px, 7vw, 30px);
    font-weight: 700; letter-spacing: -0.025em;
    color: var(--text);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .mm-nav a:active { color: var(--lime); }
  .mm-cta { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s7); }
  .mm-cta .btn { width: 100%; justify-content: center; }
}

/* ===== Small-screen pass — down to 320px ===== */
@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { font-size: 11.5px; gap: var(--s2); }
  .dash-side { display: none; }
  .dash-shell { grid-template-columns: 1fr; min-height: 0; }
  .compare-table { font-size: 12px; }
  .compare-table thead th { font-size: 14px; padding: var(--s4) 8px; }
  .compare-table th, .compare-table td { padding: 12px 8px; }
  .compare-table tbody th { width: 38%; }
  .pricing-toggle { width: 100%; justify-content: center; }
  .news-magazine { gap: var(--s5); }
  .dc-features { gap: var(--s3) var(--s5); }
  .fs-copy h2 { font-size: clamp(30px, 9vw, 40px); }
  .footer-bottom ul { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 360px) {
  .g3 { grid-template-columns: 1fr; }
  .g3-tile.active, .g3-tile.add { grid-column: 1; }
  .fs-metrics { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .compare-table tbody th { font-size: 11.5px; }
  .marquee-track img { height: 22px; }
}

.hide-mobile { display: block; }
@media (max-width: 720px) { .hide-mobile { display: none; } }

/* ============================================================
   COMPAT LAYER — subpages built on prior token names
   ============================================================ */

:root {
  --ink: var(--bg);
  --ink-2: var(--bg-2);
  --ink-3: var(--bg-3);
  --paper: var(--text);
  --paper-dim: var(--text-2);
  --paper-mute: var(--text-3);
  --rule: var(--line);
  --rule-strong: var(--line-2);
  --rule-faint: var(--line);
  --olive-deep: var(--olive);
  --bear: var(--red);
  --bull: var(--green);
  --warn: var(--amber);
  --serif: var(--sans);
  --tint: var(--lime-tint);
}

/* .italic was serif-italic accent in v1 — now: gradient lime line break */
h1 .italic, h2 .italic, h3 .italic, h4 .italic {
  display: block;
  font-style: normal;
  font-weight: inherit;
  background: linear-gradient(180deg, var(--lime) 0%, var(--green-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* prose step lists in subpages — neutralize old serif/italic numbers */
.prose ol > li span[style*="font-style: italic"] {
  font-style: normal !important;
  font-family: var(--mono) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

.prose ol > li h4[style*="font-family: var(--serif)"],
.prose ol > li h4 {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

/* Section-head pattern from subpages — meta wrapper */
.section-head .meta { display: flex; flex-direction: column; gap: var(--s3); }
.section-head .meta + .lead { margin-top: var(--s4); }

/* Old form-card h4 with mono override — keep mono but ensure visible */
.form-card h4 { color: var(--text-3); }

/* support page hero italic in headline rendered as lime block */
.subhero h1 .italic { display: inline; }
@media (min-width: 720px) { .subhero h1 .italic { display: block; } }

/* CTA blocks inside subpages — kept gradient bg */
section.section > .container > div[style*="linear-gradient(135deg, var(--olive-deep)"] {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2)) !important;
  border-color: var(--line-2) !important;
}

/* exch-card .tag in old supported-exchanges page */
.exch-card .tag { background: var(--bg-3); color: var(--text-2); }

/* Old style: `style="font-style: italic;"` on h3 headings — neutralize */
.prose h3[style*="font-style: italic"],
h3[style*="font-style: italic"] {
  font-style: normal !important;
  color: var(--text) !important;
}

/* Old heading-on-light-bg pattern in support modal */
#successModal h3 { font-style: normal !important; }

/* Section heads grid layout from v1 — keep working without 2-col split */
.section-head { display: block; }
.section-head.center { text-align: center; }

/* ============================================================
   V3/V4 ADDITIONS — less-card layouts, news, docs
   ============================================================ */

:root {
  /* Discord brand color — used ONLY for Discord section */
  --discord: #5865F2;
  --discord-2: #4752C4;
  --discord-deep: #1A1F4D;
  /* Legacy purple aliases — kept null so no random purple bleeds through */
  --purple: var(--lime);
  --purple-2: var(--lime-2);
  --purple-deep: var(--olive);
  --purple-tint: var(--lime-tint);
}

/* Replace gradient text with confident solid lime — avoids AI gradient cliche */
.gradient {
  background: none;
  -webkit-text-fill-color: var(--lime);
  color: var(--lime);
  font-weight: inherit;
}

/* eyebrow.alt was random purple — neutralize to lime default */
.eyebrow.alt { color: var(--text-3); }
.eyebrow.alt .dot { background: var(--lime); }

/* ----- FLOW: numbered editorial steps (replaces how-step cards) ----- */

.flow {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.flow-step {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: var(--s7);
  padding: var(--s7) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.flow-step .step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  font-weight: 500;
  padding-top: 6px;
}

.flow-step .step-num strong {
  display: block;
  font-family: var(--sans);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: 0.9;
  margin-top: 6px;
}

.flow-step .step-body h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  margin-bottom: var(--s3);
  letter-spacing: -0.025em;
}

.flow-step .step-body p { font-size: 15px; color: var(--text-2); }

.flow-step .step-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.flow-step .ex-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 320px;
}

.flow-step .ex-stack .ex-tile {
  aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.flow-step .ex-stack .ex-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(0.9);
  opacity: 0.85;
}

.flow-step .ex-stack .ex-tile.more {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime);
  font-weight: 600;
  background: var(--bg);
}

.flow-step .strat-list { width: 100%; max-width: 320px; }

.flow-step .strat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.flow-step .strat-row.on { border-left: 2px solid var(--lime); padding-left: 12px; background: var(--lime-tint); }

.flow-step .strat-row .name { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
.flow-step .strat-row .name i.on { color: var(--lime); }
.flow-step .strat-row .name i.off { color: var(--text-4); }
.flow-step .strat-row .pct { font-family: var(--mono); font-size: 12px; color: var(--lime); font-weight: 600; }
.flow-step .strat-row.off .pct { color: var(--text-3); }
.flow-step .strat-row.off .name { color: var(--text-2); font-weight: 400; }

.flow-step .perf {
  width: 100%;
  max-width: 320px;
  padding: var(--s4);
  border-left: 2px solid var(--lime);
  background: var(--lime-tint);
  border-radius: 0 6px 6px 0;
}

.flow-step .perf .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.flow-step .perf .amt {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lime);
}

/* ----- FEATURES SPLIT (replaces bento) ----- */

.feat-headline {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s8);
  padding-bottom: var(--s8);
  border-bottom: 1px solid var(--line);
  align-items: end;
}

.feat-headline h3 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.feat-headline p { font-size: 16px; color: var(--text-2); }

.feat-rows {
  display: flex;
  flex-direction: column;
}

.feat-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr;
  gap: var(--s6);
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.feat-row:last-child { border-bottom: none; }

.feat-row .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.feat-row .title {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.feat-row .title i {
  font-size: 18px;
  color: var(--lime);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-row h4 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.feat-row p { font-size: 14.5px; color: var(--text-2); }

/* accent row neutralized to lime */
.feat-row.accent .title i { color: var(--lime); }
.feat-row.accent .num { color: var(--lime); }

/* ----- COMPARE TABLE (replaces 3-card compare) ----- */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-table th, .compare-table td {
  text-align: left;
  padding: var(--s4) var(--s4);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: middle;
}

.compare-table thead th {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--text);
  padding-top: var(--s5);
  padding-bottom: var(--s5);
}

.compare-table thead th.featured {
  background: var(--lime-tint);
  color: var(--lime);
  position: relative;
}

.compare-table thead th.featured .b {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--lime);
  color: var(--bg);
  padding: 2px 7px;
  border-radius: var(--r-full);
  margin-left: 8px;
  letter-spacing: 0.06em;
  font-weight: 700;
  vertical-align: middle;
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--text-2);
  font-size: 14px;
  width: 32%;
}

.compare-table tbody td { color: var(--text-2); }
.compare-table tbody td.featured {
  background: var(--lime-tint);
  color: var(--text);
  font-weight: 500;
  border-left: 1px solid rgba(200, 255, 61, 0.2);
  border-right: 1px solid rgba(200, 255, 61, 0.2);
}
.compare-table thead th.featured { border-left: 1px solid rgba(200, 255, 61, 0.2); border-right: 1px solid rgba(200, 255, 61, 0.2); }
.compare-table tbody tr:last-child td.featured { border-bottom: 1px solid rgba(200, 255, 61, 0.2); }

.compare-table i.fa-check { color: var(--lime); font-size: 14px; }
.compare-table i.fa-xmark { color: var(--text-4); font-size: 14px; }
.compare-table i.fa-minus { color: var(--text-4); font-size: 12px; }
.compare-table td.featured i.fa-check { color: var(--lime); }

/* ----- INLINE QUOTES (replaces testimonial cards) ----- */

.quotes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s7);
  padding: var(--s5) 0;
}

.q-block {
  border-left: 2px solid var(--line);
  padding: 4px 0 4px var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.q-block:first-child { border-left-color: var(--lime); }

.q-block .q-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.q-block .q-text::before {
  content: '"';
  font-family: var(--sans);
  font-size: 36px;
  color: var(--lime);
  line-height: 0;
  position: relative;
  top: 12px;
  margin-right: 4px;
  font-weight: 800;
}

.q-block .q-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.q-block .q-by strong { color: var(--text); font-weight: 600; font-family: var(--sans); font-size: 13px; }

/* second quote variant — keep lime stripe */
.q-block.alt { border-left-color: var(--lime); }
.q-block.alt .q-text::before { color: var(--lime); }

/* ----- NEWS MAGAZINE LAYOUT ----- */

.news-magazine {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s8);
  align-items: start;
}

.news-feature {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.news-feature .news-img {
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}

.news-feature .news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-feature:hover .news-img img { transform: scale(1.03); }

.news-feature .news-meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.news-feature .news-meta .cat {
  color: var(--lime);
  font-weight: 600;
}

.news-feature h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.news-feature:hover h3 { color: var(--lime); }
.news-feature h3 { transition: color 0.25s ease; }

.news-feature p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--s4);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: 0.2s;
  position: relative;
}

.news-row::after {
  content: '→';
  font-size: 18px;
  color: var(--text-4);
  align-self: center;
  transition: 0.2s;
}

.news-row:hover .news-row-title { color: var(--lime); }
.news-row:hover::after { color: var(--lime); transform: translateX(4px); }

.news-row .news-row-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 4px;
}

.news-row .news-row-meta .cat {
  display: block;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 4px;
}

.news-row .news-row-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
  transition: color 0.2s ease;
}

.news-row .news-row-excerpt {
  font-size: 13.5px;
  color: var(--text-3);
  margin-top: 6px;
  line-height: 1.45;
}

/* ----- SKILL LEVELS — horizontal rows ----- */

.levels {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.level-row {
  display: grid;
  grid-template-columns: 100px 1fr 1.2fr auto;
  gap: var(--s5);
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.level-row .lvl {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lime);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.level-row .lvl strong {
  display: block;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  margin-top: 4px;
}

.level-row h3 {
  font-size: 28px;
  letter-spacing: -0.025em;
}

.level-row h3 + .tag {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 4px;
}

.level-row .perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.level-row .perks li {
  font-size: 13.5px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  list-style: none;
}

.level-row .perks li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.level-row.alt .lvl { color: var(--lime); }
.level-row.alt .perks li::before { background: var(--lime); }

/* ----- ROADMAP — horizontal timeline ----- */

.timeline {
  position: relative;
  padding: var(--s5) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 24px;
  height: 1px;
  background: var(--line);
}

.timeline::after {
  content: '';
  position: absolute;
  left: 0; top: 24px;
  height: 1px;
  background: var(--lime);
  width: 38%;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  position: relative;
}

.tl-phase {
  padding-top: var(--s7);
  position: relative;
}

.tl-phase::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-bright);
  z-index: 1;
}

.tl-phase.done::before { background: var(--lime); border-color: var(--lime); }
.tl-phase.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.18); }
.tl-phase.next::before { background: var(--bg); border-color: var(--lime); }

.tl-phase .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}

.tl-phase .meta .q { color: var(--text-3); }
.tl-phase .meta .s { color: var(--text-3); font-weight: 600; }
.tl-phase.done .meta .s { color: var(--lime); }
.tl-phase.now .meta .s { color: var(--amber); }
.tl-phase.next .meta .s { color: var(--lime); }

.tl-phase h3 {
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-bottom: var(--s2);
}

.tl-phase > p { font-size: 13.5px; color: var(--text-3); margin-bottom: var(--s4); }

.tl-items { display: flex; flex-direction: column; gap: var(--s3); }

.tl-item {
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
}

.tl-item h6 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tl-item .pct { font-family: var(--mono); font-size: 11px; color: var(--lime); }
.tl-item .pbar { height: 2px; background: var(--bg-3); border-radius: var(--r-full); overflow: hidden; margin-top: 6px; }
.tl-item .pbar i { display: block; height: 100%; background: var(--lime); }

/* ----- LIVE FEED — terminal feel, less card ----- */

.live-feed {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.live-feed-head {
  background: var(--bg-2);
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.live-feed .feed-row {
  padding: var(--s4) var(--s5);
}

.live-feed::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* ----- STATS BAND — full-bleed minimal ----- */

.stats-band {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: var(--s7) 0;
}

.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-band-grid .stat {
  border-right: 1px solid var(--line);
  padding: 0 var(--s5);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats-band-grid .stat:last-child { border-right: none; }

.stats-band-grid .stat:first-child { padding-left: 0; }

.stats-band-grid .stat .n {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1;
}

.stats-band-grid .stat .n .acc { color: var(--lime); }

.stats-band-grid .stat .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}

/* ----- CTA STRIP — thin, full-bleed, less block ----- */

.cta-strip {
  border-block: 1px solid var(--lime);
  background: linear-gradient(90deg, var(--bg-2) 0%, var(--olive) 100%);
  padding: var(--s7) 0;
}

.cta-strip-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--s6);
  align-items: center;
}

.cta-strip h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-strip .cta-strip-actions {
  display: flex;
  gap: var(--s3);
  flex-shrink: 0;
}

/* hero-badge — removed per design feedback */

/* ============================================================
   TUTORIAL / DOCS PAGE LAYOUT
   ============================================================ */

.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 200px;
  gap: var(--s7);
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: 110px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doc-toc h6 {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-4);
  margin-bottom: var(--s4);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.doc-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.doc-toc a {
  display: block;
  padding: 8px 12px;
  border-left: 1px solid var(--line);
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: 0.2s;
}

.doc-toc a:hover { color: var(--text); border-left-color: var(--text-2); }
.doc-toc a.active { color: var(--lime); border-left-color: var(--lime); background: var(--lime-tint); }

.doc-meta {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  font-size: 12px;
}

.doc-meta .row { display: flex; flex-direction: column; gap: 4px; }

.doc-meta .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
}

.doc-meta .val { color: var(--text); font-weight: 500; font-size: 13px; }

.doc-body { max-width: none; }

.doc-body h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  margin-top: var(--s8);
  margin-bottom: var(--s5);
  letter-spacing: -0.03em;
  scroll-margin-top: 100px;
}

.doc-body h2:first-child { margin-top: 0; }

.doc-body h3 {
  font-size: clamp(22px, 2vw, 28px);
  margin-top: var(--s7);
  margin-bottom: var(--s4);
  font-weight: 700;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}

.doc-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: var(--s5);
  margin-bottom: var(--s3);
  color: var(--text);
}

.doc-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: var(--s4);
  max-width: 68ch;
}

.doc-body p strong { color: var(--text); font-weight: 600; }

.doc-body > p.lead-doc {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: var(--s6);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
  max-width: 64ch;
}

.doc-body ul, .doc-body ol {
  padding-left: 0;
  list-style: none;
  margin-bottom: var(--s5);
  max-width: 64ch;
}

.doc-body ul li, .doc-body ol li {
  font-size: 15.5px;
  color: var(--text-2);
  padding: 8px 0 8px 22px;
  position: relative;
  line-height: 1.6;
}

.doc-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}

.doc-body ol { counter-reset: doc-ol; }
.doc-body ol li {
  counter-increment: doc-ol;
  padding-left: 36px;
}
.doc-body ol li::before {
  content: counter(doc-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lime);
  font-weight: 600;
}

.doc-body ul li strong, .doc-body ol li strong { color: var(--text); font-weight: 600; }

/* doc callout — solid stripe, no card */
.doc-callout {
  margin: var(--s5) 0;
  padding: var(--s4) var(--s5);
  border-left: 3px solid var(--lime);
  background: var(--lime-tint);
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.doc-callout strong { color: var(--lime); }
.doc-callout.warn { border-left-color: var(--amber); background: rgba(255, 179, 71, 0.06); }
.doc-callout.warn strong { color: var(--amber); }
.doc-callout.purple { border-left-color: var(--amber); background: rgba(255, 179, 71, 0.05); }
.doc-callout.purple strong { color: var(--amber); }

.doc-callout-title {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 6px;
}

.doc-callout.warn .doc-callout-title { color: var(--amber); }
.doc-callout.purple .doc-callout-title { color: var(--amber); }

/* doc table */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.doc-table th, .doc-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.doc-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  background: var(--bg-2);
}

.doc-table td { color: var(--text-2); }
.doc-table td strong { color: var(--text); font-weight: 600; }

/* doc code block */
.doc-code {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  margin: var(--s5) 0;
  overflow: hidden;
}

.doc-code .code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--text-3);
}

.doc-code pre {
  padding: var(--s4);
  overflow-x: auto;
  margin: 0;
}

/* doc chapter intro */
.doc-chapter {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s6);
}

.doc-chapter .ch-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}

.doc-chapter .ch-num strong {
  display: block;
  font-family: var(--sans);
  font-size: 64px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.doc-chapter h1 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

/* doc chapter nav (prev/next) */
.doc-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin-top: var(--s8);
  padding-top: var(--s6);
  border-top: 1px solid var(--line);
}

.doc-nav a {
  border: 1px solid var(--line);
  padding: var(--s4);
  border-radius: var(--r-md);
  transition: 0.2s;
}

.doc-nav a:hover { border-color: var(--line-2); background: var(--bg-2); }

.doc-nav a span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 4px;
}

.doc-nav a strong { font-size: 16px; color: var(--text); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.doc-nav a.next strong { justify-content: flex-end; }
.doc-nav a.next { text-align: right; }

/* doc chapter card list */
.doc-chapter-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.doc-ch-link {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--s4);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: 0.2s;
}

.doc-ch-link:hover .doc-ch-title { color: var(--lime); }

.doc-ch-link .num {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.doc-ch-link .doc-ch-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.2s;
  margin-bottom: 4px;
}

.doc-ch-link .doc-ch-desc {
  font-size: 13px;
  color: var(--text-3);
}

.doc-ch-link .arrow {
  font-size: 18px;
  color: var(--text-3);
  transition: 0.2s;
}

.doc-ch-link:hover .arrow { color: var(--lime); transform: translateX(4px); }

/* doc diagram block — uses pure CSS, no images */
.doc-diagram {
  margin: var(--s5) 0;
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
}

.doc-diagram-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--s3);
  text-align: center;
}

/* responsive doc */
@media (max-width: 1024px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc, .doc-meta { position: static; }
  .doc-meta { order: -1; }
  .news-magazine { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 80px 1fr; }
  .flow-step .step-visual { display: none; }
  .feat-row, .level-row { grid-template-columns: 60px 1fr; gap: var(--s3); }
  .feat-row .title, .feat-row p { grid-column: 2; }
  .feat-row .num { grid-row: 1; grid-column: 1; }
  .level-row .perks { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .level-row .btn { grid-column: 1 / -1; }
  .timeline-grid { grid-template-columns: 1fr; }
  .timeline::before, .timeline::after { display: none; }
  .quotes-row { grid-template-columns: 1fr; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .stats-band-grid .stat { border-right: none; padding: 0; }
  .cta-strip-inner { grid-template-columns: 1fr; gap: var(--s4); }
  .feat-headline { grid-template-columns: 1fr; }
}


/* ============================================================
   V4 — distinct layouts for the 3 previously-similar sections
   + Discord brand-color section
   ============================================================ */

/* ===== HOW IT WORKS — vertical columns w/ visual-up ===== */

.how-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.how-col {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: var(--s5);
  position: relative;
}

.how-col::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--lime);
}

.how-col .visual {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s4);
  margin-bottom: var(--s4);
  height: 240px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.how-col .step-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: var(--s3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.how-col .step-meta .n {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.how-col h3 {
  font-size: clamp(22px, 2vw, 28px);
  margin-bottom: var(--s3);
  letter-spacing: -0.025em;
}

.how-col p {
  font-size: 14.5px;
  color: var(--text-2);
}

/* visual content variants */
/* Step 1 — secure connection diagram (distinct from Exchanges section) */
.how-col .conn {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  align-items: center;
}

.conn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  width: 100%;
}

.conn-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.conn-ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.conn-node.guac .conn-ic {
  border-color: rgba(200, 255, 61, 0.3);
  background: linear-gradient(180deg, rgba(200,255,61,0.06), var(--bg));
  padding: 11px;
}

.conn-node.guac .conn-ic img { width: 100%; height: 100%; object-fit: contain; }

.conn-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-transform: uppercase;
}

.conn-wire {
  position: relative;
  flex: 1;
  max-width: 110px;
  height: 2px;
  margin-bottom: 22px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}

.conn-lock {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--lime);
}

.conn-pulse {
  position: absolute;
  top: 50%; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  transform: translateY(-50%);
  animation: conn-travel 2.6s ease-in-out infinite;
}

@keyframes conn-travel {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.conn-perms {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  justify-content: center;
}

.conn-perms .cp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
}

.conn-perms .cp.ok { color: var(--green); background: rgba(124, 232, 95, 0.08); }
.conn-perms .cp.ok i { font-size: 9px; }
.conn-perms .cp.no { color: var(--text-3); background: transparent; }
.conn-perms .cp.no i { font-size: 9px; color: var(--red); }

.how-col .strat-rows { width: 100%; display: flex; flex-direction: column; gap: 4px; }

.how-col .strat-rows .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12.5px;
}

.how-col .strat-rows .row.on {
  border-color: var(--lime);
  background: var(--lime-tint);
}

.how-col .strat-rows .row .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.how-col .strat-rows .row.off .name { color: var(--text-2); font-weight: 400; }
.how-col .strat-rows .row.on .name i { color: var(--lime); }
.how-col .strat-rows .row.off .name i { color: var(--text-4); font-size: 10px; }

.how-col .strat-rows .row .pct {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--lime);
}

.how-col .strat-rows .row.off .pct { color: var(--text-3); }

.how-col .perf-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how-col .perf-block .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.how-col .perf-block .head .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.how-col .perf-block .head .amt {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--lime);
  font-weight: 700;
}

/* ===== FEATURES — hero feature + small grid ===== */

.feat-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s6);
  align-items: stretch;
}

.feat-hero {
  border-left: 1px solid var(--lime);
  padding: var(--s2) 0 var(--s2) var(--s7);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.feat-hero::before { display: none; }

.feat-hero > * { position: relative; }

.feat-hero .tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.1em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
}

.feat-hero .tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime-glow);
}

.feat-hero h3 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.feat-hero h3 .pct {
  display: block;
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--lime);
  line-height: 0.92;
  margin-bottom: 4px;
}

.feat-hero > p {
  font-size: 15.5px;
  color: var(--text-2);
  max-width: 48ch;
}

.feat-hero .data-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-top: auto;
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}

.feat-hero .data-row .d {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feat-hero .data-row .d .n {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.feat-hero .data-row .d .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-transform: uppercase;
}

/* mini features in vertical stack on right of hero */
.feat-mini-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.feat-mini {
  padding: var(--s5) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  flex: 1;
}

.feat-mini:last-child { border-bottom: none; }

.feat-mini .head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-mini .head i {
  color: var(--lime);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.feat-mini h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feat-mini p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

/* below-feat row of 2-3 small features in a horizontal strip */
.feat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s7);
  margin-top: var(--s7);
  padding-top: var(--s6);
  border-top: 1px solid var(--line);
}

.feat-strip .item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
}

.feat-strip .item i {
  color: var(--lime);
  font-size: 14px;
  width: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

.feat-strip .item h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feat-strip .item p {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.45;
}

/* ===== SKILL LEVELS — stacked rich rows (different from feat list) ===== */

.skill-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.skill-row {
  display: grid;
  grid-template-columns: 90px 1.2fr 1.5fr auto;
  gap: var(--s7);
  align-items: center;
  padding: var(--s7) var(--s2);
  border-bottom: 1px solid var(--line);
  transition: 0.2s;
}

.skill-row:hover {
  background: rgba(255, 255, 255, 0.015);
}

.skill-row .badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.skill-row .badge .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 600;
}

.skill-row .badge .n {
  font-family: var(--sans);
  font-size: 56px;
  font-weight: 800;
  color: var(--lime);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.skill-row .body h3 {
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.skill-row .body .tag {
  font-size: 14px;
  color: var(--text-3);
}

.skill-row .perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  list-style: none;
}

.skill-row .perks li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
}

.skill-row .perks li::before {
  content: '✓';
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

/* ===== DISCORD SECTION — blurple brand bg, polished ===== */

.discord-section {
  position: relative;
  padding: var(--s10) 0;
  background: linear-gradient(135deg, #1b1d2e 0%, #15161f 58%, var(--bg) 100%);
  border-top: 1px solid rgba(88, 101, 242, 0.18);
  border-bottom: 1px solid rgba(88, 101, 242, 0.18);
  overflow: hidden;
}

.discord-section .container { position: relative; z-index: 2; }

.dc-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.dc-glow {
  position: absolute; top: -50%; right: -15%;
  width: 70%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.20), transparent 70%);
  opacity: 0.7;
}
.dc-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(88, 101, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 101, 242, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000, transparent 78%);
}

/* community pill */
.dc-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.32);
  border-radius: var(--r-full);
  padding: 7px 15px;
  margin-bottom: var(--s5);
}
.dc-pill i { color: #8a96f0; font-size: 12px; }
.dc-pill span { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: rgba(255,255,255,0.9); }

.dc-grad {
  background: linear-gradient(90deg, #8a96f0, #b3bcf5);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.dc-features {
  display: flex; flex-wrap: wrap; gap: var(--s5);
  margin-bottom: var(--s6);
}
.dc-feature { display: inline-flex; align-items: center; gap: 9px; }
.dc-feature i { color: #8a96f0; font-size: 15px; }
.dc-feature span { font-size: 14px; color: rgba(244,245,238,0.86); font-weight: 500; }

/* Join Discord button — blurple, with logo */
.join-discord-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  background: var(--discord);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-size: 15px; font-weight: 600;
  box-shadow: 0 8px 28px -6px rgba(88, 101, 242, 0.55);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.join-discord-cta img { height: 22px; width: auto; }
.join-discord-cta:hover { background: #6b77f5; transform: translateY(-2px); box-shadow: 0 12px 36px -6px rgba(88, 101, 242, 0.7); }

.discord-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--s8);
  align-items: center;
}

.discord-left h2 { margin-bottom: var(--s4); }

.discord-left .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.discord-left .eyebrow .dot {
  background: var(--discord);
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.6);
}

.discord-left p {
  font-size: 17px;
  color: rgba(244, 245, 238, 0.75);
  max-width: 50ch;
  margin-bottom: var(--s5);
}

.discord-stats {
  display: flex;
  gap: var(--s7);
  margin-bottom: var(--s6);
  padding-block: var(--s5);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-stats .ds .n {
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
}

.discord-stats .ds .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-top: 2px;
}

.btn-discord {
  background: var(--discord);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: 0.2s;
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #6B77F5;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.5);
}

.btn-discord i { font-size: 18px; }

/* discord live preview card — Discord-app-styled */
.discord-preview {
  background: #2B2D31;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(88, 101, 242, 0.2);
}

.discord-preview .server-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #1E1F22;
}

.discord-preview .server-icon {
  width: 38px; height: 38px;
  background: var(--discord);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.discord-preview .server-meta { flex: 1; }
.discord-preview .server-meta .name { color: white; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.discord-preview .server-meta .sub { color: rgba(255, 255, 255, 0.4); font-size: 11.5px; display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.discord-preview .server-meta .sub .online { width: 6px; height: 6px; background: #23A55A; border-radius: 50%; display: inline-block; }

.discord-preview .channel {
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-preview .channel i { color: rgba(255, 255, 255, 0.4); font-size: 13px; }

.discord-preview .messages {
  padding: var(--s4) 18px;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.discord-preview .msg {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
}

.discord-preview .msg .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--discord), var(--discord-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.discord-preview .msg.av-orange .avatar { background: linear-gradient(135deg, #F5A623, #E07B14); }
.discord-preview .msg.av-green .avatar { background: linear-gradient(135deg, #23A55A, #1A7A41); }
.discord-preview .msg.av-pink .avatar { background: linear-gradient(135deg, #EB459E, #B23373); }

.discord-preview .msg .body .who {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.discord-preview .msg .body .who strong {
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.discord-preview .msg .body .who time {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--mono);
}

.discord-preview .msg .body .who .tag {
  font-size: 9px;
  background: var(--discord);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.discord-preview .msg .body .text {
  font-size: 14px;
  color: #DBDEE1;
  margin-top: 2px;
  line-height: 1.4;
}

.discord-preview .msg .body .text .mention {
  background: rgba(88, 101, 242, 0.2);
  color: #C9CDFB;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
}

.discord-preview .msg .body .reaction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 8px;
  margin-top: 6px;
  margin-right: 4px;
  font-size: 12px;
}

.discord-preview .msg .body .reaction .count {
  color: #C9CDFB;
  font-weight: 600;
  font-size: 11px;
}

.discord-preview .typing {
  padding: 8px 18px 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.discord-preview .typing .dots {
  display: inline-flex;
  gap: 3px;
}

.discord-preview .typing .dots span {
  width: 4px; height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: typing-dot 1.4s infinite ease-in-out;
}

.discord-preview .typing .dots span:nth-child(2) { animation-delay: 0.2s; }
.discord-preview .typing .dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* responsive for v4 layouts */
@media (max-width: 1024px) {
  .how-cols { grid-template-columns: 1fr; }
  .feat-section { grid-template-columns: 1fr; }
  .feat-strip { grid-template-columns: 1fr; }
  .skill-row { grid-template-columns: 100px 1fr; gap: var(--s4); padding: var(--s5); }
  .skill-row .body { grid-column: 2; }
  .skill-row .perks { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .skill-row .btn { grid-column: 1 / -1; }
  .discord-grid { grid-template-columns: 1fr; gap: var(--s6); }
}

/* ============================================================
   V5 — grades panel (replaces fake live feed)
   ============================================================ */

.grades-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.grades-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}

.grades-head h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.grades-tag {
  font-family: var(--mono);
  font-size: 10px;
  background: rgba(244, 245, 238, 0.08);
  color: var(--text-3);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.grade-row {
  display: grid;
  grid-template-columns: 32px 120px 1fr 80px;
  gap: var(--s4);
  align-items: center;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}

.grade-row:last-of-type { border-bottom: none; }

.grade-row .coin {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
}

.grade-row .info .pair {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.grade-row .info .sub {
  font-size: 11.5px;
  color: var(--text-3);
}

.grade-row .bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: var(--r-full);
  overflow: hidden;
}

.grade-row .bar .fill {
  height: 100%;
  background: var(--lime);
  border-radius: var(--r-full);
  box-shadow: 0 0 8px var(--lime-glow);
}

.grade-row .bar .fill.warm { background: var(--amber); box-shadow: 0 0 8px rgba(255, 179, 71, 0.4); }
.grade-row .bar .fill.warn { background: var(--red); box-shadow: 0 0 8px rgba(255, 94, 71, 0.4); }

.grade-row .score {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.04em;
}

.grade-row .score[data-grade="a"] { color: var(--lime); }
.grade-row .score[data-grade="b"] { color: var(--amber); }
.grade-row .score[data-grade="c"] { color: var(--red); }

.grades-foot {
  display: flex;
  gap: var(--s5);
  padding: var(--s4) 0 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.grades-foot span { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================
   V5 — manifesto (replaces fake testimonials)
   ============================================================ */

.manifesto {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s8);
  padding: var(--s8) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.manifesto-meta { padding-top: 8px; }

.manifesto-body {
  max-width: 64ch;
}

.manifesto-body h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s5);
  font-weight: 700;
}

.manifesto-body p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: var(--s4);
}

.manifesto-body p strong { color: var(--text); }

.manifesto-foot {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  margin-top: var(--s4);
  gap: var(--s4);
  flex-wrap: wrap;
}

.signers { display: flex; gap: var(--s5); }

.signer {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.signer .initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.signer strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.signer span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .manifesto { grid-template-columns: 1fr; gap: var(--s4); }
  .manifesto-foot { grid-column: 1; flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   V5 — Discord WidgetBot wrapper + perks
   ============================================================ */

.discord-perks {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  margin-bottom: var(--s6);
  padding-block: var(--s4);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-perks .perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(244, 245, 238, 0.85);
}

.discord-perks .perk i {
  color: var(--discord);
  font-size: 13px;
  width: 18px;
  text-align: center;
}

.discord-widget {
  background: #2B2D31;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.discord-widget-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1E1F22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.discord-widget-bar .dots { display: inline-flex; gap: 6px; }
.discord-widget-bar .dots span { width: 11px; height: 11px; border-radius: 50%; }
.discord-widget-bar .dots span:nth-child(1) { background: #FF5F57; }
.discord-widget-bar .dots span:nth-child(2) { background: #FFBD2E; }
.discord-widget-bar .dots span:nth-child(3) { background: #28CA41; }

.discord-widget-bar .wb-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* WidgetBot iframe lives inside .discord-widget */
.discord-widget iframe,
.discord-widget widgetbot {
  display: block !important;
  width: 100% !important;
  min-height: 480px;
  height: 480px !important;
  border: none !important;
  background: #313338;
}

/* ============================================================
   V5 — roadmap spotlight + list
   ============================================================ */

.rm-spot {
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: var(--s7);
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, var(--lime-tint), transparent 50%),
    linear-gradient(135deg, var(--bg-3), var(--bg-2));
  position: relative;
  margin-bottom: var(--s5);
  overflow: hidden;
}

.rm-spot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='rgba(200,255,61,0.025)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  pointer-events: none;
}

.rm-spot > * { position: relative; z-index: 1; }

.rm-spot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--s5);
  margin-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: var(--s3);
}

.rm-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
}

.rm-status .pulse {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 12px rgba(255, 179, 71, 0.6);
}

.rm-status .pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  animation: rm-pulse 2s ease-out infinite;
}

@keyframes rm-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.rm-progress-pill {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-weight: 600;
}

.rm-spot-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--s7);
}

.rm-spot-meta .phase-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.rm-spot-meta h3 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.04em;
  margin: var(--s2) 0 var(--s4);
}

.rm-spot-meta p {
  font-size: 16px;
  color: var(--text-2);
}

.rm-spot-progress {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.rm-task {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--s4);
}

.rm-task-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s2);
}

.rm-task-head .name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.rm-task-head .name i {
  color: var(--amber);
  font-size: 14px;
}

.rm-task-head .pct {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}

.rm-task-bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: var(--s2);
}

.rm-task-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lime-dim), var(--lime));
  border-radius: var(--r-full);
  box-shadow: 0 0 8px var(--lime-glow);
}

.rm-task-desc {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.45;
}

/* compact phase list below spotlight */
.rm-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.rm-row {
  display: grid;
  grid-template-columns: 32px 1fr 200px 50px;
  gap: var(--s4);
  align-items: center;
  padding: var(--s5) var(--s4);
  border-bottom: 1px solid var(--line);
  transition: 0.2s;
}

.rm-row:hover { background: var(--bg-2); }

.rm-row-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.rm-row.done .rm-row-status {
  background: var(--lime);
  color: var(--bg);
}

.rm-row.done .rm-row-status i {
  font-size: 12px;
  font-weight: 700;
}

.rm-row .rm-row-status .ring {
  width: 12px; height: 12px;
  border: 2px solid var(--lime);
  border-radius: 50%;
}

.rm-row .rm-row-status .ring.faint {
  border-color: var(--text-3);
}

.rm-row-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.rm-row-meta .s { font-weight: 700; }
.rm-row.done .rm-row-meta .s { color: var(--lime); }
.rm-row.next .rm-row-meta .s { color: var(--lime); }
.rm-row.future .rm-row-meta .s { color: var(--text-3); }

.rm-row-title {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.rm-row-title strong { font-weight: 700; }

.rm-row-desc {
  font-size: 13px;
  color: var(--text-3);
}

.rm-row-meter {
  height: 3px;
  background: var(--bg-3);
  border-radius: var(--r-full);
  overflow: hidden;
}

.rm-row-meter span { display: block; height: 100%; border-radius: var(--r-full); }

.rm-row-pct {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.rm-row.future .rm-row-pct { color: var(--text-3); }

@media (max-width: 720px) {
  .rm-spot-body { grid-template-columns: 1fr; gap: var(--s5); }
  .rm-spot-head { flex-direction: column; align-items: flex-start; }
  .rm-row { grid-template-columns: 32px 1fr; }
  .rm-row-meter, .rm-row-pct { grid-column: 2; margin-top: 8px; }
}

/* ============================================================
   V6 — rebuilt hero dashboard (rich, app-like)
   ============================================================ */

.dash-stage {
  position: relative;
  width: 100%;
  perspective: 1800px;
}

.dash-window {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(200, 255, 61, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}

.dash-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-titlebar .lights { display: flex; gap: 5px; }
.dash-titlebar .lights span {
  width: 9px; height: 9px; border-radius: 50%;
}
.dash-titlebar .lights span:nth-child(1) { background: #FF5E47; }
.dash-titlebar .lights span:nth-child(2) { background: #FFB347; }
.dash-titlebar .lights span:nth-child(3) { background: #7CE85F; }

.dash-titlebar .url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dash-titlebar .live {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dash-titlebar .live .d {
  width: 5px; height: 5px; background: var(--text-4); border-radius: 50%;
}

.dash-shell {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 460px;
}

.dash-side {
  background: rgba(255, 255, 255, 0.015);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dash-brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.dash-brand span {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.dash-nav { display: flex; flex-direction: column; gap: 2px; }

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-3);
  cursor: default;
}

.dash-nav a i {
  width: 13px;
  font-size: 11.5px;
  text-align: center;
}

.dash-nav a.on {
  background: rgba(200, 255, 61, 0.1);
  color: var(--lime);
}

.dash-side-foot {
  margin-top: auto;
  padding: 12px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.dash-side-foot .nm {
  font-size: 10px;
  color: var(--text-3);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.dash-side-foot .sb {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: -0.01em;
}

.dash-side-foot .sb .dlt {
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
  margin-left: 4px;
}

.dash-main {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dash-main-head h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.dash-main-head .sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.dash-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-3);
  font-weight: 600;
  background: transparent;
}

.dash-btn i { font-size: 9px; }

.dash-row {
  display: grid;
  gap: 8px;
}

.dash-row.sentiment-row { grid-template-columns: 1.4fr 1fr; }
.dash-row.dual-row { grid-template-columns: 1fr 1fr; }

.dash-block {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 10px 12px;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.block-head .hd {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.005em;
}

.block-head .badge {
  font-family: var(--mono);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.block-head .badge.bull {
  background: rgba(124, 232, 95, 0.15);
  color: var(--green);
}

.block-head .meta-pill {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--lime);
  background: var(--lime-tint);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* gauge */
.gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.gauge-svg {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.gauge-scale {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  padding: 0 4px;
}

/* trends list */
.trends-block { display: flex; flex-direction: column; }

.trend {
  display: grid;
  grid-template-columns: 36px 1fr 56px;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.trend:last-of-type { border-bottom: none; }

.trend .t-sym {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.trend .t-spark { width: 100%; height: 16px; }

.trend .t-pct {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  text-align: right;
}

.trend .t-pct.up { color: var(--green); }
.trend .t-pct.down { color: var(--red); }

/* AI signals + grades shared icon */
.sig-list, .grade-list { display: flex; flex-direction: column; gap: 6px; }

.sig {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sig:last-child { border-bottom: none; }

.sig .ic {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--text);
}

.sig .ic.eth { background: linear-gradient(135deg,#627EEA,#3C5BCC); color: #fff; }
.sig .ic.sol { background: linear-gradient(135deg,#9945FF,#14F195); color: #fff; }
.sig .ic.avax { background: linear-gradient(135deg,#E84142,#B73537); color: #fff; }
.sig .ic.ada { background: linear-gradient(135deg,#0033AD,#002280); color: #fff; }

.sig .ti {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sig .ti small {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.04em;
}

.sig .act {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 3px;
  font-weight: 700;
}

.sig .act.buy { background: rgba(124, 232, 95, 0.14); color: var(--green); }
.sig .act.sell { background: rgba(255, 94, 71, 0.14); color: var(--red); }

.gd {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.gd:last-child { border-bottom: none; }

.gd .ic {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
}

.gd .ic.eth { background: linear-gradient(135deg,#627EEA,#3C5BCC); color: #fff; }
.gd .ic.sol { background: linear-gradient(135deg,#9945FF,#14F195); color: #fff; }

.gd .nm {
  font-size: 11.5px;
  color: var(--text);
  font-weight: 500;
}

.gd .val {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gd .val.a { color: var(--lime); }
.gd .val.b { color: var(--amber); }
.gd .val.c { color: var(--red); }

/* market stats row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.ds-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.ds-stat .l {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ds-stat .v {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: -0.01em;
}

.ds-stat .v small {
  font-size: 9px;
  color: var(--green);
  font-weight: 500;
  margin-left: 3px;
  letter-spacing: 0.04em;
}

/* MOBILE OVERLAY */
.dash-mobile {
  position: absolute;
  width: 195px;
  bottom: -50px;
  right: -28px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 14px;
  box-shadow:
    0 24px 60px -10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mob-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 12px;
  background: var(--bg);
  border-radius: 0 0 8px 8px;
}

.mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mob-head .mob-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.mob-port {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mob-port .lbl {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mob-port .amt {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  font-family: var(--mono);
}

.mob-port .chg {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mob-alloc { display: flex; flex-direction: column; gap: 6px; }

.mob-alloc .lbl {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.alloc-bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: 99px;
  overflow: hidden;
  display: flex;
}

.alloc-bar span { height: 100%; }

.alloc-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.alloc-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.alloc-legend i {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.mob-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  background: rgba(124, 232, 95, 0.06);
  border: 1px solid rgba(124, 232, 95, 0.15);
  border-radius: 6px;
}

.mob-toast .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(124, 232, 95, 0.7);
  flex-shrink: 0;
}

.mob-toast .t strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
}

.mob-toast .t small {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
  .dash-mobile { display: none; }
}

@media (max-width: 720px) {
  .dash-shell { grid-template-columns: 1fr; min-height: auto; }
  .dash-side { display: none; }
}

/* ============================================================
   V6 — minimal roadmap
   ============================================================ */

.rm-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s7);
  align-items: end;
  padding-bottom: var(--s7);
  margin-bottom: var(--s7);
  border-bottom: 1px solid var(--line);
}

.rm-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 6px var(--s4);
  max-width: 360px;
  margin-left: auto;
}

.rm-summary-pct {
  font-size: clamp(56px, 5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--lime);
  grid-row: 1 / span 2;
}

.rm-summary-pct span {
  font-size: 0.45em;
  color: var(--text-3);
  margin-left: 4px;
  font-weight: 500;
}

.rm-summary-bar {
  height: 2px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
  align-self: end;
}

.rm-summary-bar i {
  display: block;
  height: 100%;
  background: var(--lime);
}

.rm-summary-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-transform: uppercase;
}

.rm-line {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.rm-line::before {
  content: '';
  position: absolute;
  left: 144px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--line);
}

.rm-entry {
  display: grid;
  grid-template-columns: 130px 30px 1fr auto;
  align-items: start;
  gap: var(--s5);
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.rm-entry:last-child { border-bottom: none; }

.rm-when {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.rm-when span {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 2px;
}

.rm-marker {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-top: 6px;
  margin-left: 8px;
  background: var(--bg);
  border: 1px solid var(--text-3);
  position: relative;
  z-index: 1;
}

.rm-entry.done .rm-marker {
  background: var(--lime);
  border-color: var(--lime);
}

.rm-entry.now .rm-marker {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.15);
}

.rm-entry.now .rm-marker::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  animation: rm-pulse 2s ease-out infinite;
}

.rm-entry.next .rm-marker { border-color: var(--lime); }
.rm-entry.future .rm-marker { border-color: var(--text-4); }

.rm-detail .rm-label {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 4px;
}

.rm-detail .rm-label em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  margin-left: 10px;
  vertical-align: middle;
}

.rm-entry.done .rm-label em { color: var(--lime); }
.rm-entry.now .rm-label em { color: var(--amber); }
.rm-entry.next .rm-label em { color: var(--lime); }

.rm-detail .rm-text {
  font-size: 14.5px;
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.5;
}

.rm-subtasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--s4);
  max-width: 460px;
}

.rm-subtasks .st {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s3);
  align-items: center;
  font-size: 13px;
  color: var(--text-2);
  padding: 0 0 7px;
  border-bottom: 1px solid var(--line);
}

.rm-subtasks .st i {
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--lime);
}

.rm-subtasks .st b {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime);
  font-weight: 700;
}

.rm-num {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 700;
  text-align: right;
}

.rm-num small {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  margin-left: 1px;
}

.rm-entry.future .rm-num { color: var(--text-3); }

@media (max-width: 1024px) {
  .rm-head { grid-template-columns: 1fr; gap: var(--s5); }
  .rm-summary { margin-left: 0; }
  .rm-entry { grid-template-columns: 110px 24px 1fr; gap: var(--s4); }
  .rm-num { grid-column: 2 / -1; text-align: left; padding-left: 24px; }
  .rm-line::before { left: 124px; }
}

@media (max-width: 720px) {
  .rm-entry { grid-template-columns: 24px 1fr; }
  .rm-when { grid-column: 1 / -1; padding-left: 36px; }
  .rm-num { padding-left: 36px; }
  .rm-line::before { left: 12px; }
  .rm-marker { margin-left: 0; }
}

/* ============================================================
   V6 — flat features list
   ============================================================ */

.feat-list-v6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--s7);
  row-gap: 0;
  border-top: 1px solid var(--line);
}

.feat-item {
  padding: var(--s6) 0 var(--s5);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  position: relative;
}

.feat-item .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: var(--s2);
}

.feat-item .ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.feat-item .ttl i {
  color: var(--lime);
  font-size: 15px;
  width: 18px;
}

.feat-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 36ch;
}

@media (max-width: 1024px) {
  .feat-list-v6 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .feat-list-v6 { grid-template-columns: 1fr; }
}

/* ============================================================
   V6 — Discord left side polished
   ============================================================ */

.discord-left .d-mark {
  width: 48px;
  height: 48px;
  background: var(--discord);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: var(--s5);
  box-shadow:
    0 8px 24px rgba(88, 101, 242, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.discord-left h2 {
  font-size: clamp(40px, 4.5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: var(--s5) !important;
  color: white;
}

.discord-left .d-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: var(--s6) 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--s5);
}

.discord-left .d-bullets li {
  font-size: 15px;
  color: rgba(244, 245, 238, 0.78);
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-left: 18px;
  position: relative;
}

.discord-left .d-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--discord);
}

.discord-left .d-bullets b {
  color: white;
  font-weight: 700;
  margin-right: 4px;
}

.btn-discord .d-go {
  margin-left: 4px;
  opacity: 0.7;
}

/* ============================================================
   V7 — feature carousel
   ============================================================ */

.carousel {
  position: relative;
  padding: 0;
}

/* hidden legacy elements */
.carousel-head, .carousel-controls, .carousel-counter, .carousel-progress { display: none !important; }

.carousel-section { position: relative; }

.carousel-arrow.side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: 0.2s ease;
  cursor: pointer;
}

.carousel-arrow.side i { transition: transform 0.2s ease; }

.carousel-arrow.side.prev { left: max(20px, calc(50vw - 760px)); }
.carousel-arrow.side.next { right: max(20px, calc(50vw - 760px)); }

.carousel-arrow.side:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--lime);
}

.carousel-arrow.side.prev:hover i { transform: translateX(-3px); }
.carousel-arrow.side.next:hover i { transform: translateX(3px); }

@media (max-width: 1100px) {
  .carousel-arrow.side { width: 48px; height: 48px; font-size: 18px; }
  .carousel-arrow.side.prev { left: 8px; }
  .carousel-arrow.side.next { right: 8px; }
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.1, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s9);
  padding: 0;
  align-items: center;
  min-height: 620px;
}

.cs-text {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  max-width: 48ch;
}

.cs-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lime);
  text-transform: uppercase;
  font-weight: 600;
}

.cs-text h2 {
  font-size: clamp(44px, 5.5vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: var(--text);
}

.cs-text p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 44ch;
}

.cs-text .btn { align-self: flex-start; margin-top: var(--s3); }

.cs-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  width: 100%;
  position: relative;
}

/* Slide 1: AI Grades visual */
.cs-grades {
  width: 100%;
  max-width: 540px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  padding: 18px 20px;
}

.cs-grades-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.cs-grades-head .tag {
  font-family: var(--mono);
  font-size: 9.5px;
  background: rgba(244, 245, 238, 0.06);
  color: var(--text-3);
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.cs-grade {
  display: grid;
  grid-template-columns: 28px 60px 1fr 60px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.cs-grade:last-child { border-bottom: none; }

.cs-grade .c {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  color: white;
}

.cs-grade .n {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}

.cs-grade .bar {
  height: 5px;
  background: var(--bg-3);
  border-radius: 99px;
  overflow: hidden;
  display: block;
}

.cs-grade .bar i {
  display: block;
  height: 100%;
  background: var(--lime);
  border-radius: 99px;
  box-shadow: 0 0 8px var(--lime-glow);
}

.cs-grade .bar i.warm { background: var(--amber); box-shadow: 0 0 8px rgba(255,179,71,0.4); }
.cs-grade .bar i.warn { background: var(--red); box-shadow: 0 0 8px rgba(255,94,71,0.4); }

.cs-grade .sc {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.cs-grade .sc.a { color: var(--lime); }
.cs-grade .sc.b { color: var(--amber); }
.cs-grade .sc.c { color: var(--red); }

/* Slide 2: Exchanges grid */
.cs-exchanges {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 500px;
}

.ce-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ce-tile {
  aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: 0.2s;
}

.ce-tile:hover { border-color: var(--line-2); transform: translateY(-2px); }

.ce-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(0.85);
}

.ce-tile.more {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--lime);
}

/* Slide 3: Security */
.cs-security {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-perm-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
}

.cs-perm-row.good i { color: var(--green); }
.cs-perm-row.bad i { color: var(--red); }

.cs-perm-row i {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(124, 232, 95, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

.cs-perm-row.bad i { background: rgba(255, 94, 71, 0.12); }

.cs-perm-row strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
}

.cs-perm-row small {
  font-size: 12px;
  color: var(--text-3);
}

.cs-perm-row .cs-state {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(124, 232, 95, 0.12);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cs-perm-row .cs-state.off {
  color: var(--red);
  background: rgba(255, 94, 71, 0.12);
}

.cs-enc {
  margin-top: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cs-enc .cs-enc-l {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-enc .cs-enc-v {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--lime);
  font-weight: 700;
}

/* Slide 4: Strategies */
.cs-strats {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-strat {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  transition: 0.2s;
}

.cs-strat .ind {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-4);
  border: 1px solid var(--text-3);
}

.cs-strat.on { border-color: var(--lime); background: var(--lime-tint); }
.cs-strat.on .ind { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 8px var(--lime-glow); }

.cs-strat strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.cs-strat .pct {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}

.cs-strat:not(.on) .pct { color: var(--text-3); }

/* Slide 5: Code */
.cs-code {
  width: 100%;
  max-width: 540px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  overflow: hidden;
}

.cs-code-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

.cs-code-dots { display: inline-flex; gap: 4px; }
.cs-code-dots span { width: 8px; height: 8px; border-radius: 50%; }
.cs-code-dots span:nth-child(1) { background: #FF5E47; }
.cs-code-dots span:nth-child(2) { background: #FFB347; }
.cs-code-dots span:nth-child(3) { background: var(--green); }

.cs-code pre {
  margin: 0;
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
  overflow-x: auto;
}

.cs-code .ck { color: var(--text-2); }
.cs-code .ckey { color: var(--lime); }
.cs-code .cstr { color: var(--text); }
.cs-code .cnum { color: var(--amber); }

/* Slide 6: Backtest */
.cs-back {
  width: 100%;
  max-width: 540px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  padding: 18px 20px;
}

.cs-back-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-2);
}

.cs-back-head .cs-pl {
  color: var(--lime);
  font-weight: 700;
}

.cs-back-chart {
  width: 100%;
  height: 110px;
  display: block;
}

.cs-back-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cs-back-stats > div { display: flex; flex-direction: column; gap: 3px; }

.cs-back-stats span {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-back-stats strong {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* progress bar */
.carousel-progress {
  margin-top: var(--s5);
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.carousel-progress i {
  display: block;
  height: 100%;
  background: var(--lime);
  transition: width 0.4s ease;
}

@media (max-width: 1024px) {
  .carousel-slide { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s6) 0; }
  .cs-visual { min-height: 280px; }
}

@media (max-width: 720px) {
  .carousel-head { flex-direction: column; align-items: flex-start; }
  .cs-text h2 { font-size: clamp(28px, 7vw, 40px); }
}

/* ============================================================
   V8 — exchange showcase slide (rotating logos + hoverable strip)
   ============================================================ */

.cs-exch-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: var(--s4);
}

.cs-exch-strip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
  filter: grayscale(1) brightness(1.4) opacity(0.5);
  transition: 0.25s ease;
  cursor: default;
}

.cs-exch-strip img:hover {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: translateY(-3px) scale(1.15);
}

/* stage with rotating logo cards */
.cs-exch-stage {
  position: relative !important;
  width: 100% !important;
  height: 440px !important;
  display: block !important;
  overflow: hidden !important;
}

.cs-exch-orb {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 320px !important;
  height: 320px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(200,255,61,0.16) 0%, transparent 60%) !important;
  pointer-events: none !important;
  filter: blur(8px) !important;
  z-index: 1 !important;
}

.cs-exch-grid {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
}

.cs-exch-card {
  position: absolute !important;
  opacity: 0 !important;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1) !important;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 16px 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 220px !important;
  height: 78px !important;
  box-shadow:
    0 24px 40px -16px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  pointer-events: none !important;
}

.cs-exch-card img {
  max-width: 140px !important;
  max-height: 42px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: brightness(0) invert(0.95) !important;
  display: block !important;
}

/* anchor positions (top-right and bottom-left like old site) */
.cs-exch-card.pos-top {
  top: 14% !important;
  right: 8% !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-10px) !important;
}

.cs-exch-card.pos-top.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.cs-exch-card.pos-bot {
  bottom: 14% !important;
  left: 8% !important;
  right: auto !important;
  top: auto !important;
  transform: translateY(10px) !important;
}

.cs-exch-card.pos-bot.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (max-width: 1024px) {
  .cs-exch-stage { height: 320px !important; }
  .cs-exch-orb { width: 220px !important; height: 220px !important; }
  .cs-exch-card { width: 180px !important; height: 64px !important; }
  .cs-exch-card.pos-top { top: 10% !important; right: 4% !important; }
  .cs-exch-card.pos-bot { bottom: 10% !important; left: 4% !important; }
}

/* ============================================================
   V9 — redesigned carousel slide visuals + standalone exchanges
   ============================================================ */

/* ===== SLIDE 1: AI GRADING ===== */
.g2-stage {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.g2-hero {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g2-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 24px rgba(200, 255, 61, 0.25));
}

.g2-letter {
  font-family: var(--sans);
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--lime);
  position: relative;
  z-index: 1;
}

.g2-meta {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: var(--r-full);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.g2-score {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.g2-score small {
  font-size: 10px;
  color: var(--text-3);
  margin-left: 2px;
  font-weight: 500;
}

.g2-lbl {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.g2-pulse {
  position: absolute;
  top: 10px;
  right: 30px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lime);
  padding: 4px 8px 4px 14px;
  background: var(--lime-tint);
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
}

.g2-pulse::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: blink 1.4s ease-in-out infinite;
}

.g2-feed {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.g2-row {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  gap: 16px;
  align-items: center;
  padding: 8px 0;
}

.g2-sym {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.g2-bar {
  display: block;
  height: 5px;
  background: var(--bg-3);
  border-radius: var(--r-full);
  overflow: hidden;
}

.g2-bar i {
  display: block;
  height: 100%;
  background: var(--lime);
  border-radius: var(--r-full);
  box-shadow: 0 0 8px var(--lime-glow);
}

.g2-bar i.warm { background: var(--amber); box-shadow: 0 0 8px rgba(255, 179, 71, 0.4); }
.g2-bar i.warn { background: var(--red); box-shadow: 0 0 8px rgba(255, 94, 71, 0.4); }

.g2-g {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.g2-g.a { color: var(--lime); }
.g2-g.b { color: var(--amber); }
.g2-g.c { color: var(--red); }

.g2-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.g2-foot-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: blink 1.6s ease-in-out infinite;
}

/* ===== SLIDE 2: SECURITY ===== */
.sec2-stage {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sec2-vault {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec2-vault-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(200, 255, 61, 0.12), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.sec2-vault-inner {
  position: relative;
  width: 96px;
  height: 96px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(200, 255, 61, 0.3);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 36px;
  box-shadow:
    0 16px 40px -10px rgba(200, 255, 61, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.sec2-vault-orbit {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px dashed rgba(200, 255, 61, 0.2);
  border-radius: 50%;
  animation: sec2-spin 24s linear infinite;
}

.sec2-vault-orbit span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime);
}

.sec2-vault-orbit span:nth-child(1) { top: -4px; left: 50%; transform: translateX(-50%); }
.sec2-vault-orbit span:nth-child(2) { right: -4px; top: 50%; transform: translateY(-50%); background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.sec2-vault-orbit span:nth-child(3) { bottom: -4px; left: 50%; transform: translateX(-50%); }
.sec2-vault-orbit span:nth-child(4) { left: -4px; top: 50%; transform: translateY(-50%); background: var(--green); box-shadow: 0 0 8px var(--green); }

@keyframes sec2-spin {
  to { transform: rotate(360deg); }
}

.sec2-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sec2-input-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  font-weight: 600;
}

.sec2-input-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sec2-dots {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

.sec2-enc-pill {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--lime);
  background: var(--lime-tint);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.sec2-perms {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec2-perm {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sec2-perm.ok i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(124, 232, 95, 0.15);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

.sec2-perm.no i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 94, 71, 0.15);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

.sec2-perm-text strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.sec2-perm-text small {
  font-size: 12px;
  color: var(--text-3);
}

.sec2-st {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--green);
  background: rgba(124, 232, 95, 0.12);
}

.sec2-st.off {
  color: var(--red);
  background: rgba(255, 94, 71, 0.12);
}

/* ===== SLIDE 3: STRATEGIES ===== */
.st2-stage {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.st2-spot {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(200, 255, 61, 0.2);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 0 0 1px rgba(200, 255, 61, 0.04), 0 20px 40px -16px rgba(0, 0, 0, 0.5);
}

.st2-spot-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.st2-spot-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-3);
  padding: 3px 8px;
  background: rgba(244, 245, 238, 0.05);
  border: 1px solid var(--line);
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 6px;
}

.st2-spot-head h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.st2-spot-pct {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.st2-spot-chart {
  width: 100%;
  height: 100px;
  display: block;
}

.st2-spot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.st2-spot-stats > div { display: flex; flex-direction: column; gap: 2px; }

.st2-spot-stats span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}

.st2-spot-stats strong {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.st2-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.st2-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.st2-row:last-child { border-bottom: none; }

.st2-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--text-4);
  background: var(--bg);
}

.st2-nm {
  font-size: 14px;
  color: var(--text-2);
}

.st2-pct {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

/* ===== SLIDE 4: TRADINGVIEW ===== */
.tv2-stage {
  width: 100%;
  max-width: 560px;
  position: relative;
}

.tv2-ide {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.tv2-tabs {
  display: flex;
  background: var(--bg-3);
  padding: 8px 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 4px;
}

.tv2-tab {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  padding: 8px 14px;
  border-radius: 6px 6px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tv2-tab.active {
  background: var(--bg-2);
  color: var(--lime);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--bg-2);
  position: relative;
  z-index: 1;
}

.tv2-tab i { font-size: 10px; }

.tv2-body { padding: 14px 0; }

.tv2-code {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  padding: 0 18px 8px 0;
  overflow-x: auto;
}

.tvln {
  display: inline-block;
  width: 36px;
  padding-right: 14px;
  text-align: right;
  color: var(--text-4);
  font-size: 12px;
  border-right: 1px solid var(--line);
  margin-right: 12px;
}

.tv2-code .ck { color: var(--text-2); }
.tv2-code .ckey { color: var(--lime); }
.tv2-code .cstr { color: var(--text); }
.tv2-code .cnum { color: var(--amber); }

.tv2-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
}

.tv2-status-l {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tv2-dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--lime);
  animation: blink 1.4s ease-in-out infinite;
}

.tv2-status-r { letter-spacing: 0.04em; }

.tv2-toast {
  position: absolute;
  bottom: -24px;
  right: -16px;
  background: var(--text);
  color: var(--bg);
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.55);
  animation: float-bob 4s ease-in-out infinite;
  z-index: 3;
}

.tv2-toast-ic {
  width: 32px; height: 32px;
  background: var(--lime);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.tv2-toast-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg);
}

.tv2-toast-body span {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(11, 13, 10, 0.55);
}

/* ===== SLIDE 5: BACKTESTING ===== */
.bt2-stage {
  width: 100%;
  max-width: 580px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

.bt2-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.bt2-pair {
  display: block;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.bt2-period {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

.bt2-pl {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.03em;
}

.bt2-chart {
  width: 100%;
  height: 180px;
  display: block;
}

.bt2-legend {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.bt2-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bt2-legend i {
  width: 12px; height: 3px;
  display: inline-block;
  border-radius: 2px;
}

.bt2-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.bt2-stats > div { display: flex; flex-direction: column; gap: 3px; }

.bt2-stats span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}

.bt2-stats strong {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.bt2-stats strong.red { color: var(--red); }

.bt2-stats strong small {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  margin-left: 1px;
}

/* ===== STANDALONE EXCHANGES SECTION ===== */
.ex-section {
  position: relative;
}

.ex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s9);
  align-items: center;
  min-height: 520px;
}

.ex-text { display: flex; flex-direction: column; gap: var(--s4); }

.ex-h2 {
  font-size: clamp(40px, 5vw, 64px) !important;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-top: var(--s4);
}

.ex-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 50ch;
  margin-bottom: var(--s2);
}

.ex-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: var(--s3);
  max-width: 480px;
}

.ex-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  filter: grayscale(1) brightness(1.5) opacity(0.4);
  transition: 0.3s ease;
  cursor: default;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.ex-icons img:hover {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: translateY(-4px) scale(1.1);
}

.ex-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 600;
  margin-top: var(--s4);
  transition: gap 0.2s ease;
  align-self: flex-start;
}

.ex-cta:hover { gap: 12px; }
.ex-cta i { font-size: 11px; }

/* Right stage with rotating logos */
.ex-stage {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: visible;
}

.ex-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 61, 0.14), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 1;
}

.ex-pool {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.ex-logo {
  position: absolute;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ex-logo img {
  height: 78px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(0.95);
}

/* anchor positions (top-right, bottom-left, like old site) */
.ex-logo.pos-top {
  top: 18%;
  right: 12%;
  transform: translateY(-16px);
}
.ex-logo.pos-top.show {
  opacity: 1;
  transform: translateY(0);
}
.ex-logo.pos-bot {
  bottom: 18%;
  left: 12%;
  transform: translateY(16px);
}
.ex-logo.pos-bot.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .ex-grid { grid-template-columns: 1fr; gap: var(--s7); min-height: auto; }
  .ex-stage { height: 320px; max-width: 480px; margin: 0 auto; }
  .ex-glow { width: 240px; height: 240px; }
  .ex-logo.pos-top { right: 4%; }
  .ex-logo.pos-bot { left: 4%; }
  .g2-hero { width: 220px; height: 220px; }
  .g2-letter { font-size: 110px; }
}

@media (max-width: 720px) {
  .ex-icons img { width: 30px; height: 30px; }
  .ex-stage { height: 240px; }
  .ex-logo img { height: 54px; }
}

/* ============================================================
   V9 — slide layout variants (mix it up per slide)
   ============================================================ */

/* FLIP: text right, visual left */
.carousel-slide.flip {
  grid-template-columns: 1.2fr 1fr;
}

.carousel-slide.flip .cs-text {
  order: 2;
}

.carousel-slide.flip .cs-visual {
  order: 1;
  justify-content: flex-start;
}

/* STACK: text top, visual full-width below */
.carousel-slide.stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s6);
  padding: var(--s5) 0;
}

.carousel-slide.stack .cs-text {
  max-width: 64ch;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.carousel-slide.stack .cs-text .btn {
  align-self: center;
}

.carousel-slide.stack .cs-text h2 {
  font-size: clamp(40px, 5vw, 64px);
}

.carousel-slide.stack .cs-text p {
  margin: 0 auto;
}

.carousel-slide.stack .cs-visual {
  width: 100%;
  min-height: 360px;
  align-items: stretch;
  justify-content: center;
}

/* slide 3 stack — strategies expanded horizontal */
.carousel-slide.stack .st2-stage {
  max-width: 1000px;
  width: 100%;
}

.carousel-slide.stack .st2-stage {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--s5);
  align-items: stretch;
}

.carousel-slide.stack .st2-list {
  border-top: none;
  border-left: 1px solid var(--line);
  padding-left: var(--s5);
}

/* slide 5 stack — backtest fills wide */
.carousel-slide.stack .bt2-stage {
  max-width: 920px;
  width: 100%;
}

.carousel-slide.stack .bt2-chart {
  height: 240px;
}

@media (max-width: 1024px) {
  .carousel-slide.flip { grid-template-columns: 1fr; }
  .carousel-slide.flip .cs-text,
  .carousel-slide.flip .cs-visual { order: initial; }
  .carousel-slide.stack .st2-stage { grid-template-columns: 1fr; }
  .carousel-slide.stack .st2-list { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: var(--s4); }
}

/* ============================================================
   V12 — craft pass: depth, grain, refined surfaces, motion safety
   ============================================================ */

/* Fine film grain — kills the flat "vector" look, adds expensive texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hairline top-highlight on raised surfaces — the "glass catching light" cue.
   Layered over existing borders, no layout impact. */
.plan,
.how-col .visual,
.news-feature .news-img,
.discord-widget,
.dash-window,
.compare-table,
.pricing-toggle,
.g2-stage,
.st2-spot,
.bt2-stage,
.tv2-ide,
.sec2-input-box {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), var(--shadow-md);
}

/* Lime restraint: secondary lime-tint pills step back to neutral so the
   primary CTA + single live signal stay the only true lime focal points */
.meta-pill,
.dash-card-head .tag {
  background: rgba(244, 245, 238, 0.05) !important;
  color: var(--text-2) !important;
  border: 1px solid var(--line);
}

/* Refined focus-visible — accessible, on-brand, replaces UA outline */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Compare table — elevate featured column + row hover for scannability */
.compare-table thead th.featured {
  border-radius: var(--r-md) var(--r-md) 0 0;
  box-shadow: 0 -1px 0 rgba(200, 255, 61, 0.25);
}
.compare-table tbody td.featured { background: rgba(200, 255, 61, 0.10); }
.compare-table tbody tr:last-child td.featured { border-radius: 0 0 var(--r-md) var(--r-md); }
.compare-table tbody tr { transition: background 0.15s var(--ease, ease); }
.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td:not(.featured) { background: rgba(244, 245, 238, 0.025); }
.compare-table tbody td.featured i.fa-check { filter: drop-shadow(0 0 6px var(--lime-glow)); }

/* Pricing — more air + decisive popular elevation */
.pricing-grid { gap: var(--s4); }
.plan.popular { transform: translateY(-10px); z-index: 1; }
.plan.popular:hover { transform: translateY(-14px); }
@media (max-width: 980px) {
  .plan.popular { transform: none; }
  .plan.popular:hover { transform: translateY(-4px); }
}

/* Footer newsletter — inline success (replaces alert) */
.subscribe-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--lime);
  font-weight: 500;
  padding: 10px 4px;
}
.subscribe-success i { font-size: 12px; }

/* Motion safety + taste: silence ambient loops for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track,
  .marquee-track,
  .sec2-vault-orbit { animation: none !important; }
}

/* ============================================================
   V13 — feature carousel: full slide-visual redesign (sv1–sv5)
   Cohesive premium language: one confident artifact per slide,
   varied composition, lime as the single signal. Honest data.
   ============================================================ */

/* shared ambient glow + caption */
.sv1, .sv2, .sv3, .sv4, .sv5 { position: relative; z-index: 1; }

.sv-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 420px; height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200,255,61,0.10), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

.sv-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.sv-foot .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

/* ---------- Slide 1 · grade console ---------- */
.sv1 {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-lg);
}
.sv1-hero { display: flex; align-items: center; gap: 22px; }
.sv1-ring { position: relative; width: 116px; height: 116px; flex-shrink: 0; }
.sv1-ring svg { width: 100%; height: 100%; }
.sv1-ring .trk { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 8; }
.sv1-ring .prg {
  fill: none; stroke: url(#sv1grad); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 26.1;
}
.sv1-letter {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 46px; font-weight: 800; letter-spacing: -0.04em;
  color: var(--text);
}
.sv1-meta { display: flex; flex-direction: column; gap: 5px; }
.sv1-coin { font-size: 15px; color: var(--text-2); font-weight: 500; }
.sv1-coin em { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--lime); margin-left: 4px; letter-spacing: 0.04em; }
.sv1-score { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.sv1-score small { font-size: 16px; font-weight: 600; color: var(--text-3); letter-spacing: -0.02em; }
.sv1-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }

.sv1-list { display: flex; flex-direction: column; gap: 12px; padding-top: var(--s4); border-top: 1px solid var(--line); }
.sv1-gr { display: grid; grid-template-columns: 44px 1fr 22px; align-items: center; gap: 14px; }
.sv1-gr .s { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text-2); }
.sv1-gr .b { height: 6px; background: var(--bg-3); border-radius: 99px; overflow: hidden; }
.sv1-gr .b i { display: block; height: 100%; border-radius: 99px; background: var(--lime); box-shadow: 0 0 8px var(--lime-glow); }
.sv1-gr .b i.w { background: var(--amber); box-shadow: 0 0 8px rgba(255,179,71,0.4); }
.sv1-gr .b i.r { background: var(--red); box-shadow: 0 0 8px rgba(255,94,71,0.4); }
.sv1-gr .v { font-family: var(--mono); font-size: 13px; font-weight: 700; text-align: right; }
.sv1-gr .v.a { color: var(--lime); }
.sv1-gr .v.b { color: var(--amber); }
.sv1-gr .v.c { color: var(--red); }

/* ---------- Slide 2 · security console (frameless emblem) ---------- */
.sv2 {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s6);
}
.sv2-emblem { position: relative; width: 124px; height: 124px; display: grid; place-items: center; }
.sv2-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(200,255,61,0.22);
  animation: sv2pulse 3s ease-out infinite;
}
.sv2-ring.two { animation-delay: 1.5s; }
@keyframes sv2pulse { 0% { transform: scale(0.7); opacity: 0.8; } 100% { transform: scale(1.15); opacity: 0; } }
.sv2-shield {
  position: relative;
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(200,255,61,0.12), var(--bg-3));
  border: 1px solid rgba(200,255,61,0.3);
  display: grid; place-items: center;
  font-size: 28px; color: var(--lime);
  box-shadow: 0 10px 30px -8px var(--lime-glow), inset 0 1px 0 rgba(255,255,255,0.08);
}
.sv2-key { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.sv2-key-lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--text-3); }
.sv2-key-box {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.sv2-dots { font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; color: var(--text-2); }
.sv2-enc { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--lime); background: var(--lime-tint); border: 1px solid rgba(200,255,61,0.2); padding: 3px 8px; border-radius: var(--r-full); }
.sv2-perms { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.sv2-perm {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 14px;
}
.sv2-perm.no { border-color: rgba(255,94,71,0.22); }
.sv2-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; }
.sv2-perm.ok .sv2-ic { background: rgba(124,232,95,0.12); color: var(--green); }
.sv2-perm.no .sv2-ic { background: rgba(255,94,71,0.12); color: var(--red); }
.sv2-pt strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); }
.sv2-pt small { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.sv2-st { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.sv2-st.off { color: var(--red); }

/* ---------- Slide 3 · strategy board (wide split) ---------- */
.sv3 {
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--s5);
  align-items: stretch;
}
.sv3-feature {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-md);
}
.sv3-feature-head { display: flex; align-items: flex-start; justify-content: space-between; }
.sv3-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; color: var(--lime); }
.sv3-tag .d { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime-glow); animation: blink 1.6s ease-in-out infinite; }
.sv3-fh-l h4 { margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.sv3-badge { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--text-2); background: rgba(244,245,238,0.05); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--r-full); }
.sv3-spark { width: 100%; height: 92px; display: block; }
.sv3-attrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.sv3-attrs > div { display: flex; flex-direction: column; gap: 3px; }
.sv3-attrs span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.sv3-attrs strong { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.sv3-list { display: flex; flex-direction: column; gap: 8px; }
.sv3-row {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 11px 13px;
  transition: border-color 0.2s var(--ease);
}
.sv3-row.on { border-color: rgba(200,255,61,0.3); background: linear-gradient(180deg, rgba(200,255,61,0.05), var(--bg-2)); }
.sv3-row .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--bg-3); display: grid; place-items: center; font-size: 12px; color: var(--text-3); }
.sv3-row.on .ic { background: var(--lime-tint); color: var(--lime); }
.sv3-row .nm { font-size: 13.5px; font-weight: 500; color: var(--text); }
.sv3-row .sw { width: 34px; height: 19px; border-radius: var(--r-full); background: var(--bg-4); position: relative; transition: background 0.2s var(--ease); }
.sv3-row .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--text-3); transition: 0.2s var(--ease); }
.sv3-row .sw.on { background: var(--lime); }
.sv3-row .sw.on::after { left: 17px; background: var(--bg); }

/* ---------- Slide 4 · automation flow (vertical) ---------- */
.sv4 { width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: stretch; }
.sv4-editor {
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-lg);
}
.sv4-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.sv4-dots { display: inline-flex; gap: 5px; }
.sv4-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-4); }
.sv4-dots span:nth-child(1) { background: #FF5E47; }
.sv4-dots span:nth-child(2) { background: #FFB347; }
.sv4-dots span:nth-child(3) { background: var(--green); }
.sv4-fn { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.sv4-live { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.sv4-live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.4s ease-in-out infinite; }
.sv4-code { margin: 0; padding: 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--text); overflow-x: auto; }
.sv4-code .ln { display: inline-block; width: 18px; color: var(--text-4); user-select: none; }
.sv4-code .key { color: var(--lime); }
.sv4-code .str { color: var(--text-2); }
.sv4-code .num { color: var(--amber); }
.sv4-code .pun { color: var(--text-3); }
.sv4-flow { display: grid; place-items: center; height: 44px; }
.sv4-arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--lime); font-size: 12px; }
.sv4-exec {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(180deg, rgba(200,255,61,0.06), var(--bg-2));
  border: 1px solid rgba(200,255,61,0.25);
  border-radius: var(--r-lg); padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.sv4-exec-ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(124,232,95,0.12); color: var(--green); display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.sv4-exec-body strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); }
.sv4-exec-body span { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }

/* ---------- Slide 5 · backtest report (wide) ---------- */
.sv5 {
  width: 100%; max-width: 820px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-lg);
}
.sv5-head { display: flex; align-items: flex-end; justify-content: space-between; }
.sv5-pair { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.sv5-per { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--text-3); margin-top: 4px; }
.sv5-legend { display: flex; gap: var(--s4); font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.sv5-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sv5-legend i { width: 12px; height: 2px; border-radius: 2px; }
.sv5-legend i.a { background: var(--lime); box-shadow: 0 0 6px var(--lime-glow); }
.sv5-legend i.b { background: transparent; border-top: 1.5px dashed rgba(255,255,255,0.4); }
.sv5-chart { width: 100%; height: 200px; display: block; }
.sv5-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.sv5-stats > div { display: flex; flex-direction: column; gap: 4px; }
.sv5-stats span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }
.sv5-stats strong { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.sv5-stats strong small { font-size: 12px; font-weight: 600; color: var(--text-3); }

/* stack/flip layout tuning for the new stages */
.carousel-slide.stack .cs-visual { min-height: auto; width: 100%; }
.carousel-slide.stack .sv3,
.carousel-slide.stack .sv5 { margin: 0 auto; }
.carousel-slide.flip .cs-visual { justify-content: center; }

@media (max-width: 1024px) {
  .sv3 { grid-template-columns: 1fr; max-width: 460px; }
  .sv5-stats { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .sv-glow { width: 300px; height: 300px; }
}
@media (max-width: 520px) {
  .sv1, .sv5 { padding: 22px; }
  .sv5-stats { grid-template-columns: repeat(2, 1fr); }
  .sv1-hero { gap: 16px; }
  .sv1-ring { width: 96px; height: 96px; }
}

/* ============================================================
   V14 — feature carousel: unified product-tour system (fs-*)
   One composition repeated across all 5 slides. Fixed height,
   fully on-screen. Shared primitives (bar / feature / rows /
   chips / chart) = cohesion. Distinct content per slide only.
   ============================================================ */

.carousel-section { padding-top: var(--s8); padding-bottom: var(--s8); }

/* override legacy slide grid: fixed-height, no flip/stack variance */
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: 0;
  height: clamp(460px, 60vh, 540px);
  padding: 0 clamp(8px, 3vw, 40px);
}

/* ---- left: copy block (identical on every slide) ---- */
.fs-copy { display: flex; flex-direction: column; }
.fs-idx {
  font-family: var(--mono);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--lime);
  margin-bottom: var(--s5);
}
.fs-idx em { font-style: normal; color: var(--text-4); }
.fs-kicker {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: var(--s4);
}
.fs-copy h2 {
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 800; letter-spacing: -0.045em; line-height: 0.98;
  color: var(--text);
}
.fs-copy p {
  font-size: 17px; line-height: 1.6; color: var(--text-2);
  max-width: 40ch; margin-top: var(--s5);
}
.fs-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: var(--lime);
  margin-top: var(--s6); align-self: flex-start;
  transition: gap 0.2s var(--ease);
}
.fs-link i { font-size: 11px; }
.fs-link:hover { gap: 14px; }

/* ---- right: the stage (identical frame on every slide) ---- */
.fs-stage {
  position: relative;
  height: clamp(420px, 56vh, 500px);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-lg);
}
.fs-stage::before {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(200,255,61,0.08), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.fs-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  background: rgba(255,255,255,0.018);
  border-bottom: 1px solid var(--line);
}
.fs-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; color: var(--text-3);
}
.fs-live {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 7px;
}
.fs-live span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 8px var(--lime-glow);
  animation: blink 1.6s ease-in-out infinite;
}
.fs-body {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column;
  padding: 22px;
  gap: 18px;
}

/* shared: feature header row */
.fs-feature {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.fs-feature-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fs-feature-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fs-feature-name { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.fs-feature-name em { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--lime); margin-left: 5px; }
.fs-feature-sub { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); letter-spacing: 0.02em; }
.fs-feature-num { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.fs-feature-num small { font-size: 14px; font-weight: 600; color: var(--text-3); }

.fs-grade-badge {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--bg);
  background: linear-gradient(160deg, #C8FF3D, #7CE85F);
  box-shadow: 0 8px 24px -6px var(--lime-glow);
}
.fs-ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 17px;
  background: var(--bg-3); color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.fs-ic.lime { background: var(--lime-tint); color: var(--lime); border: 1px solid rgba(200,255,61,0.2); }
.fs-ic.ok { background: rgba(124,232,95,0.12); color: var(--green); }
.fs-ic.no { background: rgba(255,94,71,0.12); color: var(--red); }
.fs-ic.sm { width: 32px; height: 32px; border-radius: 9px; font-size: 12px; color: var(--text-3); }
.fs-ic.sm.on { background: var(--lime-tint); color: var(--lime); }

.fs-spark { width: 120px; height: 40px; flex-shrink: 0; }
.fs-legend { display: flex; gap: 14px; font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.fs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fs-legend i { width: 11px; height: 2px; border-radius: 2px; }
.fs-legend i.a { background: var(--lime); }
.fs-legend i.b { border-top: 1.5px dashed rgba(255,255,255,0.4); }

/* shared: chips */
.fs-chip {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em; padding: 5px 10px; border-radius: var(--r-full);
  color: var(--text-2); background: rgba(244,245,238,0.05); border: 1px solid var(--line);
  white-space: nowrap;
}
.fs-chip.lime { color: var(--lime); background: var(--lime-tint); border-color: rgba(200,255,61,0.2); }
.fs-chip.ok { color: var(--green); background: rgba(124,232,95,0.1); border-color: rgba(124,232,95,0.2); }
.fs-chip.no { color: var(--red); background: rgba(255,94,71,0.08); border-color: rgba(255,94,71,0.2); }

/* shared: row list */
.fs-rows { display: flex; flex-direction: column; gap: 8px; }
.fs-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.fs-row.tall { padding: 13px 14px; }
.fs-row.done { border-color: rgba(200,255,61,0.3); background: linear-gradient(180deg, rgba(200,255,61,0.05), var(--bg-2)); }
.fs-sym { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text-2); width: 44px; flex-shrink: 0; }
.fs-meter { flex: 1; height: 6px; background: var(--bg-3); border-radius: 99px; overflow: hidden; }
.fs-meter i { display: block; height: 100%; border-radius: 99px; background: var(--lime); box-shadow: 0 0 8px var(--lime-glow); }
.fs-meter i.w { background: var(--amber); box-shadow: 0 0 8px rgba(255,179,71,0.4); }
.fs-meter i.r { background: var(--red); box-shadow: 0 0 8px rgba(255,94,71,0.4); }
.fs-grade { font-family: var(--mono); font-size: 13px; font-weight: 700; width: 18px; text-align: center; flex-shrink: 0; }
.fs-grade.a { color: var(--lime); }
.fs-grade.b { color: var(--amber); }
.fs-grade.c { color: var(--red); }
.fs-rl { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fs-rl strong { font-size: 13.5px; font-weight: 600; color: var(--text); }
.fs-rl small { font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.fs-nm { flex: 1; font-size: 13.5px; font-weight: 500; color: var(--text); }
.fs-sw { width: 34px; height: 19px; border-radius: var(--r-full); background: var(--bg-4); position: relative; flex-shrink: 0; }
.fs-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--text-3); transition: 0.2s var(--ease); }
.fs-sw.on { background: var(--lime); }
.fs-sw.on::after { left: 17px; background: var(--bg); }
.fs-step {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 10px;
  background: rgba(124,232,95,0.12); color: var(--green);
}
.fs-step.go { background: var(--lime); color: var(--bg); box-shadow: 0 0 12px var(--lime-glow); }
.fs-time { font-family: var(--mono); font-size: 11px; color: var(--text-3); flex-shrink: 0; }

/* shared: chart + metrics (backtest) */
.fs-chart { width: 100%; flex: 1; min-height: 0; display: block; }
.fs-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.fs-metrics > div { display: flex; flex-direction: column; gap: 4px; }
.fs-metrics span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.fs-metrics strong { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.fs-metrics strong small { font-size: 11px; font-weight: 600; color: var(--text-3); }

.fs-foot {
  margin-top: auto;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--text-3);
}
.fs-foot-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime-glow); }

/* responsive: stack to single column, auto height */
@media (max-width: 1024px) {
  .carousel-slide { grid-template-columns: 1fr; height: auto; gap: var(--s6); padding: var(--s5) clamp(8px,3vw,24px); }
  .fs-stage { height: 440px; max-width: 560px; }
  .fs-copy h2 { font-size: clamp(32px, 7vw, 44px); }
}
@media (max-width: 520px) {
  .fs-stage { height: auto; min-height: 400px; }
  .fs-body { padding: 18px; }
  .fs-feature-num { font-size: 30px; }
}

/* ============================================================
   V15 — carousel: 5 distinct graphic forms (g1–g5)
   Copy block stays uniform; graphics vary hard. Slides 2 & 4
   flip (graphic left). Forms: dial / emblem / bento / pipeline / chart.
   ============================================================ */

/* flip = graphic left, copy right */
.carousel-slide.flip { grid-template-columns: 1fr 0.82fr; }
.carousel-slide.flip .fs-copy { order: 2; }
.carousel-slide.flip .fs-stage { order: 1; }

/* frameless stage (emblem / pipeline) */
.fs-stage.bare {
  background: none; border: none; box-shadow: none; overflow: visible;
  align-items: center; justify-content: center;
}
.fs-stage.bare::before { display: none; }

/* ---------- Slide 1 · radial grade dial ---------- */
.g1 { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 24px; }
.g1-dial { position: relative; width: min(74%, 290px); aspect-ratio: 1; }
.g1-dial svg { width: 100%; height: 100%; }
.g1-dial .trk { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 12; }
.g1-dial .prg { fill: none; stroke: url(#g1grad); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 578.1; stroke-dashoffset: 46.2; }
.g1-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.g1-letter { font-size: 68px; font-weight: 800; letter-spacing: -0.05em; color: var(--text); line-height: 1; }
.g1-score { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--lime); margin-top: 2px; }
.g1-score small { color: var(--text-3); font-weight: 600; }
.g1-coin { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }
.g1-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.g1-chip { font-family: var(--mono); font-size: 11px; color: var(--text-3); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-full); padding: 6px 12px; }
.g1-chip b { color: var(--text); font-weight: 700; margin-right: 3px; }
.g1-chip.warm b { color: var(--amber); }

/* ---------- Slide 2 · security emblem (frameless) ---------- */
.g2 { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.g2-emblem { position: relative; width: 176px; height: 176px; display: grid; place-items: center; }
.g2-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(200,255,61,0.18); animation: g2pulse 3.4s ease-out infinite; }
.g2-ring.d2 { animation-delay: 1.1s; }
.g2-ring.d3 { animation-delay: 2.2s; }
@keyframes g2pulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.25); opacity: 0; } }
.g2-core {
  position: relative; width: 98px; height: 98px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(200,255,61,0.14), var(--bg-3));
  border: 1px solid rgba(200,255,61,0.3);
  display: grid; place-items: center; font-size: 40px; color: var(--lime);
  box-shadow: 0 18px 50px -10px var(--lime-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.g2-orbit { position: absolute; inset: 0; animation: g2spin 12s linear infinite; }
.g2-orbit i { position: absolute; top: -3px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime-glow); transform: translateX(-50%); }
@keyframes g2spin { to { transform: rotate(360deg); } }
.g2-enc { font-family: var(--mono); font-size: 12px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.g2-enc i { color: var(--lime); }

/* minimal permission list — compare-table vibe, no glowing pills */
.g2-perms { width: min(100%, 300px); display: flex; flex-direction: column; }
.g2-perm {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}
.g2-perm:first-child { border-top: 1px solid var(--line); }
.g2-perm i { font-size: 12px; width: 14px; text-align: center; }
.g2-perm i.ok { color: var(--green); }
.g2-perm i.no { color: var(--red); }
.g2-perm span { flex: 1; font-size: 14px; font-weight: 500; color: var(--text); }
.g2-perm b { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-3); }
.g2-perm b.off { color: var(--text-3); }

/* ---------- Slide 3 · strategy bento grid ---------- */
.g3 { height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 22px; align-content: center; }
.g3-tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 5px; }
.g3-tile.active { grid-column: 1 / -1; gap: 7px; background: linear-gradient(180deg, rgba(200,255,61,0.06), var(--bg-2)); border-color: rgba(200,255,61,0.3); }
.g3-tile-top { display: flex; align-items: center; justify-content: space-between; }
.g3-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--bg-3); display: grid; place-items: center; font-size: 13px; color: var(--text-3); }
.g3-tile.active .g3-ic { background: var(--lime-tint); color: var(--lime); }
.g3-state { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.g3-nm { font-size: 14px; font-weight: 600; color: var(--text); }
.g3-tile:not(.active) .g3-nm { margin-top: 4px; }
.g3-meta { font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.g3-meta.off { color: var(--text-4); }
.g3-spark { width: 100%; height: 38px; margin-top: 2px; }
.g3-tile.add { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: center; gap: 9px; padding: 12px; color: var(--text-3); font-family: var(--mono); font-size: 11px; border-style: dashed; }

/* ---------- Slide 4 · webhook pipeline (frameless) ---------- */
.g4 { display: flex; flex-direction: column; width: min(100%, 372px); }
.g4-node { display: flex; align-items: center; gap: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.g4-node.lime { border-color: rgba(200,255,61,0.3); background: linear-gradient(180deg, rgba(200,255,61,0.05), var(--bg-2)); }
.g4-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-3); display: grid; place-items: center; font-size: 16px; color: var(--text-2); flex-shrink: 0; }
.g4-ic.tv { color: #5DB5FF; background: rgba(93,181,255,0.1); }
.g4-ic.go { color: var(--lime); background: var(--lime-tint); }
.g4-lbl { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.g4-lbl strong { font-size: 13.5px; font-weight: 600; color: var(--text); }
.g4-lbl small { font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.g4-t { font-family: var(--mono); font-size: 11px; color: var(--text-3); flex-shrink: 0; }
.g4-chip { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--lime); background: var(--lime-tint); border: 1px solid rgba(200,255,61,0.2); padding: 4px 9px; border-radius: var(--r-full); flex-shrink: 0; }
.g4-wire { width: 2px; height: 28px; margin-left: 37px; position: relative; background: repeating-linear-gradient(180deg, var(--line-2) 0 5px, transparent 5px 10px); }
.g4-pulse { position: absolute; top: 0; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime-glow); transform: translateX(-50%); animation: g4travel 2.4s ease-in-out infinite; }
.g4-pulse.d2 { animation-delay: 1.2s; }
@keyframes g4travel { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ---------- Slide 5 · backtest chart ---------- */
.g5 { height: 100%; display: flex; flex-direction: column; padding: 24px; gap: 18px; }
.g5-head { display: flex; align-items: flex-start; justify-content: space-between; }
.g5-pl { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--lime); line-height: 1; }
.g5-sub { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); margin-top: 6px; }
.g5-legend { display: flex; gap: 14px; font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.g5-legend span { display: inline-flex; align-items: center; gap: 6px; }
.g5-legend i { width: 11px; height: 2px; border-radius: 2px; }
.g5-legend i.a { background: var(--lime); }
.g5-legend i.b { border-top: 1.5px dashed rgba(255,255,255,0.4); }
.g5-chart { width: 100%; flex: 1; min-height: 0; display: block; }
.g5-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.g5-metrics > div { display: flex; flex-direction: column; gap: 4px; }
.g5-metrics span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.g5-metrics strong { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.g5-metrics strong small { font-size: 11px; color: var(--text-3); }

@media (max-width: 1024px) {
  .carousel-slide.flip { grid-template-columns: 1fr; }
  .carousel-slide.flip .fs-copy { order: 0; }
  .carousel-slide.flip .fs-stage { order: 0; }
}
