/* THE STATE OF MOBILE IV 2026 (/reports/state-of-mobile-iv-2026, 2026-10-20): OMG's yearly industry report.
   A research report in the site's own language: ink hero with the data it is built on, the five findings as big
   numbers each beside a small chart that proves it, then one chapter per topic (chart on an ink card, then "What to
   do about it"), the method, the citation line. Every chart is HTML or inline SVG, bars from zero, each with its window
   and sample under it. Values are always printed; the only motion is bars growing in when motion is allowed. */

:root { --rp-bar: #6e6e76; --rp-track: rgba(255, 255, 255, .07); --rp-rule: rgba(255, 255, 255, .3); }

/* ---------- hero: the title and what it is built on ---------- */
.rp-hero .pg-hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.rp-tag { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.rp-tag span { padding: 7px 12px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .38); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.rp-tag span:first-child { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.rp-hero h1 { font-size: clamp(2.5rem, 5.3vw, 5.5rem); max-width: 12ch; }
.rp-data { padding: clamp(22px, 2.6vw, 36px); border-radius: 26px; background: var(--ink-2); border: 1px solid var(--line-d); text-align: left; }
.rp-data-k { font: 700 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.rp-data ul { margin-top: 12px; }
.rp-data li { display: grid; grid-template-columns: minmax(150px, .6fr) minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line-d); }
.rp-data b { font-family: var(--wide); font-weight: 800; font-size: clamp(1.6rem, 2.5vw, 2.4rem); letter-spacing: -.05em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.rp-data li span { font-size: 14.5px; line-height: 1.4; color: #c9c8cd; }
.rp-data-n { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 13px; line-height: 1.5; color: var(--mute-d); }

/* ---------- sections ---------- */
.rp-sec { padding: clamp(76px, 8.5vw, 124px) var(--gut); }
.rp-in { max-width: var(--max); margin: 0 auto; }
.rp-white { background: #fff; }
.rp-bone { background: var(--bone); }
.rp-head { max-width: 900px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.rp-head .kick { justify-content: center; }
.rp-head p:not(.kick) { margin: 16px auto 0; max-width: 62ch; color: var(--mute); font-size: 1.05rem; }

/* ---------- THE FIVE FINDINGS: one big number, one plain sentence, one small chart that proves it ---------- */
.rp-five { border-bottom: 2px solid var(--ink); }
.rp-f { display: grid; grid-template-columns: 44px minmax(0, 330px) minmax(0, 1fr) minmax(0, 370px); gap: 0 clamp(20px, 2.6vw, 44px); align-items: center; padding: clamp(26px, 3vw, 40px) 0; border-top: 2px solid var(--ink); }
.rp-f-n { align-self: start; padding-top: 14px; font: 700 13px/1 var(--sans); letter-spacing: .12em; color: var(--aqua-ink); }
.rp-f-big { font-family: var(--wide); font-weight: 800; font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .95; letter-spacing: -.065em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-f-say { font-family: var(--wide); font-weight: 600; font-size: clamp(1.12rem, 1.55vw, 1.48rem); line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.rp-f-sub { margin-top: 10px; max-width: 52ch; color: #4a4844; font-size: 15.5px; line-height: 1.5; }
.rp-f .more { margin-top: 14px; font-size: 14px; }
.rp-viz { padding: 16px 18px 14px; border-radius: 18px; background: var(--ink); color: var(--bone); }
.rp-viz-t { margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }

/* 44.7% of patients who text book, and why the rest don't */
.rp-tb { margin-top: clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 3.4vw, 48px); border-radius: 28px; background: var(--ink); color: var(--bone); }
.rp-tb-k { font: 700 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.rp-tb-big { margin-top: 12px; font-family: var(--wide); font-weight: 800; font-size: clamp(3.2rem, 6.4vw, 6.4rem); line-height: .95; letter-spacing: -.065em; color: var(--aqua); }
.rp-tb-say { margin-top: 12px; font-family: var(--wide); font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.25; letter-spacing: -.025em; color: #fff; }
.rp-tb-why > p { margin-bottom: 14px; font-size: 15px; color: #c9c8cd; }
.rp-tb .more { margin-top: 18px; font-size: 14px; }

/* ---------- inside the report ---------- */
.rp-toc ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rp-toc a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 20px 22px; border-radius: 20px; background: var(--bone); transition: transform .2s, background .2s; }
.rp-toc a:hover { transform: translateY(-3px); background: var(--bone-2); }
.rp-toc-n { font: 700 12.5px/1 var(--sans); letter-spacing: .12em; color: var(--aqua-ink); }
.rp-toc b { font-family: var(--wide); font-weight: 700; font-size: 1.02rem; line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; }
.rp-toc-s { margin-top: auto; font-size: 14px; line-height: 1.4; color: #4a4844; }
.rp-toc .rp-toc-ink a { background: var(--ink); color: var(--bone); }
.rp-toc .rp-toc-ink a:hover { background: var(--ink-3); }
.rp-toc .rp-toc-ink .rp-toc-n { color: var(--aqua); }
.rp-toc .rp-toc-ink .rp-toc-s { color: #c9c8cd; }

/* ---------- a chapter ---------- */
.rp-ch { scroll-margin-top: 70px; }
.rp-ch-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "head charts" "do do"; gap: clamp(28px, 3.2vw, 44px) clamp(32px, 4.6vw, 76px); align-items: center; }
.rp-ch-head { grid-area: head; }
.rp-ch-charts { grid-area: charts; display: grid; gap: 16px; }
.rp-do { grid-area: do; align-self: start; }
.rp-ch-k { display: flex; align-items: center; gap: 12px; font: 700 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.rp-ch-k span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--aqua); font-size: 13px; letter-spacing: .04em; }
.rp-ch h2 { margin-top: 18px; font-size: clamp(1.85rem, 3.1vw, 3rem); line-height: 1.06; text-wrap: balance; }
.rp-ch-lede { margin-top: 18px; display: grid; gap: .8em; color: #33322f; font-size: 1.04rem; line-height: 1.62; max-width: 62ch; }
.rp-ch-lede b { color: var(--ink); }
/* the wide chapters: words across the top, charts the full width, what to do underneath */
.rp-ch-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "charts charts" "do do"; }
.rp-ch-wide .rp-ch-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 4.6vw, 76px); align-items: end; }
.rp-ch-wide .rp-ch-lede { margin-top: 0; }
.rp-ch-wide .rp-ch-charts { grid-template-columns: minmax(0, 1fr) minmax(0, 2.25fr); align-items: stretch; }
.rp-ch-wide .rp-ch-charts > .rp-full { grid-column: 1 / -1; }

/* what to do about it */
.rp-do { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(24px, 3vw, 52px); padding: clamp(20px, 2.4vw, 30px); border-radius: 22px; background: var(--bone); border-left: 5px solid var(--aqua); }
.rp-bone .rp-do { background: #fff; }
.rp-do-k { grid-column: 1; grid-row: 1; font: 700 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--aqua-ink); }
.rp-do ul { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 30px; }
.rp-do li { position: relative; padding-left: 30px; color: #2a2926; font-size: 15.5px; line-height: 1.5; }
.rp-do li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%2322e0cf' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.rp-do-go { grid-column: 1; grid-row: 2; margin-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rp-do-go .more { font-size: 14.5px; }
.rp-legal { grid-column: 1 / -1; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--mute); }

/* ---------- chart cards ---------- */
.rp-chart { margin: 0; display: flex; flex-direction: column; padding: clamp(18px, 2vw, 26px); border-radius: 22px; background: var(--ink); color: var(--bone); min-width: 0; }
.rp-ct { font: 700 12.5px/1.35 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.rp-cs { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--mute-d); }
.rp-src { margin-top: auto; padding-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--mute-d); }
.rp-src::before { content: ''; display: block; height: 1px; margin-bottom: 12px; background: var(--line-d); }
.rp-key { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: #c9c8cd; }
.rp-key li { display: inline-flex; align-items: center; gap: 8px; }
.rp-key i { width: 12px; height: 12px; border-radius: 3px; background: var(--rp-bar); }
.rp-key i.hi { background: var(--aqua); }
.rp-key i.mk { background: #e7e6ea; }
.rp-key b { color: #fff; }

/* columns: days of the week and hours of the day. --v is the value, --max the tallest, --h the drawing height */
.rp-cols { --h: 170px; --gap: 6px; margin-top: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 var(--gap); align-items: end; }
.rp-cols li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.rp-cols b { margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-cols i { --grow: scaleY(0); display: block; width: 100%; height: calc(var(--v) / var(--max) * var(--h)); border-radius: 4px 4px 0 0; background: var(--rp-bar); transform-origin: bottom; }
.rp-cols .hi i { background: var(--aqua); }
.rp-cols .hi b { color: var(--aqua); }
.rp-x { align-self: stretch; margin: 0 calc(var(--gap) / -2); padding-top: 8px; border-top: 1px solid var(--rp-rule); text-align: center; font-size: 12px; font-weight: 600; line-height: 1.3; color: #c9c8cd; white-space: nowrap; }
.rp-x small { display: block; font-size: 11.5px; font-weight: 500; color: var(--mute-d); }
.rp-cols-24 { --gap: 4px; --h: 190px; }
.rp-cols-24 b, .rp-cols-24 .rp-x { font-size: 11px; letter-spacing: -.01em; }
.rp-cols-wrap { position: relative; }
.rp-band { position: absolute; top: 0; left: calc((100% + var(--gap, 4px)) * var(--from) / 24); width: calc((100% + var(--gap, 4px)) * var(--n) / 24 - var(--gap, 4px)); padding-top: 4px; border-top: 2px solid var(--aqua); text-align: center; font-size: 12.5px; font-weight: 700; color: var(--aqua); white-space: nowrap; }
.rp-cols-wrap.rp-has-band { padding-top: 34px; }
.rp-cols-wrap.rp-has-band .rp-cols { margin-top: 0; }

/* horizontal bars: reasons and search words */
.rp-hb { margin-top: 18px; display: grid; gap: 10px; }
.rp-hb li { display: grid; grid-template-columns: minmax(0, 15.5em) minmax(0, 1fr) 4.2em 3.6em; gap: 12px; align-items: center; font-size: 14px; line-height: 1.3; color: #d4d3d7; }
.rp-hb-t { position: relative; height: 22px; border-radius: 4px; background: var(--rp-track); }
.rp-hb-t i { --grow: scaleX(0); position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) / var(--max) * 100%); min-width: 2px; border-radius: 4px; background: var(--rp-bar); transform-origin: left; }
.rp-hb .hi .rp-hb-t i { background: var(--aqua); }
.rp-hb .mk .rp-hb-t i { background: #e7e6ea; }
.rp-hb b { text-align: right; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.rp-hb .hi b { color: var(--aqua); }
.rp-hb small { text-align: right; font-size: 12.5px; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.rp-hb-3 li { grid-template-columns: minmax(0, 15.5em) minmax(0, 1fr) 4.2em; }

/* a whole split into its parts, as one bar */
.rp-stack { margin-top: 16px; display: flex; height: 44px; border-radius: 8px; overflow: hidden; background: var(--rp-track); }
.rp-stack i { --grow: scaleX(0); flex: 0 0 calc(var(--w) * 1%); background: var(--rp-bar); border-right: 2px solid var(--ink); transform-origin: left; }
.rp-stack i:last-child { border-right: 0; }
.rp-stack i.hi { background: var(--aqua); }
.rp-stack i.mk { background: #e7e6ea; }
.rp-stack i.rest { flex: 1 1 auto; background: var(--rp-bar); }
.rp-stack-l { margin-top: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; font-weight: 600; color: #c9c8cd; }
.rp-stack-l:first-of-type { margin-top: 20px; }
.rp-stack-l b { font-family: var(--wide); font-size: 1.35rem; letter-spacing: -.04em; color: var(--aqua); }
.rp-stack + .rp-stack-l { margin-top: 22px; }

/* the line: median cost per click by month (drawn in SVG, its labels in HTML so they stay readable on a phone) */
.rp-plot { position: relative; height: 250px; margin: 26px 0 0 34px; }
.rp-gl { position: absolute; left: 0; right: 0; bottom: calc(var(--y) * 1%); height: 0; border-top: 1px solid var(--line-d); }
.rp-gl span { position: absolute; right: calc(100% + 8px); top: -8px; font-size: 11.5px; color: var(--mute-d); }
.rp-gl.z { border-top-color: var(--rp-rule); }
.rp-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rp-plot .area { fill: rgba(34, 224, 207, .12); }
.rp-plot .stroke { fill: none; stroke: var(--aqua); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.rp-pt { position: absolute; left: calc((var(--i) + .5) / 12 * 100%); bottom: calc(var(--y) * 1%); width: 12px; height: 12px; margin: 0 0 -6px -6px; border-radius: 50%; background: var(--ink); border: 3px solid var(--aqua); }
.rp-pt.hi { width: 16px; height: 16px; margin: 0 0 -8px -8px; background: var(--aqua); border-color: #fff; }
.rp-call { position: absolute; left: calc((var(--i) + .5) / 12 * 100%); bottom: calc(var(--y) * 1% + 16px); transform: translateX(-50%); padding: 5px 9px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-align: center; }
.rp-call.low { bottom: auto; top: calc(100% - var(--y) * 1% + 16px); }
.rp-call.right { transform: translateX(-88%); }
.rp-months { margin: 12px 0 0 34px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.rp-months li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 8px; border-top: 1px solid var(--rp-rule); text-align: center; font-size: 12px; line-height: 1.25; color: #c9c8cd; }
.rp-months b { font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.rp-months .hi b { color: var(--aqua); }
.rp-months small { font-size: 11px; color: var(--mute-d); }

/* a single number on a chart card */
.rp-num { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rp-num > div { padding: 18px 16px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-d); }
.rp-num b { display: block; font-family: var(--wide); font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.055em; color: var(--aqua); }
.rp-num span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: #c9c8cd; }
.rp-stars { display: flex; gap: 4px; margin-top: 10px; }
.rp-stars svg { width: 20px; height: 20px; fill: #f2b300; }

/* clearance: request to cleared */
.rp-clock { margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.rp-clock-e { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #c9c8cd; text-align: center; }
.rp-clock-e i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--aqua); }
.rp-clock-e.end i { background: var(--aqua); }
.rp-clock-m { position: relative; height: 3px; }
.rp-clock-m::before { content: ''; position: absolute; inset: 0; background: var(--aqua); border-radius: 2px; }
.rp-clock-m span { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-family: var(--wide); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -.06em; line-height: 1; color: #fff; white-space: nowrap; }
.rp-clock-m small { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); font-size: 13px; font-weight: 600; color: var(--aqua); white-space: nowrap; }
.rp-clock { padding-top: 76px; padding-bottom: 30px; }

/* the small charts beside the five findings */
.rp-viz .rp-hb { margin-top: 0; gap: 8px; }
.rp-viz .rp-hb li { grid-template-columns: minmax(0, 7.6em) minmax(0, 1fr) 3.6em; font-size: 13px; gap: 10px; }
.rp-viz .rp-hb-t { height: 18px; }
.rp-viz .rp-stack { margin-top: 0; height: 34px; }
.rp-viz .rp-key { margin-top: 10px; font-size: 12.5px; }
.rp-viz .rp-cols { --h: 62px; --gap: 2px; margin-top: 0; }
.rp-viz .rp-cols i { border-radius: 2px 2px 0 0; }
.rp-viz .rp-cols-wrap.rp-has-band { padding-top: 26px; }
.rp-viz .rp-band { font-size: 11.5px; }
.rp-ticks { margin-top: 6px; display: flex; justify-content: space-between; padding-top: 6px; border-top: 1px solid var(--rp-rule); font-size: 11.5px; color: var(--mute-d); }
.rp-spark { display: block; width: 100%; height: auto; }
.rp-spark .base { stroke: var(--rp-rule); stroke-width: 1; }
.rp-spark .stroke { fill: none; stroke: var(--aqua); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rp-spark .area { fill: rgba(34, 224, 207, .12); }
.rp-spark circle { fill: var(--aqua); stroke: var(--ink); stroke-width: 2; }
.rp-spark text { font: 700 11px var(--sans); fill: #fff; }
.rp-spark text.m { font-weight: 500; fill: var(--mute-d); }

/* ---------- quick answers ---------- */
.rp-qa .faq-col summary { font-size: 16.5px; }
.rp-qa .faq-col details p { max-width: 60ch; }

/* ---------- how we made this ---------- */
.rp-method { display: grid; gap: clamp(40px, 4.4vw, 60px); }
.rp-m-h { font-family: var(--wide); font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; }
.rp-m-p { margin-top: 10px; color: #33322f; font-size: 15.5px; line-height: 1.6; }
.rp-srcs { margin-top: 16px; border-top: 2px solid var(--ink); }
.rp-srcs li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 4px 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: #33322f; }
.rp-srcs li.rp-srcs-h { padding: 10px 0; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.rp-srcs b { color: var(--ink); }
.rp-defs { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); border-top: 2px solid var(--ink); }
.rp-defs > div { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.rp-defs dt { font-weight: 700; font-size: 15px; color: var(--ink); }
.rp-defs dd { margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: #3f3e3b; }
.rp-m-side { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.rp-m-card { padding: clamp(20px, 2.2vw, 28px); border-radius: 22px; background: var(--bone); }
.rp-m-card.ink { background: var(--ink); color: var(--bone); }
.rp-m-card.ink .rp-m-h { color: #fff; }
.rp-m-card.ink .rp-m-p { color: #c9c8cd; }
.rp-m-card ul { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(18px, 2.2vw, 32px); }
.rp-m-card li { font-size: 14.5px; line-height: 1.55; color: #3f3e3b; }
.rp-m-card li b { display: block; color: var(--ink); font-size: 15px; }
.rp-m-legal { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--mute-d); }

/* cite this report */
.rp-cite { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(26px, 3.4vw, 48px); border-radius: 28px; background: var(--ink); color: var(--bone); }
.rp-cite .kick { margin-bottom: 14px; color: #fff; }
.rp-cite h2 em { color: var(--aqua); }
.rp-cite h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); }
.rp-cite-p { margin-top: 12px; font-size: 15.5px; line-height: 1.5; color: #c9c8cd; }
.rp-cite-p a { color: #fff; text-decoration-color: var(--aqua); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rp-cite-box { padding: 20px 22px; border-radius: 18px; background: #fff; }
.rp-cite-line { font: 500 16px/1.55 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.rp-cite-acts { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rp-method + .rp-cite { margin-top: clamp(40px, 4.4vw, 60px); }
.rp-cite-acts .btn { min-height: 46px; padding: 0 20px; font-size: 14px; }
.rp-cite-ok { font-size: 14px; font-weight: 700; color: var(--aqua-ink); }

/* bars grow in when they reach the screen, only when the phone allows motion; every value is printed either way */
@media (prefers-reduced-motion: no-preference) {
  .rp-anim .rp-cols i, .rp-anim .rp-hb-t i, .rp-anim .rp-stack i { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
  .rp-anim .rp-g:not(.in) .rp-cols i, .rp-anim .rp-g:not(.in) .rp-hb-t i, .rp-anim .rp-g:not(.in) .rp-stack i { transform: var(--grow); }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1280px) {
  .rp-f { grid-template-columns: 40px minmax(0, 280px) minmax(0, 1fr) minmax(0, 330px); }
  .rp-toc ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .rp-hero .pg-hero-in { grid-template-columns: 1fr; }
  .rp-hero h1 { margin-left: auto; margin-right: auto; }
  .rp-data { max-width: 640px; width: 100%; margin: 0 auto; }
  .rp-f { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 360px); grid-template-areas: "n big viz" "n say viz"; align-items: start; }
  .rp-f-n { grid-area: n; }
  .rp-f-big { grid-area: big; }
  .rp-f-txt { grid-area: say; margin-top: 14px; }
  .rp-viz { grid-area: viz; align-self: center; }
  .rp-toc ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-ch-in, .rp-ch-wide { grid-template-columns: 1fr; grid-template-areas: "head" "charts" "do"; }
  .rp-ch-wide .rp-ch-head { grid-template-columns: 1fr; }
  .rp-ch-wide .rp-ch-lede { margin-top: 18px; }
  .rp-defs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-m-side { grid-template-columns: 1fr; }
  .rp-cite { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .rp-f { grid-template-columns: 34px minmax(0, 1fr) minmax(0, 290px); } /* chart stays beside the sentence: stacked, it left half the row blank */
  .rp-tb { grid-template-columns: 1fr; }
  .rp-ch-wide .rp-ch-charts { grid-template-columns: 1fr; }
  .rp-cols-24 b, .rp-cols-24 .rp-x { font-size: 10px; letter-spacing: -.02em; }
  .rp-srcs li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rp-srcs li.rp-srcs-h { display: none; }
  .rp-srcs li > :first-child { grid-column: 1 / -1; }
  .rp-do { grid-template-columns: 1fr; grid-template-rows: none; }
  .rp-do-k, .rp-do ul, .rp-do-go { grid-column: 1; grid-row: auto; }
  .rp-do ul { margin-top: 12px; grid-template-columns: 1fr; gap: 10px; }
  .rp-m-card ul { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .rp-hero .pg-acts .btn { flex: 1 1 100%; }
  .rp-data li { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 14px; }
  .rp-f { grid-template-columns: 1fr; grid-template-areas: "n" "big" "say" "viz"; }
  .rp-f-n { padding-top: 0; margin-bottom: 10px; }
  .rp-f-txt { margin-top: 12px; }
  .rp-viz { max-width: none; margin-top: 18px; }
  .rp-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rp-toc a { padding: 16px 16px 18px; }
  .rp-toc b { font-size: .95rem; }
  .rp-ch h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .rp-ch-lede { font-size: 1rem; }
  .rp-do li { font-size: 15px; }
  /* the 24 hours become 24 rows on a phone, each with its value */
  .rp-cols-24 { grid-auto-flow: row; grid-template-columns: 1fr; gap: 3px; margin-top: 16px; }
  .rp-cols-24 li { display: grid; grid-template-columns: 3.6em minmax(0, 1fr) 3.4em; gap: 10px; align-items: center; }
  .rp-cols-24 li .rp-x { order: -1; margin: 0; padding: 0; border: 0; text-align: left; font-size: 12.5px; letter-spacing: 0; }
  .rp-cols-24 li i { --grow: scaleX(0); order: 0; width: calc(var(--v) / var(--max) * 100%); min-width: 2px; height: 15px; border-radius: 0 3px 3px 0; transform-origin: left; }
  .rp-cols-24 li b { order: 1; margin: 0; text-align: right; font-size: 12.5px; letter-spacing: 0; }
  .rp-ch-charts .rp-cols-wrap.rp-has-band { padding-top: 0; }
  .rp-ch-charts .rp-band { display: none; }
  .rp-cols:not(.rp-cols-24) b { font-size: 11px; }
  .rp-x { font-size: 11px; }
  .rp-x small { font-size: 10.5px; }
  .rp-hb li { grid-template-columns: minmax(0, 1fr) 4em 3.4em; gap: 4px 10px; font-size: 13.5px; }
  .rp-hb li > :first-child { grid-column: 1 / -1; }
  .rp-hb-3 li { grid-template-columns: minmax(0, 1fr) 4em; }
  .rp-viz .rp-hb li { grid-template-columns: minmax(0, 7em) minmax(0, 1fr) 3.4em; }
  .rp-viz .rp-hb li > :first-child { grid-column: auto; }
  .rp-plot { height: 200px; margin-left: 30px; }
  .rp-months { margin-left: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 12px; }
  .rp-months .rp-yr { display: none; } /* the caption names the years; a year here wraps one column out of line */
  .rp-call { font-size: 11px; padding: 4px 7px; }
  .rp-num { grid-template-columns: 1fr 1fr; }
  .rp-num > div { padding: 14px 12px; }
  .rp-srcs li { grid-template-columns: 1fr; }
  .rp-defs { grid-template-columns: 1fr; }
  .rp-cite-box { padding: 16px; }
  .rp-cite-line { font-size: 15px; }
}

/* the narrowest phones: six months a row runs the "accounts" labels together, so four a row */
@media (max-width: 440px) {
  .rp-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
