/* "The $50,000 Decision" — page-scoped Oaks branding override. Same
   treatment as the other site-matched scorecards' theme.css (the main
   site's self-hosted fonts, loaded via /fonts/fonts.css in index.html, and
   the exact button treatment from src/styles/global.css's .btn component)
   without touching engine.css, which the Tax Leak / Wealth Builder
   scorecards also use. Loaded after engine.css so these rules win the
   cascade.

   Also carries the new dt- classes this tool's genuinely new widgets need
   (the lifetime-totals bars, the gotcha cards, the slider, the "not sure"
   shortcut, the persistent disclaimer footer) — everything else reuses
   engine.css's sc- components directly. dt- is a distinct prefix so these
   never collide with the quiz engine's sc- classes if a future decision
   tool ever shares a page with a scorecard. */

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

.sc-header .sc-eyebrow,
.sc-hero-eyebrow,
.sc-results-eyebrow {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
}

.font-display {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
}

/* A thin gold accent across the top of the card, the series' visual
   signature — src/styles/global.css's --harvest-500, the same "brand gold"
   token .card--accent-gold uses elsewhere on the site. */
.sc-card { border-top: 3px solid #EE8A41; }

/* 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 Screen 3 "see the full picture" unlock prompt. */
.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 Retirement Blind Spot Check cross-link, 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. Sits inside .sc-card-pad (which already has horizontal
   padding), so unlike the quizzes' version this one needs no extra
   horizontal margin of its own. */
.sc-tool-card {
  display: block;
  margin-top: 20px;
  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: #9C4E15;
  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;
}

/* Married yes/no, laid out as a row instead of engine.css's default
   stacked column — two short options read better side by side. */
.sc-options--row { flex-direction: row; flex-wrap: wrap; }
.sc-options--row .sc-opt { width: auto; flex: 1 1 120px; justify-content: center; }

/* Q1 — the monthly-benefit number input, styled like the contact form's
   fields (sc-field input) since it's the same kind of plain numeric entry. */
.dt-input-row { display: flex; align-items: center; gap: 8px; max-width: 220px; }
.dt-input-prefix { font-size: 16px; font-weight: 600; color: #5F6773; }
.dt-input-row input {
  width: 100%; padding: 13px 14px; border-radius: 8px; border: 1.5px solid #E3E6EB;
  background: #FAFBFC; font-size: 16px; color: #1B2B3A; outline: none;
  font-family: 'Source Sans 3', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}
.dt-input-row input:focus { border-color: var(--accent); background: #FFFFFF; box-shadow: 0 0 0 3px rgba(44, 79, 30, 0.12); }
.dt-unsure-link {
  display: inline-block; margin-top: 10px; background: none; border: none; padding: 0;
  font-size: 13px; font-weight: 600; color: #1F3A15; text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer; font-family: 'Source Sans 3', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}
.dt-unsure-link:hover { color: #46792E; }
.dt-help { margin: 12px 0 0; max-width: 460px; font-size: 14px; line-height: 1.5; color: #4A5260; }
.dt-help a { color: #1F3A15; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.dt-help a:hover { color: #46792E; }

/* Q3 — the plan-to-age slider. */
.dt-slider-wrap { max-width: 420px; }
.dt-slider-readout { font-size: 15px; font-weight: 700; color: #1B2B3A; margin-bottom: 10px; }
.dt-slider-wrap input[type='range'] {
  width: 100%; accent-color: #2C4F1E; height: 4px; cursor: pointer;
}
.dt-slider-ticks { display: flex; justify-content: space-between; font-size: 12px; color: #5F6773; margin-top: 4px; }

/* Screen 3 — the three lifetime-total bars. */
.dt-bars { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 24px; }
.dt-bar-row { padding: 12px 14px; border-radius: 10px; border: 1.5px solid #E3E6EB; background: #FAFBFC; transition: border-color 0.2s ease, background-color 0.2s ease; }
.dt-bar-row--selected { border-color: #2C4F1E; background: rgba(44, 79, 30, 0.05); }
.dt-bar-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; color: #3D4A5C; margin-bottom: 8px; }
.dt-bar-row--selected .dt-bar-label { color: #1B2B3A; }
.dt-bar-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.dt-bar-track { width: 100%; height: 10px; background: #ECEEF2; border-radius: 5px; overflow: hidden; }
.dt-bar-fill { height: 100%; border-radius: 5px; background: #A3CE90; transition: width 0.8s ease-out; }
.dt-bar-row--selected .dt-bar-fill { background: #2C4F1E; }

/* The gap/break-even callout under the bars. */
.dt-gap-box { padding: 20px 22px; border-radius: 10px; background: #FBE6D3; margin-bottom: 8px; }
.dt-gap-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #8F4A12; margin-bottom: 6px; }
.dt-gap-amount { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: clamp(28px, 4vw, 36px); color: #1B2B3A; line-height: 1; margin-bottom: 8px; }
.dt-gap-note { font-size: 14px; color: #3D4A5C; line-height: 1.5; }

/* Screen 4 — the three gotcha cards. */
.dt-gotchas { display: flex; flex-direction: column; gap: 18px; margin: 20px 0 32px; }
.dt-gotcha { display: flex; gap: 16px; padding: 18px 20px; border-radius: 10px; border: 1.5px solid #E3E6EB; background: #FAFBFC; }
.dt-gotcha-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #2C4F1E; color: #FAF8F3;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.dt-gotcha h3 { font-size: 16px; font-weight: 700; color: #1B2B3A; margin-bottom: 6px; }
.dt-gotcha p { font-size: 14px; line-height: 1.55; color: #3D4A5C; }

/* The tertiary guide links under the CTA — plain inline text links, not
   buttons. .sc-cta a above turns every anchor inside .sc-cta into a
   button, so this overrides it back. */
.dt-guide-links {
  margin-top: 10px; font-size: 13px; color: #5F6773;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px;
}
.dt-guide-links a {
  display: inline-flex; align-items: center; min-height: 24px; 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;
}
.dt-guide-links a:hover { color: #46792E; }

/* The compliance disclaimer, shown on every screen (not just the CTA) —
   decision-engine.js renders this between the card and the "Powered by"
   line on every render() call. */
.dt-disclaimer-footer {
  max-width: 540px; margin: 18px auto 0; padding: 0 20px; text-align: center;
  font-size: 13px; color: #5F6773; line-height: 1.5;
}
