/* Onespot + Transparent Classroom bundle report
   Layout: sticky co-branded header, a dashboard hero, then TC's requests,
   what's built for the bundle, messaging, payments, and what's new and next. */
:root {
  color-scheme: light;
  /* Onespot */
  --onespot-purple: #5b59d6;
  --onespot-deep: #3f3db8;
  --onespot-yellow: #ffe845;
  --onespot-green: #5ee97b;
  --lavender: #b7a1f9;
  /* Transparent Classroom (sampled from its logo) */
  --tc-blue: #578eb8;

  --color-text: #1c1a3f;
  --color-text-soft: #4a4862;
  --color-text-muted: #6e6c86;
  --color-border: #e6e4f3;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f6fc;
  --color-onespot-tint: #ececfb;
  --color-tc-tint: #e8f1f8;

  --grid: #eeedf6;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(31, 30, 90, .06), 0 12px 32px -12px rgba(31, 30, 90, .18);
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--onespot-purple); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 80px; }
.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; }
.wrap {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--color-text-soft); white-space: nowrap; }
.site-nav a:hover, .site-nav a.on { color: var(--onespot-purple); }

.lockup { --logo-h: 22px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup img { height: var(--logo-h); width: auto; max-width: none; }
.lockup .tc-logo { height: calc(var(--logo-h) * .78); }
.lockup .plus { flex: none; font-size: calc(var(--logo-h) * .85); font-weight: 500; line-height: 1; color: var(--lavender); transform: translateY(-2px); }

/* ---------- Shared ---------- */
.concept-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--color-text-muted);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.concept-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--onespot-green); box-shadow: 0 0 0 2px #dcf9e2; }
.eyebrow { display: inline-block; color: var(--onespot-purple); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--color-bg-alt); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 40px); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.section-head h2 em { font-style: normal; color: var(--onespot-purple); }
.section-head p { margin-top: 12px; color: var(--color-text-soft); font-size: 17px; line-height: 1.55; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; background: #fff; border: 1px solid var(--color-border); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px) clamp(20px, 3.4vw, 40px); }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.cta-band h2 em { font-style: normal; color: var(--onespot-purple); }
.cta-band p { margin-top: 8px; color: var(--color-text-soft); font-size: 17px; line-height: 1.55; }
.cta-band.in-hero { margin-top: 12px; max-width: 860px; padding: 18px clamp(18px, 2.6vw, 28px); }
.cta-band.in-hero .eyebrow { margin-bottom: 4px; }
.cta-band.in-hero h2 { font-size: clamp(20px, 2.2vw, 24px); }
.cta-band.in-hero p { margin-top: 4px; font-size: 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--onespot-purple); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.btn:hover { background: #4846b8; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.tag-live { background: #e3f8e8; color: #17703a; }
.tag-next { background: #fff7c2; color: #6b5a00; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(20px, 2.6vw, 30px); min-width: 0; }
.ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; background: var(--color-onespot-tint); color: var(--onespot-purple); }
.road-list a.ext { color: var(--onespot-purple); text-decoration: none; font-weight: 700; }
.road-list a.ext:hover { text-decoration: underline; }
.road-list a.ext::after { content: " \2197"; font-size: .85em; }
.ic.live { background: #e3f8e8; color: #17703a; }
.ic.next { background: #fff7c2; color: #6b5a00; }
.badge { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--onespot-yellow); color: var(--color-text); display: grid; place-items: center; font-size: 13.5px; font-weight: 800; }

/* ---------- Hero dashboard ---------- */
.hero {
  padding: clamp(32px, 4.5vw, 56px) 0 clamp(36px, 4.5vw, 52px);
  background:
    radial-gradient(900px 520px at 88% 4%, rgba(183, 161, 249, .32), transparent 60%),
    radial-gradient(700px 480px at 2% 96%, rgba(91, 89, 214, .10), transparent 60%),
    linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%);
}
.hero h1 { margin-top: 18px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--onespot-purple); }
.hero .lede { margin-top: 18px; max-width: 620px; font-size: clamp(18px, 1.7vw, 20px); color: var(--color-text-soft); }
.dash { margin-top: clamp(22px, 3vw, 30px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; max-width: 860px; }
.tile { grid-column: span 3; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile.third { grid-column: span 4; }
.tile .t-label { font-size: 12.5px; font-weight: 700; color: var(--color-text-muted); line-height: 1.3; }
.tile .t-val { font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile .t-sub { font-size: 15px; color: var(--color-text-soft); }
.tile .tag { align-self: flex-start; margin-top: 8px; }
.tile.feature { background: linear-gradient(150deg, #5b59d6 0%, #4644c4 100%); border-color: transparent; color: #fff; }
.tile.feature .t-label, .tile.feature .t-sub { color: rgba(255, 255, 255, .88); }
.dash.tight { margin-top: 0; }
a.tile { color: inherit; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
a.tile:hover { transform: translateY(-2px); border-color: var(--lavender); }

/* ---------- TC requests ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { font: 700 14px var(--font); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--color-border); background: #fff; color: var(--color-text-soft); cursor: pointer; }
.filters button b { color: var(--color-text); }
.filters button[aria-pressed="true"] { background: var(--onespot-purple); border-color: var(--onespot-purple); color: #fff; }
.filters button[aria-pressed="true"] b { color: #fff; }
.compare-wrap { border: 1px solid var(--color-border); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare col.rank { width: 64px; }
.compare col.votes { width: 92px; }
.compare col.os { width: 140px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--color-border); vertical-align: middle; text-align: left; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--color-bg-alt); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.compare thead th.os { background: var(--onespot-purple); color: #fff; text-align: center; }
.compare td.os { background: #f6f5fd; text-align: center; }
.compare td.rank { font-weight: 800; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.compare td.votes { font-weight: 700; color: var(--color-text-soft); font-variant-numeric: tabular-nums; }
.compare .req-name { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.compare .req-note { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--color-text-muted); }
.ck { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 15px; background: var(--onespot-purple); }
.ck .icon { stroke-width: 3; }
.ck.half { background: linear-gradient(90deg, var(--onespot-purple) 50%, #d9d8f8 50%); }
.os-label { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--color-text-soft); }
.cell-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff7c2; color: #6b5a00; font-size: 12.5px; font-weight: 700; }
.tc-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--color-tc-tint); color: #2f6690; font-size: 12.5px; font-weight: 700; }
.dashmark { display: inline-block; width: 20px; height: 3px; border-radius: 2px; background: #c6c3d4; vertical-align: middle; }
.tag-tc { background: var(--color-tc-tint); color: #2f6690; }
.tc-break { margin-top: 28px; padding: clamp(20px, 2.6vw, 28px); border-radius: 20px; background: #f7fafd; border: 1px solid #dbe7f1; }
.tc-break h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 18px; font-weight: 800; }
.tc-break p { margin-top: 8px; font-size: 15px; color: var(--color-text-soft); }
.tc-break p.note { margin-top: 2px; font-size: 14px; font-style: italic; color: var(--color-text-muted); }
.tc-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 22px; font-size: 14.5px; line-height: 1.4; }
.tc-list li { display: flex; gap: 8px; min-width: 0; }
.tc-rank { flex: none; width: 30px; font-weight: 800; color: #2f6690; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .tc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tc-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Stats and charts ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: clamp(24px, 3vw, 32px); }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 3px solid var(--onespot-purple); min-width: 0; }
.stat .v { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 14px; color: var(--color-text-soft); line-height: 1.45; }
.chart-card h3 { font-size: 17px; font-weight: 800; }
.chart-card .chart-sub { margin-top: 4px; font-size: 15px; color: var(--color-text-muted); }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 28px; }
.growths { flex: none; display: flex; gap: 10px; }
.growth { display: flex; flex-direction: column; gap: 2px; width: 190px; padding: 10px 16px; border-radius: 14px; background: #f1efff; }
.growth .g-v { font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--onespot-purple); font-variant-numeric: tabular-nums; }
.growth .g-l { font-size: 13px; line-height: 1.35; color: var(--color-text-soft); }
@media (max-width: 960px) { .chart-head { flex-direction: column; } .growths { align-self: stretch; } .growth { flex: 1; width: auto; } }
@media (max-width: 640px) { .growths { flex-direction: column; } .growth { flex-direction: row; align-items: baseline; gap: 10px; } .growth .g-v { flex: none; min-width: 2.4em; } }
.legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--color-text-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; }
.sw-bar { background: var(--onespot-purple); }
.sw-soft { background: #d9d8f8; box-shadow: inset 0 0 0 1.5px var(--onespot-purple); }
.sw-line { width: 22px; height: 3px; border-radius: 2px; background: var(--onespot-purple); }
.sw-dash { width: 22px; height: 0; border-top: 3px dashed var(--onespot-purple); border-radius: 0; background: none; }
.sw-band { width: 22px; height: 12px; border-radius: 3px; background: rgba(91, 89, 214, .16); }
.chart { position: relative; min-width: 0; margin-top: 18px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.chart .baseline { stroke: #d2d0e2; stroke-width: 1; }
.chart .tick { fill: var(--color-text-muted); font: 600 12px var(--font); font-variant-numeric: tabular-nums; }
.chart .tick.year { fill: var(--color-text); font-weight: 700; }
.chart .bar { fill: var(--onespot-purple); }
.chart .bar.soft { fill: #d9d8f8; stroke: var(--onespot-purple); stroke-width: 1.5; }
.chart .hit { fill: transparent; cursor: pointer; outline: none; }
.chart .hl { fill: var(--color-text); opacity: .05; }
.chart .dlabel { fill: var(--color-text); font: 800 13px var(--font); font-variant-numeric: tabular-nums; }
.chart .dlabel.soft { fill: var(--color-text-muted); font-weight: 700; }
.chart .actual { fill: none; stroke: var(--onespot-purple); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .actual-area { fill: url(#pay-fill); }
.chart .proj { fill: none; stroke: var(--onespot-purple); stroke-width: 2.5; stroke-dasharray: 7 6; stroke-linecap: round; }
.chart .band { fill: rgba(91, 89, 214, .13); }
.chart .dot { fill: var(--onespot-purple); stroke: #fff; stroke-width: 2.5; }
.chart .dot.hollow { fill: #fff; stroke: var(--onespot-purple); stroke-width: 2.5; }
.chart .divider { stroke: #c9c7da; stroke-width: 1; stroke-dasharray: 3 4; }
.chart .cross { stroke: var(--color-text-muted); stroke-width: 1; }
.chart .zone { fill: var(--color-text-muted); font: 700 11.5px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.tip { position: absolute; z-index: 5; pointer-events: none; min-width: 170px; max-width: 260px; background: #fff; color: var(--color-text); border: 1px solid var(--color-border); border-radius: 12px; padding: 10px 13px; font-size: 13.5px; line-height: 1.45; box-shadow: var(--shadow); }
.tip .t { font-weight: 800; }
.tip .m { color: var(--color-text-muted); }

/* ---------- Billing from TC forms ---------- */
.subsection { margin-top: clamp(44px, 6vw, 64px); }
.subsection > h3 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; max-width: 720px; }
.subsection > p { margin-top: 10px; max-width: 640px; font-size: 16.5px; color: var(--color-text-soft); }
.shots { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); align-items: start; }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 18px; border: 1px solid #dcd9f5; box-shadow: 0 26px 40px -28px rgba(31, 30, 90, .45); background: #fff; }

/* ---------- What's new and next ---------- */
.road { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.road-card h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; }
.road-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
.road-list li { display: flex; gap: 16px; align-items: flex-start; }
.road-list strong { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.35; }
.road-list li > div > span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--color-text-soft); }

/* ---------- Ratios (TC Attendance & Hours) ---------- */
.ratio-demo { --ok: #3f8a52; --bad: #b8434f; --amber: #a8692a; background: #fff; border: 1px solid var(--color-border); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(18px, 2.6vw, 28px); display: grid; gap: 16px; }
.rd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rd-head h3 { font-size: 18px; font-weight: 800; }
.rd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; }
.rd-stats > div { padding: 14px 16px; border-right: 1px solid var(--color-border); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.rd-stats > div:last-child { border-right: 0; }
.rd-stats .k { flex-basis: 100%; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.rd-stats b { font-size: 28px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rd-stats b.bad { color: var(--bad); }
.rd-stats b.warn { color: var(--amber); }
.rd-stats .of { font-size: 14px; color: var(--color-text-muted); }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.room { border: 1.5px solid var(--ok); border-left-width: 6px; border-radius: 14px; padding: 14px 16px; display: grid; gap: 12px; min-width: 0; transition: border-color .2s ease; }
.room.bad { border-color: var(--bad); }
.room-head { display: flex; gap: 12px; align-items: center; }
.room-head h4, .rooms-empty h4 { margin: 0; font-size: 17px; font-weight: 800; }
.room-status { font-size: 14.5px; font-weight: 600; color: var(--ok); }
.room.bad .room-status { color: var(--bad); }
.ring { width: 40px; height: 40px; flex: none; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e8e6f2; stroke-width: 5; }
.ring-fg { fill: none; stroke: var(--ok); stroke-width: 5; stroke-linecap: round; transition: stroke-dasharray .3s ease, stroke .2s ease; }
.room.bad .ring-fg { stroke: var(--bad); }
.room-nums { display: flex; gap: 36px; }
.room-nums .k { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.kids { font-size: 14px; color: var(--color-text-muted); }
.kids b { font-size: 24px; font-weight: 800; color: var(--color-text); }
.kids b.over { color: var(--bad); }
.kids b.full { color: var(--amber); }
.staff-ctl { display: inline-flex; align-items: center; gap: 10px; }
.staff-ctl b { font-size: 22px; font-weight: 800; min-width: 1ch; text-align: center; font-variant-numeric: tabular-nums; }
.staff-ctl button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--color-border); background: #fff; color: var(--onespot-purple); font: 700 18px/1 var(--font); cursor: pointer; display: grid; place-items: center; }
.staff-ctl button:hover { border-color: var(--onespot-purple); }
.rooms-empty { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--color-border); border-left-width: 6px; border-radius: 14px; background: var(--color-bg-alt); color: var(--color-text-muted); }
.rooms-empty h4 { color: var(--color-text-muted); }
.rooms-empty p { font-size: 14.5px; }
@media (max-width: 760px) {
  .rd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-stats > div:nth-child(2) { border-right: 0; }
  .rd-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .rooms { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .room, .ring-fg { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .site-nav ul { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .road { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .tile { grid-column: span 6; }
}
@media (max-width: 640px) {
  .tile.third { grid-column: span 12; }
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .site-header .wrap { height: 60px; }
  .site-header .lockup { --logo-h: 18px; gap: 8px; }
  .stats.three { grid-template-columns: minmax(0, 1fr); }
  .compare col.rank { width: 40px; }
  .compare col.votes { width: 60px; }
  .compare col.os { width: 84px; }
  .compare th, .compare td { padding: 14px 8px; }
  .compare thead th { font-size: 11px; letter-spacing: .02em; }
  .compare .req-name { font-size: 15px; }
  .compare .req-note { font-size: 13.5px; }
  .ck { width: 28px; height: 28px; font-size: 15px; }
  .os-label { font-size: 11px; }
  .cell-pill, .tc-pill { font-size: 11px; padding: 3px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.tile { transition: none; }
  a.tile:hover { transform: none; }
}
