@font-face
{
    font-family: Fraunces;
    src: url("./fonts/fraunces.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
@font-face
{
    font-family: Fraunces;
    src: url("./fonts/fraunces-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}
@font-face
{
    font-family: "Public Sans";
    src: url("./fonts/public-sans.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@font-face
{
    font-family: "IBM Plex Mono";
    src: url("./fonts/ibm-plex-mono.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face
{
    font-family: "IBM Plex Mono";
    src: url("./fonts/ibm-plex-mono-medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
:root
{
    --paper: #F6F1E7;
    --paper2: #EEE6D6;
    --card: #FFFDF8;
    --ink: #1E2226;
    --muted: #5B6168;
    --rule: #D9CFBD;
    --slate: #6E7F91;
    --green: #2F8F5B;
    --deep: #1F6B42;
    --coral: #E2684A;
    --coral-tint: #F7DCD2;
    --amber: #D9A43B;
    color: var(--ink);
    background: var(--paper);
    font-family: "Public Sans", sans-serif;
    font-synthesis: none;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
*
{
    box-sizing: border-box;
}
body
{
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}
[hidden]
{
    display: none !important;
}
button, input
{
    font: inherit;
}
button, a, input, summary
{
    -webkit-tap-highlight-color: transparent;
}
button
{
    cursor: pointer;
    color: inherit;
}
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible
{
    outline: 2px solid var(--green);
    outline-offset: 5px;
}
a
{
    color: var(--deep);
    text-decoration: none;
}
a:hover
{
    text-decoration: underline;
    text-underline-offset: 5px;
}
.container
{
    width: min(1240px, 100%);
    margin-inline: auto;
    padding-inline: 32px;
}
.icon
{
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    vertical-align: middle;
}
.num, .formula-num, svg text
{
    font-family: "IBM Plex Mono", monospace;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}
h1, h2, h3, .brand, .pullquote
{
    font-family: Fraunces, Georgia, serif;
    font-weight: 400;
    letter-spacing: -.025em;
}
h1, h2, h3, p
{
    margin-top: 0;
}
h1
{
    font-size: clamp(48px, 4.65vw, 64px);
    line-height: 1.07;
    margin-bottom: 22px;
}
h1 em
{
    color: var(--green);
}
h2
{
    font-size: 44px;
    line-height: 1.14;
    margin-bottom: 24px;
}
h2 em
{
    color: var(--deep);
}
h3
{
    font-size: 26px;
    line-height: 1.25;
}
header
{
    position: sticky;
    top: 0;
    z-index: 20;
    background: #f6f1e7ed;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
}
header.scrolled
{
    border-bottom-color: var(--rule);
}
.header-inner
{
    max-width: 1240px;
    height: 68px;
    padding: 0 32px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand
{
    font-size: 25px;
    font-weight: 600;
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--ink);
    line-height: 1;
}
.brand-mark
{
    width: 32px;
    height: 32px;
    border: 1px solid var(--rule);
    background: var(--card);
    color: var(--green);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
}
.header-inner nav
{
    display: flex;
    gap: 22px;
}
.header-inner nav a
{
    position: relative;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}
.header-inner nav a::after
{
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    bottom: -7px;
    background: var(--green);
    width: 0;
    transition: width .2s;
}
.header-inner nav a:hover::after
{
    width: 100%;
}
.header-tools
{
    display: flex;
    align-items: center;
    gap: 12px;
}
.segmented
{
    display: inline-flex;
    background: var(--paper2);
    border: 1px solid var(--rule);
    border-radius: 99px;
    padding: 3px;
    gap: 2px;
}
.segmented button
{
    border: 0;
    border-radius: 99px;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 12px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.segmented button[aria-pressed="true"]
{
    background: var(--card);
    box-shadow: 0 1px 3px #1e222612;
}
.mode-buttons button[data-mode="true"][aria-pressed="true"]
{
    background: var(--coral);
    color: var(--ink);
}
.icon-button
{
    border: 0;
    background: none;
    padding: 8px;
    display: none;
}
#mobile-menu
{
    padding: 16px 24px 24px;
    border-top: 1px solid var(--rule);
    background: var(--paper);
}
#mobile-menu a
{
    display: block;
    padding: 10px 0;
}
.disclaimer
{
    background: var(--coral-tint);
    font-size: 12px;
    line-height: 1.5;
}
.disclaimer .container
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding-block: 9px;
}
.disclaimer p
{
    margin: 0;
}
.disclaimer .icon
{
    width: 15px;
    height: 15px;
}
.hero
{
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 0 48px;
    padding-top: 64px;
    padding-bottom: 36px;
}
.hero-intro
{
    grid-column: 1;
}
.eyebrow
{
    font-size: 11px;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--deep);
    display: block;
    margin-bottom: 20px;
}
.hero-intro .eyebrow
{
    font-size: 10px;
    letter-spacing: .13em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tiny-line
{
    height: 1px;
    width: 20px;
    background: var(--green);
}
.lede
{
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 43ch;
}
.card
{
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 18px;
}
.controls
{
    grid-column: 1;
    padding: 20px 24px;
}
.control-title
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Fraunces, Georgia, serif;
    font-size: 18px;
    margin-bottom: 15px;
}
.control-title .icon
{
    color: var(--green);
}
.slider-row
{
    margin-bottom: 17px;
}
.slider-label
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}
.slider-label label
{
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .075em;
}
.slider-label output
{
    font-size: 18px;
    line-height: 1.5;
    white-space: nowrap;
}
input[type="range"]
{
    display: block;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 26px;
    margin: 0;
    cursor: pointer;
    background: transparent;
    --fill: 0%;
    --track-color: var(--green);
}
input[type="range"]::-webkit-slider-runnable-track
{
    height: 4px;
    border-radius: 9px;
    background: linear-gradient(to right, var(--track-color) var(--fill), var(--rule) var(--fill));
}
input[type="range"]::-moz-range-track
{
    height: 4px;
    border-radius: 9px;
    background: var(--rule);
}
input[type="range"]::-moz-range-progress
{
    height: 4px;
    background: var(--track-color);
}
input[type="range"]::-webkit-slider-thumb
{
    appearance: none;
    -webkit-appearance: none;
    margin-top: -9px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: var(--card);
    box-shadow: 0 2px 3px #1e22261a;
    transition: transform .15s;
}
input[type="range"]::-moz-range-thumb
{
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--card);
}
input[type="range"]:active::-webkit-slider-thumb
{
    transform: scale(1.1);
}
input[type="range"]:focus-visible
{
    outline: 2px solid var(--green);
    outline-offset: 4px;
    border-radius: 10px;
}
input[data-key="inflationPct"]
{
    --track-color: var(--coral);
}
.control-bottom
{
    border-top: 1px solid var(--rule);
    padding-top: 12px;
    font-size: 11px;
}
.switch-label
{
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}
.switch-label input
{
    position: absolute;
    width: 34px;
    height: 22px;
    opacity: 0;
    margin: 0;
}
.switch
{
    display: block;
    width: 30px;
    height: 18px;
    border-radius: 20px;
    border: 1px solid var(--rule);
    background: var(--paper2);
    padding: 2px;
}
.switch::after
{
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--card);
    box-shadow: 0 1px 2px #1e222644;
    transition: transform .2s;
}
.switch-label input:checked + .switch
{
    background: var(--coral);
    border-color: var(--coral);
}
.switch-label input:checked + .switch::after
{
    transform: translateX(12px);
}
.switch-label input:focus-visible + .switch
{
    outline: 2px solid var(--green);
    outline-offset: 4px;
}
#hero-inflation
{
    margin-top: 16px;
}
#hero-inflation .slider-row
{
    margin-bottom: 0;
}
.hero-chart
{
    grid-column: 2;
    grid-row: 1 / 3;
    padding: 28px 28px 20px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px -24px #1e222640;
    min-width: 0;
}
.chart-top
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.chart-top .eyebrow
{
    color: var(--muted);
    margin: 0;
    font-size: 10px;
}
.hypo-label
{
    font-size: 9px;
    padding: 4px 8px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 4px;
    white-space: nowrap;
    color: var(--muted);
}
.big-number
{
    font-size: clamp(38px, 4.2vw, 56px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.065em;
    margin: 14px 0 20px;
}
.mode-badge
{
    color: #8a3423;
    background: var(--coral-tint);
    border-radius: 4px;
    font-size: 10px;
    padding: 3px 8px;
    margin: 12px 0 -3px;
    align-self: flex-start;
}
.stats
{
    display: flex;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 16px 0;
    gap: 20px;
    margin-bottom: 18px;
}
.stats > div
{
    flex: 1;
    font-size: 10px;
    color: var(--muted);
    white-space: nowrap;
}
.stats strong
{
    display: block;
    padding-top: 4px;
    font-size: 17px;
    font-weight: 400;
    color: var(--ink);
}
.dot
{
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 5px;
}
.slate
{
    background: var(--slate);
}
.green
{
    background: var(--green);
}
.hollow
{
    border: 1px solid var(--muted);
}
.chart-wrap
{
    position: relative;
    flex: 1;
    min-height: 280px;
}
.area-chart
{
    width: 100%;
    height: 100%;
    min-height: 300px;
    touch-action: pan-y;
    display: block;
}
svg text
{
    fill: var(--muted);
    font-size: 10px;
}
.gridline
{
    stroke: var(--rule);
    stroke-dasharray: 3 5;
}
.chart-tooltip
{
    position: absolute;
    left: 18%;
    top: 16px;
    border: 1px solid var(--rule);
    box-shadow: 0 4px 12px #1e22261a;
    border-radius: 10px;
    background: var(--card);
    padding: 12px 16px;
    font-size: 11px;
    line-height: 1.7;
    pointer-events: none;
    z-index: 2;
    max-width: 78%;
}
.chart-tooltip strong
{
    display: block;
}
.crossover-note
{
    font-size: 10px;
    color: var(--muted);
    margin: 8px 0 16px;
}
.crossover-note::before
{
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    margin-right: 7px;
}
.chart-bottom
{
    border-top: 1px solid var(--rule);
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
}
.chart-bottom a
{
    font-weight: 600;
    white-space: nowrap;
}
.chart-bottom .icon
{
    width: 12px;
    height: 12px;
    margin-left: 4px;
}
.legend
{
    display: flex;
    gap: 16px;
    font-size: 10px;
    color: var(--muted);
    flex-wrap: wrap;
}
.legend span
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.legend i
{
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 1px;
}
.hero-foot
{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    grid-column: 1 / -1;
    border-top: 1px solid var(--rule);
    margin-top: 32px;
    padding-top: 18px;
    font-size: 10px;
    color: var(--muted);
}
.hero-foot span:last-child
{
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: .12em;
}
.section
{
    padding-block: 112px;
}
.section-lede
{
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 62ch;
    margin-bottom: 48px;
}
.story-section, .formula-section
{
    background: var(--paper2);
}
.story-layout
{
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
}
figure
{
    margin: 0;
    min-width: 0;
}
figure img
{
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--rule);
    display: block;
}
figcaption
{
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
}
.story-step
{
    margin-top: 45vh;
    padding: 28px;
    border-top: 1px solid #c9bda5;
    opacity: .4;
    transition: opacity .45s;
}
.story-step:last-child
{
    margin-bottom: 15vh;
}
.story-step.active
{
    opacity: 1;
}
.step-number
{
    color: var(--deep);
    font-size: 13px;
    display: block;
    margin-bottom: 16px;
}
.story-step p
{
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 0;
}
.story-sticky
{
    position: sticky;
    top: 108px;
    padding: 28px;
    min-width: 0;
}
.story-sticky h3
{
    margin: 24px 0 0;
}
#story-chart
{
    height: 300px;
    width: 100%;
    display: block;
}
#story-detail
{
    font-size: 13px;
    min-height: 40px;
    color: var(--muted);
}
.time-layout
{
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 40px;
    align-items: center;
}
.scenario-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.scenario
{
    padding: 24px;
    min-width: 0;
}
.scenario .eyebrow
{
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 10px;
}
.scenario p
{
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}
.scenario-value
{
    font-size: clamp(22px, 2.7vw, 32px);
    font-weight: 400;
    letter-spacing: -.04em;
}
.scenario svg
{
    width: 100%;
    height: 28px;
    margin-block: 24px 8px;
}
.preferred
{
    border-color: var(--green);
}
.preferred .eyebrow, .preferred .scenario-value
{
    color: var(--deep);
}
.pullquote
{
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
    margin: 28px 0 12px;
}
.small
{
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
}
.comparison-section
{
    background: #ececde;
}
.section-title-row
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 32px;
}
.section-title-row .section-lede
{
    margin: 0;
}
.comparison-card
{
    padding: 28px;
}
.primary-button
{
    background: var(--green);
    color: white;
    border: 0;
    border-radius: 99px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.primary-button:hover
{
    background: var(--deep);
}
.primary-button .icon
{
    width: 14px;
    height: 14px;
}
#compare-chart
{
    width: 100%;
    height: 340px;
    display: block;
    margin-top: 20px;
}
#age-readout
{
    text-align: center;
    font-size: 13px;
    margin: 16px 0 0;
}
.comparison-stats
{
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 32px;
    padding-block: 32px;
    border-bottom: 1px solid var(--rule);
}
.comparison-stats span
{
    font-size: 12px;
    color: var(--muted);
}
.comparison-stats strong
{
    display: block;
    font-size: 25px;
    font-weight: 400;
}
.comparison-stats p
{
    font-family: Fraunces, Georgia, serif;
    font-size: 24px;
    line-height: 1.4;
    margin: 0;
}
.closing-row
{
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    margin-top: 48px;
}
.closing-row p
{
    font-family: Fraunces, Georgia, serif;
    font-size: 29px;
    line-height: 1.5;
    margin: 0;
}
.inflation-layout
{
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
    align-items: center;
}
.inflation-controls
{
    padding: 28px;
}
.inflation-controls .segmented
{
    margin: 0 0 24px;
}
.inflation-controls .slider-row
{
    margin: 0;
}
.basket-row
{
    display: flex;
    align-items: center;
    gap: 28px;
    margin-block: 28px;
}
#basket-chart
{
    width: 45%;
    flex-shrink: 0;
}
.basket-row p
{
    font-size: 14px;
    margin: 0;
    color: var(--muted);
}
.inflation-values
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--rule);
    padding-top: 24px;
}
.inflation-values span:not(.coral-arrow)
{
    display: block;
    font-size: 11px;
    color: var(--muted);
}
.inflation-values strong
{
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 400;
    letter-spacing: -.05em;
}
.coral-arrow
{
    color: var(--coral);
    font-size: 30px;
}
.formula-layout
{
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
}
.formula-layout > div > p
{
    color: var(--muted);
    font-size: 17px;
}
.formula-key
{
    margin-top: 40px;
}
.formula-key div
{
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}
.formula-key dt
{
    width: 40px;
    flex-shrink: 0;
    font-family: "IBM Plex Mono", monospace;
    color: var(--deep);
}
.formula-key dd
{
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}
.formula-card
{
    padding: 28px;
}
.formula-num
{
    font-size: 20px;
    line-height: 1.7;
}
.formula-num sup
{
    font-size: 11px;
}
.live-formula
{
    color: var(--deep);
    font-size: 12px;
    margin-top: 16px;
    overflow-wrap: anywhere;
}
.formula-card .small
{
    margin-bottom: 0;
}
hr
{
    border: 0;
    border-top: 1px solid var(--rule);
    margin-block: 24px;
}
.frequency-field
{
    padding: 0;
    border: 0;
    margin: 28px 0;
}
.frequency-field legend
{
    margin-bottom: 12px;
}
.frequency-buttons
{
    width: 100%;
}
.frequency-buttons button
{
    flex: 1;
}
.frequency-title
{
    font-size: 22px;
}
table
{
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
}
th, td
{
    text-align: left;
    border-bottom: 1px solid var(--rule);
    padding: 12px 16px;
    white-space: nowrap;
}
th
{
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
}
td:not(:first-child), th:not(:first-child)
{
    text-align: right;
}
.frequency-table tr.selected
{
    background: #d7e5d5;
    color: var(--deep);
}
.year-details
{
    margin-top: 64px;
    border-top: 1px solid #c9bda5;
    border-bottom: 1px solid #c9bda5;
}
summary
{
    cursor: pointer;
    list-style: none;
}
summary::-webkit-details-marker
{
    display: none;
}
.year-details summary
{
    font-size: 15px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
}
.year-details summary span
{
    font-size: 24px;
    font-weight: 400;
}
.table-scroll
{
    max-height: 420px;
    overflow: auto;
    margin-bottom: 24px;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--card);
}
.year-table thead
{
    position: sticky;
    top: 0;
    background: var(--card);
}
.year-table tbody tr:nth-child(even)
{
    background: var(--paper2);
}
.questions
{
    max-width: 824px;
}
.questions h2
{
    margin-bottom: 40px;
}
.faq
{
    border: 1px solid var(--rule);
    background: var(--card);
    border-radius: 18px;
    margin-bottom: 12px;
}
.faq summary
{
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-weight: 500;
    font-size: 15px;
}
.faq p
{
    font-size: 15px;
    color: var(--muted);
    padding: 0 24px 24px;
    margin: 0;
}
.faq .icon
{
    transition: transform .2s;
    color: var(--deep);
}
.faq[open] .icon
{
    transform: rotate(45deg);
}
footer
{
    background: var(--ink);
    color: var(--paper);
    padding: 64px 0 32px;
}
.footer-disclaimer
{
    padding: 22px 28px;
    border-radius: 14px;
    background: var(--coral-tint);
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}
.footer-disclaimer p
{
    margin: 0;
}
.footer-grid
{
    display: grid;
    grid-template-columns: 1fr 1.2fr .65fr;
    gap: 80px;
    margin: 56px 0 48px;
}
footer .brand
{
    color: var(--paper);
    margin-bottom: 20px;
}
footer p
{
    color: #c3c0b9;
    font-size: 13px;
    line-height: 1.9;
    max-width: 34ch;
}
footer h3
{
    font-family: "Public Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 20px;
}
footer nav a
{
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    color: #c3c0b9;
}
.footer-bottom
{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #ffffff26;
    padding-top: 24px;
    font-size: 11px;
    color: #c3c0b9;
}
.footer-bottom a
{
    color: #c3c0b9;
}
.footer-bottom .icon
{
    width: 12px;
    height: 12px;
    margin-left: 3px;
}
.skip
{
    position: fixed;
    top: -100px;
    left: 20px;
    padding: 10px 20px;
    z-index: 40;
    background: var(--card);
}
.skip:focus
{
    top: 10px;
}
.sr-only
{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (min-width: 1440px)
{
    .hero
    {
        padding-top: 72px;
    }
    .area-chart
    {
        min-height: 340px;
    }
}
@media (max-width: 1100px)
{
    .header-inner nav
    {
        gap: 14px;
    }
    .header-inner nav a
    {
        font-size: 11px;
    }
    .hero
    {
        gap: 0 32px;
    }
    .hero-chart
    {
        padding-inline: 22px;
    }
    .stats
    {
        gap: 10px;
    }
    .stats strong
    {
        font-size: 15px;
    }
    .stats > div
    {
        font-size: 9px;
    }
    .hypo-label
    {
        font-size: 8px;
    }
}
@media (max-width: 1023px)
{
    .header-inner nav
    {
        display: none;
    }
    .icon-button
    {
        display: inline-flex;
    }
    .hero
    {
        grid-template-columns: 1fr;
        padding-top: 48px;
        gap: 28px;
    }
    .hero-intro, .hero-chart, .controls
    {
        grid-column: 1;
        grid-row: auto;
    }
    .hero-intro
    {
        max-width: 620px;
    }
    h1
    {
        font-size: 60px;
    }
    .hero-chart
    {
        grid-row: 2;
    }
    .lede
    {
        max-width: 60ch;
        margin: 0;
    }
    .controls
    {
        grid-row: 3;
    }
    .big-number
    {
        font-size: 48px;
    }
    .area-chart
    {
        height: 300px;
    }
    .stats strong
    {
        font-size: 20px;
    }
    .stats > div, .hypo-label
    {
        font-size: 11px;
    }
    .hero-foot
    {
        margin: 0;
    }
    .story-layout, .formula-layout
    {
        gap: 32px;
    }
    .time-layout
    {
        grid-template-columns: 1fr;
    }
    .time-layout > figure
    {
        max-width: 320px;
    }
    .inflation-layout
    {
        gap: 32px;
    }
    .inflation-values strong
    {
        font-size: 24px;
    }
    .footer-grid
    {
        gap: 32px;
    }
}
@media (max-width: 639px)
{
    :root
    {
        scroll-padding-top: 88px;
    }
    body
    {
        font-size: 16px;
    }
    .container
    {
        padding-inline: 20px;
    }
    .header-inner
    {
        padding-inline: 16px;
        gap: 8px;
    }
    .brand
    {
        font-size: 22px;
        gap: 6px;
    }
    .brand-mark
    {
        width: 28px;
        height: 28px;
    }
    .header-tools
    {
        gap: 4px;
    }
    .header-tools .segmented
    {
        padding: 2px;
    }
    .header-tools .segmented button
    {
        font-size: 9px;
        padding: 7px 8px;
    }
    .icon-button
    {
        padding: 7px;
    }
    .disclaimer
    {
        font-size: 10px;
    }
    .disclaimer .container
    {
        padding-block: 11px;
        align-items: flex-start;
    }
    .disclaimer .icon
    {
        margin-top: 2px;
    }
    .hero
    {
        padding-top: 36px;
        gap: 24px;
    }
    .hero-intro .eyebrow
    {
        font-size: 9px;
        letter-spacing: .1em;
        margin-bottom: 20px;
    }
    h1
    {
        font-size: 43px;
        line-height: 1.08;
        letter-spacing: -.035em;
        margin-bottom: 18px;
    }
    h2
    {
        font-size: 32px;
        line-height: 1.15;
    }
    .lede
    {
        font-size: 15px;
        line-height: 1.7;
    }
    .hero-chart
    {
        padding: 20px 16px 18px;
    }
    .chart-top
    {
        gap: 6px;
    }
    .chart-top .eyebrow
    {
        font-size: 8px;
    }
    .hypo-label
    {
        font-size: 8px;
        padding: 3px 6px;
    }
    .big-number
    {
        font-size: 43px;
        margin-block: 14px 18px;
    }
    .stats
    {
        gap: 8px;
        margin-bottom: 14px;
        padding-block: 12px;
    }
    .stats > div
    {
        font-size: 8px;
    }
    .stats strong
    {
        font-size: 14px;
    }
    .chart-wrap
    {
        min-height: 250px;
    }
    .area-chart
    {
        height: 260px;
        min-height: 260px;
    }
    .chart-bottom
    {
        font-size: 9px;
        gap: 4px;
    }
    .legend
    {
        gap: 10px;
        font-size: 9px;
    }
    .controls
    {
        padding: 20px;
    }
    .slider-row
    {
        margin-bottom: 22px;
    }
    .slider-label label
    {
        font-size: 10px;
    }
    .hero-foot
    {
        flex-direction: column;
        gap: 6px;
        margin-top: 0;
    }
    .section
    {
        padding-block: 80px;
    }
    .section-lede
    {
        font-size: 16px;
        margin-bottom: 32px;
    }
    .story-layout
    {
        display: flex;
        flex-direction: column;
        position: relative;
        gap: 0;
    }
    .story-sticky
    {
        order: -1;
        top: 78px;
        width: 100%;
        padding: 18px;
        z-index: 2;
        height: 350px;
        box-shadow: 0 8px 24px #1e222611;
    }
    .story-sticky .chart-top .eyebrow
    {
        font-size: 8px;
    }
    .story-sticky h3
    {
        font-size: 22px;
        margin: 12px 0 0;
    }
    #story-chart
    {
        height: 190px;
    }
    #story-detail
    {
        min-height: 0;
        font-size: 10px;
        margin-bottom: 8px;
    }
    #step-indicator
    {
        font-size: 11px;
    }
    .story-copy
    {
        width: 100%;
    }
    .story-copy figure
    {
        margin-top: 24px;
    }
    .story-step
    {
        margin-top: 38vh;
        background: #fffdf8f5;
        border: 1px solid var(--rule);
        border-radius: 18px;
        position: relative;
        z-index: 3;
        opacity: .65;
        padding: 24px;
    }
    .story-step p
    {
        font-size: 15px;
    }
    .story-step:last-child
    {
        margin-bottom: 0;
    }
    .scenario-grid
    {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .scenario-value
    {
        font-size: 32px;
    }
    .scenario svg
    {
        margin-top: 16px;
    }
    .time-layout
    {
        gap: 24px;
    }
    .time-layout > figure
    {
        order: -1;
        max-width: none;
    }
    .section-title-row
    {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .section-title-row .section-lede
    {
        margin-bottom: 0;
    }
    .comparison-card
    {
        padding: 20px 14px;
    }
    .comparison-card .chart-top
    {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
    #compare-chart
    {
        height: 290px;
        margin-top: 10px;
    }
    #age-readout
    {
        font-size: 10px;
    }
    .comparison-stats
    {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .comparison-stats strong
    {
        font-size: 23px;
    }
    .comparison-stats p
    {
        grid-column: 1 / -1;
        font-size: 22px;
    }
    .closing-row
    {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    .closing-row p
    {
        font-size: 24px;
    }
    .inflation-layout, .formula-layout
    {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .inflation-controls
    {
        padding: 22px;
    }
    .inflation-values strong
    {
        font-size: 24px;
    }
    .basket-row
    {
        gap: 14px;
    }
    .basket-row p
    {
        font-size: 12px;
    }
    .formula-key
    {
        margin-bottom: 0;
    }
    .formula-card
    {
        padding: 22px;
    }
    .formula-num
    {
        font-size: 17px;
    }
    .frequency-buttons button
    {
        padding: 8px 6px;
        font-size: 11px;
    }
    .year-details
    {
        margin-top: 40px;
    }
    .year-details summary
    {
        font-size: 13px;
    }
    th, td
    {
        padding: 12px;
        font-size: 11px;
    }
    .faq summary
    {
        padding: 20px;
        font-size: 14px;
    }
    .faq p
    {
        padding: 0 20px 20px;
        font-size: 14px;
    }
    footer
    {
        padding-top: 40px;
    }
    .footer-disclaimer
    {
        padding: 20px;
        align-items: flex-start;
        font-size: 12px;
    }
    .footer-disclaimer .icon
    {
        margin-top: 3px;
    }
    .footer-grid
    {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-block: 40px 32px;
    }
    .footer-grid p
    {
        max-width: none;
    }
    .footer-grid nav
    {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 20px;
    }
    .footer-bottom
    {
        flex-direction: column;
        gap: 12px;
    }
}
@media (prefers-reduced-motion: reduce)
{
    :root
    {
        scroll-behavior: auto;
    }
    *, *::before, *::after
    {
        transition: none !important;
        animation: none !important;
    }
}
