/* ─────────────────────────────────────────
   Untilt HQ — design tokens & base
   ───────────────────────────────────────── */

:root {
  --bg: #0b0e14;
  --bg-soft: #11151d;
  --bg-card: #161b25;
  --bg-card-hover: #1a212d;
  --border: #232a37;
  --border-strong: #2e3645;
  --text: #e6e9ef;
  --text-soft: #98a0b3;
  --text-mute: #5b6478;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --warn: #f59e0b;
  --warn-soft: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
  --info: #3b82f6;
  --info-soft: rgba(59, 130, 246, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
code { font-family: var(--mono); background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.muted { color: var(--text-mute); }
.small { font-size: 13px; }
.win { color: var(--accent); font-weight: 600; }
.loss { color: var(--danger); font-weight: 600; }

/* ─────────────────────────────────────────
   Topbar
   ───────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand:hover { color: var(--text); }
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.24);
}
.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand__hq { color: var(--accent); }
.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topnav a:not(.btn) {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 14px;
}
.topnav a:hover { color: var(--text); }
.logout-form { margin: 0; }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-soft);
  font: inherit;
  cursor: pointer;
}
.link-button:hover { color: var(--text); }

/* ─────────────────────────────────────────
   Buttons
   ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, transform .12s, border-color .15s;
  font-family: inherit;
}
.btn--primary {
  background: var(--accent);
  color: #07120c;
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #07120c;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--text-soft);
}
.btn--danger {
  background: transparent;
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.4);
}
.btn--danger:hover {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: var(--danger);
}
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* ─────────────────────────────────────────
   Messages
   ───────────────────────────────────────── */
.messages {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.message {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  border: 1px solid var(--border);
}
.message--success { background: var(--accent-soft); border-color: rgba(34, 197, 94, 0.35); color: #aaf3c1; }
.message--warning { background: var(--warn-soft); border-color: rgba(245, 158, 11, 0.35); color: #fcd9a1; }
.message--error { background: var(--danger-soft); border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }

/* ─────────────────────────────────────────
   Hero / landing
   ───────────────────────────────────────── */
.hero {
  padding: 96px 24px 64px;
  background: radial-gradient(900px 500px at 50% 0%, rgba(34, 197, 94, 0.08), transparent 70%);
}
.hero__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero__logo {
  display: block;
  width: min(320px, 70vw);
  height: auto;
  margin: 0 auto 18px;
  border-radius: 14px;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
}
.hero__kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
}
.hero__title-accent { color: var(--accent); }
/* Positioning statement under the slogan. Friend product review (Jun 12):
   "Stop tilting…" is the slogan, this is the *category* — anti-TraderSync line. */
.hero__positioning {
  font-size: 17px;
  color: var(--text);
  max-width: 640px;
  margin: 18px auto 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.hero__sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.hero__sub strong { color: var(--text); }
.hero__leak-report {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 18px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 16px;
  background: rgba(10, 14, 19, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.hero__leak-head {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero__leak-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.hero__leak-item {
  min-height: 92px;
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(17, 21, 29, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.hero__leak-item strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
}
.hero__leak-item span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
}
.hero__leak-item--loss strong { color: #f87171; }
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.hero__cta-demo {
  position: relative;
  border-color: rgba(34, 197, 94, .35) !important;
  color: var(--accent) !important;
}
.hero__cta-demo:hover {
  border-color: var(--accent) !important;
  background: rgba(34, 197, 94, .06);
}
.hero__cta-link {
  color: var(--text-soft);
  font-size: 14px;
  text-decoration: none;
  padding: 0 6px;
  transition: color .15s ease;
}
.hero__cta-link:hover { color: var(--text); }
.hero__trust {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 13px;
}

/* ─────────────────────────────────────────
   Sections
   ───────────────────────────────────────── */
.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 40px;
}
.how, .patterns, .cta-bottom, .preview, .proof, .landing-faq, .demo {
  padding: 72px 24px;
  border-top: 1px solid var(--border);
}

/* ─────────────────────────────────────────
   Landing demo — interactive coach review
   Goal: visitor reads it and says "yes, that's me on my data."
   Fake loading + short staccato verdict + CTA. Rotates archetype.
   ───────────────────────────────────────── */
.demo__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.demo__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .22);
  margin-bottom: 22px;
}
.demo__title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--text);
  margin: 0 0 14px;
}
.demo__sub {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0 0 38px;
}
.demo__sub strong {
  color: var(--text);
  font-weight: 700;
}
.demo__stage {
  background: #0a0e13;
  border: 1px solid #1a212b;
  border-radius: 18px;
  padding: 56px 32px 44px;
  position: relative;
  overflow: hidden;
  text-align: left;
  min-height: 260px;
  box-shadow: 0 8px 40px rgba(34, 197, 94, .06);
}
.demo__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%,
    rgba(34, 197, 94, .08), transparent 70%);
  pointer-events: none;
}
.demo__sample {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}
.demo__sample-row,
.demo__sample-rule {
  padding: 18px 20px;
  border: 1px solid #1f2733;
  border-radius: 12px;
  background: rgba(15, 20, 25, .72);
}
.demo__sample-row span,
.demo__sample-rule span {
  display: block;
  color: #6b7670;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.demo__sample-row strong {
  display: block;
  color: #f1f5f3;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.demo__sample-row--loss strong {
  color: #f87171;
  font-family: var(--mono);
}
.demo__sample-rule {
  grid-column: 1 / -1;
  border-left: 3px solid var(--accent);
}
.demo__sample-rule p {
  color: #cdd3cf;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}
.demo__btn {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 18px 32px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  animation: demoPulse 2.4s ease-in-out infinite;
}
@keyframes demoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .35); }
  50% { box-shadow: 0 0 0 14px rgba(34, 197, 94, 0); }
}
.demo__btn:hover {
  animation: none;
  transform: translateY(-1px);
}
.demo__btn[hidden] { display: none; }
.demo__loading[hidden],
.demo__review[hidden] { display: none; }

/* Fake-loading sequence — monospace terminal vibe */
.demo__loading {
  position: relative;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--accent);
  padding: 12px 0;
  transition: opacity .35s ease, padding .35s ease, border-color .35s ease;
}
.demo__step {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .28s ease, transform .28s ease;
  padding: 4px 0;
  letter-spacing: .01em;
}
.demo__step--shown {
  opacity: 1;
  transform: translateY(0);
}
/* Once the verdict appears, soften the process notes and slip a divider
   underneath so the flow reads "AI thinking → result", not "vanishing UI". */
.demo__loading--done {
  opacity: .55;
  font-size: 12.5px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px dashed #1f2733;
}
.demo__loading--done .demo__step {
  padding: 2px 0;
}

/* Final verdict — designed to be read aloud */
.demo__review {
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}
.demo__review--shown {
  opacity: 1;
  transform: translateY(0);
}
.demo__review-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #f87171;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.demo__review-pattern {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f1f5f3;
  margin: 0 0 22px;
  line-height: 1.2;
}
.demo__review-body {
  color: #cdd3cf;
  font-size: 17px;
  line-height: 1.55;
}
.demo__review-body p {
  margin: 0 0 14px;
}
.demo__review-stack {
  display: flex;
  gap: 14px;
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
  color: #fca5a5;
  font-weight: 600;
  flex-wrap: wrap;
}
.demo__review-stack > div {
  background: rgba(248, 113, 113, .08);
  border: 1px solid rgba(248, 113, 113, .22);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.demo__review-sig {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #1f2733;
  font-size: 12px;
  color: #6b7670;
  letter-spacing: .02em;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.demo__cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.demo__cta .btn--lg {
  padding: 12px 22px;
  font-size: 15px;
}
@media (max-width: 640px) {
  .demo__stage { padding: 32px 18px; }
  .demo__sample { grid-template-columns: 1fr; }
  .demo__sample-rule { grid-column: auto; }
  .demo__cta { flex-direction: column; align-items: stretch; }
  .demo__cta .btn { width: 100%; }
}
.how__inner, .patterns__inner, .cta-bottom__inner,
.preview__inner, .proof__inner, .landing-faq__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-sub {
  color: var(--text-soft);
  text-align: center;
  margin: -28px auto 36px;
  max-width: 560px;
}

/* Dashboard preview (faux screenshot) */
.preview__mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.preview__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.preview__stat {
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.preview__stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.preview__stat-value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
}
.preview__stat-value--win { color: var(--accent); }
.preview__stat-hint { font-size: 11px; color: var(--text-mute); }

.preview__insights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.preview__insight {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.preview__insight strong { display: block; margin-bottom: 4px; font-size: 14px; }
.preview__insight span { color: var(--text-soft); font-size: 13px; }
.preview__insight--critical { background: var(--danger-soft); border-color: rgba(239,68,68,.35); }
.preview__insight--critical strong { color: #fca5a5; }
.preview__insight--warning { background: var(--warn-soft); border-color: rgba(245,158,11,.3); }
.preview__insight--warning strong { color: #fcd9a1; }
.preview__insight--positive { background: var(--accent-soft); border-color: rgba(34,197,94,.35); }
.preview__insight--positive strong { color: #aaf3c1; }

/* Trust / proof */
.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proof__card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.proof__card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}
.proof__card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--text);
}
.proof__card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* Landing FAQ */
.landing-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.landing-faq__card {
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.landing-faq__card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}
.landing-faq__card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .preview__stats { grid-template-columns: repeat(2, 1fr); }
  .proof__grid { grid-template-columns: 1fr; }
  .landing-faq__grid { grid-template-columns: 1fr; }
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how__card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .15s, transform .12s;
}
.how__card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.how__icon { font-size: 28px; margin-bottom: 12px; }
.how__card h3 { margin: 0 0 10px; font-size: 18px; }
.how__card p { color: var(--text-soft); margin: 0; }

.patterns__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.patterns__list li {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
}
.patterns__list strong { color: var(--text); display: block; margin-bottom: 4px; }

.cta-bottom__inner { text-align: center; }
.cta-bottom h2 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.02em; }
.cta-bottom p { color: var(--text-soft); margin: 0 0 28px; }

/* ─────────────────────────────────────────
   App pages
   ───────────────────────────────────────── */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}
.page--narrow { max-width: 720px; }
.page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.page__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.page__sub { color: var(--text-soft); margin: 0; }
.page__actions { display: flex; gap: 10px; }

/* ─────────────────────────────────────────
   Stats grid
   ───────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.stat-card__value {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-card__value--win { color: var(--accent); }
.stat-card__value--loss { color: var(--danger); }
.stat-card__hint { font-size: 12px; color: var(--text-mute); }

/* ─────────────────────────────────────────
   Panels
   ───────────────────────────────────────── */
.panel {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.panel__head h2 { font-size: 18px; margin: 0; font-weight: 700; }
.panel__hint { font-size: 13px; color: var(--text-mute); }
.panel__link { font-size: 13px; }

.chart-wrap {
  position: relative;
  height: 280px;
  width: 100%;
}

/* ─────────────────────────────────────────
   Insights
   ───────────────────────────────────────── */
.insights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insight {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.insight h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.insight p { margin: 0; color: var(--text-soft); font-size: 14px; }
.insight--warning { background: var(--warn-soft); border-color: rgba(245, 158, 11, 0.3); }
.insight--warning h3 { color: #fcd9a1; }
.insight--critical { background: var(--danger-soft); border-color: rgba(239, 68, 68, 0.35); }
.insight--critical h3 { color: #fca5a5; }
.insight--positive { background: var(--accent-soft); border-color: rgba(34, 197, 94, 0.35); }
.insight--positive h3 { color: #aaf3c1; }
.insight--info { background: var(--info-soft); border-color: rgba(59, 130, 246, 0.3); }
.insight--info h3 { color: #a5c9ff; }

/* ─────────────────────────────────────────
   Trades table
   ───────────────────────────────────────── */
/* Wrap the dashboard's recent-trades table so a long list scrolls inside the
   panel instead of stretching the page. Header stays visible via sticky thead. */
.trades-scroll {
  max-height: 440px;
  overflow-y: auto;
  border-radius: 12px;
}
.trades-scroll .trades-table thead th {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}
.trades-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.trades-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.trades-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}
.trades-table tbody tr:hover { background: var(--bg-soft); }
.trades-table tbody tr:last-child td { border-bottom: 0; }

/* ─────────────────────────────────────────
   Import form
   ───────────────────────────────────────── */
.import-form {
  display: flex;
  gap: 14px;
  align-items: stretch;
  flex-wrap: wrap;
}
.file-drop {
  flex: 1;
  min-width: 240px;
  position: relative;
  cursor: pointer;
}
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-drop__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text-soft);
  font-weight: 500;
  transition: border-color .15s, color .15s;
}
.file-drop:hover .file-drop__hint {
  border-color: var(--accent);
  color: var(--accent);
}
.import-help { margin-top: 18px; font-size: 14px; color: var(--text-soft); }
.import-help p { margin: 6px 0; }
.result-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.result-list strong { color: var(--text); font-family: var(--mono); }
.result-errors { margin-top: 14px; font-size: 13px; color: var(--text-soft); }
.result-errors summary { cursor: pointer; color: var(--accent); }
.result-errors ul { margin: 8px 0 0; padding-left: 20px; }

/* ─────────────────────────────────────────
   Filter bar (trades list)
   ───────────────────────────────────────── */
.filter-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: end;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.filter-field--grow { grid-column: span 2; }
.filter-field > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.filter-field input,
.filter-field select {
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  min-width: 0;
  width: 100%;
}
.filter-field input:focus,
.filter-field select:focus { border-color: var(--accent); }
.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 4px;
}

@media (max-width: 1100px) {
  .filter-bar { grid-template-columns: repeat(4, 1fr); }
  .filter-field--grow { grid-column: span 2; }
}
@media (max-width: 700px) {
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-field--grow { grid-column: 1 / -1; }
}

/* ─────────────────────────────────────────
   Damage preview hero (first-time empty dashboard)
   Pain-first onboarding: trader sees a hypothetical loss number
   before any CTA. Pattern badges signal what we actually diagnose.
   ───────────────────────────────────────── */
.damage-preview {
  margin: 32px 0;
  padding: 48px 28px;
  border-radius: 18px;
  text-align: center;
  background: #0a0e13;
  border: 1px solid #1a212b;
  position: relative;
  overflow: hidden;
}
.damage-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 0%,
    rgba(248, 113, 113, .14), transparent 65%);
  pointer-events: none;
}
.damage-preview__inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.damage-preview__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #f87171;
  margin-bottom: 18px;
}
.damage-preview__lead {
  font-size: 15px;
  color: #9ca3af;
  margin: 0 0 14px;
  line-height: 1.5;
}
.damage-preview__number {
  font-size: clamp(64px, 10vw, 104px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #f87171;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.damage-preview__sub {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0 0 28px;
  line-height: 1.55;
}
.damage-preview__sub strong { color: #f1f5f3; }

.damage-preview__patterns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 32px;
}
.damage-pattern {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  background: rgba(248, 113, 113, .08);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, .18);
}

/* Sample coach insight — concrete demo of Haiku's voice on a real pattern */
.damage-preview__sample {
  text-align: left;
  background: rgba(15, 20, 25, .55);
  border: 1px solid #1f2733;
  border-left: 3px solid #22c55e;
  border-radius: 12px;
  padding: 22px 24px 20px;
  margin: 0 0 28px;
}
.damage-sample__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #22c55e;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.damage-sample__pattern {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.damage-sample__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #6b7670;
  text-transform: uppercase;
}
.damage-sample__title {
  font-size: 15px;
  color: #f1f5f3;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.damage-sample__quote {
  font-size: 14px;
  color: #cdd3cf;
  line-height: 1.65;
  margin: 0 0 14px;
  font-style: italic;
}
.damage-sample__sig {
  font-size: 11px;
  color: #6b7670;
  letter-spacing: .02em;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}

.damage-preview__cta {
  font-size: 16px;
  color: #f1f5f3;
  font-weight: 600;
  margin: 0 0 22px;
}
.damage-preview__cta strong {
  color: var(--accent);
}

.damage-preview__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.damage-preview__actions .btn { padding: 12px 22px; }

.damage-preview__footer {
  margin: 0;
  font-size: 13px;
}
.damage-preview__footer .link {
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .15);
}
.damage-preview__footer .link:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

@media (max-width: 640px) {
  .damage-preview { padding: 36px 18px; }
  .damage-preview__actions { flex-direction: column; align-items: stretch; }
  .damage-preview__actions .btn { width: 100%; }
}

/* ─────────────────────────────────────────
   Activation card (empty dashboard, any tier)
   Friend review (Jun 11): empty dashboard is for ACTIVATION, not the sale.
   Pain hero lives on the landing page. Here the only job is: get the user
   to their first import as fast as possible.
   ───────────────────────────────────────── */
.activation {
  margin: 32px 0;
  padding: 48px 28px;
  border-radius: 18px;
  text-align: center;
  background: #0a0e13;
  border: 1px solid #1a212b;
  position: relative;
  overflow: hidden;
}
.activation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 0%,
    rgba(34, 197, 94, .08), transparent 65%);
  pointer-events: none;
}
.activation__inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.activation__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #22c55e;
  margin-bottom: 18px;
}
.activation__title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #f1f5f3;
  margin: 0 0 14px;
}
.activation__sub {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 30px;
}
.activation__sub strong { color: #f1f5f3; }
.activation__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.activation__actions .btn { padding: 12px 22px; }
.activation__footer { margin: 0; font-size: 13px; }
.activation__footer .link {
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .15);
}
.activation__footer .link:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}
@media (max-width: 640px) {
  .activation { padding: 36px 18px; }
  .activation__actions { flex-direction: column; align-items: stretch; }
  .activation__actions .btn { width: 100%; }
}

/* ─────────────────────────────────────────
   Sample data banner — shown at the top of the dashboard whenever any
   sample-seeded trade is in the user's data. Amber accent signals
   "this isn't your real data yet" without harassing the user.
   ───────────────────────────────────────── */
.sample-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  margin: 0 0 24px;
  border-radius: 12px;
  background: rgba(245, 158, 11, .08);
  border: 1px solid rgba(245, 158, 11, .25);
  flex-wrap: wrap;
}
.sample-banner__text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fde68a;
  font-size: 13.5px;
  line-height: 1.45;
  flex: 1 1 320px;
}
.sample-banner__tag {
  flex-shrink: 0;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  background: rgba(245, 158, 11, .18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, .35);
}
.sample-banner__form { margin: 0; flex-shrink: 0; }
.sample-banner__btn {
  padding: 8px 16px;
  font-size: 13px;
  border-color: rgba(245, 158, 11, .35);
  color: #fbbf24;
}
.sample-banner__btn:hover {
  border-color: #fbbf24;
  color: #fde68a;
}
@media (max-width: 640px) {
  .sample-banner { align-items: stretch; }
  .sample-banner__form .btn { width: 100%; }
}

/* ─────────────────────────────────────────
   Pro welcome (empty dashboard, paying user)
   No shame-y damage hero — they already converted. Friendly
   "ready to coach you" framing with green accent instead of red.
   ───────────────────────────────────────── */
.pro-welcome {
  margin: 32px 0;
  padding: 48px 28px;
  border-radius: 18px;
  text-align: center;
  background: #0a0e13;
  border: 1px solid #1a212b;
  position: relative;
  overflow: hidden;
}
.pro-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 0%,
    rgba(34, 197, 94, .12), transparent 65%);
  pointer-events: none;
}
.pro-welcome__inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.pro-welcome__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #22c55e;
  margin-bottom: 18px;
}
.pro-welcome__title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #f1f5f3;
  margin: 0 0 16px;
}
.pro-welcome__sub {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 28px;
}
.pro-welcome__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pro-welcome__actions .btn { padding: 12px 22px; }
.pro-welcome__footer {
  margin: 0;
  font-size: 13px;
}
.pro-welcome__footer .link {
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .15);
}
.pro-welcome__footer .link:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}
@media (max-width: 640px) {
  .pro-welcome { padding: 36px 18px; }
  .pro-welcome__actions { flex-direction: column; align-items: stretch; }
  .pro-welcome__actions .btn { width: 100%; }
}

/* ─────────────────────────────────────────
   Onboarding (first-time empty dashboard — legacy, kept for fallback)
   ───────────────────────────────────────── */
.onboarding {
  margin-top: 24px;
}
.onboarding__hero {
  text-align: center;
  padding: 32px 24px 8px;
}
.onboarding__hero .empty-card__icon { font-size: 48px; margin-bottom: 12px; }
.onboarding__hero h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.onboarding__hero p {
  color: var(--text-soft);
  margin: 0;
}
.onboarding__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.onboarding__card {
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.onboarding__card--primary {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}
.onboarding__step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}
.onboarding__card--primary .onboarding__step {
  background: var(--accent);
  color: #07120c;
}
.onboarding__card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}
.onboarding__card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}

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

/* ─────────────────────────────────────────
   Empty state
   ───────────────────────────────────────── */
.empty-card {
  text-align: center;
  padding: 64px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.empty-card__icon { font-size: 48px; margin-bottom: 16px; }
.empty-card h2 { font-size: 24px; margin: 0 0 8px; }
.empty-card p { color: var(--text-soft); margin: 0 0 24px; }
.empty-card__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   Auth pages
   ───────────────────────────────────────── */
.auth {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.auth__card {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.auth__title { font-size: 28px; margin: 8px 0 24px; letter-spacing: -0.02em; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; }
.auth-form label > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.auth-form input {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.auth-form input:focus { border-color: var(--accent); }
.auth__alt {
  text-align: center;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 14px;
}
.form-error {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--danger-soft);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ─────────────────────────────────────────
   Trade form
   ───────────────────────────────────────── */
.trade-form { padding: 28px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-optional {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-mute);
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field--wide { grid-column: span 1; }
.form-field--full { grid-column: 1 / -1; }
.form-field textarea { resize: vertical; min-height: 70px; }
.form-field ul.errorlist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  color: #fca5a5;
  font-size: 12px;
}
.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.row-action {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.65;
  transition: opacity .15s, background .15s;
}
.row-action:hover {
  opacity: 1;
  background: var(--bg-soft);
}

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

/* ─────────────────────────────────────────
   Coach review
   ───────────────────────────────────────── */
.review-card {
  position: relative;
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 24px;
}
.review-text {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-mute);
}
.review-source { font-family: var(--mono); }
.review-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--info-soft);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-soft);
}
.review-note strong { color: var(--text); }

/* ─────────────────────────────────────────
   Pricing page
   ───────────────────────────────────────── */
.trust-bar {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-mute);
}
.current-plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin: 24px auto 28px;
}
.billing-toggle button {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.billing-toggle button.is-active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.save-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #07120c;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}
.pricing-grid--three {
  grid-template-columns: 1fr 1fr 1fr;
}
.pricing-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.pricing-card--pro {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 24px 64px rgba(34, 197, 94, 0.08);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #07120c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-card__badge--gold {
  background: linear-gradient(135deg, #f5b942, #e8793a);
  color: #fff;
}
.pricing-card__note {
  font-size: 13px;
  color: var(--text-mute);
  margin: -8px 0 18px;
}
.pricing-card__was {
  font-size: 14px;
  color: var(--text-mute);
  text-decoration: line-through;
  margin-bottom: -4px;
}

.pricing-card--lifetime {
  border-color: rgba(242, 201, 76, 0.5);
  box-shadow: 0 0 0 1px rgba(242, 201, 76, 0.18), 0 24px 64px rgba(232, 121, 58, 0.08);
}

.lifetime-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-soft);
}
.lifetime-counter__bar {
  flex: 1;
  height: 6px;
  background: var(--bg-soft);
  border-radius: 3px;
  overflow: hidden;
}
.lifetime-counter__fill {
  height: 100%;
  background: linear-gradient(90deg, #f5b942, #e8793a);
  border-radius: 3px;
}
.lifetime-counter__copy {
  font-weight: 700;
  color: var(--text);
}

.btn--gold {
  background: linear-gradient(135deg, #f5b942, #e8793a);
  color: #fff;
  border: 0;
}
.btn--gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff;
}

.faq {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.faq__card {
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq__card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.faq__card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}
.pricing-card__head h2 {
  font-size: 22px;
  margin: 0 0 4px;
  font-weight: 700;
}
.pricing-card__head p { color: var(--text-soft); margin: 0 0 20px; font-size: 14px; }
.pricing-card__price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  font-family: var(--mono);
}
.pricing-card__price span { font-size: 16px; font-weight: 500; margin-left: 6px; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  padding-left: 22px;
  position: relative;
  color: var(--text-soft);
  font-size: 14px;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.pricing-features li strong { color: var(--text); }

@media (max-width: 960px) {
  .pricing-grid--three { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   Footer
   ───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  margin-top: 60px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-size: 13px;
  color: var(--text-mute);
  flex-wrap: wrap;
}
.footer__inner > div { display: flex; flex-direction: column; gap: 4px; }
.footer__meta { color: var(--text-mute); font-size: 12px; }
.footer__nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
}
.footer__nav a:hover { color: var(--text); }

/* ─────────────────────────────────────────
   Responsive
   ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding-top: 72px; }
  .hero__logo {
    width: min(260px, 78vw);
    margin-bottom: 16px;
    border-radius: 12px;
  }
  .hero__leak-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 44px; }
  .how__grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .patterns__list { grid-template-columns: 1fr; }
  .trades-table { font-size: 13px; }
}
