@font-face {
  font-family: Inter;
  src: url("assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --blue: #38B6FF;
  --deep-blue: #1487EF;
  --blue-ink: #0A63B8;
  --charcoal: #414143;
  --grey: #CFCFD1;
  --ink: #2F2F31;
  --muted: #6E6E72;
  --surface: #F2F2F2;
  --white: #FFFFFF;
  --violet: #5668E2;
  --orange: #FF9900;
  --brand-gradient: linear-gradient(120deg, var(--deep-blue) 0%, var(--blue) 100%);
  --line: color-mix(in srgb, var(--grey) 64%, var(--white));
  --sky: color-mix(in srgb, var(--blue) 8%, var(--white));
  --sky-line: color-mix(in srgb, var(--blue) 28%, var(--white));
  --blue-hover: color-mix(in srgb, var(--blue) 73%, var(--white));
  --card-surface: var(--ink);
  --dark-line: color-mix(in srgb, var(--grey) 24%, var(--ink));
  --field-border: color-mix(in srgb, var(--grey) 62%, var(--charcoal));
  --card-shadow: 0 .45rem 1.4rem color-mix(in srgb, var(--ink) 10%, transparent);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--charcoal); background: var(--white); font: 1rem/1.5 var(--sans); }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: var(--blue-ink); text-underline-offset: .23em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 4px; }
.card :focus-visible { outline-color: var(--card-focus, var(--blue)); }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--heading-color, var(--ink)); }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 20; top: .8rem; left: .8rem; background: var(--white); padding: .7rem 1rem; }
.reading-progress { position: fixed; z-index: 10; inset: 0 0 auto; height: 3px; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.shell { width: min(100% - 7rem, 82rem); margin-inline: auto; }
.utility { font: 700 .77rem/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.card {
  --heading-color: var(--white);
  --copy-color: var(--surface);
  background: var(--card-surface); color: var(--white);
  border-radius: .65rem; box-shadow: var(--card-shadow);
}
.card-small {
  --card-surface: var(--surface);
  --heading-color: var(--ink);
  --copy-color: var(--charcoal);
  --card-focus: var(--blue-ink);
  color: var(--charcoal); border: 1px solid var(--grey);
}
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 9rem; height: auto; }
.brand span { border-left: 1px solid var(--grey); margin-left: .85rem; padding-left: .85rem; color: var(--muted); font-size: .83rem; font-weight: 600; }
.masthead-nav, .footer nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.3rem); }
.nav-link, .footer nav a { color: var(--blue-ink); font-weight: 650; font-size: .92rem; text-decoration: none; }
.nav-link:hover, .footer nav a:hover { text-decoration: underline; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem;
  padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .38rem;
  text-decoration: none; font-size: .92rem; line-height: 1.25; text-align: center; font-weight: 750;
}
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { color: var(--white); background: var(--charcoal); }
.button-blue { color: var(--ink); background: var(--blue); }
.button-blue:hover { color: var(--ink); background: var(--blue-hover); }
.button-outline { color: var(--ink); border-color: var(--grey); }
.button-outline:hover { background: var(--sky); border-color: var(--sky-line); }
.hero {
  display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2rem, 4vw, 5rem);
  align-items: center; padding-block: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4.5vw, 4.5rem);
}
.hero-text { padding-bottom: 1.6rem; }
.hero-label { color: var(--blue-ink); display: flex; align-items: center; gap: .65rem; }
.hero-label::before { content: ""; width: 1.65rem; height: .16rem; background: var(--brand-gradient); flex: none; }
.hero h1 {
  font: 760 clamp(3.3rem, 5vw, 5.15rem)/1.01 var(--sans); letter-spacing: -.063em;
  margin-block: 1.35rem 1.6rem; max-width: 15ch;
}
.hero h1 em { display: block; margin-top: .14em; font-weight: 530; text-wrap: balance; }
.hero-deck { max-width: 33rem; color: var(--charcoal); font-size: clamp(1.1rem, 1.4vw, 1.27rem); line-height: 1.56; margin-bottom: 1.55rem; text-wrap: pretty; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.hero-picture img { width: 100%; height: auto; aspect-ratio: 1.11; object-fit: cover; object-position: 50% 47%; border-radius: .5rem; background: var(--ink); }
.hero-picture figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .78rem; font-size: .8rem; color: var(--muted); }
.hero-picture figcaption span:last-child { text-align: right; }
.guide-layout {
  display: grid; grid-template-columns: minmax(10rem, 14.5rem) minmax(0, 49rem); align-items: start;
  column-gap: clamp(2rem, 4.5vw, 4.5rem); justify-content: center; border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4.5vw, 4rem); padding-bottom: clamp(3rem, 7vw, 6rem);
}
.guide-nav { position: sticky; top: 1.65rem; align-self: start; z-index: 2; }
.contents-title { color: var(--charcoal); margin-bottom: .9rem; }
.guide-nav ol { list-style: none; padding: 0; margin: 0; }
.desktop-contents ol { border-left: 1px solid var(--grey); max-height: calc(100vh - 6rem); overflow: auto; }
.guide-nav a { display: block; padding: .34rem .76rem; font-size: .94rem; color: var(--blue-ink); text-decoration: none; }
.guide-nav a:hover { color: var(--blue-ink); background: var(--sky); }
.guide-nav a[aria-current="location"] { color: var(--blue-ink); font-weight: 750; background: var(--sky); box-shadow: inset 3px 0 var(--blue); }
.mobile-contents { display: none; }
.phone-menu, .phone-dock, .phone-cell-label { display: none; }
.article { min-width: 0; }
.chapter, .project { scroll-margin-top: 2rem; }
.chapter + .chapter { margin-top: clamp(3rem, 6vw, 5.7rem); padding-top: clamp(2rem, 4vw, 3.45rem); border-top: 1px solid var(--line); }
.chapter-label { color: var(--blue-ink); margin-bottom: .86rem; }
.chapter-label span { display: inline-block; color: var(--muted); padding-left: .62rem; margin-left: .5rem; border-left: 1px solid var(--grey); }
.article h2 { font: 720 clamp(2.1rem, 3.9vw, 3.3rem)/1.1 var(--sans); letter-spacing: -.048em; text-wrap: pretty; margin-bottom: 1.25rem; }
.article p:not(.utility) { color: var(--copy-color, var(--charcoal)); font-size: 1.125rem; line-height: 1.68; }
.chapter > p:not(.utility) + p { margin-top: .9rem; }
.story > p.opening { color: var(--ink); font: 740 clamp(2.45rem, 4.65vw, 3.9rem)/1.05 var(--sans); letter-spacing: -.055em; margin-block: 1.1rem 1.5rem; }
.story > p.story-question { color: var(--ink); font-weight: 750; }
.story > p:not(.opening, .utility) { max-width: 67ch; }
.prompt { margin-block: 1.65rem; padding: 1.3rem 1.45rem; border-left: 4px solid var(--blue); }
.prompt .utility { color: var(--blue); display: block; margin-bottom: .35rem; }
.prompt > p + p { margin-top: .3rem; }
.table-frame { margin-block: 1.65rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .5rem; }
table { width: 100%; border-collapse: collapse; text-align: left; line-height: 1.44; font-size: .98rem; }
th, td { padding: .85rem .95rem; vertical-align: top; overflow-wrap: anywhere; }
thead { background: var(--ink); color: var(--white); }
tbody th { font-weight: 650; }
tbody td { color: var(--charcoal); }
tbody tr + tr { border-top: 1px solid var(--line); }
tbody tr:nth-child(even) { background: var(--surface); }
.diagram { margin-block: 1.65rem; padding: clamp(1rem, 3vw, 1.6rem); background: var(--sky); border: 1px solid var(--sky-line); border-radius: .75rem; }
.figure-heading { color: var(--ink); font-size: 1.15rem; font-weight: 750; margin-bottom: 1rem; }
.diagram ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; padding: 0; margin: 0; list-style: none; }
.diagram li { position: relative; padding: .8rem .75rem; }
.diagram li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; left: 100%; width: 1.15rem; height: 2px;
  background: var(--brand-gradient); transform-origin: left center;
}
.diagram li > span { display: block; color: var(--blue-ink); font-weight: 750; }
.diagram small { display: block; font-size: .88rem; color: var(--copy-color); line-height: 1.37; margin-top: .18rem; }
.diagram figcaption { color: var(--muted); font-size: .86rem; margin-top: .8rem; }
.diagram.roles ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.diagram.roles strong { display: block; color: var(--blue-ink); margin-bottom: .2rem; }
.article .diagram.roles li p { font-size: .94rem; line-height: 1.48; }
.anatomy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; margin-block: 1.65rem; }
.anatomy-card { padding: 1.15rem; }
.anatomy-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.article .anatomy-card p { font-size: .98rem; line-height: 1.55; }
.anatomy-card p + p { margin-top: .4rem; }
.anatomy-icon {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .8rem;
  border: 1px solid var(--sky-line); border-radius: .55rem;
  color: var(--blue-ink); background: var(--sky);
}
.anatomy-icon::before { content: ""; width: 1.12rem; height: .84rem; border: 2px solid currentColor; border-radius: .12rem; }
.icon-0::before { width: .82rem; height: 1.05rem; background: repeating-linear-gradient(currentColor 0 1px, transparent 1px 4px) center / .38rem .53rem no-repeat; }
.icon-1::before { border-top-width: .27rem; }
.icon-2::before { height: .63rem; border-radius: .2rem; background: radial-gradient(circle, currentColor 0 1px, transparent 1.5px) right .13rem center / .25rem .25rem no-repeat; }
.icon-3::before { box-shadow: 0 .23rem 0 -.12rem currentColor; }
.icon-4::before { border-style: dashed; }
.icon-5::before { border-radius: 50%; width: .86rem; }
.glossary { margin-block: 1.65rem; padding: clamp(1rem, 3vw, 1.45rem); }
.glossary h3 { font-size: 1.15rem; }
.glossary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; margin: .85rem 0 0; }
.glossary dt { color: var(--blue); font-weight: 750; }
.glossary dd { color: var(--surface); margin: .25rem 0 0; font-size: .97rem; line-height: 1.48; }
.estimator {
  margin-block: 1.75rem; padding: clamp(1.2rem, 3vw, 1.9rem);
  border-radius: .75rem;
}
.estimator-title { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; margin-bottom: 1.45rem; }
.estimator .utility, .project .utility { color: var(--blue); }
.estimator h3 { color: inherit; font: 720 clamp(1.65rem, 3.45vw, 2.28rem)/1.1 var(--sans); letter-spacing: -.043em; }
.currency { font-size: .8rem; font-weight: 700; letter-spacing: .12em; padding: .32rem .55rem; border: 1px solid var(--field-border); border-radius: .25rem; }
.estimator-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto 1fr;
  grid-template-areas: "inputs results" "inputs actions"; column-gap: clamp(.9rem, 3vw, 1.6rem);
}
.cost-form { grid-area: inputs; min-width: 0; }
.slider-label, .cost-field { display: flex; align-items: center; justify-content: space-between; gap: .65rem; font-size: .96rem; font-weight: 650; }
.slider-label output { color: var(--blue); font-weight: 800; }
#reuse { display: block; height: 1.6rem; width: 100%; margin: .35rem 0; accent-color: var(--blue); cursor: pointer; }
.article p.screen-split { color: var(--grey); font-size: .86rem; margin-bottom: .75rem; }
.cost-fields { border-top: 1px solid var(--dark-line); }
.cost-field { padding: .48rem 0; border-bottom: 1px solid var(--dark-line); }
.cost-field small { display: block; color: var(--grey); font-size: .82rem; font-weight: 400; }
.cost-field.screen-count-field { margin-bottom: .9rem; padding-top: 0; }
.number-box { display: flex; align-items: center; min-width: 0; width: 7.1rem; flex-shrink: 0; border: 1px solid var(--field-border); background: var(--charcoal); border-radius: .3rem; color: var(--grey); padding-inline: .55rem .3rem; }
.number-box:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.number-box input { width: 100%; min-width: 0; appearance: textfield; border: 0; outline: none; background: transparent; padding: .53rem .15rem .53rem .3rem; color: var(--white); text-align: right; }
.number-box input::-webkit-inner-spin-button, .number-box input::-webkit-outer-spin-button { appearance: none; }
.budget-results, .budget-actions { min-width: 0; border: 1px solid var(--dark-line); background: var(--charcoal); }
.budget-results { grid-area: results; padding: 1.15rem 1.15rem 0; border-bottom: 0; border-radius: .5rem .5rem 0 0; }
.budget-actions { grid-area: actions; align-self: start; padding: 0 1.15rem 1.15rem; border-top: 0; border-radius: 0 0 .5rem .5rem; }
.budget-totals { margin-block: .65rem 1rem; }
.total { padding: .55rem 0 .72rem; }
.total + .total { border-top: 1px solid var(--field-border); }
.total span, .total output { display: block; }
.total span { color: var(--surface); font-size: .92rem; }
.total output { font-size: clamp(1.6rem, 3.5vw, 2.52rem); font-weight: 750; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.total-primary output { color: var(--blue); }
.cost-breakdown dl { font-size: .83rem; margin: .55rem 0 1rem; color: var(--surface); }
.cost-breakdown dl div { display: flex; gap: .55rem; justify-content: space-between; align-items: baseline; }
.cost-breakdown dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.budget-actions .button { width: 100%; }
.article p.copy-status { font-size: .9rem; margin-top: .45rem; }
.article .estimator p.copy-status { color: var(--surface); }
.copy-status:empty { display: none; }
.copy-fallback { margin-top: .5rem; width: 100%; resize: vertical; }
.estimate-notes { padding-top: .95rem; margin-top: 1.15rem; border-top: 1px solid var(--dark-line); }
.article .estimate-notes p { color: var(--grey); font-size: .875rem; line-height: 1.52; }
.estimate-notes p + p { margin-top: .4rem; }
.disclosures { margin-top: 1.55rem; overflow: clip; }
.disclosures details + details { border-top: 1px solid var(--dark-line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.disclosures summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.4rem; padding: .8rem 1.15rem; font-size: 1.02rem; font-weight: 720; }
.disclosures summary:focus-visible { outline-offset: -4px; }
.disclosures summary:hover, .disclosures details[open] summary { color: var(--blue); background: var(--charcoal); }
.chevron { flex: none; width: .54rem; height: .54rem; margin: -.2rem .18rem 0; transform: rotate(45deg); border: solid currentColor; border-width: 0 2px 2px 0; }
details[open] > summary .chevron { transform: rotate(225deg); margin-top: .24rem; }
.disclosure-body { padding: .9rem 1.15rem 1.15rem; }
.article .disclosure-body p { font-size: 1rem; line-height: 1.55; }
.disclosure-body p + p { margin-top: .55rem; }
.checklist { padding: clamp(1rem, 3vw, 1.6rem); margin-top: 1.5rem; }
.checklist-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.article .checklist-header p { color: var(--blue); font-size: .95rem; font-weight: 760; }
.text-button { padding: .3rem .02rem; color: var(--blue); border: 0; background: transparent; text-decoration: underline; text-underline-offset: .18em; font-weight: 650; font-size: .88rem; }
.text-button:disabled { color: var(--grey); text-decoration: none; cursor: default; }
.checklist progress { display: block; width: 100%; height: .46rem; appearance: none; border: 0; border-radius: 1rem; background: var(--dark-line); overflow: hidden; margin-block: .55rem 1rem; }
.checklist progress::-webkit-progress-bar { background: var(--dark-line); }
.checklist progress::-webkit-progress-value { background: var(--brand-gradient); }
.checklist progress::-moz-progress-bar { background: var(--brand-gradient); }
.checklist fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.check-item { display: flex; align-items: flex-start; gap: .7rem; padding: .62rem .45rem; cursor: pointer; }
.check-item + .check-item { border-top: 1px solid var(--dark-line); }
.check-item:hover { background: var(--charcoal); }
.check-item input { width: 1.13rem; height: 1.13rem; flex: none; margin: .19rem 0 0; accent-color: var(--blue); }
.check-item:has(input:checked) span { color: var(--blue); }
.project {
  padding: clamp(1.35rem, 5vw, 2.75rem); margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: .75rem; color: var(--white); border-top: 4px solid transparent;
  background: linear-gradient(var(--card-surface), var(--card-surface)) padding-box, var(--brand-gradient) border-box;
}
.project h2 { color: inherit; margin-block: .7rem .85rem; }
.article .project p:not(.utility) { color: var(--surface); }
.project .button { margin-top: 1.2rem; }
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { min-height: 5.7rem; }
@media (max-width: 69rem) {
  .shell { width: calc(100% - 4rem); }
  .hero h1 { font-size: clamp(3.05rem, 6vw, 4.6rem); }
  .guide-layout { grid-template-columns: minmax(9.5rem, 11rem) minmax(0, 47rem); }
}
@media (max-width: 53rem) {
  .shell { width: calc(100% - 2.5rem); }
  .anatomy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { gap: 1.6rem; }
  .hero h1 { font-size: clamp(2.75rem, 6.5vw, 3.9rem); }
  .guide-layout { display: block; max-width: 49rem; padding-top: 0; }
  .guide-nav { top: 0; margin-inline: -1.25rem; margin-bottom: 1.65rem; }
  .desktop-contents { display: none; }
  .mobile-contents { display: block; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 .2rem .5rem color-mix(in srgb, var(--ink) 8%, transparent); }
  .mobile-contents summary { display: flex; gap: .75rem; align-items: center; padding: .8rem 1.25rem; min-height: 3.15rem; font-size: .94rem; font-weight: 750; }
  .mobile-contents summary:focus-visible { outline-offset: -4px; }
  .current-chapter { margin-left: auto; color: var(--blue-ink); font-size: .85rem; text-align: right; }
  .mobile-contents nav { max-height: 55vh; overflow: auto; padding: .2rem 1.25rem .85rem; }
  .mobile-contents a { padding-block: .47rem; }
  .chapter, .project { scroll-margin-top: 4.15rem; }
}
@media (max-width: 32rem) {
  .diagram ol, .diagram.roles ol { grid-template-columns: 1fr; gap: .62rem; }
  .diagram li:not(:last-child)::after { top: 100%; left: 1rem; width: 2px; height: .62rem; transform-origin: center top; }
  .anatomy { grid-template-columns: 1fr; }
  .hero-picture figcaption { font-size: .75rem; }
  .chapter-label { letter-spacing: .1em; }
}
@media print {
  .guide-nav, .masthead-nav, .button, .footer { display: none; }
  .shell { width: 100%; }
  .hero, .guide-layout { display: block; }
  .hero-picture { width: 55%; }
  .chapter + .chapter { margin-top: 1.7rem; padding-top: 1.2rem; }
}

.toggle-group {
  display: inline-flex; flex-wrap: wrap; gap: .2rem; padding: .2rem; margin: 0;
  min-width: 0; border: 1px solid var(--line); border-radius: .45rem; background: var(--surface);
}
.toggle-group label { position: relative; cursor: pointer; }
.toggle-group span {
  display: flex; align-items: center; justify-content: center; min-height: 2.25rem;
  padding: .25rem .63rem; border-radius: .3rem; font-size: .88rem; font-weight: 750; white-space: nowrap;
}
.toggle-group input:checked + span { background: var(--ink); color: var(--white); }
.toggle-group input:focus-visible + span { outline: 2px solid var(--blue-ink); outline-offset: 1px; }
.dark-toggle { background: var(--charcoal); border-color: var(--field-border); }
.dark-toggle input:checked + span { background: var(--blue); color: var(--ink); }
.dark-toggle input:focus-visible + span { outline-color: var(--blue); }

.player-options { margin-top: .62rem; color: var(--surface); }
.player-options summary, .references summary {
  display: flex; align-items: center; justify-content: space-between; gap: .65rem;
  min-height: 2.65rem; font-weight: 750;
}
.player-options summary { color: var(--blue); font-size: .94rem; }
.article .player-options p { color: var(--grey); font-size: .88rem; line-height: 1.44; }

.cost-chart { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--dark-line); }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: .65rem; flex-wrap: wrap; }
.chart-head figcaption { font-size: 1.16rem; font-weight: 750; }
.chart-bar {
  display: flex; height: 1.2rem; overflow: hidden; margin-block: .9rem .65rem;
  border-radius: .18rem; background: var(--charcoal);
}
.chart-bar span { display: block; height: 100%; background: var(--segment); box-shadow: inset -1px 0 color-mix(in srgb, var(--ink) 48%, transparent); }
.cost-hardware { --segment: var(--blue); }
.cost-players { --segment: var(--deep-blue); }
.cost-install { --segment: var(--grey); }
.cost-setup { --segment: var(--orange); }
.cost-software { --segment: var(--violet); }
.cost-content { --segment: var(--surface); }
.chart-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.15rem; margin: 0; }
.chart-legend div { display: flex; gap: .42rem; align-items: baseline; justify-content: space-between; padding-block: .3rem; border-bottom: 1px solid var(--dark-line); }
.chart-legend dt { font-size: .84rem; }
.chart-legend dt::before { content: ""; display: inline-block; width: .47rem; height: .47rem; vertical-align: .06em; margin-right: .34rem; background: var(--segment); }
.chart-legend dd { display: flex; align-items: baseline; gap: .42rem; margin: 0; color: var(--surface); font-size: .85rem; text-align: right; font-variant-numeric: tabular-nums; }
.chart-amount { overflow-wrap: anywhere; }
.chart-share { color: var(--grey); min-width: 3.15em; }

.storefront { margin-block: 1.6rem; overflow: clip; }
.storefront-image { position: relative; aspect-ratio: 1672/941; }
.storefront-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#storefront-on { opacity: 0; }
#storefront-on[aria-hidden="false"] { opacity: 1; }
.storefront-caption { display: flex; justify-content: space-between; align-items: center; gap: .65rem; flex-wrap: wrap; padding: .75rem 1rem; }
.storefront-caption strong { font-size: .99rem; }
.article .storefront-caption p { font-size: .87rem; }
.year-three-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-block: .75rem 0; }
.year-three-notes > div { padding: 1.15rem; border-top: 2px solid var(--blue); }
.year-three-notes h3 { font-size: 1.04rem; line-height: 1.33; margin-bottom: .52rem; }
.article .year-three-notes p { font-size: .96rem; line-height: 1.5; }
.vendor-brief { margin-block: 1.4rem 1.9rem; padding: clamp(1rem, 3vw, 1.5rem); }
.vendor-brief ol { margin: 0; padding-inline-start: 1.4rem; }
.vendor-brief li { padding-inline-start: .3rem; padding-block: .38rem; color: var(--surface); }
.vendor-brief li::marker { color: var(--blue); font-weight: 750; }
.vendor-copy { margin-top: .9rem; }
.scenario-heading { font: 700 clamp(1.4rem, 2.7vw, 1.9rem)/1.18 var(--sans); letter-spacing: -.035em; }
.references { margin-top: 1.2rem; border-block: 1px solid var(--line); }
.references summary { color: var(--blue-ink); padding-inline: .2rem; }
.references ul { font-size: .95rem; color: var(--charcoal); padding-inline-start: 1.4rem; margin: .3rem 0 .9rem; }
.references li + li { margin-top: .25rem; }
@media (max-width: 40rem) {
  .chart-legend { grid-template-columns: 1fr; }
  .storefront-caption { align-items: flex-start; }
  .year-three-notes { grid-template-columns: 1fr; }
}
@media (max-width: 32rem) {
  .glossary dl { grid-template-columns: 1fr; gap: .75rem; }
}
@media print {
  .reading-progress, .toggle-group { display: none; }
}

@keyframes rise-into-view {
  from { opacity: .72; transform: translateY(.75rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes settle-image {
  from { opacity: .55; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes draw-connector {
  from { transform: scale(var(--draw-x, 0), var(--draw-y, 1)); }
  to { transform: scale(1); }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .hero-label, .hero h1, .hero-deck, .hero-actions {
    animation: rise-into-view .55s var(--ease-out) backwards;
  }
  .hero-label::before { animation: draw-connector .62s var(--ease-out) backwards; transform-origin: left center; }
  .hero h1 { animation-delay: 55ms; }
  .hero-deck { animation-delay: 110ms; }
  .hero-actions { animation-delay: 165ms; }
  .hero-picture img { animation: settle-image .7s var(--ease-out) backwards; }
  .card.is-visible, .diagram.is-visible li {
    animation: rise-into-view .5s var(--ease-out) var(--entry-delay, 0ms) backwards;
  }
  .card.is-visible:focus-within { animation: none; }
  .diagram li:nth-child(2) { --entry-delay: 75ms; }
  .diagram li:nth-child(3) { --entry-delay: 150ms; }
  .diagram li:nth-child(4) { --entry-delay: 225ms; }
  .diagram.is-visible li:not(:last-child)::after {
    animation: draw-connector .28s var(--ease-out) calc(var(--entry-delay, 0ms) + 130ms) backwards;
  }
  .button, .toggle-group label span {
    transition: background-color .18s ease, color .18s ease, box-shadow .22s ease, transform .2s var(--ease-out);
  }
  .button:active, .toggle-group label:active span { transform: scale(.975); }
  .chevron { transition: transform .22s var(--ease-out), margin .22s var(--ease-out); }
  .disclosures summary, .check-item { transition: background-color .2s ease, color .2s ease; }
  .disclosures details[open] > .disclosure-body, .mobile-contents[open] > nav {
    animation: rise-into-view .25s var(--ease-out) backwards;
  }
  .chart-bar span { transition: width .48s var(--ease-out); }
  #storefront-on { transition: opacity .55s ease; }
  .checklist progress::-webkit-progress-value { transition: width .28s var(--ease-out); }
  .check-item span { transition: color .2s ease; }
}
@media (max-width: 32rem) {
  .diagram li { --draw-x: 1; --draw-y: 0; }
}
@media (min-width: 53rem) and (prefers-reduced-motion: no-preference) {
  :is(.anatomy, .year-three-notes) > .card:nth-child(3n + 2) { --entry-delay: 65ms; }
  :is(.anatomy, .year-three-notes) > .card:nth-child(3n) { --entry-delay: 130ms; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.anatomy, .year-three-notes) > .card {
    transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
  }
  :is(.anatomy, .year-three-notes) > .card:hover {
    transform: translateY(-3px); border-color: color-mix(in srgb, var(--blue) 58%, var(--card-surface));
    box-shadow: 0 .8rem 1.8rem color-mix(in srgb, var(--ink) 22%, transparent);
  }
  .button:hover { box-shadow: 0 .28rem .62rem color-mix(in srgb, var(--ink) 19%, transparent); }
}
