/* The audience pages (start, schools, campaigns, newsrooms, students): standalone, phone first. Same floating dock and tokens as the rest of the site (style.css). */
body:not(.shell) { padding: 0; background: var(--bg); }
.top { position: sticky; top: 10px; z-index: 30; width: min(1240px, calc(100% - 24px)); margin: 10px auto 0; border-radius: 20px; color: var(--text);
  background: color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 0 0 1px var(--ring), var(--shadow-1); }
.top .in { max-width: none; margin: 0 auto; padding: 8px 10px; padding-inline-start: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.top .brand { text-decoration: none; margin-inline-end: auto; display: flex; align-items: center; gap: 10px; }
.top .brand .logo-mark { width: 36px; height: 36px; }
.top .themebtn { order: 1; } .top .btn { order: 1; }
.top .brand b { font: 650 19px/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); display: block; }
.top .brand small { display: none; }
.top .links { position: relative; display: flex; gap: 2px; flex-wrap: wrap; row-gap: 2px; order: 3; width: 100%; }
.top .links::-webkit-scrollbar { display: none; }
@media (max-width: 819px) { .top .links a { padding: 8px 12px; min-height: 38px; } }
.top .links a { position: relative; z-index: 1; color: var(--text-dim); text-decoration: none; font-size: 14.5px; font-weight: 550; padding: 9px 14px; border-radius: 12px; white-space: nowrap; border: 0; min-height: 40px; display: inline-flex; align-items: center; transition: color .2s; }
.top .links a:hover { color: var(--ink); background: transparent; }
.top .links a[aria-current="page"] { color: var(--ink); }
.top .links .pill-i { top: 0; height: 100%; }
.top .btn { padding: 0 16px; min-height: 40px; font-size: 14px; border-radius: 12px; }
.top .themebtn { background: transparent; color: var(--text-dim); border: 0; box-shadow: 0 0 0 1px var(--ring-2); border-radius: 12px; padding: 0 13px; min-height: 40px; font-size: 13.5px; font-weight: 550; white-space: nowrap; }
.top .themebtn:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 819px) { .top .in { gap: 8px; padding-inline-start: 12px; } .top .btn { padding: 0 12px; } .top .themebtn { padding: 0 11px; } }
@media (min-width: 820px) { .top .links { order: 0; width: auto; } .top .brand { margin-inline-end: 12px; } .top .in { flex-wrap: nowrap; } .top .btn { margin-inline-start: auto; } }

/* the opening: a dark tray inside the page, rounded, with a soft light and one idea */
.hero { width: min(1240px, calc(100% - 24px)); margin: 12px auto 0; border-radius: var(--r-xl); color: var(--on-panel, #dcefeb); padding: clamp(30px, 7vw, 76px) clamp(18px, 5vw, 60px) clamp(34px, 7vw, 80px); box-shadow: 0 0 0 1px var(--ring-2), var(--shadow-2);
  background: radial-gradient(900px 380px at 0% -20%, color-mix(in srgb, var(--panel-2) 70%, var(--accent-2)) 0%, transparent 62%), radial-gradient(600px 300px at 100% 120%, color-mix(in srgb, var(--panel-2) 85%, var(--accent-2)) 0%, transparent 60%), var(--panel); }
.hero .in { max-width: 1040px; margin: 0; }
.hero .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--aqua); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font: 650 clamp(36px, 8.8vw, 72px)/1 var(--display); color: #fff; margin: 18px 0 16px; letter-spacing: -.045em; max-width: 14em; }
.hero p { font-size: clamp(17px, 3.6vw, 21px); max-width: 38em; color: #cfe3df; margin: 0 0 26px; line-height: 1.5; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta .btn { padding: 0 24px; font-size: 16px; border-radius: 14px; min-height: 50px; display: inline-flex; align-items: center; background: var(--aqua); color: var(--on-bright); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 28px -14px var(--aqua); }
.hero .cta .btn:hover { background: color-mix(in srgb, var(--aqua) 82%, #fff); }
.hero .cta .ghost, .band .ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
.hero .cta .ghost:hover, .band .ghost:hover { background: rgba(255, 255, 255, .1); }
.hero .note { font-size: 13.5px; color: #9fc2bb; margin-top: 14px; max-width: 38em; }

main.pg { max-width: 1240px; margin: 0 auto; padding: 0 16px 60px; }
main.pg section { margin-top: clamp(40px, 7vw, 76px); }
main.pg > section > h2, main.pg h2 { font: 650 clamp(26px, 5vw, 40px)/1.05 var(--display); color: var(--ink); margin: 0 0 10px; letter-spacing: -.04em; }
main.pg .lead { color: var(--text-dim); font-size: 17px; margin: 0 0 24px; max-width: 40em; }
main.pg a:not(.btn) { color: var(--accent-dim); }

.aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.aud .c { position: relative; background: var(--surface); border: 0; border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 0 0 1px var(--ring), var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.aud .c:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--ring-2), var(--shadow-2); }
.aud .c .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--accent-dim); display: grid; place-items: center; margin-bottom: 6px; }
.aud .c .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aud .c .who { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-dim); }
.aud .c h3 { font: 650 23px/1.12 var(--display); color: var(--ink); margin: 0; text-transform: none; letter-spacing: -.03em; }
.aud .c p { color: var(--text-dim); font-size: 15px; margin: 2px 0 12px; flex: 1; }
.aud .c .row { display: flex; gap: 8px; flex-wrap: wrap; }
.aud .c .btn, .aud .c button { min-height: 46px; padding: 11px 18px; font-size: 15px; border-radius: 12px; display: inline-flex; align-items: center; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border: 0; border-radius: var(--r-lg); padding: 22px; box-shadow: 0 0 0 1px var(--ring), var(--shadow-1); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--accent-dim); font: 650 15px var(--display); margin-bottom: 12px; }
.step b { display: block; font: 650 18px var(--display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; } .step span { font-size: 14.5px; color: var(--text-dim); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.trust div { background: var(--surface); border: 0; border-radius: var(--r-md); padding: 18px 20px; box-shadow: 0 0 0 1px var(--ring), inset 3px 0 0 var(--accent-2); }
.trust b { display: block; color: var(--ink); margin-bottom: 3px; } .trust span { font-size: 14.5px; color: var(--text-dim); }
.honest { background: var(--warn-bg); box-shadow: 0 0 0 1px var(--warn-border); border-radius: var(--r-md); padding: 18px 20px; color: var(--on-yellow); }
.honest ul { margin: 8px 0 0; padding-inline-start: 20px; line-height: 1.7; font-size: 15px; }
.uses { display: flex; flex-wrap: wrap; gap: 10px; }
.uses span { background: var(--surface); box-shadow: 0 0 0 1px var(--ring-2); padding: 8px 16px; border-radius: 999px; font-size: 14.5px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stats .s { background: var(--surface); border: 0; border-radius: var(--r-md); padding: 16px 18px; box-shadow: 0 0 0 1px var(--ring), var(--shadow-1); }
.stats .s b { display: block; font: 650 36px/1 var(--display); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.stats .s span { font-size: 13px; color: var(--text-dim); display: block; margin-top: 6px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 28px; } details p { margin: 10px 0 0; color: var(--text-dim); font-size: 15px; }
.band { background: radial-gradient(700px 300px at 50% -30%, color-mix(in srgb, var(--panel-2) 60%, var(--accent-2)), transparent 70%), var(--panel); color: #dcefeb; border-radius: var(--r-xl); padding: clamp(28px, 6vw, 56px); text-align: center; box-shadow: 0 0 0 1px var(--ring-2), var(--shadow-2); }
main.pg .band h2, .band h2 { color: #fff; } .band p { color: #b6d3cd; max-width: 34em; margin: 0 auto 20px; }
.band .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.band .btn { padding: 0 24px; font-size: 16px; border-radius: 14px; min-height: 50px; display: inline-flex; align-items: center; }
.band .btn:not(.ghost) { background: var(--aqua); color: var(--on-bright); }
.sitefoot { max-width: 1240px; margin: 0 auto; padding: 0 16px 44px; font-size: 13px; color: var(--text-dim); }
.sitefoot a { color: var(--accent-dim); }

/* Seat Pulse: the thermometer (pulse.js draws it on pulse.html and the candidates page) */
.thermo { border: 1px solid var(--border); border-radius: 16px; padding: 14px; background: var(--surface); display: grid; gap: 10px; }
.thermo .tq { font-weight: 700; color: var(--ink); font-size: 15px; }
.thermo .tbar { display: flex; height: 22px; border-radius: 11px; overflow: hidden; background: var(--surface-2); }
.thermo .tbar span { display: block; height: 100%; }
.thermo .tlegend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.thermo .tlegend span { display: inline-flex; align-items: center; gap: 6px; }
.thermo .tlegend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.thermo .tnote { margin: 0; font-size: 12.5px; color: var(--text-dim); }
.thermo .tprog { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.thermo .tprog i { display: block; height: 100%; background: var(--accent); border-radius: 5px; }

/* Keyboard focus that is easy to see, on every audience page */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent-2) 55%, transparent); outline-offset: 2px; }
.thermo .tlegend { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 6px 8px; font-size: 13.5px; }
.thermo .tlegend span { white-space: nowrap; }
.thermo .tq { text-wrap: balance; }
/* three figures in a row, label above value, never wrapping */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.facts div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 8px 6px 9px; text-align: center; min-width: 0; }
.facts span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }
.facts b { display: block; margin-top: 2px; font: 600 clamp(15px, 4.4vw, 18px)/1.2 var(--font); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The top bar with eight links: never clipped, never wrapping its button. Tighter links on wide screens; on mid-size screens the links take their own row. */
.top .themebtn { white-space: nowrap; }
@media (min-width: 820px) { .top .links a { padding: 9px 11px; } }
@media (min-width: 820px) and (max-width: 1199px) { .top .in { flex-wrap: wrap; } .top .links { order: 3; width: 100%; } }
@media (min-width: 1200px) { .top .in { max-width: 1200px; } }
@media (min-width: 820px) and (max-width: 899px) { .top .links a { padding: 9px 8px; font-size: 14px; } }

/* Legal pages: a calm, readable column */
.hero.compact { padding-block: clamp(24px, 6vw, 52px) clamp(28px, 7vw, 56px); }
.hero.compact h1 { font-size: clamp(32px, 8.6vw, 56px); margin: 12px 0 10px; }
.hero.compact p { margin: 0; font-size: clamp(16px, 3.6vw, 20px); }
main.pg.legal { max-width: 46em; padding-top: 8px; }
.legal section { margin-top: 30px; }
.legal h2 { font: 600 22px/1.2 var(--display); color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }
.legal h3 { font: 700 15px/1.3 var(--font); color: var(--ink); margin: 18px 0 4px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.65; color: var(--text); margin: 0 0 10px; }
.legal ul { padding-inline-start: 20px; margin: 8px 0 0; }
.legal .summary { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 16px; padding: 16px 18px 8px; margin-top: 24px; }
.legal .summary h2 { font-size: 18px; }
.legal a { color: var(--accent-dim); }
.legal-links { margin-top: 40px; font-size: 15px; color: var(--text-dim); }

/* Seat Pulse thermometer, refined: no box, big figures, one slim bar */
.thermo { border: 0; background: var(--surface-2); border-radius: 20px; padding: 16px 16px 14px; gap: 14px; }
.thermo .tq { font-size: 14px; font-weight: 700; color: var(--ink); }
.thermo .tnums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.thermo .tnums b { display: block; font: 700 clamp(26px, 8vw, 34px)/1 var(--font); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums proportional-nums; }
.thermo .tnums span { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--text-dim); }
.thermo .tnums i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.thermo .tbar { height: 10px; border-radius: 5px; background: var(--surface); }
.thermo .tcount { display: flex; align-items: baseline; gap: 10px; } .thermo .tcount b { font: 700 40px/1 var(--font); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums proportional-nums; } .thermo .tcount span { font-size: 15px; color: var(--text-dim); }
.thermo .tprog { height: 8px; background: var(--surface); }
/* FAQ: hairlines and a plus, not boxes */
details { background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 4px 2px; margin: 0; }
details:first-of-type { border-top: 1px solid var(--border); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; font: 400 24px/1 var(--font); color: var(--text-dim); }
details[open] > summary::after { content: '\2013'; }
details p { margin: 0 0 14px; }

/* sun / moon theme button */
.themebtn.themeicon { display: inline-grid; place-items: center; width: 40px; min-width: 40px; padding: 0 !important; }
.themebtn.themeicon svg { display: block; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.themebtn.themeicon:active svg { transform: rotate(25deg) scale(.9); }
@media (prefers-reduced-motion: reduce) { .themebtn.themeicon svg { transition: none; } }
