@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Mulish:wght@400..900&display=swap');

:root {
  color-scheme: light;
  --ink: #0A0B0D;
  --teal: #14665F;
  --coral: #FF6F5E;
  --paper: #F1EEE8;
  --line: color-mix(in srgb, var(--ink) 28%, var(--paper));
  --muted: color-mix(in srgb, var(--ink) 67%, var(--paper));
  --body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --editorial: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
body { color: var(--ink); background: var(--paper); font: 400 1rem/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
input { font: inherit; }
h1, h2, h3, .wordmark { font-family: var(--display); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 3; padding: 9px 13px; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 112px, 1280px); margin-inline: auto; }

.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .21em; width: fit-content; color: var(--ink); font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -.065em; }
.wordmark-logo { display: block; flex: none; height: 1.2em; width: auto; aspect-ratio: 849.51 / 207.25; fill: currentColor; }
.logo-sprite { position: absolute; }
.site-description, .back-link { font-size: .875rem; font-weight: 600; }
.site-description { color: var(--teal); }
.back-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 19px; color: var(--muted); }
.site-footer small { font-size: .79rem; }

.report { padding-block: 70px 76px; }
.report-intro { margin-bottom: 38px; }
.report-label { margin-bottom: 17px; color: var(--teal); font-size: .88rem; font-weight: 700; }
.report-intro h1 { font-family: var(--editorial); font-size: clamp(54px, 7.25vw, 106px); font-weight: 400; line-height: .91; letter-spacing: -.025em; text-wrap: balance; }
.report-intro > p:last-child { max-width: 55ch; margin-top: 20px; color: var(--muted); font-size: 1.14rem; }
.report-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--line); }
.report-nav a { min-height: 47px; display: flex; align-items: center; padding: 6px 2px; border-bottom: 3px solid transparent; color: var(--muted); font-size: .96rem; font-weight: 600; }
.report-nav a:hover { color: var(--ink); }
.report-nav a[aria-selected='true'] { border-color: var(--teal); color: var(--teal); }
.report-finding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 7%; align-items: center; padding: 38px 0 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.report-finding:focus-visible { outline-offset: 4px; }
.priority { margin-bottom: 7px; color: var(--teal); font-size: .84rem; font-weight: 700; }
.report h2 { font-size: clamp(2.05rem, 4.6vw, 4.15rem); line-height: 1.01; letter-spacing: -.062em; font-weight: 700; }
.finding-copy > p:last-of-type { max-width: 48ch; margin-top: 14px; color: var(--muted); }
.finding-copy p strong { color: var(--ink); }
.finding-action { margin-top: 21px; padding: 3px 0 4px 13px; border-left: 3px solid var(--coral); }
.finding-action h3 { padding-bottom: 3px; font-size: 1rem; font-weight: 700; }
.finding-action p { max-width: 48ch; }
.graph { min-width: 0; padding: 19px 18px 13px; background: color-mix(in srgb, var(--paper) 92%, var(--teal)); border-radius: 3px; }
.graph-header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .87rem; font-weight: 700; }
.graph-header output { color: var(--teal); font-size: .84rem; font-variant-numeric: tabular-nums; }
.plot { display: grid; grid-template-columns: 35px minmax(0, 1fr); margin-top: 12px; }
.plot-labels { display: flex; align-items: start; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: .7rem; line-height: 1; }
.plot-area { position: relative; height: 103px; margin-inline: 7px; }
#retention-chart { display: block; width: 100%; height: 100%; }
#retention-position { position: absolute; inset: 0 -7px; width: calc(100% + 14px); height: 100%; margin: 0; appearance: none; background: transparent; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
#retention-position::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; }
#retention-position::-moz-range-thumb { width: 18px; height: 18px; border: 0; }
.plot-area:has(:focus-visible) { outline: 2px solid var(--teal); outline-offset: 3px; }
.plot-times { display: flex; justify-content: space-between; margin: 2px 7px 0 42px; color: var(--muted); font-size: .73rem; }
.graph-instructions { margin-top: 9px; color: var(--muted); font-size: .8rem; }
.evidence-note { min-width: 0; padding: 20px 21px; background: color-mix(in srgb, var(--paper) 92%, var(--teal)); border-radius: 3px; }
.evidence-note > div + div { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.evidence-note dt { color: var(--teal); font-size: .83rem; font-weight: 700; }
.evidence-note dd { margin-top: 3px; font-weight: 600; }
.audience-evidence { display: flex; gap: 18px; align-items: center; }
.audience-evidence strong { color: var(--teal); font: 700 4.2rem/.95 var(--display); letter-spacing: -.07em; }
.audience-evidence p { max-width: 26ch; font-size: .92rem; }
.plan { margin-top: 43px; }
.plan ol { list-style: none; padding: 0; margin-top: 22px; max-width: 720px; }
.plan li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.plan li:last-child { border-bottom: 1px solid var(--line); }
.plan li span { color: var(--teal); font-weight: 700; }

@media (max-width: 1000px) {
  .shell { width: min(100% - 64px, 1280px); }
}
@media (max-width: 730px) {
  .shell { width: min(100% - 40px, 560px); }
  .site-header { min-height: 64px; }
  .wordmark { font-size: 1.95rem; }
  .site-description { font-size: .78rem; }
  .report { padding-block: 43px 50px; }
  .report-intro { margin-bottom: 25px; }
  .report-intro h1 { font-size: clamp(47px, 9.6vw, 65px); }
  .report-intro > p:last-child { margin-top: 13px; font-size: 1.02rem; }
  .report-nav { gap: 0 13px; }
  .report-nav a { font-size: .82rem; }
  .report-finding { grid-template-columns: 1fr; gap: 22px; padding: 26px 0 30px; }
  .plan li { grid-template-columns: 82px 1fr; gap: 8px; font-size: .9rem; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 30px); }
  .report-nav { gap: 0 9px; }
  .report-nav a { font-size: .77rem; }
}
