:root {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #152b38;
  background: #f3f7fa;
  --blue: #193fc4;
  --ink: #152b38;
  --muted: #526572;
  --line: #cbd7df;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { max-width: 1200px; margin: auto; }
header, footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 36px; }
header { border-bottom: 1px solid var(--line); }
main { padding: 46px 36px; }
.brand { flex-shrink: 0; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: -1px; }
.brand span { color: var(--blue); font-size: 28px; }
.brand small { display: block; margin-top: 2px; font-size: 12px; letter-spacing: 4px; }
nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 22px; }
.edition, .eyebrow, .step-top, .tag { font-size: 12px; letter-spacing: 1.3px; font-weight: 700; line-height: 1.5; }
.edition, .muted { color: var(--muted); }
.eyebrow { color: var(--blue); }
a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
nav a, footer a, .fun-note a, .return-link { font-size: 14px; }
p { line-height: 1.6; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin: 14px 0 0; font-size: clamp(48px, 5.8vw, 72px); line-height: 1.02; letter-spacing: -2.8px; }
h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: -.6px; line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.3; }
.intro { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 54px; margin-bottom: 26px; }
.intro .eyebrow { max-width: 390px; margin-top: 0; }
.intro-copy { max-width: 460px; }
.intro-copy > p:first-child { margin: 0 0 22px; font-size: 18px; }
.intro-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.privacy { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.fun-note { margin: 0 0 26px; font-size: 14px; color: var(--muted); }
.workspace { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.question-panel, .summary-card { min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.step-top { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.progress { height: 5px; margin: 16px 0 28px; border-radius: 5px; background: #e7edf2; overflow: hidden; }
.progress > div { width: 25%; height: 100%; background: var(--blue); transition: width .2s; }
#step-description { margin: 0 0 28px; font-size: 14px; }
.field { margin: 28px 0; }
.field label { display: block; margin-bottom: 9px; font-size: 16px; line-height: 1.45; font-weight: 600; }
.required-label { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.field .hint { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 48px; padding: 13px; border: 1px solid #8b9eaa; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.field input:focus, .field select:focus, button:focus-visible, a:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 3px solid #5275ea; outline-offset: 3px; }
.question-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; font-size: 12px; }
.question-use { padding: 3px 7px; border-radius: 4px; background: #eff3f7; color: var(--muted); }
.question-source { font-size: 12px; }
.buttons { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.buttons #next { margin-left: auto; }
button { min-height: 48px; padding: 14px 24px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: white; font: 600 16px Arial, Helvetica, sans-serif; cursor: pointer; }
button:hover { filter: brightness(.94); }
button.secondary { background: white; color: var(--blue); }
button:disabled { opacity: .5; cursor: default; }
#form-error { color: #a32028; font-size: 14px; }
#form-error:empty { display: none; }
.baseline { position: sticky; top: 24px; min-width: 0; padding: 28px; border-radius: 18px; background: #142b43; color: white; }
.baseline:has(details[open]) { max-height: calc(100vh - 48px); overflow-y: auto; }
.baseline .eyebrow { margin: 0 0 18px; color: #afc5e6; }
.number { margin: 18px 0 6px; font-size: 72px; line-height: 1.1; font-weight: 700; letter-spacing: -3px; font-variant-numeric: tabular-nums; }
.number small { font-size: 18px; letter-spacing: 0; font-weight: 400; }
.placeholder { opacity: .6; }
.estimate-caption { margin: 12px 0 16px; font-size: 14px; color: #d7e3f0; }
.baseline-small { margin: 0; font-size: 14px; color: #c4d5e3; }
.baseline-small strong { color: white; font-variant-numeric: tabular-nums; }
.estimate-caution { margin: 18px 0 0; color: #c4d5e3; font-size: 12px; }
.baseline-note { margin-top: 18px; padding-top: 6px; border-top: 1px solid #476075; }
.baseline-note p { font-size: 14px; color: #c4d5e3; }
.baseline-note a, .baseline-note .tag { color: #a6c5ff; }
.baseline-note summary { font-size: 14px; }
.tag { letter-spacing: .7px; }
summary { padding: 12px 0; font-weight: 600; line-height: 1.5; cursor: pointer; }
details[open] > summary { margin-bottom: 8px; }
.result-heading { max-width: 740px; margin: 56px 0 28px; }
.result-heading h2 { font-size: 40px; letter-spacing: -1px; }
.result-heading > p:last-child { margin-bottom: 0; font-size: 18px; }
.scenario-card { margin: 28px 0; padding: 32px; border: 2px solid var(--blue); border-radius: 18px; background: white; }
.scenario-card .eyebrow { margin-top: 0; }
.scenario-card h3 { margin: 18px 0 0; }
.scenario-card .number, .summary-card .number { color: var(--blue); }
.scenario-card .number { font-size: 84px; }
.number-caption { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.scenario-stats { display: flex; flex-wrap: wrap; gap: 22px 40px; margin: 24px 0; }
.scenario-stats dt { margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.scenario-stats dd { margin: 0; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.scenario-assumption { padding: 18px; border-radius: 10px; background: #edf3ff; font-size: 14px; }
.scenario-card #scenario-warnings:empty, .scenario-card #scenario-missing:empty, .scenario-card #scenario-description:empty { display: none; }
.scenario-detail { border-top: 1px solid var(--line); }
.scenario-detail p { font-size: 14px; }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.summary-card .eyebrow { color: var(--muted); margin-top: 0; }
.summary-card h3 { margin-top: 0; }
.spread { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.spread strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.spread p:last-child { margin-bottom: 0; font-size: 14px; }
.milestone { margin: 24px 0; }
.milestone .labels { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; }
.bar { height: 9px; border-radius: 8px; background: #e8edf5; overflow: hidden; }
.bar div { height: 100%; background: var(--blue); }
.plan-head { margin-top: 46px; }
.plan-head > p { max-width: 740px; }
#coverage { font-size: 14px; }
.evidence-note { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; background: #e5edf9; font-size: 14px; }
.evidence-note p { max-width: 820px; margin: 8px 0 0; }
.action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.action { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.action h3 { margin: 10px 0 12px; }
.action .tag { color: var(--blue); }
.action .why { color: var(--muted); }
.action a, .science a { font-size: 14px; }
.impact { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.impact.quantified { padding: 18px; border: 1px solid #bdcff1; border-radius: 10px; background: #edf3ff; }
.impact .impact-label { margin: 0 0 8px; color: var(--blue); font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.3px; }
.impact .impact-kind { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.impact p { font-size: 14px; }
.impact.guidance .impact-label { margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.action-details { margin-top: 16px; border-top: 1px solid var(--line); }
.action-details summary { font-size: 14px; }
.action-details p { font-size: 14px; }
.guidance-link { margin: 12px 0 0; }
.strengths, .notice { margin-top: 24px; padding: 24px; border: 1px solid #aac5d8; border-radius: 14px; background: #e5f0f8; }
.strengths h3 { margin-top: 0; }
.strengths ul { margin-bottom: 0; padding-left: 20px; }
.strengths li { margin: 10px 0; line-height: 1.6; }
.result-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.science { margin-top: 42px; padding-top: 16px; border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.method-grid p, .method-grid li { font-size: 14px; line-height: 1.65; }
.method-grid li { margin: 12px 0; }
.method-grid ul { padding-left: 18px; }
.table-scroll { max-width: 100%; margin: 20px 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.6; }
caption { padding-bottom: 14px; text-align: left; font-size: 16px; font-weight: 700; }
th, td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #edf3ff; }
tbody th { width: 22%; min-width: 150px; font-weight: 600; }
td small { font-size: 12px; }
.factor-table { min-width: 760px; }
.factor-table td:nth-child(2), .factor-table td:nth-child(3) { min-width: 130px; font-variant-numeric: tabular-nums; }
.table-scroll > .hint { font-size: 14px; color: var(--muted); }
.check-field { padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.check-field legend { padding: 0 5px; font-size: 16px; line-height: 1.45; font-weight: 600; }
.check-field .check-label { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0; font-size: 14px; font-weight: 400; line-height: 1.5; }
.check-field input { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 0; }
.disclaimer-page { max-width: 1060px; }
.disclaimer-page h1 { max-width: 720px; margin: 20px 0 24px; font-size: clamp(40px, 5vw, 60px); }
.disclaimer-lead { max-width: 700px; font-size: 20px; }
.section-links { justify-content: flex-start; gap: 10px 22px; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.disclaimer-block { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.disclaimer-block > p, .disclaimer-block > ul, .model-detail > p { max-width: 76ch; }
.disclaimer-block > h2 { margin-bottom: 18px; }
.source-entry { margin: 18px 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.source-entry h3 { margin: 0 0 12px; }
.source-entry p { max-width: 76ch; }
.reference-list { padding-left: 20px; }
.reference-list li { margin: 14px 0; line-height: 1.6; }
.evidence-table { min-width: 780px; }
.evidence-table tbody th { width: 20%; }
.evidence-table td:nth-child(2) { width: 25%; }
.model-detail { margin-top: 20px; padding: 6px 20px; border: 1px solid var(--line); border-radius: 10px; background: white; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
[hidden] { display: none !important; }

@media (max-width: 750px) {
  header, footer { padding: 22px 20px; gap: 16px; }
  header nav { gap: 10px; flex-direction: column; align-items: flex-end; }
  header nav .edition { display: none; }
  header nav a { text-align: right; }
  main { padding: 28px 20px; }
  .intro { display: block; margin-bottom: 24px; }
  .intro .eyebrow { max-width: 320px; font-size: 11px; }
  h1 { letter-spacing: -2px; }
  .intro-copy { margin-top: 22px; }
  .intro-copy > p:first-child { margin-bottom: 18px; font-size: 16px; }
  .intro-meta { gap: 8px 16px; font-size: 13px; }
  .privacy, .fun-note { font-size: 13px; }
  .workspace, .result-grid, .action-grid, .method-grid { grid-template-columns: minmax(0, 1fr); }
  .workspace { gap: 18px; }
  .baseline { order: -1; top: 8px; z-index: 2; padding: 18px 20px; box-shadow: 0 8px 20px #142b4318; }
  .baseline:has(details[open]), .baseline:has(.placeholder) { position: static; max-height: none; }
  .baseline .eyebrow { margin-bottom: 10px; font-size: 11px; }
  #baseline-content { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 18px; }
  .baseline .number { grid-row: 1 / span 2; margin: 0; font-size: 40px; letter-spacing: -1.5px; }
  .baseline .number small { font-size: 12px; }
  .estimate-caption { grid-column: 2; margin: 0; font-size: 12px; line-height: 1.45; }
  .baseline-small { grid-column: 2; font-size: 12px; line-height: 1.45; }
  .estimate-caution { margin-top: 10px; font-size: 11px; }
  .baseline-note { margin-top: 10px; padding-top: 0; }
  .baseline-note summary { padding: 8px 0 0; font-size: 12px; }
  .baseline-note[open] summary { padding-bottom: 8px; }
  .question-panel, .summary-card { padding: 24px; }
  #step-title, #result-title, .field input, .field select, .check-field { scroll-margin-top: 210px; }
  .step-top { font-size: 11px; letter-spacing: .8px; }
  h2 { font-size: 26px; }
  .field { margin: 26px 0; }
  .buttons { margin-top: 24px; }
  button { padding: 13px 18px; }
  .result-heading { margin-top: 42px; }
  .result-heading h2 { font-size: 32px; }
  .result-heading > p:last-child { font-size: 16px; }
  .scenario-card { padding: 24px; }
  .scenario-card .number { font-size: 72px; }
  .number { font-size: 64px; }
  .scenario-stats { gap: 20px; }
  .scenario-stats > div { flex: 1 1 150px; }
  .scenario-assumption { padding: 16px; }
  .action { padding: 22px; }
  .plan-head { margin-top: 36px; }
  .evidence-note { padding: 16px 18px; }
  .disclaimer-lead { font-size: 18px; }
  .section-links { gap: 12px 18px; }
  .disclaimer-block { margin-top: 28px; padding-top: 24px; }
  .source-entry { padding: 20px; }
  th, td { padding: 12px; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 750px) and (max-height: 540px) {
  .baseline { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Use the studio's approved artwork on both Life Perspective pages. */
.brand { position: relative; display: inline-block; width: 190px; max-width: 48%; aspect-ratio: 1472 / 447; overflow: hidden; vertical-align: middle; }
.brand-logo { position: absolute; display: block; left: -10.32608696%; top: -54.58612975%; width: 120.51630435%; max-width: none; height: auto; mix-blend-mode: multiply; }
@media (max-width: 750px) { .brand { width: 160px; } }
