/* the landing page (home.js draws the animated parts) */
.home{--h-mute:#686d6a;color:#191c1a}
.home *{box-sizing:border-box}
.home section[id]{scroll-margin-top:64px}
.home .home-wrap{max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:28px var(--gutter) 0}
.home h1{font-size:clamp(30px,6vw,60px);line-height:1.05;margin:0 0 4px;letter-spacing:-.025em}
.home .sub{color:var(--h-mute);margin:0 0 20px}
.home .chip{flex:none;display:inline-flex;align-items:center;gap:7px;height:34px;min-height:34px;padding:0 11px 0 6px;border:1px solid #d5d2c6;border-radius:999px;background:#faf9f5;color:#191c1a;font:500 .83rem/1 var(--sans);cursor:pointer;text-decoration:none;box-shadow:none}
.home .chip i{flex:none;width:22px;height:22px;border-radius:50%;background:#eceae2;color:#50605b;display:grid;place-items:center;font:700 .7rem/1 var(--sans);font-style:normal}
.home .chip:hover{border-color:#50605b;box-shadow:none}
.home .chip.is-preview,.home .chip.is-preview:hover{background:#50605b;border-color:#50605b;color:#fff;outline:none;box-shadow:none}
.home .chip.is-preview i{background:rgba(255,255,255,.18)!important;color:#fff}
.home .chip:focus-visible,.home .chip.is-preview:focus-visible{outline:2px solid #50605b;outline-offset:3px;box-shadow:none}
.home .map-tray{padding:6px;background:#eceae2;border:1px solid #dfddd4;border-radius:14px}
.home .map{position:relative;margin:0}
.home #map.cc-focus-map{border:0;border-radius:8px;box-shadow:none;background:#eceae2}
.home #stage{display:block;width:100%;height:clamp(240px,calc(100svh - 370px),560px)}
.home .tile{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;background:none;color:#191c1a;font:600 15px/1.3 var(--sans);text-align:center;text-decoration:none;padding:8px 9px;cursor:pointer;opacity:0;transition:opacity .5s,box-shadow .15s;overflow:hidden}
.home .map.live .tile{opacity:1}
.home #map .cc-focus-tile{border:0;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(25,28,26,.09),0 1px 2px rgba(25,28,26,.04);writing-mode:horizontal-tb}
.home #map .cc-focus-tile:hover{box-shadow:inset 0 0 0 2px currentColor}
.home #map .cc-focus-tile:focus-visible{outline:none;box-shadow:inset 0 0 0 3px currentColor}
.home .tile span{display:block;font-weight:500;font-size:12px;opacity:1}
.home .map-note{margin:6px 0 0;font-size:13px;color:var(--h-mute)}
.home .cta{display:inline-flex;align-items:center;justify-content:center;min-height:34px;max-width:100%;padding:7px 14px;border:1px solid #212523;border-radius:999px;background:#212523;color:#fff;font-size:.83rem;line-height:1.4;text-decoration:none;font-weight:500;box-shadow:0 1px 2px rgba(25,28,26,.04)}
.home .cta:hover{background:#39433e;border-color:#39433e}
.home .cta.ghost,.home .home-card-footer .cta{background:#faf9f5;color:#191c1a;border-color:#c8c4b8}
.home .cta.ghost:hover,.home .home-card-footer .cta:hover{background:#eceae2;border-color:#50605b}
.home .actions.home-card-footer .cta:not(.ghost){background:#212523;border-color:#212523;color:#fff}
.home .actions.home-card-footer .cta:not(.ghost):hover{background:#39433e;border-color:#39433e}
.home section.beat{max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:44px var(--gutter)}
.home .beat h2{font-size:clamp(24px,4.2vw,40px);line-height:1.1;margin:0 0 8px;letter-spacing:-.015em}
.home section.beat.home-card{max-width:1200px;width:calc(100% - 2*var(--gutter));margin:32px auto;padding:0;background:#fff;border:1px solid #dfddd4;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px rgba(25,28,26,.03)}
.home .home-card-header{padding:24px 24px 20px}
.home .home-card-header .tabs{margin:18px 0 0}
.home .panel{background:#fff;border:1px solid #dfddd4;border-radius:14px;padding:18px;position:relative}
.home .panel.home-card-well{margin:0 8px;padding:20px 16px;background:#f3f1e9;border:0;border-radius:10px}
.home #goals .home-card-well{background:#eceae2}
.home .panel>.hit{position:absolute;inset:0;border-radius:inherit;z-index:0}
.home .panel>.hit:focus-visible{outline:2px solid #50605b;outline-offset:-3px}
.home .panel.home-card-well>:not(.hit){position:relative;z-index:1;pointer-events:none}
.home .panel.home-card-well :is(a:not(.hit),button){pointer-events:auto}
.home .panel canvas{display:block;width:100%;height:220px}
.home .row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px}
.home .home-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0;padding:14px 24px;color:var(--h-mute);font-size:13px;line-height:1.5}
.home .home-card-footer .big{font-size:13px;font-weight:400}
.home .big{font-size:22px;font-weight:600}
.home .big .num{font-weight:500;color:var(--h-mute)}
.home .big small{font-weight:500;color:var(--h-mute);font-size:14px;margin-left:6px}
.home .tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.home .meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--h-mute);font-size:13px;line-height:1.5}
.home .topic-pill,.home .outcome-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:500;line-height:1.4}
.home .topic-pill{background:#eef1ed;color:#50605b;border:1px solid #d5ddd7}
.home .outcome-badge{margin-left:auto;background:#dcfce7;color:#1f6f43;font-weight:600;font-variant-numeric:tabular-nums}
.home #votes .home-card-header h3{margin:14px 0 0;font-size:clamp(20px,2.5vw,26px);line-height:1.25;letter-spacing:-.015em}
.home .votes{display:flex;gap:8px;flex-wrap:wrap}
.home .v{width:32px;height:32px;padding:0;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:600}
.home .v.y{background:var(--yes)}
.home .v.n{background:var(--no);color:#17181c}
.home .notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px;color:var(--h-mute);font-size:14px}
.home .notes .proof-card{padding:12px;background:#fff;border:1px solid #dfddd4;border-radius:8px;line-height:1.5}
.home .notes b{color:#191c1a}
.home .chart img{width:100%;max-width:1035px;height:auto;display:block;margin:0 auto}
.home .chart .chart-phone{display:none}
.home .subs{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.home .subs a{display:flex;align-items:center;min-height:68px;padding:14px;background:#fff;border:1px solid #dfddd4;border-radius:10px;font-size:14px;font-weight:500;color:#191c1a;text-decoration:none;box-shadow:0 1px 2px rgba(25,28,26,.03)}
.home .subs a:hover{border-color:#50605b;background:#faf9f5}
.home .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.home .actions.home-card-footer{margin-top:0;justify-content:flex-start;border-top:1px solid #eeece5}
.home+.foot .foot-links a{text-decoration:none}
.home+.foot .foot-links a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
 .home #stage{height:clamp(260px,calc(100svh - 400px),640px)}
 .home .home-card-header{padding:20px 16px 16px}
 .home .panel.home-card-well{padding:16px 10px}
 .home .home-card-footer{padding:12px 16px}
 .home .chart .chart-wide{display:none}
 .home .chart .chart-phone{display:block;max-width:317px}
 .home .subs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home .subs a{padding:12px;font-size:13px}
 .home .notes{grid-template-columns:1fr}
 .home .notes .proof-card{padding:10px 12px}
}
@media(max-width:600px){
 .home .tile{font-size:12px;padding:6px 5px}
 .home .big small{display:block;margin:2px 0 0}
 .home .votes{gap:6px}
 .home .v{width:28px;height:28px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.home .tile{transition:none;opacity:1}}
/* the Council menu in the top bar: the rules cc.js injects on the other pages, except that only .open shows it (home.js sets .open and aria-expanded together) */
.top nav.nav{overflow:visible}
.nav-menu{position:relative;display:inline-flex;align-items:center;flex-shrink:0}
.nav-menu>a{padding-right:4px;border-top-right-radius:0;border-bottom-right-radius:0}
.nav-more{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:44px;padding:0 6px 0 2px;border:0;background:none;color:var(--ink-3);cursor:pointer;border-radius:0 8px 8px 0}
.nav-more:hover,.nav-menu.open .nav-more{color:var(--ink)}
.nav-pop{display:none;position:absolute;top:calc(100% - 4px);left:0;z-index:30;min-width:170px;flex-direction:column;gap:2px;padding:6px;background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px rgba(23,24,28,.14)}
.nav-pop a{min-height:40px}
.nav-menu:hover .nav-pop,.nav-menu:focus-within .nav-pop,.nav-menu.open .nav-pop{display:flex}
@media(max-width:1000px){.nav-menu{display:flex}.nav-menu>a{flex:1;border-radius:8px}.nav-more{position:absolute;top:0;right:0;width:44px;min-height:44px;justify-content:flex-end;padding:0 10px 0 0}.nav-more svg{width:8px;height:8px}.nav-pop{min-width:150px}}   /* the same rules as the shared header (cc.js) */

.home #explainer .cc-video{max-width:960px;margin:0}   /* the explainer at the bottom of the page: the width of a reading column, under its heading */
.home #explainer h2{margin-bottom:16px}
