/* onboarding.css — the "Get Started" view (window.Onboarding).
 *
 * LAYOUT-FUNNEL DISCIPLINE (load-bearing): the LEARN-THE-ODDS block must out-weight
 * the account-open CTA in visual prominence — it is rendered FIRST/ABOVE, on a larger
 * higher-contrast elevated panel with an oversized stat headline, while the account
 * CTA sits below on a calmer, smaller, lower-contrast surface. So a disclaimer-skimmer
 * lands on "fewer than 1% net-profit," not on "open account."
 *
 * COLOR DISCIPLINE: NO green-as-go anywhere. Neutral app palette only — the account
 * button is an elevated slate surface with a neutral accent hairline, never a green
 * "go" fill. (The only sanctioned green in the app is the structural safety dot.)
 *
 * MOBILE-FIRST: reflows cleanly at <=480px (media block at the bottom).
 */

#onboarding-view {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 16px 80px;
}

/* ── header ─────────────────────────────────────────────────────────────────── */
.ob-head-bar { margin-bottom: 18px; }
.ob-title {
  font: 800 26px/1.15 var(--font-display);
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.ob-sub {
  font: 500 14px/1.5 var(--font-display);
  color: var(--text-secondary);
  margin: 0;
  max-width: 60ch;
}

/* ── (A) LEARN-THE-ODDS — the DOMINANT block ────────────────────────────────── */
/* Larger, brighter, bordered, elevated — the loudest thing on the page. */
.ob-odds {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent), var(--bg-elev-2);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--warn);          /* a neutral caution rail (amber, NOT green) */
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  margin-bottom: 22px;
  box-shadow: 0 6px 26px rgba(0,0,0,0.32);
}
.ob-odds-title {
  font: 800 20px/1.2 var(--font-display);
  color: var(--text-primary);
  margin: 0 0 14px;
}
/* The oversized stat headline — the single loudest line on the surface. */
.ob-odds-stat {
  font: 600 21px/1.4 var(--font-display);
  color: var(--text-primary);
  margin: 0 0 8px;
}
.ob-odds-stat b {
  font-weight: 800;
  color: var(--warn);                          /* amber emphasis — a caution hue, never green */
}
.ob-odds-src {
  font: 500 12.5px/1.55 var(--font-display);
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.ob-odds-frame {
  font: 600 15px/1.55 var(--font-display);
  color: var(--text-primary);
  margin: 0 0 16px;
}
/* CFD corroboration — visibly set apart + the "(not PSX)" tag, lower emphasis. */
.ob-odds-cfd {
  font: 500 12.5px/1.55 var(--font-display);
  color: var(--text-secondary);
  background: var(--bg-elev-1);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  margin: 0 0 18px;
}
.ob-cfd-tag {
  display: inline-block;
  font: 700 10.5px/1 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warn);
  background: var(--warn-soft);
  border-radius: var(--radius-sm, 5px);
  padding: 3px 7px;
  margin-right: 6px;
  vertical-align: middle;
}

/* no-barrier facts — a neutral inset (free access is a FACT, not a nudge). */
.ob-nobarrier {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.ob-nb-h {
  font: 700 14px/1.2 var(--font-display);
  color: var(--text-primary);
  margin: 0 0 9px;
}
.ob-nb-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}
.ob-nb-list li {
  font: 500 13.5px/1.55 var(--font-display);
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.ob-nb-list li:last-child { margin-bottom: 0; }
.ob-nb-list b { color: var(--text-primary); font-weight: 700; }

/* ── (B)+(C) SECONDARY surfaces — deliberately calmer + smaller than the odds ── */
.ob-secondary {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.ob-acct, .ob-happening {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  padding: 16px 16px 15px;
}
.ob-acct-title, .ob-hap-title {
  font: 700 14px/1.25 var(--font-display);     /* notably smaller than .ob-odds-title (20px) */
  color: var(--text-primary);
  margin: 0 0 11px;
}

/* The account-open CTA — neutral elevated surface, accent HAIRLINE only (no green,
 * no filled "go" button). Calm by design so it never out-shouts the odds block. */
.ob-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  text-decoration: none;
  background: var(--bg-elev-2);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 12px 38px 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ob-cta:hover { background: var(--bg-elev-3); border-color: var(--accent); }
.ob-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ob-cta-label {
  font: 700 14.5px/1.2 var(--font-display);
  color: var(--text-primary);
}
.ob-cta-sub {
  font: 500 11.5px/1.4 var(--font-display);
  color: var(--text-muted);
  margin-top: 3px;
}
.ob-cta-out {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}
.ob-acct-note, .ob-acct-minor, .ob-hap-note {
  font: 500 12.5px/1.5 var(--font-display);
  color: var(--text-secondary);
  margin: 11px 0 0;
}
.ob-acct-minor b { color: var(--text-primary); }
.ob-minor-link, .ob-acct-minor a {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.ob-minor-link:hover { text-decoration: underline; }

/* (C) in-app nav pointer — a plain neutral button (NOT a buy-list, NOT green). */
.ob-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  color: var(--text-primary);
  font: 700 13.5px/1 var(--font-display);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ob-nav-btn:hover { background: var(--bg-elev-3); border-color: var(--border-strong, var(--border-subtle)); }
.ob-nav-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ob-nav-arrow { color: var(--accent); font-weight: 800; }

/* closing stance line */
.ob-stance {
  font: 500 12.5px/1.55 var(--font-display);
  color: var(--text-muted);
  border-top: 1px solid var(--border-faint);
  padding-top: 14px;
  margin: 0;
}

/* ── MOBILE-FIRST reflow (<=480px) ──────────────────────────────────────────── */
@media (max-width: 480px) {
  #onboarding-view { padding: 14px 12px 92px; }
  .ob-title { font-size: 22px; }
  .ob-odds { padding: 18px 15px 16px; }
  .ob-odds-title { font-size: 18px; }
  .ob-odds-stat { font-size: 18px; }     /* still the loudest line, scaled for small screens */
  .ob-odds-frame { font-size: 14px; }
  .ob-secondary { grid-template-columns: 1fr; }  /* stack the two secondary cards */
  .ob-cta { padding-right: 34px; }
}
