/* "Are You Building in the Right Order?" — page-scoped Oaks branding
   override. Same treatment as the Retirement Blind Spot Check's theme.css
   (retirement-blind-spot/theme.css): this quiz uses the same partialReveal
   flow, so it renders the same Screen 1 "See My Full Report" unlock
   prompt and Screen 2 outline-button treatment. Loaded after engine.css
   so these rules win the cascade. */

body {
  font-family: 'Source Sans 3', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Small tracked kicker labels, like the eyebrows on oaksfs.com. */
.sc-header .sc-eyebrow,
.sc-hero-eyebrow,
.sc-results-eyebrow {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
}

/* Big display headings use the site's serif, not the scorecard's Playfair. */
.font-display {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
}

/* The score ring's number is a data readout, not a heading — Cormorant's
   oldstyle "1" reads too close to a lowercase "i" at this size, so this one
   stays in the clean sans despite inheriting .font-display. */
.sc-ring-number {
  font-family: 'Source Sans 3', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

/* Every primary action matches the site's .btn: square corners, uppercase,
   tracked Source Sans 3, oak-800 -> oak-900 on hover, no shadow. */
.sc-btn-primary,
.sc-btn-continue,
.sc-btn-next,
.sc-cta a {
  font-family: 'Source Sans 3', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 15px 28px;
  border-radius: 2px;
  background: #2C4F1E;
  border: 1px solid #2C4F1E;
  color: #FAF8F3;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.sc-btn-primary:hover,
.sc-btn-continue:hover,
.sc-btn-next:not(:disabled):hover,
.sc-cta a:hover {
  background: #1F3A15;
  border-color: #1F3A15;
  color: #FAF8F3;
}
.sc-btn-next:disabled { background: #C5CAD3; border-color: #C5CAD3; color: #FFFFFF; box-shadow: none; }

/* Secondary action: outline, matching .btn-outline on the main site. Also
   used for the "See My Full Report" prompt on the results teaser. */
.sc-btn-back,
.sc-btn-outline {
  font-family: 'Source Sans 3', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 15px 28px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid #1B2B3A;
  color: #1B2B3A;
  box-shadow: none;
}
.sc-btn-outline:hover { background: rgba(27, 43, 58, 0.05); }

/* The lowest tier's CTA (resultCtas, minPercent: 0 in configs/wealth-
   builder-right-order.js) links to an existing guide instead of a second
   button — .sc-cta a above turns anchors into buttons, so this overrides
   the resource link back to a plain inline text link. */
.sc-cta-resource a {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: #1F3A15;
  font-size: inherit;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sc-cta-resource a:hover { color: #46792E; }

/* A low score should read as "worth a look," not "wrong answer" — swap the
   shared engine's pale alarm-pink for Oaks's own warm harvest-100, matching
   the warm "needs attention" color used in ratingColors (configs/wealth-
   builder-right-order.js) instead of the generic red every other scorecard
   uses. Same principle as the Retirement Blind Spot Check. */
.sc-cat.is-weak { background: #FBE6D3; }

/* ---- Ranked answers on the free screen and the email gate, the same
   styling as retirement-blind-spot/theme.css. ---- */
.sc-spots { padding: clamp(24px, 3vw, 32px) clamp(24px, 4vw, 48px) 8px; }
.sc-spots h2 { font-size: clamp(22px, 3vw, 27px); line-height: 1.2; color: #1F3A15; margin-bottom: 6px; }
.sc-spots-lead { font-size: 15px; color: #5F6773; margin-bottom: 18px; }
.sc-spots-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sc-spot {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px;
  padding: 18px 20px; background: #FFFFFF; border: 1px solid #E4E0D4; border-left: 3px solid #93481B; border-radius: 2px;
}
.sc-spot-rank {
  width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #1F3A15; color: #FAF8F3; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums;
}
.sc-spot-area { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; font-weight: 600; line-height: 1.2; color: #22271E; margin-bottom: 4px; }
.sc-spot-why { font-size: 15px; line-height: 1.5; color: #4A5144; margin-bottom: 10px; }
.sc-spot-why:last-child { margin-bottom: 0; }
.sc-spot-guides { display: flex; flex-direction: column; gap: 6px; }
.sc-spot-guide { font-size: 15px; font-weight: 700; color: #2C4F1E; line-height: 1.4; }
.sc-spot-guide span:first-child { text-decoration: underline; text-decoration-color: rgba(44, 79, 30, 0.35); text-underline-offset: 3px; }
.sc-spot-guide:hover { color: #1F3A15; }
.sc-spot-guide:hover span:first-child { text-decoration-color: currentColor; }
.sc-spot-extra { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #93481B; }
.sc-spot-extra:hover { color: #7A3C10; text-decoration: underline; }

/* ---- The gate: a filled button with the score restated ---- */
.sc-unlock { background: #F4F1E8; border: 1px solid #E4E0D4; border-radius: 2px; margin-top: 20px; }
.sc-unlock-text { font-size: 17px; font-weight: 600; color: #1F3A15; }
.sc-btn-unlock { display: block; width: 100%; max-width: 380px; margin: 0 auto; }

/* ---- Form standard, in the site's colours ---- */
.sc-req { color: #93481B; }
