/* ==========================================================================
   AscendSAT — Welcome onboarding
   Full-screen step wizard shown once, right before a new account lands on
   Home. Two-column: a live score-report mock on the left that reacts to the
   dream-score slider, and the step card on the right. The trial step drops
   the mock and goes full width.
   ========================================================================== */

.ob-scrim {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding: 30px 24px 60px;
  animation: fade .22s var(--ease);
}

.ob-close {
  position: fixed;
  top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate-500);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: var(--t);
  z-index: 2;
}
.ob-close:hover { background: var(--slate-50); color: var(--ink); }
.ob-close svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Step dots
   -------------------------------------------------------------------------- */
.ob-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.ob-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  background: var(--slate-200);
  color: var(--slate-500);
  flex: none;
  transition: background var(--t), color var(--t);
}
.ob-dot.on   { background: var(--blue);  color: #fff; }
.ob-dot.done { background: var(--green); color: #fff; }
.ob-dot svg  { width: 18px; height: 18px; stroke-width: 3.2; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.ob-split {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 34px;
  width: 100%;
  max-width: 1180px;
  align-items: start;
}
.ob-wide { width: 100%; max-width: 1060px; }

/* --------------------------------------------------------------------------
   Score-report mock — an aspirational preview of the score the user is
   dialling in with the slider, not a real report. Every number on it is
   driven by the slider next to it.
   -------------------------------------------------------------------------- */
.ob-mock {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(15, 23, 42, .14);
  font-family: var(--font-body);
}
.ob-mock-bar { display: flex; align-items: stretch; background: #111827; height: 46px; }
.ob-mock-shield { display: grid; place-items: center; padding: 0 12px; color: #fff; }
.ob-mock-shield svg { width: 21px; height: 21px; }
.ob-mock-logo {
  display: grid; place-items: center;
  padding: 0 20px;
  background: #0077C8;
  color: #fff;
  font: 800 19px var(--font-brand);
  letter-spacing: -.01em;
}
.ob-mock-who {
  flex: 1;
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  background: #fff;
  padding: 0 18px;
  font-size: 13.5px;
  color: var(--slate-700);
}
.ob-mock-who b { color: #111827; }
.ob-mock-who svg { width: 19px; height: 19px; color: #111827; }

.ob-mock-tab {
  padding: 14px 22px;
  font-size: 15px; font-weight: 700;
  color: #111827;
  border-bottom: 1px solid var(--slate-200);
}

.ob-mock-hero {
  background: #324DC7;
  color: #fff;
  padding: 26px 26px 132px;
  position: relative;
  overflow: hidden;
}
.ob-mock-hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -40px;
  width: 240px; height: 240px;
  border-left: 2px solid rgba(255,255,255,.14);
  transform: rotate(24deg);
}
.ob-mock-hero h2 { font: 400 40px var(--font-body); line-height: 1.05; margin: 0 0 12px; color: #fff; letter-spacing: -.01em; }
.ob-mock-hero div { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.96); }

.ob-mock-card {
  background: #fff;
  margin: -112px 16px 0;
  padding: 24px 26px 26px;
  border-radius: 4px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, .13);
  position: relative;
}
.ob-mock-scores { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.ob-mock-k { font-size: 13px; font-weight: 700; color: var(--slate-500); letter-spacing: .02em; }
.ob-mock-total { font: 800 62px var(--font-body); line-height: .96; letter-spacing: -.03em; color: #111827; margin: 4px 0 6px; }
.ob-mock-range { font-size: 13px; color: var(--slate-500); font-weight: 500; }
.ob-mock-sec + .ob-mock-sec { margin-top: 16px; }
.ob-mock-sec-k { font-size: 14.5px; font-weight: 700; color: #111827; }
.ob-mock-sec-v { font: 800 32px var(--font-body); line-height: 1.05; letter-spacing: -.02em; color: #111827; margin: 1px 0 2px; }

.ob-mock-note { font-size: 14px; color: #111827; margin-top: 22px; line-height: 1.5; }
.ob-mock-rule { height: 1px; background: #111827; margin: 14px 0; opacity: .85; }

/* --------------------------------------------------------------------------
   Step card
   -------------------------------------------------------------------------- */
.ob-card {
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, .12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.ob-hd { background: var(--blue); color: #fff; padding: 24px 30px; }
.ob-hd h1 { font-size: 23px; margin: 0 0 5px; color: #fff; letter-spacing: -.01em; }
.ob-hd p  { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.94); }
.ob-body  { padding: 28px 30px; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.ob-ft    { display: flex; align-items: center; gap: 18px; padding: 20px 30px 26px; }

.ob-txt-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; padding: 4px 2px;
  font: 700 15px var(--font-body);
  color: var(--slate-600);
  cursor: pointer;
  transition: color var(--t);
}
.ob-txt-btn:hover { color: var(--ink); }
.ob-txt-btn.quiet { font-weight: 600; color: var(--slate-400); }
.ob-txt-btn.quiet:hover { color: var(--slate-600); }
.ob-txt-btn svg { width: 17px; height: 17px; }

/* Segmented Total / Section toggle */
.ob-seg {
  display: flex;
  background: var(--slate-100);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.ob-seg button {
  flex: 1;
  padding: 11px 10px;
  border: 0; border-radius: 7px;
  background: none;
  font: 600 14.5px var(--font-body);
  color: var(--slate-500);
  cursor: pointer;
  transition: var(--t);
}
.ob-seg button.on { background: #fff; color: #111827; font-weight: 700; box-shadow: var(--sh-xs); }

/* Bell-curve panel */
.ob-curve-panel { background: var(--slate-50); border-radius: 10px; padding: 20px 22px 16px; }
.ob-curve { display: block; width: 100%; height: auto; overflow: visible; }
.ob-curve .ln { fill: none; stroke: #7FC8ED; stroke-width: 2; }
.ob-curve .pt { fill: #fff; stroke: var(--blue); stroke-width: 3; }
.ob-curve .lb { font: 700 15px var(--font-body); fill: #111827; }

.ob-slider {
  width: 100%;
  appearance: none; -webkit-appearance: none;
  height: 7px;
  border-radius: var(--pill);
  background: var(--slate-200);
  outline: none;
  margin: 16px 0 8px;
  cursor: pointer;
}
.ob-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  border: 0;
  box-shadow: 0 1px 3px rgba(15,23,42,.25);
  cursor: pointer;
}
.ob-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  border: 0;
  box-shadow: 0 1px 3px rgba(15,23,42,.25);
  cursor: pointer;
}
.ob-slider-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--slate-400); font-weight: 600; }
.ob-sec-slider + .ob-sec-slider { margin-top: 14px; }
.ob-sec-slider .k { font-size: 13.5px; font-weight: 700; color: var(--slate-600); display: flex; justify-content: space-between; }

/* Result strip */
.ob-result {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--slate-50);
  border-radius: 10px;
  padding: 18px 22px;
}
.ob-result .n { font: 800 21px var(--font-body); color: #111827; letter-spacing: -.01em; }
.ob-result .p { font-size: 14px; color: var(--slate-500); font-weight: 600; }

/* "How did you find us" grid */
.ob-source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ob-source {
  display: flex; align-items: center; gap: 11px;
  padding: 16px 15px;
  border: 2px solid var(--slate-200);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: 700 14.5px var(--font-body);
  color: var(--slate-600);
  text-align: left;
  transition: border-color var(--t), background var(--t), color var(--t), transform .12s var(--ease-out);
}
.ob-source:hover  { border-color: var(--slate-300); }
.ob-source:active { transform: scale(.97); }
.ob-source.on { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-dark); }
.ob-source svg { width: 20px; height: 20px; flex: none; }

/* Test-date list */
.ob-date-grid { display: flex; flex-direction: column; gap: 12px; }
.ob-date-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%;
  padding: 17px 20px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: 700 15px var(--font-body);
  color: #111827;
  text-align: left;
  transition: border-color var(--t), background var(--t);
}
.ob-date-row:hover { border-color: var(--slate-300); }
.ob-date-row.on { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-dark); }
.ob-date-row .sub { font-size: 13.5px; font-weight: 500; color: var(--slate-400); }
.ob-date-row.on .sub { color: var(--blue-dark); }
.ob-date-row .cv { width: 18px; height: 18px; color: var(--slate-400); }
.ob-date-custom { padding: 4px 2px 0; }

/* --------------------------------------------------------------------------
   Trial step — full width, no mock
   -------------------------------------------------------------------------- */
.ob-trial-head { text-align: center; margin-bottom: 26px; }
.ob-trial-head h1 { font-size: 42px; letter-spacing: -.025em; margin: 0 0 10px; }
.ob-trial-head p  { font-size: 17px; color: var(--slate-500); margin: 0; }

.ob-periods { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.ob-period {
  position: relative;
  padding: 12px 28px;
  border: 2px solid var(--slate-200);
  border-radius: var(--pill);
  background: #fff;
  font: 700 15px var(--font-body);
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--t);
}
.ob-period:hover { border-color: var(--slate-300); }
.ob-period.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.ob-period.has-note { padding-bottom: 20px; }
.ob-period .note {
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 9.5px; font-weight: 800;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: var(--pill);
  white-space: nowrap;
}

.ob-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ob-plan {
  border: 2px solid #BFE3FA;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.ob-plan.premium { border-color: #2C4BE0; }
.ob-plan-hd {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 26px;
  background: var(--blue);
  color: #fff;
  font: 800 30px var(--font-head);
  letter-spacing: -.01em;
}
.ob-plan.premium .ob-plan-hd { background: #2C4BE0; }
.ob-plan-tag {
  margin-left: auto;
  background: rgba(255,255,255,.22);
  color: #fff;
  font: 700 15px var(--font-body);
  padding: 6px 14px;
  border-radius: 9px;
  white-space: nowrap;
}
.ob-plan-price { background: #EFF9FF; padding: 22px 26px; }
.ob-plan-price .row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ob-plan-price .was { font: 700 26px var(--font-body); color: var(--slate-400); text-decoration: line-through; }
.ob-plan-price .now { font: 800 46px var(--font-body); letter-spacing: -.03em; color: #111827; }
.ob-plan-price .per { font: 600 19px var(--font-body); color: var(--slate-500); }
.ob-plan-price .sub { font-size: 14px; color: var(--slate-500); font-weight: 500; margin-top: 4px; }
.ob-plan-body { padding: 22px 26px 26px; }
.ob-feat { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; }
.ob-feat svg { width: 18px; height: 18px; flex: none; color: var(--blue); stroke-width: 3; margin-top: 2px; }
.ob-feat span { font-size: 15px; line-height: 1.45; color: var(--slate-700); }
.ob-plan.premium .ob-feat svg { color: #2C4BE0; }

/* --------------------------------------------------------------------------
   Responsive — drop the mock, stack everything
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .ob-split { grid-template-columns: 1fr; max-width: 620px; }
  .ob-mock { display: none; }
  .ob-card { min-height: 0; }
}
@media (max-width: 700px) {
  .ob-plans { grid-template-columns: 1fr; }
  .ob-source-grid { grid-template-columns: 1fr; }
  .ob-trial-head h1 { font-size: 30px; }
  .ob-body { padding: 22px; }
  .ob-hd { padding: 20px 22px; }
  .ob-ft { padding: 16px 22px 22px; gap: 12px; }
}
