/* Business Owner Blind Spot Check (a copy of retirement-blind-spot/theme.css) — page-scoped Oaks branding override.
   Reuses the main site's self-hosted fonts (loaded via /fonts/fonts.css in
   index.html, before this file) and the exact button treatment from
   src/styles/global.css's .btn component, without touching engine.css,
   which the Tax Leak and Wealth Builder scorecards also use. 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 $50,000 Decision cross-link (config's crossLink field), styled as a
   real featured-tool card matching src/styles/global.css's .card /
   .card--accent-gold / .tag / .lane-guide-title / .lane-guide-desc as
   closely as a hand-rolled match can, since this page doesn't load
   global.css. Values below are those tokens' resolved hex/rem, not
   approximations. */
.sc-tool-card {
  display: block;
  margin: 0 clamp(24px, 4vw, 48px) clamp(20px, 3vw, 28px);
  padding: 22px 24px;
  background: #FFFFFF;
  border: 1px solid #E4E0D4;
  border-top: 2px solid #EE8A41;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.sc-tool-card:hover { border-color: #5E9E41; }
.sc-tool-card:hover .sc-tool-card-cta { color: #4C8534; }
.sc-tool-card-tag {
  display: inline-flex;
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93481B;
  margin-bottom: 10px;
}
.sc-tool-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: #22271E;
  margin: 0 0 8px;
}
.sc-tool-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #666D5E;
  margin: 0 0 14px;
}
.sc-tool-card-cta {
  font-size: 13px;
  font-weight: 700;
  color: #3C6B28;
  transition: color 0.2s ease;
}

/* 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/retirement-
   blind-spot.js) instead of the generic red every other scorecard uses. */
.sc-cat.is-weak { background: #FBE6D3; }

/* ---- Minimal site header: wordmark + a way back to oaksfs.com ---- */
.sc-site-header {
  width: 100%; max-width: 840px; margin: 0 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.sc-site-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #1F3A15;
}
.sc-site-brand img { width: 28px; height: 28px; }
.sc-site-back { font-size: 14px; font-weight: 600; color: #3C6B28; text-decoration: underline; text-underline-offset: 3px; }
.sc-site-back:hover, .sc-site-brand:hover { color: #1F3A15; }

/* ---- Score header: the number first, the band second, both easy to read ---- */
.sc-results-eyebrow { color: rgba(255, 255, 255, 0.8); }
.sc-tier-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #FAF8F3 !important; border: 0 !important; color: #1F3A15 !important;
  border-radius: 2px; padding: 7px 14px; font-size: 16px; font-weight: 700; letter-spacing: 0.01em;
}
.sc-tier-pill::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--tier-color, #93481B);
}
.sc-tier-message { font-size: 15px; color: #FAF8F3; }

/* ---- One light line under the score card ---- */
.sc-spouse-note {
  margin: 0; padding: 14px clamp(24px, 4vw, 48px);
  font-size: 15px; line-height: 1.5; color: #3D4A35; background: #F4F1E8; border-bottom: 1px solid #E4E0D4;
}

/* ---- Ranked blind spots, each with the guides that fit ---- */
.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; }
/* The site header already names the firm; don't repeat it over the title. */
.sc-site-header ~ .sc-header .sc-eyebrow { display: none; }
