.ggf-page { --ggf-teal: #117c7b; }
.ggf-page [hidden] { display: none !important; }
.ggf-page [data-ggf-results] { scroll-margin-top: 16px; }
.ggf-hero { padding: 54px 0 48px; background: var(--cream); }
.ggf-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 34px; }
.ggf-breadcrumb a, .ggf-page main p a, .ggf-sources a { text-decoration: underline; text-underline-offset: 4px; }
.ggf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; align-items: center; }
.ggf-hero h1 { font-size: clamp(34px, 4vw, 55px); line-height: 1.14; margin: 10px 0 24px; max-width: 760px; }
.ggf-hero p { max-width: 760px; }
.ggf-lead { font-size: 19px; color: var(--muted); }
.ggf-route { border-left: 4px solid var(--ggf-teal); padding: 8px 0 8px 26px; }
.ggf-route strong { display: block; font-size: 23px; line-height: 1.35; }
.ggf-route span { display: block; color: var(--muted); margin: 12px 0; }
.ggf-route .ggf-arrow { color: var(--ggf-teal); font-size: 24px; margin: 10px 0; }
.ggf-section { padding: 64px 0; }
.ggf-section h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.25; margin: 0 0 18px; }
.ggf-section h3 { font-size: 21px; line-height: 1.35; margin: 0 0 12px; }
.ggf-intro { max-width: 860px; color: var(--muted); margin: 0 0 28px; }
.ggf-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.ggf-form { background: var(--cream); border: 1px solid var(--line); padding: 26px; border-radius: 16px; }
.ggf-form label { display: block; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.ggf-field { margin-bottom: 22px; }
.ggf-field input, .ggf-field select { width: 100%; min-width: 0; min-height: 50px; border: 1px solid #a1b5c5; border-radius: 6px; padding: 11px 12px; background: white; font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); }
.ggf-field [aria-invalid="true"] { border: 2px solid #b83f43; }
.ggf-field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.ggf-dates { border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; margin: 28px 0 10px; min-width: 0; }
.ggf-dates legend { font-weight: 750; font-size: 20px; padding: 0 10px 0 0; }
.ggf-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ggf-date-grid label { font-size: 15px; }
.ggf-page :focus-visible { outline: 3px solid var(--forest-700); outline-offset: 4px; }
.ggf-form details { margin: 12px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.ggf-form summary, .ggf-details summary { cursor: pointer; font-weight: 700; min-height: 44px; padding: 8px 0; }
.ggf-form details[open] summary { margin-bottom: 18px; }
.ggf-button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ggf-button-row .button { font-size: 15px; padding: 14px 18px; min-height: 48px; }
.ggf-reset { background: none; border: none; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); cursor: pointer; padding: 12px 0; }
.ggf-error { color: #9e2630; padding: 14px; background: #fff0f1; border: 1px solid #c8757a; border-radius: 6px; }
.ggf-note { font-size: 14px; color: var(--muted); }
.ggf-result-head { padding: 28px; border-radius: 16px; background: var(--forest-950); color: white; }
.ggf-result-head .eyebrow { color: var(--accent); }
.ggf-result-head h3 { font-family: var(--sans); font-size: 19px; font-weight: 500; }
.ggf-big-value { display: block; font-size: clamp(34px, 4vw, 54px); font-weight: 750; line-height: 1.2; margin: 12px 0; font-variant-numeric: tabular-nums; }
.ggf-result-head p { color: var(--accent); margin-bottom: 0; font-size: 14px; }
.ggf-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px 0; }
.ggf-metric { display: flex; flex-direction: column; }
.ggf-metric dt { font-size: 15px; color: var(--muted); min-height: 48px; line-height: 1.5; }
.ggf-metric dd { margin: 6px 0 0; font-size: clamp(26px, 3vw, 34px); font-weight: 750; line-height: 1.25; }
.ggf-metric dd small { display: block; font-size: 13px; font-weight: 500; margin-top: 8px; color: var(--muted); }
.ggf-positive { color: var(--ggf-teal); }
.ggf-stack { display: flex; height: 26px; border-radius: 5px; overflow: hidden; background: var(--cream); }
.ggf-cost-bar { background: var(--forest-800); }
.ggf-saving-bar { background: var(--ggf-teal); }
.ggf-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 13px; margin: 12px 0 20px; }
.ggf-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 7px; background: var(--forest-800); border-radius: 2px; }
.ggf-legend .ggf-saving-key::before { background: var(--ggf-teal); }
.ggf-warning { padding: 14px 16px; border-left: 3px solid #ad7a27; background: #fff7e9; color: #604817; font-size: 14px; }
.ggf-details { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.ggf-table-wrap { overflow-x: auto; margin: 16px 0; }
.ggf-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.ggf-table caption { text-align: left; font-weight: 700; margin-bottom: 12px; }
.ggf-table th, .ggf-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.ggf-table th:first-child { text-align: left; }
.ggf-table td { white-space: nowrap; }
.ggf-table thead { background: var(--cream); }
.ggf-table tfoot { font-weight: 750; }
.ggf-projection { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line); }
.ggf-retirement-summary { line-height: 1.8; color: var(--muted); }
.ggf-retirement-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 28px 0 18px; }
.ggf-retirement-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; gap: 8px; border-radius: 14px; background: var(--forest-950); color: white; padding: 26px; min-width: 0; }
.ggf-retirement-card h4 { margin: 0; font-size: 23px; line-height: 1.35; }
.ggf-card-caption { margin: 0; color: var(--accent); font-size: 14px; }
.ggf-retirement-card .ggf-big-value { margin: 8px 0 14px; font-size: clamp(30px, 3.4vw, 46px); overflow-wrap: anywhere; }
.ggf-purchasing { margin: 0; border-top: 1px solid #54718b; padding-top: 16px; color: var(--accent); font-size: 14px; }
.ggf-purchasing strong { display: block; margin-top: 6px; font-size: 25px; line-height: 1.3; overflow-wrap: anywhere; }
.ggf-guarantee { border-left: 4px solid var(--ggf-teal); background: var(--cream); padding: 24px; margin: 24px 0 30px; }
.ggf-guarantee h4 { margin: 0 0 16px; font-size: 19px; line-height: 1.4; }
.ggf-guarantee dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 16px; }
.ggf-guarantee dl > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 8px; }
.ggf-guarantee dt { font-size: 14px; color: var(--muted); }
.ggf-guarantee dd { margin: 0; font-size: 24px; overflow-wrap: anywhere; }
.ggf-guarantee small { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.ggf-guarantee p { margin-bottom: 0; }
.ggf-explainer { background: var(--cream); }
.ggf-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 16px; }
.ggf-checks article { display: grid; grid-template-rows: 58px auto; align-content: start; }
.ggf-checks p { margin: 0; color: var(--muted); }
.ggf-sources { font-size: 14px; line-height: 1.9; }
.ggf-sources li { margin: 8px 0; }
.ggf-cta { background: var(--forest-950); color: white; }
.ggf-cta p { color: var(--accent); max-width: 800px; }
.ggf-cta .button { margin-top: 14px; }
@media (max-width: 900px) {
  .ggf-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ggf-route { display: none; }
  .ggf-layout { grid-template-columns: minmax(0, 1fr); }
  .ggf-checks { grid-template-columns: 1fr; gap: 24px; }
  .ggf-checks article { grid-template-rows: auto auto; }
}
@media (max-width: 520px) {
  .ggf-retirement-cards, .ggf-guarantee dl { grid-template-columns: 1fr; gap: 16px; }
  .ggf-retirement-card, .ggf-guarantee { padding: 20px; }
  .ggf-page { --shell: calc(100% - 32px); }
  .ggf-hero { padding: 28px 0 34px; }
  .ggf-breadcrumb { font-size: 12px; margin-bottom: 24px; }
  .ggf-hero h1 { font-size: 34px; }
  .ggf-lead { font-size: 16px; }
  .ggf-section { padding: 36px 0; }
  .ggf-form, .ggf-result-head { padding: 20px; }
  .ggf-metrics { gap: 14px; }
  .ggf-metric dt { font-size: 13px; min-height: 60px; }
  .ggf-metric dd { font-size: 26px; }
}
@media (max-width: 360px) {
  .ggf-date-grid { grid-template-columns: 1fr; gap: 0; }
  .ggf-hero h1 { font-size: 30px; }
  .ggf-metrics { grid-template-columns: 1fr; }
  .ggf-metric dt { min-height: 0; }
}
.ggf-result-next { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.ggf-result-next h4 { margin: 0 0 .4rem; }
.ggf-result-next .ggf-result-actions { flex-flow: row wrap; align-items: stretch; gap: .65rem; margin-block: 1rem; }
.ggf-result-actions .button { min-height: 48px; padding: .85rem 1.2rem; line-height: 1.4; text-align: center; }
.ggf-result-next .ggf-result-actions .calculator-pdf-button { background: #fff; color: #0b2e4f; border-color: #9cb8cc; font-size: .94rem; }
.ggf-result-next .ggf-result-actions .calculator-pdf-button:hover { background: #edf5f9; }
.ggf-result-next .calculator-pdf-button[hidden] { display: none; }
.ggf-result-actions [data-pdf-status] { flex-basis: 100%; }
.ggf-result-next .ggf-note a { color: #16517b; text-decoration: underline; text-underline-offset: .16em; }
@media (max-width: 600px) {
  .ggf-result-actions .button, .ggf-result-actions .calculator-pdf-button { width: 100%; }
}
@media print {
  .ggf-result-next { display: none; }
  .site-header, .site-footer, .ggf-button-row, .ggf-cta { display: none; }
  .ggf-page { font-size: 11pt; }
  .ggf-section { padding: 20px 0; }
  .ggf-result-head { background: white; color: #0b2e4f; border: 1px solid #aaa; }
  .ggf-result-head p, .ggf-result-head .eyebrow { color: #334; }
  .ggf-form, .ggf-result-head { break-inside: avoid; }
}
