/* Signal AI Trading: shared static site styles */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Brand palette (Signal AI Trading brand guide) */
  --gold: #C6A962;        /* Antique Gold — display accents, dark-bg accents */
  --gold-deep: #8C734D;   /* Deep Gold — small gold text on light backgrounds */
  --gold-light: #D8C184;  /* hover / highlight tint of Antique Gold */
  --charcoal: #1A1A1A;
  --warm-gray: #EBE1D3;
  --ivory: #FAF7EF;

  /* Ivory-first theme (default): Ivory bg, Charcoal text, Deep Gold small accents */
  --bg: var(--ivory);
  --bg-alt: #f3eee2;
  --card: #ffffff;
  --panel: #f3eee2;
  --border: #ded3bf;
  --text: var(--charcoal);
  --text-strong: var(--charcoal);
  --muted: #6b6354;
  --accent: var(--gold-deep);
  --accent-dim: #6f5a3b;
  --accent-hover: #6f5a3b;
  --green: #2f8f5b;
  --red: #c24a3f;
  --yellow: #b8922e;
  /* Theme-aware surfaces / lines / shadows (replace rgba(255,255,255,x) & rgba(0,0,0,x) literals) */
  --surface-1: rgba(26, 26, 26, 0.03);
  --surface-2: rgba(26, 26, 26, 0.05);
  --surface-3: rgba(26, 26, 26, 0.08);
  --inset-bg: rgba(26, 26, 26, 0.04);
  --line-faint: rgba(26, 26, 26, 0.06);
  --line-soft: rgba(26, 26, 26, 0.1);
  --line-strong: rgba(26, 26, 26, 0.24);
  --shadow-color: rgba(26, 26, 26, 0.06);
  --shadow-sm: 0 4px 14px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 24px 56px rgba(26, 26, 26, 0.1);
  --scrim: rgba(26, 26, 26, 0.45);
  --code-bg: rgba(26, 26, 26, 0.06);
  --input-bg: #ffffff;
  --chart-bg: #ffffff;
  --chart-grid: rgba(26, 26, 26, 0.08);
  --chart-tick: #6b6354;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Jost", "Century Gothic", "URW Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 8px;
  --max: 980px;
  --header-bg: rgba(250, 247, 239, 0.92);
  --header-offset: 4.75rem;
  color-scheme: light;
}

/* Dark sections (deliberate opt-in): Charcoal bg, Ivory text, Antique Gold accents.
   The guide's "white on charcoal" lockup — used for the footer, photo hero and
   app-like terminals (desk, live boards). */
.theme-dark,
[data-theme="dark"],
.site-footer,
.alert-card,
.alert-sample,
.docs-pre {
  --bg: var(--charcoal);
  --bg-alt: #222222;
  --card: #242424;
  --panel: #222222;
  --border: #3a352c;
  --text: var(--ivory);
  --text-strong: var(--warm-gray);
  --muted: #b5ac9c;
  --accent: var(--gold);
  --accent-dim: var(--gold-deep);
  --accent-hover: var(--gold-light);
  --green: #4fbf8a;
  --red: #e5635a;
  --yellow: #e0b955;
  --surface-1: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.08);
  --inset-bg: rgba(0, 0, 0, 0.25);
  --line-faint: rgba(255, 255, 255, 0.05);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.25);
  --shadow-color: rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.4);
  --scrim: rgba(0, 0, 0, 0.55);
  --code-bg: rgba(255, 255, 255, 0.06);
  --input-bg: #1a1a1a;
  --chart-bg: #1a1a1a;
  --chart-grid: rgba(255, 255, 255, 0.08);
  --chart-tick: #b5ac9c;
  --header-bg: rgba(26, 26, 26, 0.92);
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
}

/* Legacy alias — light is now the default, so this is a no-op. */
.theme-light,
[data-theme="light"] {
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

.site-header {
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background-color: var(--header-bg);
}

.stats-header-badge {
  display: inline-block;
  margin-right: auto;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(79, 191, 138, 0.12);
  border: 1px solid rgba(79, 191, 138, 0.35);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.site-header nav a {
  margin-left: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: none;
  line-height: 1.05;
  text-decoration: none;
  color: var(--text);
  background-color: transparent;
}

.logo__img {
  display: block;
  height: 2.6rem;
  width: 2.6rem;
  max-height: 2.6rem;
  max-width: 2.6rem;
  object-fit: contain;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.logo__text,
.logo__word {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1.05;
  color: var(--text);
}

.logo__word-0dte {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}

.logo__word-name {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}
nav a:hover { color: var(--text); }

.site-header nav a.btn-sm {
  margin-left: 0;
}

/* Mobile hamburger — injected by site-config.js */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.1rem;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.site-header.is-nav-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ===== Footer Brand Column ===== */
.footer-brand {
  flex: 1 1 16rem;
  max-width: 18rem;
  min-width: 0;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand .muted {
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-brand .footer-social {
  margin-top: 0.75rem;
}

/* ===== Footer Grid - Horizontal on Desktop, Vertical on Mobile ===== */
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .site-footer .footer-inner {
    grid-template-columns: 18rem repeat(3, 1fr);
    align-items: start;
  }
}

.site-footer .footer-nav {
  flex: 1;
  min-width: 0;
}

.site-footer .footer-nav h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.site-footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (min-width: 900px) {
  .site-footer .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}

.site-footer .footer-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer .footer-nav a:hover {
  color: var(--accent);
}

/* ===== Pricing Card Fixes ===== */
.pricing-card--featured {
  border-top: none !important;
}

.pricing-card--addon-fixed .pricing-card__header {
  position: relative;
  margin-bottom: 0;
}

.pricing-card--addon-fixed .pricing-card__title {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  position: relative;
  z-index: 1;
  margin-top: -0.5rem; /* Pull up over border */
}

/* ===== Hero Image ===== */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background {
  position: relative;
}

.hero__grid-overlay {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /*
    When open: pin the WHOLE header to the viewport (fixed), then drop the
    menu under it. Avoids sticky breaking / body scroll-lock yanking the bar
    off-screen mid-page.
  */
  .site-header.is-nav-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    padding-top: env(safe-area-inset-top, 0px);
    /* Opaque — translucent --header-bg lets page text bleed into the drawer */
    background: var(--panel);
    background-color: var(--panel);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-nav-open .header-inner,
  .site-header.is-nav-open .brand {
    background: var(--panel);
    background-color: var(--panel);
  }

  .site-header nav.site-nav,
  .site-header nav {
    display: none;
    position: fixed;
    top: var(--site-header-h, calc(3.5rem + env(safe-area-inset-top, 0px)));
    left: 0;
    right: 0;
    z-index: 201;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.35rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
    /* Solid slate — not the translucent --header-bg */
    background: var(--panel);
    background-color: var(--panel);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 48px var(--shadow-color);
    max-height: calc(100dvh - var(--site-header-h, 3.5rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.is-nav-open nav.site-nav,
  .site-header.is-nav-open nav {
    display: flex;
  }

  .site-header nav a {
    display: block;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  }

  .site-header nav a:last-child {
    border-bottom: none;
  }

  .site-header nav a.btn-sm {
    margin: 0.65rem 1.1rem 0.25rem;
    text-align: center;
    justify-content: center;
    border-bottom: none;
  }

  /* Backdrop + light scroll freeze (no body top:-scrollY — that was the bug) */
  html.nav-open,
  body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--scrim);
  }
}

/* Cookie-consent banner (injected by google-ads.js) */
.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: 0.6rem;
  box-shadow: 0 10px 30px var(--shadow-color);
}
.consent-banner__text {
  margin: 0;
  flex: 1 1 20rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text);
}
.consent-banner__link {
  white-space: nowrap;
}
.consent-banner__actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(198, 169, 98, 0.15), transparent);
}

/* Landing hero: the guide's "hero-dark" lockup — charcoal → warm umber gradient
   with the Antique Gold mark. Deliberately dark (see .theme-dark token block). */
/* .hero--photo is defined once, in the PREMIUM HOMEPAGE STYLES block below. */

.hero-compact { padding: 3rem 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.success-badge { color: var(--green); }

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }

.tagline {
  color: var(--gold);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 1rem 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.hero-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.hero-cta__note { margin: 0; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

/* Primary: charcoal on Antique Gold (both themes). Secondary: charcoal outline on
   ivory; inside dark sections the outline flips to ivory via --text. */
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--charcoal);
}

.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--text) 55%, transparent);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; margin-top: 0.5rem; }

.fine { font-size: 0.8rem; color: var(--muted); }

.section { padding: 3.25rem 0; }
.section-alt { background: var(--bg-alt); }

#product,
#samples,
#decision-desk,
#subscribe,
#faq,
#pro-mcp,
#mcp,
#spy-0dte-scanner {
  scroll-margin-top: calc(var(--header-offset) + 0.75rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.card-accent {
  border-color: rgba(198, 169, 98, 0.4);
  background: linear-gradient(135deg, rgba(198, 169, 98, 0.08), var(--card));
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.checklist li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-2);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Alert previews / code samples are deliberately dark "app" surfaces (see dark token block) */
.alert-sample {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-x: auto;
  color: var(--text-strong);
}

/* Sample alert card: Discord-style embed preview */
.alert-card {
  background: linear-gradient(145deg, #242424 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 460px;
}

.alert-card--put {
  border-left: 3px solid var(--red);
}

.alert-card--call {
  border-left: 3px solid var(--green);
}

.alert-sample-points {
  margin-top: 1rem;
}

.discord-samples__intro {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.discord-samples__intro h2 {
  margin-bottom: 0.5rem;
}

.discord-samples__points {
  margin-top: 1rem;
}

.discord-samples__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.discord-samples__foot {
  margin-top: 1.25rem;
}


/* ===== Footer Brand Column ===== */
.footer-brand {
  flex: 1 1 16rem;
  max-width: 18rem;
  min-width: 0;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand .muted {
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-brand .footer-social {
  margin-top: 0.75rem;
}

/* ===== Footer Grid - Horizontal on Desktop, Vertical on Mobile ===== */
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .site-footer .footer-inner {
    grid-template-columns: 18rem repeat(3, 1fr);
    align-items: start;
  }
}

.site-footer .footer-nav {
  flex: 1;
  min-width: 0;
}

.site-footer .footer-nav h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.site-footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (min-width: 900px) {
  .site-footer .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}

.site-footer .footer-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer .footer-nav a:hover {
  color: var(--accent);
}

/* ===== Pricing Card Fixes ===== */
.pricing-card--featured {
  border-top: none !important;
}

.pricing-card--addon-fixed .pricing-card__header {
  position: relative;
  margin-bottom: 0;
}

.pricing-card--addon-fixed .pricing-card__title {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  position: relative;
  z-index: 1;
  margin-top: -0.5rem; /* Pull up over border */
}

/* ===== Hero Image ===== */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background {
  position: relative;
}

.hero__grid-overlay {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .discord-samples__grid {
    grid-template-columns: 1fr;
  }
}

.alert-card__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--line-faint);
  background: rgba(248, 81, 73, 0.06);
}

.alert-card--call .alert-card__header {
  background: rgba(79, 191, 138, 0.06);
}

.alert-card__icon {
  font-size: 1.35rem;
  line-height: 1;
}

.alert-card__title-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.alert-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.35;
}

.alert-card__subtitle {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.alert-card__desc {
  margin: 0;
  padding: 0.75rem 1.15rem 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.alert-card__desc strong {
  color: var(--text-strong);
}

.alert-card__grade {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.alert-card__grade--b {
  background: rgba(198, 169, 98, 0.2);
  color: #d8c184;
  border: 1px solid rgba(198, 169, 98, 0.45);
}

.alert-card__grade--aplus {
  background: rgba(79, 191, 138, 0.15);
  color: var(--green);
  border: 1px solid rgba(79, 191, 138, 0.4);
}

.alert-card__trade {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 1.15rem 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.alert-card__trade--put {
  background: rgba(248, 81, 73, 0.1);
  border-color: rgba(248, 81, 73, 0.25);
}

.alert-card__trade--call {
  background: rgba(79, 191, 138, 0.1);
  border-color: rgba(79, 191, 138, 0.25);
}

.alert-card__dir {
  font-size: 1.5rem;
  line-height: 1;
}

.alert-card__trade-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.alert-card__trade-label {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}

.alert-card__trade--put .alert-card__trade-label { color: var(--red); }
.alert-card__trade--call .alert-card__trade-label { color: var(--green); }

.alert-card__trade-at {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.alert-card__trade-at strong {
  color: var(--text);
  font-size: 1.05rem;
  font-family: var(--mono);
}

.alert-card__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 1.15rem 0.85rem;
}

.alert-card__chip {
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 0.55rem 0.6rem;
  text-align: center;
}

.alert-card__chip-key {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.alert-card__chip-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text);
  font-family: var(--mono);
  line-height: 1.25;
}

.alert-card__meta {
  padding: 0 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.alert-card__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.86rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line-faint);
}

.alert-card__row:last-child { border-bottom: none; }

.alert-card__row--stack {
  flex-direction: column;
  gap: 0.3rem;
}

.alert-card__key {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.alert-card__val {
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.45;
}

.alert-card__row:not(.alert-card__row--stack) .alert-card__val {
  font-family: var(--mono);
  font-weight: 600;
  text-align: right;
}

.alert-card__val--confirm {
  color: var(--green);
  font-weight: 650;
}

.alert-card__hint {
  display: inline;
  color: var(--muted);
  font-weight: 500;
}

.alert-card__flow {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.alert-card__flow-item {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-strong);
}

.alert-card__flow-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(181, 172, 156, 0.7);
}

.alert-card__stop {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 1.15rem 1rem;
  padding: 0.8rem 0.9rem;
  background: rgba(240, 193, 75, 0.08);
  border: 1px solid rgba(240, 193, 75, 0.28);
  border-radius: 8px;
}

.alert-card__stop-icon {
  font-size: 1.1rem;
  line-height: 1.3;
}

.alert-card__stop-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.alert-card__stop-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}

.alert-card__levels {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
}

.alert-card__levels li + li {
  margin-top: 0.2rem;
}

.alert-card__levels-note {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.35;
}

.alert-card__footer {
  margin: 0;
  padding: 0.65rem 1.15rem;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  background: var(--inset-bg);
  border-top: 1px solid var(--line-faint);
}

.steps { padding-left: 1.25rem; }
.steps li { margin-bottom: 0.65rem; }

.steps-card .btn { margin-top: 0.5rem; }

.subscribe-box {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.center { text-align: center; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid--three {
  max-width: 960px;
}

.pricing-grid--four {
  max-width: 1100px;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(198, 169, 98, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.pricing-badge--muted {
  background: var(--border);
  color: var(--muted);
}

.pricing-card h3 { margin: 0.5rem 0 0; }
.pricing-card .btn { width: 100%; margin-top: 1rem; }

.checklist-compact {
  text-align: left;
  font-size: 0.9rem;
  margin: 1rem 0;
  padding-left: 1.1rem;
}
.checklist-compact li { margin-bottom: 0.35rem; }

.sms-sample {
  background: var(--inset-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin: 0.75rem 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.sms-hours {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}
.sms-hours article {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: var(--surface-1);
}
.sms-hours h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.sms-hours p {
  margin: 0;
  font-size: 0.9rem;
}

.sms-plan-section {
  max-width: 520px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.sms-plan-section__title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  text-align: center;
}

.sms-plan-section__lead {
  text-align: center;
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.pricing-card--muted {
  opacity: 0.92;
  border-style: dashed;
}

.sms-disclosure {
  text-align: left;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(198, 169, 98, 0.35);
  background: rgba(198, 169, 98, 0.08);
  font-size: 0.82rem;
  line-height: 1.5;
}

.sms-disclosure p {
  margin: 0 0 0.5rem;
}

.sms-disclosure p:last-child {
  margin-bottom: 0;
}

.sms-consent-quote {
  display: block;
  margin: 0.5rem 0 0;
  font-style: italic;
  color: var(--text-strong);
}

.sms-optin-mock {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
}

.sms-optin-mock__label {
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.sms-optin-mock__field {
  display: block;
  margin: 0.85rem 0 0;
}

.sms-optin-mock__field span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.sms-optin-mock__field input,
.sms-optin-mock__field textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 0.85rem;
}

.sms-optin-mock__field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.price { margin: 0.5rem 0 0.25rem; }
.price .amount { font-size: 2.5rem; font-weight: 700; }
.price .period { color: var(--muted); font-size: 1.1rem; }

.faq dt {
  font-weight: 600;
  margin-top: 1rem;
}
.faq dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.site-footer {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--border);
  padding: 2.25rem 0 calc(2.25rem + env(safe-area-inset-bottom, 0px));
  margin-top: 0;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer .disclaimer,
.site-footer .fine,
.site-footer .muted {
  margin: 0;
  line-height: 1.65;
}

.site-footer .footer-legal {
  font-size: 0.8rem;
  opacity: 0.85;
}

.site-footer .footer-inner {
  gap: 1.15rem;
}

.brand-banner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: var(--charcoal); /* matches brand/hero-banner.webp (dark lockup) */
  border-top: 1px solid var(--border);
}

.brand-banner__img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  flex-wrap: wrap;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface-1);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.footer-social__link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.footer-social__link:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.footer-social__link--x:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.footer-social__link--tiktok:hover {
  color: #25f4ee;
  border-color: rgba(37, 244, 238, 0.35);
}

.footer-social__link--youtube:hover {
  color: var(--red);
  border-color: rgba(255, 68, 68, 0.35);
}

.disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 52em;
  line-height: 1.5;
}

.legal h2 { font-size: 1.1rem; margin-top: 1.75rem; }
.legal ul { color: var(--muted); padding-left: 1.25rem; }
.legal ul li { margin-bottom: 0.35rem; }
.legal p { color: var(--muted); }
.legal h2 + p { margin-top: 0.5rem; }

/* Stats page compatibility */
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { text-align: left; padding: 0.5rem; border-bottom: 1px solid var(--border); }
.warn {
  background: rgba(240, 193, 75, 0.12);
  border: 1px solid rgba(240, 193, 75, 0.3);
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-size: 0.9rem;
}

.muted { color: var(--muted); }

/* ── Stats dashboard ── */
.stats-page .stats-hero {
  padding: 3rem 0 2rem;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(198, 169, 98, 0.12), transparent);
}

.stats-updated { margin: 0 0 1.5rem; font-size: 0.88rem; }

.stats-period {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.95rem;
  max-width: 42rem;
}

.stats-updated-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
}

.stats-updated-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(79, 191, 138, 0.12);
  border: 1px solid rgba(79, 191, 138, 0.35);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.dot--muted { background: rgba(181, 172, 156, 0.5); }

.journal-pnl-note {
  text-align: center;
  margin: 0.5rem 0 0.75rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.kpi-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kpi-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* ===== Footer Brand Column ===== */
.footer-brand {
  flex: 1 1 16rem;
  max-width: 18rem;
  min-width: 0;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand .muted {
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-brand .footer-social {
  margin-top: 0.75rem;
}

/* ===== Footer Grid - Horizontal on Desktop, Vertical on Mobile ===== */
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .site-footer .footer-inner {
    grid-template-columns: 18rem repeat(3, 1fr);
    align-items: start;
  }
}

.site-footer .footer-nav {
  flex: 1;
  min-width: 0;
}

.site-footer .footer-nav h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.site-footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (min-width: 900px) {
  .site-footer .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}

.site-footer .footer-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer .footer-nav a:hover {
  color: var(--accent);
}

/* ===== Pricing Card Fixes ===== */
.pricing-card--featured {
  border-top: none !important;
}

.pricing-card--addon-fixed .pricing-card__header {
  position: relative;
  margin-bottom: 0;
}

.pricing-card--addon-fixed .pricing-card__title {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  position: relative;
  z-index: 1;
  margin-top: -0.5rem; /* Pull up over border */
}

/* ===== Hero Image ===== */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background {
  position: relative;
}

.hero__grid-overlay {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .kpi-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stats-hero__lead {
  max-width: 40rem;
  margin: 0.5rem 0 0.75rem;
  font-size: 1.05rem;
}

.stats-read {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.35rem;
}

.stats-read h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.stats-read__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.stats-read__list li + li {
  margin-top: 0.4rem;
}

.stats-read__list strong {
  color: var(--text);
}

.kpi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.kpi-card--accent {
  border-color: rgba(198, 169, 98, 0.35);
  background: linear-gradient(135deg, rgba(198, 169, 98, 0.1), var(--card));
}

.kpi-card--green { border-color: rgba(79, 191, 138, 0.3); }
.kpi-card--blue { border-color: rgba(198, 169, 98, 0.3); }
.kpi-card--mixed {
  border-color: rgba(224, 185, 85, 0.35);
  background: linear-gradient(135deg, rgba(224, 185, 85, 0.08), var(--card));
}

.kpi-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.kpi-value--sm {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.kpi-card--green .kpi-value { color: var(--green); }
.kpi-card--blue .kpi-value { color: var(--accent); }
.kpi-card--mixed .kpi-value { color: var(--yellow); }

.kpi-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.stats-warn { margin-bottom: 2rem; }

.top-wins {
  margin-bottom: 2rem;
}

.top-wins__head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.alerts-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1rem 0 0.25rem;
}

.alerts-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.alerts-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.alerts-tab:hover {
  color: var(--text);
  border-color: rgba(198, 169, 98, 0.45);
}

.alerts-tab.is-active {
  color: var(--text);
  background: rgba(198, 169, 98, 0.22);
  border-color: rgba(198, 169, 98, 0.55);
}

.alerts-tab__n {
  display: inline-block;
  margin-left: 0.25rem;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

.alerts-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.alerts-search {
  flex: 1 1 220px;
  min-width: 180px;
}

.alerts-search input,
.alerts-select select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
}

.alerts-select {
  flex: 0 1 auto;
}

.alerts-select select {
  min-width: 8.5rem;
  cursor: pointer;
}

.alerts-count {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.alerts-empty {
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.win-card[hidden] {
  display: none !important;
}

.win-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0 0.75rem;
}

.win-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.win-card--put {
  border-color: rgba(248, 81, 73, 0.4);
  background:
    linear-gradient(135deg, rgba(248, 81, 73, 0.08) 0%, transparent 45%),
    var(--card);
}

.win-card--call {
  border-color: rgba(79, 191, 138, 0.4);
  background:
    linear-gradient(135deg, rgba(79, 191, 138, 0.1) 0%, transparent 45%),
    var(--card);
}

.win-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.win-card__rank {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(198, 169, 98, 0.15);
  color: var(--accent);
}

.win-card--put .win-card__rank {
  background: rgba(248, 81, 73, 0.18);
  color: var(--red);
}

.win-card--call .win-card__rank {
  background: rgba(79, 191, 138, 0.18);
  color: var(--green);
}

.win-card__gain {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  text-align: right;
  line-height: 1.15;
}

.win-card__gain-peak {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.win-card--put .win-card__gain-peak { color: var(--red); }
.win-card--call .win-card__gain-peak { color: var(--green); }

.win-card__outcome {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.15rem;
}

.win-card__outcome--stop {
  color: var(--red);
}

.win-card__outcome--timeout {
  color: var(--yellow);
}

.win-card--outcome-stop {
  border-color: rgba(248, 81, 73, 0.45);
  background:
    linear-gradient(135deg, rgba(248, 81, 73, 0.12) 0%, transparent 50%),
    var(--card);
}

.win-card--outcome-stop .win-card__gain-peak {
  color: var(--red);
}

.win-card--outcome-stop .win-card__rank {
  background: rgba(248, 81, 73, 0.12);
  color: var(--muted);
}

.win-card--outcome-timeout {
  border-color: rgba(224, 185, 85, 0.4);
  background:
    linear-gradient(135deg, rgba(224, 185, 85, 0.1) 0%, transparent 50%),
    var(--card);
}

.win-card--outcome-timeout .win-card__gain-peak {
  color: var(--yellow);
}

.win-card--outcome-timeout .win-card__rank {
  background: rgba(224, 185, 85, 0.12);
  color: var(--muted);
}

.win-card--outcome-target .win-card__outcome {
  color: var(--green);
}

.win-card__gain-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.win-card__gain-bracket {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
}

.win-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.win-card__dir {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.win-card--put .win-card__dir { color: var(--red); }
.win-card--call .win-card__dir { color: var(--green); }

.win-card__score {
  color: var(--text);
  font-weight: 600;
}

.win-card__setup {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.win-card__levels {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.win-card__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.top-wins__foot {
  margin: 0.25rem 0 0;
}

/* ── Trades catalog (marketing) ── */
.trades-page .trades-hero {
  background:
    radial-gradient(ellipse 55% 45% at 15% -5%, rgba(79, 191, 138, 0.14), transparent),
    radial-gradient(ellipse 50% 40% at 85% 0%, rgba(198, 169, 98, 0.1), transparent);
}

.trades-kpi {
  margin-bottom: 1.25rem;
}

.kpi-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .kpi-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .kpi-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.kpi-card--purple {
  border-color: rgba(216, 193, 132, 0.35);
}
.kpi-card--purple .kpi-value {
  color: var(--accent);
}

.kpi-value--sm {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.trades-disclaimer {
  margin: 0 0 0.5rem;
  padding: 1rem 1.15rem;
}
.trades-disclaimer p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.trades-disclaimer strong {
  color: var(--text);
}

.trades-catalog {
  padding-bottom: 3rem;
}

.trades-toolbar .trades-tabs {
  flex-wrap: wrap;
}

.trades-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.trades-min-peak select {
  min-width: 9.5rem;
}

/* ── Affiliate partner page ── */
.affiliate-page .affiliate-hero {
  background:
    radial-gradient(ellipse 60% 45% at 20% -10%, rgba(79, 191, 138, 0.1), transparent),
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(198, 169, 98, 0.08), transparent);
}

.affiliate-hero__note {
  margin-top: 1rem;
  max-width: 36rem;
}

.affiliate-offer {
  padding-top: 0;
}

.affiliate-payout {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(79, 191, 138, 0.06), transparent);
}

.affiliate-payout__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.affiliate-payout__amount {
  margin: 0.35rem 0;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.03em;
}

.affiliate-payout__sub {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.affiliate-payout__plans {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.9rem;
}

.affiliate-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.affiliate-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.affiliate-form input,
.affiliate-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}

.affiliate-form input:focus,
.affiliate-form textarea:focus {
  outline: 2px solid rgba(198, 169, 98, 0.45);
  outline-offset: 1px;
}

.affiliate-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.chart-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.chart-grid--1 { grid-template-columns: 1fr; }
.chart-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.chart-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.35rem;
}

.chart-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.chart-desc {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.chart-wrap {
  position: relative;
  height: 220px;
}

.chart-wrap--donut {
  height: 200px;
  max-width: 220px;
  margin: 0 auto;
}

.chart-wrap--tall { height: 280px; }

.session-summary {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.session-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.session-summary__label {
  color: var(--muted);
  font-size: 0.92rem;
}

.session-summary__count {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.session-summary--split .session-summary__head {
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.session-summary__grades {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  min-width: 7rem;
  justify-content: flex-end;
}

.session-summary__grade {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: 2rem;
  text-align: center;
}

.session-summary__grade--a { color: var(--green); }
.session-summary__grade--b { color: var(--accent); }

.session-summary__count--a { color: var(--green); min-width: 2rem; text-align: center; }
.session-summary__count--b { color: var(--accent); min-width: 2rem; text-align: center; }

.session-est-note { margin-top: 0.75rem; }
.session-chart-wrap { margin-top: 1.25rem; }
.muted-block {
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: 10px;
  margin: 0.5rem 0 1rem;
}
.chart-wrap--thin { height: 100px; margin-top: 0.75rem; }

.chart-legend {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.chart-legend--inline {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.chart-legend li { display: flex; align-items: center; gap: 0.4rem; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot--green { background: var(--green); }
.dot--blue { background: var(--accent); }
.dot--red { background: var(--red); }

.journal-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.journal-stat {
  text-align: center;
  padding: 0.75rem;
  background: var(--inset-bg);
  border-radius: 8px;
  border: 1px solid var(--line-faint);
}

.journal-stat__val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.journal-stat__val--green { color: var(--green); }
.journal-stat__val--red { color: var(--red); }

.journal-stat__lbl {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.2rem;
}

.stats-back {
  margin: 2rem 0 0;
  text-align: center;
}

/* ── Mobile & tablet responsive ── */
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img:not(.logo__img):not(.brand-banner__img),
canvas,
svg,
video {
  max-width: 100%;
  height: auto;
}

.logo__img {
  height: 3rem;
  width: 3rem;
  max-height: 3rem;
  max-width: 3rem;
  background-color: transparent;
}

.brand-banner__img {
  max-width: none;
  width: 100%;
  height: auto;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .wrap {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
    background-color: var(--header-bg);
  }

  .header-inner {
    min-height: 3.85rem;
    gap: 0.7rem;
  }

  .stats-header-badge {
    font-size: 0.6rem;
    padding: 0.22rem 0.45rem;
  }

  .logo {
    max-width: none;
    gap: 0.55rem;
  }

  .logo__img {
    height: 2.65rem;
    width: 2.65rem;
    max-height: 2.65rem;
    max-width: 2.65rem;
  }

  .logo__text,
  .logo__word {
    display: flex;
  }

  .logo__word-0dte {
    font-size: 1rem;
  }

  .logo__word-name {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .brand-banner__img {
    object-position: center 42%;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero--photo {
    min-height: min(68vh, 600px);
    padding: 3rem 0 2.5rem;
    background-position: left center;
  }

  .hero--photo::before {
    background:
      radial-gradient(
        ellipse 100% 80% at 50% 20%,
        rgba(198, 169, 98, 0.12),
        transparent 70%
      );
  }

  .hero__mark {
    right: -18%;
    width: 18rem;
    opacity: 0.22;
  }

  .hero-compact {
    padding: 2rem 0 1.5rem;
  }

  .section {
    padding: 2.25rem 0;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-cta__buttons {
    flex-direction: column;
  }

  .hero-cta__buttons .btn {
    width: 100%;
    text-align: center;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .alert-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .alert-card__chips {
    grid-template-columns: 1fr;
  }

  .alert-card__chip {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
  }

  .alert-card__chip-key {
    margin-bottom: 0;
  }

  .alert-card__row {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  .alert-card__val {
    word-break: break-word;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .pricing-card {
    padding: 1.25rem 1rem 1.35rem;
  }

  .pricing-card--featured {
    margin-top: 0.5rem;
  }

  .pricing-card .btn {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .price .amount {
    font-size: 2.15rem;
  }

  .stats-page .stats-hero {
    padding: 2rem 0 1.5rem;
  }

  .stats-updated-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .kpi-grid--3 {
    grid-template-columns: 1fr;
  }

  .kpi-card {
    padding: 0.9rem 0.85rem;
  }

  .kpi-value {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .kpi-sub {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .chart-grid--2 {
    grid-template-columns: 1fr;
  }

  .chart-card {
    padding: 1rem 1rem 1.15rem;
  }

  .chart-wrap {
    height: 200px;
  }

  .chart-wrap--tall {
    height: 240px;
  }

  .chart-wrap--donut {
    max-width: 100%;
    height: 190px;
  }

  .chart-legend--inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .journal-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .journal-stat__val {
    font-size: 1.25rem;
  }

  .learn-article {
    padding: 2rem 0 1.75rem;
  }

  .site-footer {
    padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  }

  .site-footer .muted {
    line-height: 1.6;
    word-break: break-word;
  }

  .legal h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .steps-card .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 2.75rem;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding-left: max(0.85rem, env(safe-area-inset-left));
    padding-right: max(0.85rem, env(safe-area-inset-right));
  }

  h1 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  h2 {
    font-size: 1.2rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .tagline {
    font-size: 0.95rem;
    margin: 0.75rem 0 1rem;
  }

  nav a {
    margin-left: 0.5rem;
    font-size: 0.82rem;
  }

  nav a.btn-sm {
    margin-left: 0.35rem;
    padding: 0.4rem 0.65rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .kpi-card--accent .kpi-value,
  .kpi-card--green .kpi-value {
    font-size: 1.75rem;
  }

  .alert-card__header {
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
  }

  .alert-card__grade {
    margin-left: auto;
  }

  .alert-card__trade-label {
    font-size: 1.05rem;
  }

  .checklist li {
    padding-left: 1.35rem;
    font-size: 0.92rem;
  }

  .faq dt {
    font-size: 0.95rem;
  }

  .warn {
    padding: 0.85rem;
    font-size: 0.85rem;
  }

  .sms-sample {
    font-size: 0.78rem;
    padding: 0.65rem 0.75rem;
  }
}

@media (min-width: 769px) {
  .hero-cta__buttons .btn-primary {
    min-width: 12rem;
  }
}

/* Pro dashboard (SnapTrade read-only context) */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.stat-value-sm {
  font-size: 0.95rem;
  font-weight: 500;
}

.text-ok { color: var(--green); }
.text-warn { color: var(--yellow); }

.dash-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Learn hub + articles */
.learn-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.learn-list__item {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
}

.learn-list__item a {
  display: block;
  padding: 1.1rem 1.25rem;
  color: inherit;
  text-decoration: none;
}

.learn-list__item a:hover {
  border-color: var(--accent);
}

.learn-list__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.005em;
}

.learn-list__item span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Section rail + disclosure (marketing home) */
.section-rail {
  position: sticky;
  top: 3.5rem;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.section-rail__inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.55rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.section-rail__inner::-webkit-scrollbar { display: none; }

.section-rail a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.section-rail a:hover {
  color: var(--text);
  background: var(--surface-1);
}

.section-rail a.is-active {
  color: var(--text);
  border-color: var(--border);
  background: var(--card);
}

.disclosure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin: 0 0 1rem;
  padding: 0;
}

.disclosure > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.disclosure > summary::-webkit-details-marker { display: none; }

.disclosure > summary::after {
  content: "+";
  font-family: var(--font);
  font-weight: 600;
  color: var(--muted);
  font-size: 1.1rem;
}

.disclosure[open] > summary::after { content: "–"; }

.disclosure__body {
  padding: 0 1.15rem 1.25rem;
  border-top: 1px solid var(--border);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-accordion .disclosure > summary {
  font-size: 0.98rem;
}

.faq-accordion .disclosure__body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-accordion .disclosure__body a { color: var(--accent); }

/* Learn hub filters */
.learn-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

.learn-search {
  width: 100%;
  box-sizing: border-box;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
}

.learn-search:focus {
  outline: none;
  border-color: rgba(198, 169, 98, 0.55);
}

.learn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.learn-chip {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
}

.learn-chip:hover { color: var(--text); border-color: var(--muted); }

.learn-chip.is-active {
  color: var(--text);
  background: var(--card);
  border-color: rgba(198, 169, 98, 0.45);
}

.learn-list__item.is-hidden { display: none; }

.learn-empty {
  display: none;
  color: var(--muted);
  padding: 1rem 0 0.25rem;
}

.learn-empty.is-visible { display: block; }

/* Shared list search/pagination empty-state + pager (Notes + Learn) */
.list-empty {
  display: none;
  padding: 1rem 0 0.25rem;
}

.list-empty.is-visible { display: block; }

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem 0 0.5rem;
}

.pager:empty { display: none; }

.pager__btn {
  font: inherit;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.pager__btn:hover:not(:disabled) { border-color: rgba(198, 169, 98, 0.45); }
.pager__btn:disabled { opacity: 0.4; cursor: default; }

.pager__info {
  color: var(--muted);
  font-size: 0.9rem;
}

/* White-glove booking UI */
.book-field { margin: 1.25rem 0; }
.book-field label { display: block; margin-bottom: 0.4rem; }
.book-slots { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; min-height: 1.5rem; }
.book-slot.is-active { border-color: var(--green); color: var(--text); background: var(--card); }
.book-form label { display: block; margin: 0.9rem 0 0.35rem; }
.book-form .learn-search,
.book-field .learn-search { width: 100%; }


.learn-list__item {
  margin-bottom: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.15s ease;
}

.learn-list__item a:hover {
  color: inherit;
}

.learn-list__item:hover {
  border-color: rgba(198, 169, 98, 0.4);
}

.card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  font-weight: 700;
  line-height: 1.3;
}

.price .amount {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

@media (min-width: 900px) {
  .disclosure--samples[open] > summary {
    border-bottom: 1px solid var(--border);
  }
}

/* Learn articles + API reference (api.html) */
.learn-article {
  padding: 3rem 0 2.5rem;
}

.learn-article article > h1 {
  margin-top: 0;
}

.learn-article article h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.learn-article article p,
.learn-article article li {
  line-height: 1.65;
}

/* Polish for AI-generated Notes articles: tables/code/quotes the writer emits as
   bare HTML would otherwise render unstyled on the dark theme. */
.learn-article article thead th {
  background: var(--surface-2);
  font-weight: 600;
}

.learn-article article th,
.learn-article article td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.learn-article article tbody tr:last-child td {
  border-bottom: 0;
}

.learn-article article pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.25rem 0;
}

.learn-article article pre code {
  background: none;
  padding: 0;
}

.learn-article article blockquote {
  margin: 1.25rem 0;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 3px solid var(--green);
  color: var(--muted);
}

.learn-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.learn-cta h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

/* Developer API reference (api.html) */
.api-docs article.wrap {
  max-width: min(720px, 100%);
}

.api-docs article h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.api-docs article h3 code {
  font-size: 0.95em;
  background: transparent;
  padding: 0;
}

.api-docs__meta p {
  margin: 0.5rem 0;
}

.api-docs__meta p:first-child {
  margin-top: 0;
}

.docs-pre {
  background: var(--charcoal); /* deliberately dark code surface */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0.75rem 0 1rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-strong);
}

.docs-pre code {
  background: transparent;
  padding: 0;
  font-size: inherit;
}

.api-docs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.api-docs th,
.api-docs td {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.api-docs th {
  background: var(--bg-alt);
  font-weight: 600;
}

/* API key success + developer retrieve */
.api-key-block {
  overflow-x: auto;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  word-break: break-all;
}

.retrieve-key-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 32rem;
}

.retrieve-key-form input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: inherit;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
}

.retrieve-key-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.sms-activate-form-wrap {
  margin-top: 0.75rem;
}

.sms-activate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 32rem;
}

.sms-activate-form label:not(.sms-consent-label) {
  font-size: 0.9rem;
  font-weight: 600;
}

.sms-activate-form input[type="tel"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: inherit;
  font-size: 1rem;
}

.sms-consent-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}

.sms-consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent, #c6a962);
}

.sms-optin-mock__consent {
  margin-top: 0.5rem;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

a.btn-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

/* ── Decision Desk ───────────────────────────────────────── */
.desk-page .desk-wrap {
  max-width: 1100px;
}

.desk-demo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(240, 193, 75, 0.35);
  border-radius: 10px;
  background: rgba(240, 193, 75, 0.08);
  font-size: 0.92rem;
}

.desk-demo-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.desk-title + .muted.fine {
  margin: 0.35rem 0 0;
  max-width: 38rem;
}

.desk-gate {
  margin-top: 1.25rem;
}

.desk-main {
  padding: 1.5rem 0 3rem;
}

.desk-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.desk-title {
  margin: 0.15rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.25;
}

.desk-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.desk-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desk-pill--ok {
  border-color: rgba(79, 191, 138, 0.45);
  color: var(--green);
}

.desk-pill--warn {
  border-color: rgba(240, 193, 75, 0.5);
  color: var(--yellow);
}

.desk-pill--muted {
  color: var(--muted);
}

.desk-pill--aplus {
  border-color: rgba(79, 191, 138, 0.55);
  color: var(--green);
}

.desk-pill--b {
  border-color: rgba(198, 169, 98, 0.55);
  color: var(--accent);
}

.desk-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}

.desk-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
  margin: 0.85rem 0 0.25rem;
}

.desk-control {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
}

.desk-control__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1;
}

.desk-control__input {
  height: 2.25rem;
  box-sizing: border-box;
  padding: 0 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1;
}

select.desk-control__input {
  min-width: 6.5rem;
  cursor: pointer;
}

.desk-control__input--num {
  width: 5rem;
}

.desk-control__input--date {
  min-width: 10rem;
}

.desk-controls__btn {
  height: 2.25rem;
  padding: 0 1rem;
  line-height: 1;
  white-space: nowrap;
}

.desk-feature-lock {
  position: relative;
  margin-top: 0.35rem;
  min-height: 7.5rem;
  border-radius: 10px;
  overflow: hidden;
}

.desk-feature-lock.is-locked .desk-feature-lock__preview {
  filter: blur(2.5px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.desk-feature-lock__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.1rem 1.25rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.55) 0%, rgba(26, 26, 26, 0.82) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.desk-feature-lock__overlay[hidden] {
  display: none !important;
}

.desk-feature-lock__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.desk-feature-lock__copy {
  margin: 0;
  max-width: 28rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.desk-feature-lock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.35rem;
}

.desk-feature-lock__overlay.is-pulse {
  animation: desk-lock-pulse 0.65s ease;
}

/* Subscribe overlay for Pro/Bundle panels that are empty on the public sample */
.desk-panel--locked {
  position: relative;
}

.desk-panel--locked > *:not(.desk-panel-upsell) {
  filter: blur(2.5px);
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}

.desk-panel-upsell {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.1rem 1.25rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.55) 0%, rgba(26, 26, 26, 0.82) 100%);
  border: 1px solid var(--line-soft);
  border-radius: inherit;
}

.desk-panel-upsell[hidden] {
  display: none !important;
}

@keyframes desk-lock-pulse {
  0% { box-shadow: inset 0 0 0 0 rgba(198, 169, 98, 0); }
  40% { box-shadow: inset 0 0 0 2px rgba(198, 169, 98, 0.55); }
  100% { box-shadow: inset 0 0 0 0 rgba(198, 169, 98, 0); }
}

.desk-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.desk-panel__head h2 {
  margin: 0;
  font-size: 1rem;
}

.desk-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0;
}

.desk-gate h2 {
  margin-top: 0;
}

.desk-key-form {
  margin: 1rem 0;
}

.desk-key-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.desk-key-row input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9rem;
}

.desk-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.desk-pane-nav,
.desk-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.35rem;
}

.desk-pane-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--inset-bg);
  color: var(--muted);
  font-size: 0.78rem;
  font-family: var(--mono);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
}

.desk-pane-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.desk-pane-btn.is-active {
  color: var(--text);
  border-color: rgba(72, 187, 120, 0.55);
  background: rgba(72, 187, 120, 0.12);
}

.desk-panel[hidden],
.desk-panel.is-pane-hidden {
  display: none !important;
}

.desk-replay {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 22rem;
  overflow: auto;
}

.desk-replay__row {
  display: grid;
  grid-template-columns: 7rem 4.5rem 3.5rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
}

.desk-replay__spot {
  font-family: var(--mono);
  color: var(--muted);
  text-align: right;
}

.desk-replay__exc {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.desk-replay__ts {
  font-family: var(--mono);
  color: var(--muted);
}

.desk-replay__idea {
  color: var(--text);
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.desk-panel--wide {
  grid-column: 1 / -1;
}

.desk-spot {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.desk-levels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}

.desk-level {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
}

.desk-level span {
  color: var(--muted);
}

.desk-level strong {
  font-family: var(--mono);
  font-weight: 600;
}

.desk-regime {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: capitalize;
}

.desk-tape-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.desk-em-band {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.55rem 0 0;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.desk-em-band--full {
  margin: 0.35rem 0 0.65rem;
}

.desk-em-track {
  position: relative;
  flex: 1;
  min-width: 4rem;
  height: 0.7rem;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: visible;
}

.desk-em-track__range {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    rgba(229, 90, 90, 0.28),
    var(--surface-3),
    rgba(72, 187, 120, 0.28)
  );
}

.desk-em-track__spot {
  position: absolute;
  top: -4px;
  width: 3px;
  height: calc(100% + 8px);
  background: var(--text);
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--shadow-color);
  transform: translateX(-50%);
  left: 50%;
}

.desk-em-track__pin {
  position: absolute;
  top: -5px;
  width: 8px;
  height: 8px;
  background: #d8c184;
  border: 1px solid rgba(0, 0, 0, 0.4);
  transform: translateX(-50%) rotate(45deg);
  left: 50%;
  box-shadow: 0 0 0 1px rgba(216, 193, 132, 0.35);
}

.desk-svg__mark--magnet {
  stroke: rgba(216, 193, 132, 0.9);
  stroke-width: 1.25;
  stroke-dasharray: 4 2;
}

.desk-svg__mark--em {
  stroke: rgba(198, 169, 98, 0.7);
  stroke-width: 1;
  stroke-dasharray: 1 3;
}

.desk-div-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.35rem 0 0.55rem;
}

.desk-div-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.desk-news {
  margin: 0.35rem 0 0.45rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.desk-news li {
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.desk-fg-bar {
  height: 8px;
  border-radius: 99px;
  background: var(--surface-3);
  overflow: hidden;
  margin: 0.45rem 0 0.55rem;
}

.desk-fg-bar span,
.desk-fg-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--muted);
  border-radius: 99px;
}

.desk-fg-bar__fill--greed {
  background: #c6a962;
}

.desk-fg-bar__fill--fear {
  background: #d8c184;
}

.desk-div-card {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--inset-bg);
}

.desk-div-card .desk-metric {
  font-size: 1.05rem;
}

.desk-hot {
  margin: 0.7rem 0 0;
}

.desk-hot__group + .desk-hot__group {
  margin-top: 0.75rem;
}

.desk-hot__list {
  margin: 0.3rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.desk-hot__row {
  display: grid;
  grid-template-columns: minmax(6.25rem, 1fr) auto auto;
  gap: 0.45rem 0.65rem;
  align-items: baseline;
  font-size: 0.82rem;
}

.desk-hot__name {
  font-family: var(--mono);
  color: var(--text);
}

.desk-hot__lean {
  color: var(--muted);
  font-size: 0.75rem;
}

.desk-hot__lean--buy {
  color: rgba(72, 187, 120, 0.95);
}

.desk-hot__lean--sell {
  color: rgba(229, 90, 90, 0.95);
}

.desk-hot__amt {
  font-family: var(--mono);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.desk-metric {
  margin: 0.15rem 0 0;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
}

.desk-alert__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.desk-alert__idea {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.desk-rail-strip {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.desk-invalidation {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--yellow);
  background: rgba(240, 193, 75, 0.08);
  font-size: 0.9rem;
}

.desk-one-line {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.desk-card-pre {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.45;
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
  color: var(--muted);
}

.desk-disclaimer {
  margin-top: 1.25rem;
}

.desk-panel--split .desk-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
}

.desk-chart {
  position: relative;
  width: 100%;
  min-height: 160px;
  background: var(--inset-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 0.35rem;
}

.desk-desktop-note {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  line-height: 1.4;
}

@media (min-width: 900px) {
  .desk-desktop-note {
    /* Desktop already has the good layout — keep the note quiet */
    opacity: 0.75;
  }
}

.desk-chart--interactive {
  cursor: crosshair;
  -webkit-tap-highlight-color: transparent;
}

.desk-chart-watermark {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(240, 193, 75, 0.45);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  color: rgba(240, 193, 75, 0.95);
  font-size: 0.65rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  pointer-events: none;
  user-select: none;
}

.desk-chart--interactive .desk-svg {
  display: block;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.desk-chart-tip {
  position: absolute;
  z-index: 5;
  min-width: 11rem;
  max-width: 16rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 8px 24px var(--shadow-color);
  pointer-events: none;
  font-size: 0.78rem;
  line-height: 1.35;
}

.desk-chart-tip--pinned {
  max-width: none;
}

.desk-chart-tip__title {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
}

.desk-chart-tip__line {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.desk-chart-readout {
  margin: 0.35rem 0.65rem 0.25rem;
  min-height: 1.2em;
}

.desk-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin: 0.25rem 0.65rem 0;
}

.desk-leg::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.3rem;
  border-radius: 2px;
  vertical-align: middle;
}

.desk-leg--pos::before {
  background: rgba(72, 187, 120, 0.9);
}
.desk-leg--neg::before {
  background: rgba(229, 90, 90, 0.9);
}
.desk-leg--call::before {
  background: rgba(72, 187, 120, 0.95);
}
.desk-leg--put::before {
  background: rgba(229, 90, 90, 0.95);
}
.desk-leg--spot::before {
  background: rgba(240, 193, 75, 0.95);
  height: 2px;
  width: 0.7rem;
  border-radius: 0;
  vertical-align: middle;
}
.desk-leg--flip::before {
  background: rgba(198, 169, 98, 0.95);
  height: 2px;
  width: 0.7rem;
  border-radius: 0;
}
.desk-leg--wall::before {
  background: rgba(235, 225, 211, 0.7);
  height: 2px;
  width: 0.7rem;
  border-radius: 0;
}

.desk-svg__hit {
  fill: transparent;
  pointer-events: all;
}

.desk-svg__guide {
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  pointer-events: none;
}

.desk-svg__mark-label {
  fill: var(--muted);
  font-size: 9px;
  font-family: var(--mono);
  pointer-events: none;
}

.desk-svg__bar--active {
  opacity: 1;
  filter: brightness(1.25);
}

.desk-svg__bar--pos,
.desk-svg__bar--neg {
  opacity: 0.82;
  transition: opacity 0.12s ease;
}

.desk-svg__dot {
  pointer-events: none;
}

.desk-svg__dot--call {
  fill: rgba(72, 187, 120, 0.95);
}

.desk-svg__dot--put {
  fill: rgba(229, 90, 90, 0.95);
}

.desk-svg__dot--active {
  r: 5;
  stroke: var(--text);
  stroke-width: 1.25;
}

.desk-chart--skew {
  min-height: 140px;
}

.desk-svg__axis {
  stroke: rgba(181, 172, 156, 0.35);
  stroke-width: 1;
}

.desk-svg__bar--pos {
  fill: rgba(72, 187, 120, 0.75);
}

.desk-svg__bar--neg {
  fill: rgba(229, 90, 90, 0.75);
}

.desk-svg__mark--spot {
  stroke: rgba(240, 193, 75, 0.9);
  stroke-width: 1.25;
  stroke-dasharray: 3 2;
}

.desk-svg__mark--flip {
  stroke: rgba(198, 169, 98, 0.85);
  stroke-width: 1;
  stroke-dasharray: 2 2;
}

.desk-svg__mark--call,
.desk-svg__mark--put {
  stroke: rgba(235, 225, 211, 0.45);
  stroke-width: 1;
}

.desk-svg__label {
  fill: var(--muted);
  font-size: 11px;
  font-family: var(--mono);
}

.desk-svg__line--call {
  stroke: rgba(72, 187, 120, 0.95);
  stroke-width: 1.75;
}

.desk-svg__line--put {
  stroke: rgba(229, 90, 90, 0.95);
  stroke-width: 1.75;
}

.desk-heat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.desk-heat__cap {
  margin: 0.55rem 0 0.2rem;
}

.desk-heat__cap:first-child {
  margin-top: 0;
}

.desk-heat__row {
  display: grid;
  grid-template-columns: minmax(8.25rem, 11rem) 1fr 4.75rem;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
}

.desk-heat__label {
  font-family: var(--mono);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.2;
}

.desk-heat__wall {
  font-family: var(--sans, inherit);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.08rem 0.3rem;
  border-radius: 3px;
  white-space: nowrap;
}

.desk-heat__wall--call {
  color: rgba(72, 187, 120, 0.98);
  background: rgba(72, 187, 120, 0.14);
  border: 1px solid rgba(72, 187, 120, 0.35);
}

.desk-heat__wall--put {
  color: rgba(229, 90, 90, 0.98);
  background: rgba(229, 90, 90, 0.14);
  border: 1px solid rgba(229, 90, 90, 0.35);
}

.desk-heat__row--wall .desk-heat__label {
  color: var(--text);
}

.desk-heat__track {
  height: 0.55rem;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
}

.desk-heat__bar {
  height: 100%;
  border-radius: 3px;
}

.desk-heat__bar--bull {
  background: rgba(72, 187, 120, 0.85);
}

.desk-heat__bar--bear {
  background: rgba(229, 90, 90, 0.85);
}

.desk-heat__val {
  font-family: var(--mono);
  text-align: right;
  font-size: 0.78rem;
}

.desk-gauge__track {
  position: relative;
  height: 0.7rem;
  margin: 1.1rem 0 0.75rem;
  background: linear-gradient(90deg, rgba(229, 90, 90, 0.35), var(--surface-3), rgba(72, 187, 120, 0.35));
  border-radius: 4px;
}

.desk-gauge__fill {
  height: 100%;
  background: transparent;
}

.desk-gauge__needle {
  position: absolute;
  top: -4px;
  width: 3px;
  height: calc(100% + 8px);
  margin-left: -1.5px;
  background: var(--text);
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--shadow-color);
}

.desk-exposure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.desk-exposure-card {
  min-width: 0;
}

.desk-metric--chex {
  margin: 0.35rem 0 0.5rem;
}

.desk-mini-chart {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.5rem 0;
  min-height: 4.5rem;
}

.desk-mini-chart__row {
  display: grid;
  grid-template-columns: 2.5rem 1fr 3.5rem;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.78rem;
}

.desk-mini-chart__label {
  font-family: var(--mono);
  color: var(--muted);
}

.desk-mini-chart__track {
  height: 0.45rem;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.desk-mini-chart__bar {
  height: 100%;
  border-radius: 3px;
}

.desk-mini-chart__bar--pos {
  background: rgba(72, 187, 120, 0.85);
}

.desk-mini-chart__bar--neg {
  background: rgba(229, 90, 90, 0.85);
}

.desk-mini-chart__val {
  font-family: var(--mono);
  text-align: right;
  font-size: 0.72rem;
}


/* ===== Footer Brand Column ===== */
.footer-brand {
  flex: 1 1 16rem;
  max-width: 18rem;
  min-width: 0;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand .muted {
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-brand .footer-social {
  margin-top: 0.75rem;
}

/* ===== Footer Grid - Horizontal on Desktop, Vertical on Mobile ===== */
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .site-footer .footer-inner {
    grid-template-columns: 18rem repeat(3, 1fr);
    align-items: start;
  }
}

.site-footer .footer-nav {
  flex: 1;
  min-width: 0;
}

.site-footer .footer-nav h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.site-footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (min-width: 900px) {
  .site-footer .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}

.site-footer .footer-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer .footer-nav a:hover {
  color: var(--accent);
}

/* ===== Pricing Card Fixes ===== */
.pricing-card--featured {
  border-top: none !important;
}

.pricing-card--addon-fixed .pricing-card__header {
  position: relative;
  margin-bottom: 0;
}

.pricing-card--addon-fixed .pricing-card__title {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  position: relative;
  z-index: 1;
  margin-top: -0.5rem; /* Pull up over border */
}

/* ===== Hero Image ===== */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background {
  position: relative;
}

.hero__grid-overlay {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .desk-grid {
    grid-template-columns: 1fr;
  }

  .desk-exposure-grid {
    grid-template-columns: 1fr;
  }

  .desk-replay__row {
    grid-template-columns: 1fr 1fr;
  }

  .desk-replay__exc {
    grid-column: 1 / -1;
  }

  .desk-panel--split .desk-split {
    grid-template-columns: 1fr;
  }

  .desk-tape-metrics {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .desk-tape-metrics {
    grid-template-columns: 1fr;
  }

  .desk-div-grid {
    grid-template-columns: 1fr;
  }
}

/* How it works — guided tour (content always in DOM for SEO) */
.hiw-page .hero-compact .wrap.narrow {
  max-width: 42rem;
  text-align: center;
}
.hiw-page .hero-compact .lead {
  margin-left: auto;
  margin-right: auto;
}
.hiw-page .hero-compact .hero-cta,
.hiw-page .hero-compact .hero-cta__buttons {
  align-items: center;
  justify-content: center;
}
.hiw-page .learn-article > .wrap.narrow {
  max-width: 42rem;
}
.hiw-page .hiw-rail__inner {
  max-width: 42rem;
  justify-content: center;
}

.hiw-rail {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.hiw-rail__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  padding: 0.65rem 0;
  font-size: 0.85rem;
}
.hiw-rail__inner a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}
.hiw-rail__inner a:hover,
.hiw-rail__inner a.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.hiw-step {
  scroll-margin-top: 5.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.hiw-step:last-of-type {
  border-bottom: none;
}
body.hiw-guided .hiw-step--dim {
  opacity: 0.45;
}
body.hiw-guided .hiw-step--active {
  opacity: 1;
  outline: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 8px;
  border-radius: 8px;
}
.hiw-nav {
  position: sticky;
  bottom: 0.75rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
.hiw-nav__status {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hiw-rail__inner {
    font-size: 0.75rem;
    gap: 0.25rem 0.4rem;
  }
  .hiw-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================================================
   PREMIUM HOMEPAGE STYLES (v20260805)
   ============================================================================ */

/* ---- Hero: golden-hour sunrise photo (brand mock) — ivory scrim on the left, charcoal copy ---- */
.hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(72vh, 760px);
  display: flex;
  align-items: center;
  padding: 5rem 0 4.5rem;
  background-color: var(--ivory);
  background-image:
    linear-gradient(90deg, rgba(250, 247, 239, 0.86) 0%, rgba(250, 247, 239, 0.62) 42%, rgba(250, 247, 239, 0.05) 72%, rgba(250, 247, 239, 0) 100%),
    url("brand/sunrise-hero-2400x900.jpg");
  background-image:
    linear-gradient(90deg, rgba(250, 247, 239, 0.86) 0%, rgba(250, 247, 239, 0.62) 42%, rgba(250, 247, 239, 0.05) 72%, rgba(250, 247, 239, 0) 100%),
    image-set(url("brand/sunrise-hero-2400x900.webp") type("image/webp"), url("brand/sunrise-hero-2400x900.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 45%;
  /* light-on-photo: the hero reads as a light surface */
  --text: var(--charcoal);
  --muted: #4d463b;
  --accent: var(--gold-deep);
  color: var(--text);
}

@media (max-width: 768px) {
  .hero--photo {
    min-height: auto;
    padding: 3.5rem 0 3rem;
    background-image:
      linear-gradient(180deg, rgba(250, 247, 239, 0.92) 0%, rgba(250, 247, 239, 0.8) 60%, rgba(250, 247, 239, 0.55) 100%),
      url("brand/sunrise-hero-1080x1350.jpg");
    background-image:
      linear-gradient(180deg, rgba(250, 247, 239, 0.92) 0%, rgba(250, 247, 239, 0.8) 60%, rgba(250, 247, 239, 0.55) 100%),
      image-set(url("brand/sunrise-hero-1080x1350.webp") type("image/webp"), url("brand/sunrise-hero-1080x1350.jpg") type("image/jpeg"));
    background-position: center 70%;
  }
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__grid-overlay {
  display: none;
}

.hero__background::after {
  content: none;
}

.hero__mark {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

/* The mock's display headline: geometric sans, uppercase, wide tracking, medium weight */
.hero h1.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 1.25rem;
  text-shadow: none;
}

.hero--photo .lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: #3f3a31;
  max-width: 34rem;
  text-shadow: none;
}

.hero--photo .hero-cta__note,
.hero--photo .fine {
  color: #5c5447;
  letter-spacing: 0.02em;
}

.btn-pill {
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero--photo .btn-primary.btn-pill {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(140, 115, 77, 0.28);
}

.hero--photo .btn-primary.btn-pill:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.hero--photo .btn-ghost.btn-pill {
  background: rgba(250, 247, 239, 0.55);
  color: var(--charcoal);
  border: 1px solid rgba(26, 26, 26, 0.35);
}

.hero--photo .btn-ghost.btn-pill:hover {
  background: rgba(250, 247, 239, 0.85);
}

/* Band under the hero: the product promise that used to be the H1 */
.hero-sub {
  background: var(--warm-gray);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 1.75rem;
}

.hero-sub .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin: 0 0 0.5rem;
}

.hero-sub__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--charcoal);
  max-width: 52rem;
  margin: 0 0 0.75rem;
}

.hero-sub .fine {
  margin: 0;
  color: #5c5447;
}

.hero-sub .fine a {
  color: var(--gold-deep);
}

.hero__subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent, var(--text));
  margin: -0.5rem 0 1.25rem;
  max-width: 46rem;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 100%;
}

.hero__value-props {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.25rem;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.value-prop {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 120px;
  flex: 1;
}

.value-prop__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.value-prop__price {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
  line-height: 1;
}

.value-prop__period {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.hero .tagline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  margin: 2rem 0 1.5rem;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 1.5rem;
}

.hero-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-cta__note {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-cta__note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-cta__note a:hover {
  color: var(--text);
}

/* ---- KPI Bar ---- */
.kpi-bar {
  padding: 2.5rem 0;
  background: color-mix(in srgb, var(--bg-alt) 60%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.kpi-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--shadow-color);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.kpi-card--live {
  position: relative;
  overflow: hidden;
}

.kpi-card--live::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--accent));
  background-size: 200% 100%;
  animation: kpi-shimmer 2s linear infinite;
}

@keyframes kpi-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.kpi-value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.kpi-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 auto 1rem;
  max-width: 700px;
}

.section-header .muted {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 700px;
}

/* ---- Feature Grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px var(--shadow-color);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.feature-card--pro {
  border-color: color-mix(in srgb, var(--yellow) 40%, var(--border));
}

.feature-card--pro:hover {
  border-color: var(--yellow);
  box-shadow: 0 20px 48px rgba(224, 185, 85, 0.15);
}

.feature-card--bundle {
  border-color: color-mix(in srgb, var(--green) 40%, var(--border));
}

.feature-card--bundle:hover {
  border-color: var(--green);
  box-shadow: 0 20px 48px rgba(79, 191, 138, 0.15);
}

.feature-card--dev {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.feature-card--dev:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 48px rgba(198, 169, 98, 0.15);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.feature-card--pro .feature-icon {
  background: color-mix(in srgb, var(--yellow) 12%, transparent);
  color: var(--yellow);
}

.feature-card--bundle .feature-icon {
  background: color-mix(in srgb, var(--green) 12%, transparent);
  color: var(--green);
}

.feature-card--dev .feature-icon {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.25rem;
  flex: 1;
}

.feature-desc code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.feature-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 60%, transparent);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-card--pro .feature-tags li {
  background: color-mix(in srgb, var(--yellow) 18%, transparent);
  color: var(--yellow);
}

.feature-card--bundle .feature-tags li {
  background: color-mix(in srgb, var(--green) 18%, transparent);
  color: var(--green);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
}

.feature-link:hover {
  gap: 0.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.badge-pro {
  background: color-mix(in srgb, var(--yellow) 18%, transparent);
  color: var(--yellow);
  border: 1px solid color-mix(in srgb, var(--yellow) 40%, transparent);
}

.badge-new {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.desk-whats-new {
  margin: 0.9rem 0 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  max-width: 42rem;
}
.desk-whats-new strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.desk-whats-new ul {
  margin: 0;
  padding-left: 1.15rem;
}
.desk-whats-new li {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.2rem 0;
}
.desk-whats-new li strong {
  display: inline;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

/* ---- Desk Panes ---- */
.desk-panes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.desk-pane-card {
  padding: 2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.desk-pane-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow-color);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.pane-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin: 0 auto 1rem;
}

.pane-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.desk-pane-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.desk-pane-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.desk-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ---- Quant Tools ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quant-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 1rem;
}

.card-accent .quant-icon {
  background: color-mix(in srgb, var(--yellow) 12%, transparent);
  color: var(--yellow);
}

.card-accent {
  border-color: color-mix(in srgb, var(--yellow) 40%, var(--border));
}

.card-accent:hover {
  border-color: var(--yellow);
  box-shadow: 0 16px 40px rgba(224, 185, 85, 0.15);
}

/* ---- Yield & Macro Grid ---- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---- MCP Tools Grid ---- */
.mcp-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.mcp-tool {
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  transition: all 0.2s ease;
}

.mcp-tool:hover {
  border-color: var(--accent);
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  transform: translateY(-2px);
}

.mcp-tool code {
  color: var(--accent);
  font-weight: 600;
}

.mcp-tool--quant {
  border-color: color-mix(in srgb, var(--yellow) 40%, var(--border));
  color: var(--yellow);
}

.mcp-tool--quant:hover {
  border-color: var(--yellow);
  background: color-mix(in srgb, var(--yellow) 8%, transparent);
}

.mcp-tool--macro {
  border-color: color-mix(in srgb, var(--green) 40%, var(--border));
  color: var(--green);
}

.mcp-tool--macro:hover {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 8%, transparent);
}

.mcp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ---- Home broker pairings (under #mcp) ---- */
.home-broker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.home-broker-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  min-height: 100%;
}

.home-broker-card:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  transform: translateY(-2px);
}

.home-broker-card__name {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -0.01em;
}

.home-broker-card__plan {
  font-size: 0.78rem;
  line-height: 1.35;
}

.home-broker-card__plan code {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.76rem;
}

.home-broker-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* ---- Pricing ---- */
/* Let the tiers section break out of the narrow content wrap so the
   three tier cards and four add-on cards aren't squished. */
#tiers .wrap {
  max-width: 1280px;
}

/* Developers page data-feeds pricing row — same wider layout (nested
   .wrap.narrow blocks are grandchildren, so they keep their narrow width). */
#data-feeds > .wrap {
  max-width: 1280px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  position: relative;
  padding: 2.25rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Push the CTA (and any trailing fine print) to the bottom so the buttons
   line up across cards with different amounts of content. */
.pricing-card > .btn {
  margin-top: auto;
}

.pricing-card > .btn + .fine {
  margin-top: 0.6rem;
}

/* Long <code> tokens (endpoint paths) must wrap so cards never overflow,
   especially in a single column on mobile. */
.pricing-card {
  min-width: 0;
}

.pricing-card code {
  overflow-wrap: anywhere;
}

/* Render the checkmark as an absolute marker so the list content flows as
   normal inline text. This lets items with several <code> endpoint chips
   wrap as whole tokens across lines instead of being squeezed into narrow
   flex columns (which broke tokens character-by-character). */
.pricing-card .checklist li {
  display: block;
  position: relative;
  padding-left: 1.5em;
  min-width: 0;
}

.pricing-card .checklist li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
}

.pricing-card .checklist li code {
  display: inline-block;
  margin: 0.05rem 0;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px var(--shadow-color);
}

/* Highlight the plan promoted by an ad landing (?tier=…) */
.pricing-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 24px 56px rgba(198, 169, 98, 0.25);
  animation: pricing-highlight-pulse 1.4s ease-in-out 2;
}

@keyframes pricing-highlight-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--accent), 0 24px 56px rgba(198, 169, 98, 0.25); }
  50% { box-shadow: 0 0 0 3px var(--accent), 0 24px 64px rgba(198, 169, 98, 0.45); }
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 56px rgba(198, 169, 98, 0.15);
}

/* Ensure the title pill sits in front of the card border/box-shadow ring */
.pricing-card--featured .pricing-badge,
.addon-card--featured .pricing-badge {
  position: relative;
  z-index: 2;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.pricing-badge--muted {
  background: color-mix(in srgb, var(--border) 60%, transparent);
  color: var(--muted);
  border-color: var(--border);
}

.pricing-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin: 0.5rem 0 0.25rem;
}

.amount {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
  line-height: 1;
}

.period {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.tier-includes h4,
.tier-excludes h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 1.5rem 0 0.75rem;
}

.tier-excludes h4 {
  margin-top: 2rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist-compact {
  gap: 0.4rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}

.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.25em;
  font-weight: 700;
  color: var(--green);
  font-size: 0.85em;
}

.checklist li.muted {
  color: var(--muted);
}

.checklist li.muted::before {
  content: "✕";
  color: color-mix(in srgb, var(--muted) 60%, transparent);
}

.tier-includes {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.tier-excludes {
  padding-top: 0.5rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ---- Add-ons ---- */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.addon-card {
  padding: 2rem;
}

.addon-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(198, 169, 98, 0.1);
}

.addon-card--featured .pricing-badge {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

/* ---- Proof / Transparency ---- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.proof-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow-color);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin: 0 auto 1.25rem;
}

.proof-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.proof-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.proof-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.stats-snapshot {
  padding: 2rem;
  text-align: center;
}

.stats-snapshot h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.snapshot-item {
  padding: 1.25rem 1rem;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.snapshot-value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.snapshot-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Personas ---- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.persona-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow-color);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.persona-card--pro {
  border-color: color-mix(in srgb, var(--yellow) 40%, var(--border));
}

.persona-card--pro:hover {
  border-color: var(--yellow);
  box-shadow: 0 20px 48px rgba(224, 185, 85, 0.15);
}

.persona-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.persona-card--pro .persona-badge {
  background: color-mix(in srgb, var(--yellow) 18%, transparent);
  color: var(--yellow);
}

.persona-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.persona-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.persona-recommend {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.persona-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.persona-features li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}

.persona-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ---- FAQ ---- */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.disclosure {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.disclosure:hover {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.disclosure summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.disclosure[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.disclosure__body {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.disclosure__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Final CTA ---- */
.section-cta {
  padding: 5rem 0;
}

.cta-card {
  text-align: center;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent) 0%, var(--card) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--yellow), var(--accent));
  background-size: 300% 100%;
  animation: cta-shimmer 4s linear infinite;
}

@keyframes cta-shimmer {
  0% { background-position: 300% 0; }
  100% { background-position: -300% 0; }
}

.cta-card h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

.cta-card .muted {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---- Reveal Animations ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.feature-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.feature-grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.feature-grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.feature-grid [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.feature-grid [data-reveal]:nth-child(5) { transition-delay: 320ms; }
.feature-grid [data-reveal]:nth-child(6) { transition-delay: 400ms; }
.feature-grid [data-reveal]:nth-child(7) { transition-delay: 480ms; }
.feature-grid [data-reveal]:nth-child(8) { transition-delay: 560ms; }
.feature-grid [data-reveal]:nth-child(9) { transition-delay: 640ms; }
.feature-grid [data-reveal]:nth-child(10) { transition-delay: 720ms; }
.feature-grid [data-reveal]:nth-child(11) { transition-delay: 800ms; }
.feature-grid [data-reveal]:nth-child(12) { transition-delay: 880ms; }

.desk-panes-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.desk-panes-grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.desk-panes-grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.desk-panes-grid [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.desk-panes-grid [data-reveal]:nth-child(5) { transition-delay: 320ms; }

.pricing-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.pricing-grid [data-reveal]:nth-child(2) { transition-delay: 120ms; }
.pricing-grid [data-reveal]:nth-child(3) { transition-delay: 240ms; }

.addons-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.addons-grid [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.addons-grid [data-reveal]:nth-child(3) { transition-delay: 200ms; }
.addons-grid [data-reveal]:nth-child(4) { transition-delay: 300ms; }

.proof-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.proof-grid [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.proof-grid [data-reveal]:nth-child(3) { transition-delay: 200ms; }
.proof-grid [data-reveal]:nth-child(4) { transition-delay: 300ms; }

.persona-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.persona-grid [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.persona-grid [data-reveal]:nth-child(3) { transition-delay: 200ms; }
.persona-grid [data-reveal]:nth-child(4) { transition-delay: 300ms; }

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .desk-panes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .snapshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mcp-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-broker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== Footer Brand Column ===== */
.footer-brand {
  flex: 1 1 16rem;
  max-width: 18rem;
  min-width: 0;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand .muted {
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-brand .footer-social {
  margin-top: 0.75rem;
}

/* ===== Footer Grid - Horizontal on Desktop, Vertical on Mobile ===== */
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .site-footer .footer-inner {
    grid-template-columns: 18rem repeat(3, 1fr);
    align-items: start;
  }
}

.site-footer .footer-nav {
  flex: 1;
  min-width: 0;
}

.site-footer .footer-nav h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.site-footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (min-width: 900px) {
  .site-footer .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}

.site-footer .footer-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer .footer-nav a:hover {
  color: var(--accent);
}

/* ===== Pricing Card Fixes ===== */
.pricing-card--featured {
  border-top: none !important;
}

.pricing-card--addon-fixed .pricing-card__header {
  position: relative;
  margin-bottom: 0;
}

.pricing-card--addon-fixed .pricing-card__title {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  position: relative;
  z-index: 1;
  margin-top: -0.5rem; /* Pull up over border */
}

/* ===== Hero Image ===== */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background {
  position: relative;
}

.hero__grid-overlay {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero--photo {
    min-height: auto;
    padding: 4rem 0 3rem;
  }
  .hero__value-props {
    flex-direction: column;
    align-items: stretch;
  }
  .value-prop {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: color-mix(in srgb, var(--bg) 50%, transparent);
    border-radius: 10px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-card--live::before { display: none; }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .desk-panes-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .persona-grid {
    grid-template-columns: 1fr;
  }
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .mcp-tools-grid {
    grid-template-columns: 1fr;
  }
  .home-broker-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 560px) {
  .hero-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .addons-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* ===== Premium Compression Heatmap (desk Quant panel) ===== */
.premium-compression-heatmap__header {
  margin-bottom: 0.5rem;
}
.premium-compression-heatmap__title {
  display: none;
}
.premium-compression-heatmap__subtitle {
  font-size: 0.78rem;
  color: var(--muted);
}
.premium-compression-heatmap__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.premium-compression-heatmap__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.55rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
  cursor: default;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.premium-compression-heatmap__cell:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.premium-compression-heatmap__cell-window {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
}
.premium-compression-heatmap__cell-velocity {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.premium-compression-heatmap__cell-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}
.premium-compression-heatmap__cell-arrow .up { color: var(--green); }
.premium-compression-heatmap__cell-arrow .down { color: var(--red); }
.premium-compression-heatmap__cell-arrow .flat { color: var(--muted); }
.premium-compression-heatmap__cell--low { border-color: color-mix(in srgb, var(--green) 30%, var(--border)); }
.premium-compression-heatmap__cell--moderate { border-color: color-mix(in srgb, var(--yellow) 40%, var(--border)); }
.premium-compression-heatmap__cell--high { border-color: color-mix(in srgb, var(--yellow) 65%, var(--border)); }
.premium-compression-heatmap__cell--extreme { border-color: color-mix(in srgb, var(--red) 45%, var(--border)); }
.premium-compression-heatmap__cell--critical {
  border-color: var(--red);
  background: color-mix(in srgb, var(--red) 8%, var(--bg-alt));
}
.premium-compression-heatmap__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.premium-compression-heatmap__meta-item {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  white-space: nowrap;
}
.premium-compression-heatmap__meta strong { color: var(--text); font-weight: 600; }
.premium-compression-heatmap__disclaimer {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.premium-compression-heatmap__empty {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== Strike × Time GEX Heatmap ===== */
.gex-heatmap__header { margin-bottom: 0.5rem; }
.gex-heatmap__title { font-weight: 700; font-size: 1rem; color: var(--text); }
.gex-heatmap__subtitle { font-size: 0.78rem; color: var(--muted); }
.gex-heatmap__canvas-wrap {
  position: relative;
  width: 100%;
  margin: 0.6rem 0 0.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--chart-bg);
  overflow: hidden;
}
.gex-heatmap__canvas-wrap canvas { display: block; width: 100%; }
.gex-heatmap__tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.gex-heatmap__tooltip strong { color: var(--text); }
.gex-heatmap__legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.2rem 0 0.5rem;
}
.gex-heatmap__swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin: 0 0.25rem 0 0.6rem;
  vertical-align: -1px;
}
.gex-heatmap__swatch--neg { background: rgb(220, 40, 48); }
.gex-heatmap__swatch--zero { background: rgb(30, 34, 45); border: 1px solid var(--border); }
.gex-heatmap__swatch--pos { background: rgb(30, 200, 90); }
.gex-heatmap__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.gex-heatmap__meta-item {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  white-space: nowrap;
}
.gex-heatmap__meta strong { color: var(--text); font-weight: 600; }
.gex-heatmap__empty { font-size: 0.85rem; color: var(--muted); padding: 1rem 0; }

/* ===== Desk radial gauge (Path Risk) ===== */
.desk-gauge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 0;
}
.desk-gauge__svg {
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
}
.desk-gauge__bg {
  fill: var(--bg-alt);
  stroke: var(--border);
  stroke-width: 1.5;
}
.desk-gauge__fill {
  fill: var(--accent);
  opacity: 0.9;
}
.desk-gauge__fill--low { fill: var(--green); }
.desk-gauge__fill--mid { fill: var(--yellow); }
.desk-gauge__fill--high { fill: var(--red); }
.desk-gauge__label {
  fill: var(--text);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 22px;
}

/* ===== Desk mini charts (VRP bar, CVD line) ===== */
.desk-mini-chart {
  width: 100%;
  display: flex;
  justify-content: center;
}
.desk-mini-svg {
  width: 100%;
  max-width: 260px;
  height: 60px;
  display: block;
}
.desk-mini-line {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.desk-mini-line.up { stroke: var(--green); }
.desk-mini-line.down { stroke: var(--red); }
.desk-mini-line.flat { stroke: var(--muted); }
.desk-mini-bar {
  fill: var(--accent);
}
.desk-mini-bar--high {
  fill: var(--yellow);
}
.desk-mini-val {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

/* VRP horizontal meter */
.desk-meter__track {
  fill: var(--border);
}
.desk-meter__fill {
  fill: var(--accent);
}
.desk-meter__fill--low { fill: var(--green); }
.desk-meter__fill--high { fill: var(--yellow); }
.desk-meter__fill--up { fill: var(--green); }
.desk-meter__fill--down { fill: var(--red); }
.desk-meter__mark {
  stroke: var(--text);
  stroke-width: 1.5;
  opacity: 0.7;
}
.desk-meter__scale {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

/* Dealer delta (DEX) diverging horizontal gauge */
.desk-hgauge__track {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 12px;
  margin: 0.9rem auto;
  border-radius: 6px;
  background: var(--border);
}
.desk-hgauge__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 6px;
}
.desk-hgauge__fill--pos { background: color-mix(in srgb, var(--green) 55%, transparent); }
.desk-hgauge__fill--neg { background: color-mix(in srgb, var(--red) 55%, transparent); }
.desk-hgauge__mid {
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: var(--muted);
  opacity: 0.6;
  transform: translateX(-50%);
}
.desk-hgauge__needle {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 3px;
  border-radius: 2px;
  background: var(--text);
  transform: translateX(-50%);
}

/* Index Health — horizontal relative-volume bars */
.desk-idxrow {
  display: grid;
  grid-template-columns: 3.2rem 1fr 3rem;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0;
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  cursor: default;
  transition: background 0.15s ease;
}
.desk-idxrow:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.desk-idxrow__sym {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text);
}
.desk-idxrow__track {
  height: 9px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}
.desk-idxrow__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.3s ease;
}
.desk-idxrow__fill--up { background: var(--green); }
.desk-idxrow__fill--down { background: var(--red); }
.desk-idxrow__val {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

/* ===== Canonical footer — nav/tiers columns first, brand + social below ===== */
.site-footer .footer-stack { gap: 1.75rem; }
.site-footer .footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .site-footer .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .site-footer .footer-cols { grid-template-columns: repeat(4, 1fr); }
}
.site-footer .footer-stack .footer-brand {
  max-width: none;
  border-top: 1px solid var(--border);
  padding-top: 1.35rem;
}

/* Weekly structure / corr grid / lotto Friday / public levels hub */
.desk-corr__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.82rem;
}
.desk-corr__table th,
.desk-corr__table td {
  padding: 0.35rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.desk-corr__table th:first-child,
.desk-corr__table td:first-child {
  text-align: left;
}
.desk-corr__cell--hi { color: var(--green); font-weight: 600; }
.desk-corr__cell--lo { color: var(--muted); }
.desk-corr__cell--diag { color: var(--muted); }
.desk-corr__cell--na { color: var(--muted); }
.desk-lotto__row {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.78rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  overflow-x: auto;
}
.desk-lotto__row--gated { color: var(--muted); }
.levels-hub {
  margin: 1.25rem 0 1.75rem;
  overflow-x: auto;
}
.levels-hub table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.levels-hub th,
.levels-hub td {
  padding: 0.45rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.levels-hub__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.5rem; }

nav.lp-crumbs,
.lp-crumbs {
  font-size: 0.85rem;
  margin: 0 0 1rem;
  color: var(--muted);
}
.lp-crumbs a { color: inherit; }
.lp-crumbs a:hover { color: var(--accent); }
.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0 1.75rem;
}
.lp-related {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.lp-related h2 {
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
}
.lp-page .lead { max-width: 42rem; }
.lp-page h2 { margin-top: 1.75rem; }
.lp-page .stats-table { margin: 1.1rem 0 1.35rem; }
.lp-hero-fig {
  margin: 0 0 1.35rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
}
.lp-hero-fig picture,
.lp-hero-fig img {
  display: block;
  width: 100%;
  height: min(22rem, 48vw);
  object-fit: cover;
  object-position: center;
}
.lp-hero-credit {
  margin: 0;
  padding: 0.4rem 0.75rem 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.lp-hero-credit a { color: inherit; }

/* ===== Signal AI Trading brand additions ===== */
/* Small gold text follows --accent: Deep Gold on ivory, Antique Gold inside dark sections. */
.footer-brand .footer-tagline {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.logo__word-name { color: var(--accent); }

/* Cards on ivory: white, warm border, soft warm shadow */
.card,
.pricing-card,
.learn-list__item {
  box-shadow: var(--shadow-sm);
}

/* ===== Brand typography (brand guide, Nov 2026) =====
   Display = geometric sans (Jost ≈ URW Gothic): medium weight, open tracking, never tight.
   Body    = clean sans (Inter ≈ Nimbus Sans). Labels, eyebrows, nav and buttons are
   uppercase with wide tracking like the guide's lockups. Appended last so it wins. */
body {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.section-title, .section__title, .feature-card h3, .card h3, .pricing-card h3,
.tier h3, .plan__name, .price .amount, .value-prop__price, .kpi__value, .stat__value,
.logo__word-0dte, .logo__word-name, .logo__text {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
}

h1 { font-weight: 500; letter-spacing: 0.05em; line-height: 1.15; }
h2 { font-weight: 500; letter-spacing: 0.05em; }
h3, h4 { font-weight: 500; letter-spacing: 0.04em; }
/* Compound selectors from the premium block (weight 700, tight tracking) → brand display */
.section-header h2, .cta-card h2, .section-header h1, .hero-compact h1, .page-header h1,
.desk-title, .alert-card__title, .desk-feature-lock__title, .gex-heatmap__title,
.feature-card h3, .card h3, .pricing-card h3, .tier-card h3, .faq h3, .learn-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.section-header h2, .cta-card h2 { letter-spacing: 0.06em; }
strong, b { font-weight: 600; }

/* Wordmark: the guide's wide-set SIGNAL over a small-caps subline */
.logo__word-0dte, .logo__text { font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.logo__word-name { font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; font-size: 0.58em; }

/* Small caps system: eyebrows, nav, labels, buttons */
.eyebrow, .value-prop__label, .kpi__label, .stat__label, .pill, .badge, .tag,
.subnav a, .section-nav a, .section-rail a, .site-nav a, .main-nav a, .nav-links a, .footer-nav a, .footer-nav h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav a, .main-nav a, .nav-links a, .subnav a, .section-nav a, .section-rail a, .footer-nav a { font-size: 0.78rem; letter-spacing: 0.12em; }
.site-nav .btn { font-size: 0.74rem; }

.btn, button.btn, .btn-primary, .btn-secondary, .btn-ghost {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.btn-sm { font-size: 0.72rem; letter-spacing: 0.1em; }
.btn-lg { font-size: 0.85rem; letter-spacing: 0.14em; }

/* Numbers that must align (prices, KPIs, tables) keep tabular figures */
.price .amount, .value-prop__price, .kpi__value, .stat__value, table td, .mono {
  font-variant-numeric: tabular-nums;
}

/* Code / data stays monospace */
code, pre, kbd, .mono, [class*="__code"] { font-family: var(--mono); letter-spacing: 0; text-transform: none; }
