/*
  REVALYTICS — HOME SERVICES
  Page-specific styles. Loaded after shared component CSS.
*/

/* ─── Utilities ──────────────────────────────────────── */
.tnum { font-variant-numeric: tabular-nums; }

/* ─── Live dot sizing (animation lives in wirebar.css) ── */
.live-dot {
  width: 7px;
  height: 7px;
}

.warn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rev-warn);
  flex-shrink: 0;
}

.neg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rev-neg);
  flex-shrink: 0;
}

/* ─── Eyebrow labels ─────────────────────────────────── */
.eyebrow {
  font-family: var(--rev-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rev-blue);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-dark  { color: var(--rev-blue-300); }
.eyebrow-light { color: var(--rev-blue); }

/* ─── Section containers ─────────────────────────────── */
.sec-wrap {
  margin: 25px 30px 0;
}

.sec-wrap:last-of-type {
  margin-bottom: 25px;
}

.section {
  margin: 25px 30px;
  background: #fff;
  border-radius: 25px;
  box-shadow: var(--rev-shadow-card);
  overflow: hidden;
}

.section-pad {
  padding: clamp(40px, 6vw, 90px) clamp(28px, 5vw, 73px) clamp(28px, 3.5vw, 52px);
}

@media (max-width: 720px) {
  .section {
    margin: 16px 12px;
    border-radius: 0;
  }

  /* Hero eyebrow center */
  .hero-wrap .eyebrow {
    display: block !important;
    width: 100%;
    text-align: center;
  }
  .hero-wrap .eyebrow .live-dot {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
  }

  /* Moneyball card — square corners, square button on mobile */
  .mb-card {
    border-radius: 8px;
  }
  .mb-submit {
    border-radius: 8px;
  }

  /* Buttons side by side, equal width */
  .mb-buttons {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .mb-buttons .btn-mb-light,
  .mb-buttons .btn-mb-ghost-light {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 11px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
}

.ls-card {
  position: relative;
  background: var(--rev-navy-900);
  border-radius: var(--rev-radius-lg);
  overflow: hidden;
  box-shadow: var(--rev-shadow-card);
  color: #fff;
  padding: 80px;
}

.ls-orb {
  position: absolute;
  right: -80px;
  top: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: rgba(75, 133, 234, 0.15);
  filter: blur(90px);
  pointer-events: none;
}

.phil-card {
  background: #fff;
  border-radius: var(--rev-radius-lg);
  box-shadow: var(--rev-shadow-card);
  padding: 80px;
}

.cases-card {
  background: #fff;
  border-radius: var(--rev-radius-lg);
  box-shadow: var(--rev-shadow-card);
  padding: 80px;
}

/* ─── Section header (two-col intro) ────────────────── */
.section-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.section-headline {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-headline.on-dark { color: #fff; }
.section-headline em { font-style: italic; }

.section-desc {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--rev-navy-900);
  margin: 0;
}

.section-desc.on-dark { color: var(--rev-text-on-dark-muted); }

/* ─── Hero ───────────────────────────────────────────── */
.hero-wrap {
  margin: 91px 30px 0;
}

.hero-card {
  position: relative;
  background: var(--rev-navy-900);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--rev-shadow-card);
  color: #fff;
}

/* Background photo layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../images/hero-section-backgroud-blue-gradient.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(4,18,45,0.82) 0%, rgba(4,18,45,0.68) 35%, rgba(4,18,45,0.35) 65%, rgba(4,18,45,0.55) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,18,45,0.35) 0%, transparent 25%, transparent 75%, rgba(4,18,45,0.25) 100%);
  z-index: 2;
}

/* Orb glow on top of image */
.hero-card::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 55%;
  width: 900px;
  height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(75, 133, 234, 0.18);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(16px, 2vw, 28px) clamp(32px, 6vw, 80px) clamp(16px, 2vw, 28px);
}

.hero-wrap .eyebrow { margin-top: 20px; margin-bottom: 32px; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 0;
}

.hero-stats-panel {
  border-left: 2px solid var(--rev-blue);
  padding-left: 32px;
}

.hero-stats-panel .hero-stats-strip {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  max-width: none;
}

.hero-stats-panel .hero-footnote {
  margin-top: 16px;
}

.hero-headline {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--rev-blue-300);
}

.hero-body {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  max-width: 480px;
  margin-bottom: 8px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-stats-strip {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 400px;
}

.hero-stat-label {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}

.hero-stat-num {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.hero-stat-num.neg { color: var(--rev-neg); }
.hero-stat-num.pos { color: var(--rev-blue-300); }

.hero-stat-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.hero-footnote {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 10px;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.04em;
}

.hero-right-col .hero-footnote {
  margin-top: auto;
  padding-top: 10px;
}

/* ─── Hero right col scorecard widget ───────────────── */
.hero-right-col {
  position: relative;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
}

.hero-right-col .scorecard-widget {
  flex: 1;
}

.sw-label-tag {
  margin-bottom: 8px;
  padding-left: 20px;
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scorecard-widget {
  background: rgba(4,18,45,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--rev-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.sw-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--rev-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sw-bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.sw-bar-time {
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}

.sw-trade {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sw-trade-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sw-trade-name {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.sw-trade-status {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
}

.sw-trade-status.warn-text { color: var(--rev-neg); }

.sw-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sw-metric-val {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.sw-metric-val.warn { color: var(--rev-warn); }
.sw-metric-val.neg  { color: var(--rev-neg); }

.sw-metric-label {
  font-family: var(--rev-font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-top: 3px;
}

.sw-metric-label.warn { color: var(--rev-warn); }
.sw-metric-label.neg  { color: var(--rev-neg); }

.sw-priority {
  padding: 20px;
  background: var(--rev-neg);
  color: var(--rev-navy-900);
  margin-top: auto;
}

.sw-priority-label {
  font-family: var(--rev-font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.90;
}

.sw-priority-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* ─── Trade selection grid ───────────────────────────── */
.trade-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--rev-navy-900);
  border-radius: var(--rev-radius-md);
  overflow: hidden;
  margin-top: 48px;
}

.trade-tile {
  background: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: background var(--rev-dur), color var(--rev-dur);
  text-decoration: none;
  color: var(--rev-text);
}

.trade-tile:hover {
  background: var(--rev-navy-900);
  color: #fff;
}

.trade-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.trade-tile-num {
  font-family: var(--rev-font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--rev-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--rev-dur);
}

.trade-tile:hover .trade-tile-num { color: rgba(255,255,255,0.35); }

.trade-tile-name {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.trade-tile-desc {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--rev-navy-900);
  flex: 1;
  transition: color var(--rev-dur);
}

.trade-tile:hover .trade-tile-desc { color: rgba(255,255,255,0.6); }

.trade-tile-cta {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rev-border);
  font-family: var(--rev-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rev-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--rev-dur), color var(--rev-dur);
}

.trade-tile:hover .trade-tile-cta {
  border-top-color: rgba(255,255,255,0.1);
  color: var(--rev-blue-300);
}

.trade-tile-coming {
  background: var(--rev-blue-25);
  opacity: 0.8;
}

.trade-tile-coming:hover {
  background: var(--rev-navy-900);
  opacity: 1;
  color: #fff;
}

.trade-tile-coming:hover .trade-tile-num  { color: rgba(255,255,255,0.35); }
.trade-tile-coming:hover .trade-tile-name { color: #fff; }
.trade-tile-coming:hover .trade-tile-desc { color: rgba(255,255,255,0.6); }
.trade-tile-coming .trade-tile-cta       { color: var(--rev-text-muted); }
.trade-tile-coming:hover .trade-tile-cta { color: rgba(255,255,255,0.4); }

.trade-tile-dark {
  background: var(--rev-navy-900);
  opacity: 1;
}
.trade-tile-dark .trade-tile-num  { color: rgba(255,255,255,0.35); }
.trade-tile-dark .trade-tile-name { color: #fff; }
.trade-tile-dark .trade-tile-desc { color: rgba(255,255,255,0.6); }
.trade-tile-dark .trade-tile-cta  { color: rgba(255,255,255,0.5); }
.trade-tile-dark:hover { background: #0d2252; opacity: 1; }
.trade-tile-dark:hover .trade-tile-num  { color: rgba(255,255,255,0.4); }
.trade-tile-dark:hover .trade-tile-name { color: #fff; }
.trade-tile-dark:hover .trade-tile-desc { color: rgba(255,255,255,0.7); }
.trade-tile-dark:hover .trade-tile-cta  { color: var(--rev-blue-300); }

.trade-capture {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rev-border);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}

.trade-capture-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--rev-navy-900);
}

.trade-capture-link {
  color: var(--rev-blue);
  font-family: var(--rev-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  transition: opacity var(--rev-dur);
  text-decoration: none;
}

.trade-capture-link:hover { opacity: 0.7; }

/* ─── Three rules ────────────────────────────────────── */
.rule-list {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.rule-item {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}

.rule-number {
  font-size: 72px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.5);
}

.rule-label {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.rule-name {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}

.rule-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--rev-text-on-dark-muted);
  font-weight: 400;
}

.rule-surfaced {
  font-family: var(--rev-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rev-blue-300);
  margin-top: 16px;
}

.rule-cost-box {
  background: rgba(0,86,235,0.08);
  border: 1px solid rgba(0,86,235,0.2);
  border-radius: var(--rev-radius-sm);
  padding: 24px;
}

.rule-cost-label {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-neg);
  margin-bottom: 12px;
}

.rule-cost-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rev-text-on-dark-muted);
  font-weight: 400;
}

.rules-closing {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.rules-closing-quote {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.005em;
}

.rules-closing-quote em {
  font-style: italic;
  color: var(--rev-blue-300);
}

.rules-closing-link {
  font-family: var(--rev-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rev-blue-300);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  transition: opacity var(--rev-dur);
  text-decoration: none;
}

.rules-closing-link:hover { opacity: 0.7; }

/* ─── Daily scorecard section ────────────────────────── */
.scorecard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scorecard-panel {
  border-radius: var(--rev-radius-md);
  padding: 44px;
}

.scorecard-panel-light {
  background: var(--rev-blue-25);
  border: 1px solid var(--rev-border);
}

.scorecard-panel-dark {
  background: var(--rev-navy-900);
  color: #fff;
  box-shadow: 0 20px 60px rgba(4,18,45,0.2);
}

.scorecard-panel-label {
  font-family: var(--rev-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.scorecard-panel-label.light { color: var(--rev-blue); }
.scorecard-panel-label.dark  { color: rgba(255,255,255,0.4); }

.scorecard-panel-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.scorecard-panel-title.dark { color: #fff; }

.scorecard-panel-body {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 14px;
}

.scorecard-panel-body.light { color: var(--rev-navy-900); }
.scorecard-panel-body.dark  { color: var(--rev-text-on-dark-muted); }

.scorecard-panel-link {
  font-family: var(--rev-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  transition: opacity var(--rev-dur);
  margin-top: 8px;
  text-decoration: none;
}

.scorecard-panel-link.light { color: var(--rev-blue); }
.scorecard-panel-link.dark  { color: var(--rev-blue-300); }
.scorecard-panel-link:hover { opacity: 0.7; }

.scorecard-delivery {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rev-border);
}

.scorecard-delivery-label {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-text-muted);
  margin-bottom: 12px;
}

.scorecard-delivery-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--rev-text-body);
}

.scorecard-delivery-text em {
  font-style: italic;
  color: var(--rev-text-muted);
}

/* ─── AI band ────────────────────────────────────────── */
.ai-band-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ai-orb {
  position: absolute;
  right: -60px;
  top: -100px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(75,133,234,0.12);
  filter: blur(80px);
  pointer-events: none;
}

.ai-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.ai-indicator-text {
  font-family: var(--rev-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rev-pos);
}

.ai-headline {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.ai-headline em {
  font-style: italic;
  color: var(--rev-blue-300);
}

.ai-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--rev-text-on-dark-muted);
  font-weight: 400;
  margin-bottom: 16px;
}

.ai-note {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}

/* ─── Three alerts ───────────────────────────────────── */
.alerts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--rev-navy-900);
  border-radius: var(--rev-radius-md);
  overflow: hidden;
  gap: 2px;
  margin-top: 48px;
}

.alert-cell {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.alert-cell-light { background: #fff; }
.alert-cell-dark  { background: var(--rev-navy-900); color: #fff; }

.alert-cell-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}

.alert-cell-num { font-family: var(--rev-font-mono); font-size: 13px; }
.alert-cell-num.light { color: var(--rev-text-muted); }
.alert-cell-num.dark  { color: rgba(255,255,255,0.35); }

.alert-cell-tag {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.alert-cell-tag.light { color: var(--rev-text-muted); }
.alert-cell-tag.dark  { color: rgba(255,255,255,0.35); }

.alert-cell-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.alert-cell-title.dark { color: #fff; }

.alert-cell-body {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  flex: 1;
  margin-bottom: 20px;
}

.alert-cell-body.light { color: var(--rev-navy-900); }
.alert-cell-body.dark  { color: var(--rev-text-on-dark-muted); }

.alert-cell-footer {
  padding-top: 16px;
  margin-top: auto;
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.alert-cell-footer.light {
  border-top: 1px solid var(--rev-border);
  color: var(--rev-text-muted);
}

.alert-cell-footer.dark {
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
}

/* ─── Moneyball index form ───────────────────────────── */
.index-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.index-eyebrow {
  font-family: var(--rev-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rev-blue);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.index-headline {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--rev-text);
}

.index-headline em { font-style: italic; }

.index-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--rev-navy-900);
  margin-bottom: 12px;
  font-weight: 400;
}

.index-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rev-text-muted);
  font-weight: 400;
}

.form-panel {
  background: #fff;
  color: var(--rev-navy-900);
  border-radius: var(--rev-radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(4,18,45,0.08);
  border: 1px solid rgba(4,18,45,0.05);
}

.form-panel-orb {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(75,133,234,0.15);
  filter: blur(60px);
  pointer-events: none;
}

.form-panel-inner { position: relative; z-index: 2; }

.form-panel-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.form-panel-label {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(4,18,45,0.5);
}

.form-panel-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--rev-navy-900);
}

.form-panel-sub {
  font-size: 14px;
  color: rgba(4,18,45,0.65);
  margin-bottom: 28px;
  font-weight: 400;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--rev-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(4,18,45,0.5);
  margin-bottom: 8px;
}

.form-input,
.form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(4,18,45,0.15);
  color: var(--rev-navy-900);
  font-family: var(--rev-font-sans);
  font-size: 15px;
  font-weight: 400;
  padding: 10px 0;
  outline: none;
  transition: border-color var(--rev-dur);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: rgba(4,18,45,0.35); }

.form-input:focus,
.form-select:focus { border-bottom-color: var(--rev-blue); }

.form-select option { background: #fff; color: var(--rev-navy-900); }

.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  background: var(--rev-blue);
  color: #fff;
  border: none;
  border-radius: var(--rev-radius-pill);
  font-family: var(--rev-font-sans);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--rev-dur);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover { background: #0048c8; }

.form-label-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(4, 18, 45, 0.35);
}

.form-footnote {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(4,18,45,0.5);
  margin-top: 12px;
  text-align: center;
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
}

.faq-sidebar-title {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--rev-text);
}

.faq-sidebar-title em { font-style: italic; }

.faq-list { border-top: 2px solid var(--rev-navy-900); }

details.faq-item { border-bottom: 1px solid var(--rev-border); }

details.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
}

details.faq-item > summary::-webkit-details-marker { display: none; }

.faq-q {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--rev-text);
  letter-spacing: -0.005em;
}

.faq-toggle {
  font-size: 28px;
  font-weight: 300;
  color: var(--rev-text-muted);
  flex-shrink: 0;
  transition: transform 220ms ease;
  line-height: 1;
}

details.faq-item[open] .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  padding-bottom: 24px;
  padding-right: 48px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--rev-navy-900);
  font-weight: 400;
}

details.faq-item:last-child { border-bottom: 2px solid var(--rev-navy-900); }

/* ─── Final CTA ──────────────────────────────────────── */
.hs-cta-card {
  background: #fff;
  border-radius: var(--rev-radius-lg);
  box-shadow: 0 4px 24px rgba(4,18,45,0.08);
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 60px);
}

.hs-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 720px) {
  .hs-cta-grid { grid-template-columns: 1fr; gap: 32px; }
}

.cta-eyebrow-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rev-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}


.hs-cta-right {
  background: linear-gradient(135deg, #0056EB 0%, #0041b8 100%);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0,86,235,0.25);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hs-cta-right-orb {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(75,133,234,0.4);
  filter: blur(40px);
  pointer-events: none;
}

.hs-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  position: relative;
}

.hs-cta-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b85ea;
  box-shadow: 0 0 0 4px rgba(75,133,234,0.3);
  animation: hs-cta-pulse 1.6s ease-in-out infinite;
  display: inline-block;
}

@keyframes hs-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(75,133,234,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(75,133,234,0); }
}

.hs-cta-h3 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  position: relative;
}

.hs-cta-body {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin: 0 0 24px;
  position: relative;
}

.hs-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #04122D;
  font-size: 17px;
  font-weight: 600;
  height: 60px;
  padding: 0 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
  position: relative;
  white-space: nowrap;
}

.hs-cta-btn:hover { background: #f0f5ff; }

.hs-cta-note {
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin: 14px 0 0;
  position: relative;
  letter-spacing: 0.01em;
}

/* ─── Persistent scoreboard widget ──────────────────── */
#scoreboard {
  position: fixed;
  bottom: 24px;
  right: 100px;
  width: 340px;
  background: var(--rev-blue);
  color: #fff;
  font-size: 14px;
  z-index: 9000;
  box-shadow: 0 8px 40px rgba(4,18,45,0.45);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#scoreboard.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

#scoreboard.min #sb-body { display: none; }

#sb-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--rev-navy-900);
}

#sb-header {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  color: #fff;
  cursor: pointer;
  user-select: none;
}

#sb-toggle { font-size: 10px; color: rgba(255,255,255,0.4); }
#sb-toggle svg { transition: transform 0.25s; }
#sb-header[aria-expanded="true"] #sb-toggle svg { transform: rotate(180deg); }

.sb-section-label {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}

.sb-big {
  font-size: 26px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.sb-delta { font-size: 10px; margin-left: 6px; }

.sb-divider { height: 1px; background: rgba(255,255,255,0.08); }

.sb-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.sb-row span:last-child { font-variant-numeric: tabular-nums; color: #fff; }
.sb-row span:last-child.pos { color: var(--rev-pos); }

.sb-demo-btn {
  display: block;
  text-align: center;
  background: var(--rev-blue);
  color: #fff;
  font-family: var(--rev-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
  transition: opacity 0.2s;
  border-radius: 99px;
}

.sb-demo-btn:hover { opacity: 0.85; }

.sb-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rev-pos);
  animation: live-glow 1.4s infinite;
  flex-shrink: 0;
}

/* ─── Portfolio scorecard section ───────────────────────── */
.pf-card {
  background: var(--rev-navy-900);
  border-radius: var(--rev-radius-lg);
  overflow: hidden;
  box-shadow: var(--rev-shadow-card);
  color: #fff;
  position: relative;
}

.pf-card::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(75, 133, 234, 0.1);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.pf-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 36px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pf-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.pf-sub {
  font-family: var(--rev-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.pf-header-right { text-align: right; }

.pf-day {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.pf-time {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
}

.pf-trade {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-trade-last { border-bottom: none; }

.pf-trade-id {
  padding: 24px 28px 24px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.pf-trade-id::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.pf-id-pace::before  { background: var(--rev-pos); }
.pf-id-heat::before  { background: var(--rev-warn); }
.pf-id-storm::before { background: var(--rev-blue); }

.pf-trade-badge {
  font-family: var(--rev-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.pf-trade-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pf-trade-fleet {
  font-family: var(--rev-font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.pf-sep { color: rgba(255, 255, 255, 0.3); font-size: 11px; }

.pf-trade-arr {
  font-family: var(--rev-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.pf-status {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.pf-status-pos   { color: var(--rev-pos); }
.pf-status-warn  { color: var(--rev-warn); }
.pf-status-muted { color: rgba(255, 255, 255, 0.5); }

.pf-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.pf-metric {
  padding: 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.pf-metric:last-child { border-right: none; }

.pf-metric-val {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 6px;
}

.pf-metric-lbl {
  font-family: var(--rev-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.pf-metric-warn .pf-metric-val { color: var(--rev-warn); }
.pf-metric-warn .pf-metric-lbl { color: rgba(200, 138, 58, 0.85); }
.pf-metric-neg  .pf-metric-val { color: var(--rev-neg); }
.pf-metric-neg  .pf-metric-lbl { color: rgba(224, 85, 85, 0.85); }

.pf-priority {
  position: relative;
  z-index: 1;
  background: rgba(224, 85, 85, 0.1);
  border-top: 1px solid rgba(224, 85, 85, 0.2);
  padding: 18px 36px;
}

.pf-priority-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pf-neg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rev-neg);
  flex-shrink: 0;
  margin-top: 5px;
  animation: pulse-neg-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-neg-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 85, 85, 0.5); }
  60%       { box-shadow: 0 0 0 5px rgba(224, 85, 85, 0); }
}

.pf-priority-label {
  font-family: var(--rev-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rev-neg);
  margin-bottom: 4px;
  opacity: 0.9;
}

.pf-priority-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.pf-footer {
  position: relative;
  z-index: 1;
  padding: 16px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-footer p {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.6;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-layout        { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats-panel   { border-left: none; border-top: 2px solid var(--rev-blue); padding-left: 0; padding-top: 28px; }
  .section-header     { grid-template-columns: 1fr; gap: 24px; }
  .rule-item          { grid-template-columns: 1fr; gap: 20px; }
  .rule-number        { font-size: 48px; }
  .scorecard-grid     { grid-template-columns: 1fr; }
  .ai-band-layout     { grid-template-columns: 1fr; gap: 32px; }
  .alerts-grid        { grid-template-columns: 1fr 1fr; }
  .index-layout       { grid-template-columns: 1fr; gap: 36px; }
  .faq-layout         { grid-template-columns: 1fr; gap: 32px; }
  .hs-cta-grid        { grid-template-columns: 1fr; gap: 32px; }
  .trade-capture      { grid-template-columns: 1fr; gap: 20px; }
  .rules-closing      { grid-template-columns: 1fr; gap: 20px; }
  .ls-card, .phil-card, .cases-card { padding: 56px 44px; }
  .pf-trade           { grid-template-columns: 220px 1fr; }
}

@media (max-width: 908px) {
  .sec-wrap           { margin: 40px 12px 0; }
  .sec-wrap:last-of-type { margin-bottom: 40px; }
  .hero-wrap          { margin: 12px 12px 0; }
  .hero-inner         { padding: 40px 28px; }
  .trade-grid         { grid-template-columns: 1fr 1fr; }
  .alerts-grid        { grid-template-columns: 1fr; }
  .ls-card, .phil-card, .cases-card { padding: 40px 28px; }
  .scorecard-panel    { padding: 32px 28px; }

  /* pf scorecard stacks at 908 */
  .pf-trade           { grid-template-columns: 1fr; }
  .pf-trade-id        {
    padding: 18px 20px 14px 28px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .pf-metric          { padding: 18px 20px; }
  .pf-metric-val      { font-size: 22px; }
  .pf-header          { padding: 20px 24px 16px; }
  .pf-priority        { padding: 14px 24px; }
  .pf-footer          { padding: 12px 24px; }
}

@media (max-width: 640px) {
  html, body { max-width: 100%; overflow-x: hidden; }

  .hero-headline { text-align: center; }
  .hero-body { text-align: center; max-width: 100%; }

  .hero-card,
  .ls-card,
  .phil-card,
  .cases-card,
  .hs-cta-card {
    border-radius: 0 !important;
  }

  .hero-wrap {
    margin: 75px 12px 0 !important;
    width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
  }

  .sec-wrap {
    margin-left: 12px !important;
    margin-right: 12px !important;
    width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  #scoreboard {
    bottom: 0; right: 0; left: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 30px rgba(4,18,45,0.5);
  }
  #sb-body    { max-width: 460px; margin: 0 auto; padding: 20px; }
  #sb-header  { max-width: 460px; margin: 0 auto; width: 100%; }
}

@media (max-width: 480px) {
  .trade-grid     { grid-template-columns: 1fr; }
  .hero-cta-row   { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; }
  .form-submit    { font-size: 13px; padding: 14px 16px; gap: 8px; white-space: nowrap; }

  /* pf scorecard 2-col metrics on smallest screens */
  .pf-metrics     { grid-template-columns: 1fr 1fr; }
  .pf-metric:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-right: none;
  }
  .pf-time        { font-size: 20px; }
}

/* ─── Live dot animation ──────────────────────────────── */
@keyframes live-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92, 151, 103, 0.6); }
  70%       { box-shadow: 0 0 0 6px rgba(92, 151, 103, 0); }
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c9767;
  animation: live-dot-pulse 1.4s infinite;
  flex-shrink: 0;
}

/* ─── Section typography (s-*) ───────────────────────── */
.s-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-blue);
  font-family: 'DM Mono', monospace;
  margin-bottom: 20px;
}
.s-eyebrow-light { color: var(--rev-blue-300); }
.s-title {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.s-lede {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--rev-text-muted);
  max-width: 580px;
}
.s-lede-dark { color: rgba(255, 255, 255, 0.6); }

/* ─── Moneyball card + form (mb-*) ───────────────────── */
.mb-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) {
  .mb-grid { grid-template-columns: 1fr; gap: 36px; }
}
.mb-card {
  background: #fff;
  color: var(--rev-navy-900);
  border-radius: 20px;
  overflow: hidden;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(4,18,45,0.08);
  border: 1px solid rgba(4,18,45,0.05);
}
.mb-card-badge { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.mb-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rev-blue); animation: mb-dot-pulse 1.4s infinite; flex-shrink: 0; }
@keyframes mb-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 86, 235, 0.6); }
  70%       { box-shadow: 0 0 0 6px rgba(0, 86, 235, 0); }
}
.mb-badge-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(4, 18, 45, 0.5);
  font-family: 'DM Mono', monospace;
}
.mb-card-title { font-size: 22px; font-weight: 600; color: var(--rev-navy-900); margin: 0 0 6px; line-height: 1.2; }
.mb-card-sub { font-size: 13px; color: rgba(4, 18, 45, 0.65); margin: 0 0 24px; }
.mb-field { margin-bottom: 18px; }
.mb-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(4, 18, 45, 0.5);
  margin-bottom: 6px;
  font-family: 'DM Mono', monospace;
}
.mb-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(4, 18, 45, 0.15);
  color: var(--rev-navy-900);
  padding: 8px 0;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.mb-input::placeholder { color: rgba(4, 18, 45, 0.35); }
.mb-input:focus { outline: none; border-bottom-color: var(--rev-blue); }
.mb-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2304122d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
}
.mb-select option { background: #fff; color: var(--rev-navy-900); }
.mb-submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: var(--rev-blue);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.mb-submit:hover { opacity: 0.85; background: var(--rev-blue); }
.mb-fine {
  font-size: 10px;
  color: rgba(4, 18, 45, 0.4);
  margin: 10px 0 0;
  text-align: center;
  font-family: 'DM Mono', monospace;
}
.mb-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.btn-mb-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--rev-navy-900);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-mb-light:hover { background: #1a2845; }
.btn-mb-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid var(--rev-navy-900);
  color: var(--rev-navy-900);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-mb-ghost-light:hover {
  background: rgba(4, 18, 45, 0.06);
  border-color: var(--rev-navy-900);
}
.mb-error { font-size: 12px; color: #f87171; margin: 6px 0 0; display: none; line-height: 1.4; padding-bottom: 4px; }
