@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
 --black: #080808;
 --black2: #0F0F0F;
 --black3: #161616;
 --black4: #1E1E1E;
 --navy: #0B1628;
 --navy2: #0D1F3C;
 --acc: #4A7FBF;
 --white: #FFFFFF;
 --cream: #F7F5F2;
 --offwhite: #EEEBE6;
 --grey: #888888;
 --mid: #555555;
 --rule: #1E1E1E;
 --rule2: #2A2A2A;
 --serif: 'Outfit', system-ui, sans-serif;
 --sans: 'Geist', system-ui, sans-serif;
 --display: 'Bebas Neue', Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--black); background-image: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(15,30,80,.15) 0%, transparent 55%); color: var(--white); overflow-x: hidden; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }

/* ── NAV ── */
nav {
 position: fixed; top: 0; left: 0; right: 0; z-index: 100;
 height: 58px; display: flex; align-items: center; justify-content: space-between;
 padding: 0 2rem;
 background: rgba(8,8,8,0.97);
 backdrop-filter: blur(20px);
 border-bottom: 1px solid var(--rule);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-wordmark { font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.1em; color: var(--white); line-height: 1; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #888; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: #60a5fa; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-products { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); padding: 0.35rem 0.8rem; border: 1px solid var(--rule2); border-radius: 2px; transition: all 0.15s; }
.nav-products:hover { color: var(--white); border-color: #444; }
.nav-vol { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); padding: 0.35rem 0.8rem; border: 1px solid var(--rule2); border-radius: 2px; transition: all 0.15s; }
.nav-vol:hover { color: var(--white); border-color: #444; }
.nav-cta { background: var(--white); color: var(--black); border: none; padding: 0.48rem 1.2rem; border-radius: 2px; font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: opacity 0.15s, transform 0.15s; }
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 20px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu { position: fixed; top: 58px; left: 0; right: 0; z-index: 99; background: rgba(8,8,8,0.99); backdrop-filter: blur(20px); border-bottom: 1px solid var(--rule); padding: 1rem 2rem 1.5rem; display: none; flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); padding: 0.85rem 0; border-bottom: 1px solid var(--rule); transition: color 0.15s; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); }

/* ── TICKER ── */
.ticker { background: var(--navy); padding: 0.55rem 0; overflow: hidden; white-space: nowrap; margin-top: 58px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ticker-track { display: inline-flex; gap: 3rem; animation: tick 40s linear infinite; font-size: 0.72rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick-sep { opacity: 0.25; }

/* ── PAGE HERO ── */
.page-hero { padding: 7rem 2rem 4rem; background: var(--black); border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.page-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 72px 72px; opacity: 0.35; mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 75%); }
.page-hero-inner { max-width: 1060px; margin: 0 auto; position: relative; z-index: 1; }
.page-label { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-bottom: 1rem; display: block; }
.page-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5.5vw, 4.5rem); line-height: 1.05; color: var(--white); margin-bottom: 1.25rem; }
.page-title em { font-style: normal; }
.page-sub { font-size: 0.97rem; color: #9a9a9a; max-width: 500px; line-height: 1.85; font-weight: 400; }

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1060px; margin: 0 auto; }
.s-white { background: var(--cream); color: var(--black); }
.s-dark { background: var(--black2); }
.s-navy { background: var(--black); }
.s-label { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.75rem; display: block; }
.s-white .s-label { color: var(--mid); }
.s-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1; color: var(--white); margin-bottom: 0.75rem; }
.s-white .s-title { color: var(--black); }
.s-body { font-size: 0.95rem; color: #9a9a9a; max-width: 540px; line-height: 1.85; font-weight: 400; }
.s-white .s-body { color: var(--mid); }

/* ── BUTTONS ── */
.btn-primary { background: var(--white); color: var(--black); border: none; padding: 0.82rem 1.9rem; border-radius: 2px; font-family: var(--sans); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-block; transition: opacity 0.15s, transform 0.15s; }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--grey); border: 1px solid var(--rule2); padding: 0.82rem 1.9rem; border-radius: 2px; font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-block; transition: all 0.15s; }
.btn-outline:hover { color: var(--white); border-color: #555; transform: translateY(-2px); }
.s-white .btn-outline { color: var(--mid); border-color: rgba(0,0,0,0.15); }
.s-white .btn-outline:hover { color: var(--black); border-color: var(--black); }
.btn-kofi { display: inline-block; background: #1C2340; color: rgba(255,255,255,.9); border: none; padding: 0.7rem 1.6rem; border-radius: 2px; font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-decoration: none; transition: opacity 0.15s, transform 0.15s; white-space: nowrap; }
.btn-kofi:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── FORMS ── */
.frow { margin-bottom: 1.1rem; }
.frow label { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.4rem; }
.s-white .frow label { color: var(--mid); }
.frow input, .frow textarea, .frow select { width: 100%; background: var(--black3); border: 1px solid var(--rule2); border-radius: 2px; color: var(--white); font-family: var(--sans); font-size: 0.9rem; padding: 0.72rem 0.9rem; outline: none; resize: vertical; transition: border-color 0.15s; }
.frow input::placeholder, .frow textarea::placeholder { color: #3A3A3A; }
.frow input:focus, .frow textarea:focus, .frow select:focus { border-color: #555; }
.frow select option { background: var(--black2); }
.s-white .frow input, .s-white .frow textarea, .s-white .frow select { background: var(--white); border-color: rgba(0,0,0,0.12); color: var(--black); }
.s-white .frow input:focus, .s-white .frow textarea:focus { border-color: var(--black); }
.f-submit { width: 100%; background: var(--white); color: var(--black); border: none; border-radius: 2px; padding: 0.85rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: opacity 0.15s; margin-top: 0.5rem; }
.f-submit:hover { opacity: 0.88; }
.s-white .f-submit { background: var(--black); color: var(--white); }

/* ── MODAL ── */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.88); backdrop-filter: blur(12px); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.overlay.open { display: flex; }
.modal { background: var(--black2); border: 1px solid var(--rule2); border-radius: 2px; padding: 2.5rem; max-width: 400px; width: 100%; position: relative; animation: mIn 0.2s ease; max-height: 90vh; overflow-y: auto; }
@keyframes mIn { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-x { position: absolute; top: 1rem; right: 1rem; background: var(--black3); border: 1px solid var(--rule2); border-radius: 2px; width: 28px; height: 28px; color: var(--grey); font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.modal-x:hover { color: var(--white); }
.modal h2 { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--white); margin-bottom: 0.4rem; }
.msub { font-size: 0.8rem; color: var(--grey); margin-bottom: 1.5rem; line-height: 1.6; }
.msub a { color: rgba(255,255,255,0.4); }
.modal-ok { text-align: center; padding: 1rem 0; }
.modal-ok h3 { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--white); margin-bottom: 0.75rem; }
.modal-ok p { color: var(--grey); font-size: 0.88rem; line-height: 1.65; }

/* ── TOAST ── */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--white); color: var(--black); border-radius: 2px; padding: 0.75rem 1.75rem; font-size: 0.82rem; font-weight: 500; z-index: 300; transition: transform 0.35s cubic-bezier(.34,1.56,.64,1); white-space: nowrap; box-shadow: 0 8px 40px rgba(0,0,0,0.7); letter-spacing: 0.04em; }
.toast.show { transform: translateX(-50%) translateY(0); }
html.light-mode .toast { background: #1C2340; color: #FFFFFF; box-shadow: 0 8px 40px rgba(28,35,64,0.25); }

/* ── ISSUE CARDS ── */
.issues-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.issue-card { background: var(--black2); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; transition: background 0.15s; cursor: pointer; }
.issue-card:hover { background: var(--black3); }
.ic-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tag { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--rule2); border-radius: 2px; color: #555; white-space: nowrap; }
.ic-voices { font-size: 0.68rem; color: #444; letter-spacing: 0.04em; }
.ic-title { font-family: var(--serif); font-weight: 600; font-size: 1rem; line-height: 1.45; color: var(--white); flex: 1; }
.ic-title-link { text-decoration: none; display: block; }
.ic-progress-wrap { display: flex; flex-direction: column; gap: 5px; }
.ic-progress-track { height: 1px; background: var(--rule2); border-radius: 1px; overflow: hidden; }
.ic-progress-fill { height: 1px; background: var(--white); border-radius: 1px; transition: width 0.8s ease; }
.ic-progress-label { display: flex; justify-content: space-between; font-size: 0.62rem; color: #444; letter-spacing: 0.04em; }
.ic-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.ic-pct { font-size: 0.68rem; color: #444; }
.ic-actions { display: flex; gap: 5px; }
.ic-btn { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; background: transparent; border: 1px solid var(--rule2); border-radius: 2px; padding: 4px 10px; cursor: pointer; color: var(--grey); font-family: var(--sans); transition: all 0.15s; }
.ic-btn:hover:not(:disabled) { background: var(--white); color: var(--black); border-color: var(--white); }
.ic-btn:disabled { opacity: 0.35; cursor: default; }
.ic-btn.voted { color: #444; cursor: default; }
.ic-share { font-size: 0.66rem; letter-spacing: 0.08em; background: transparent; border: 1px solid var(--rule2); border-radius: 2px; padding: 4px 8px; cursor: pointer; color: #444; font-family: var(--sans); transition: all 0.15s; }
.ic-share:hover { color: var(--white); border-color: #555; }

/* ── SKELETON LOADING ── */
.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.skeleton-card { background: var(--black2); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.skel { background: linear-gradient(90deg, var(--black3) 25%, var(--black4) 50%, var(--black3) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 2px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skel-tag { height: 18px; width: 70px; }
.skel-title { height: 14px; width: 100%; margin-top: 4px; }
.skel-title-2 { height: 14px; width: 75%; }
.skel-bar { height: 1px; width: 100%; margin-top: 8px; }
.skel-foot { height: 24px; width: 120px; margin-top: 8px; }

/* ── SEARCH & SORT ── */
.issues-controls-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.issue-search { background: transparent; border: 1px solid var(--rule2); border-radius: 2px; padding: 0.38rem 0.9rem; font-family: var(--sans); font-size: 0.76rem; color: var(--white); outline: none; width: 200px; transition: border-color 0.15s; }
.issue-search::placeholder { color: #3A3A3A; }
.issue-search:focus { border-color: #555; }
.sort-select { background: transparent; border: 1px solid var(--rule2); border-radius: 2px; padding: 0.38rem 0.7rem; font-family: var(--sans); font-size: 0.7rem; color: var(--grey); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; outline: none; transition: all 0.15s; }
.sort-select:hover, .sort-select:focus { border-color: #555; color: var(--white); }
.sort-select option { background: var(--black2); color: var(--white); text-transform: none; letter-spacing: 0; }
.filter-row { display: flex; gap: 6px; flex-wrap: wrap; }
.fbtn { background: transparent; border: 1px solid var(--rule2); border-radius: 2px; padding: 0.32rem 0.85rem; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; color: var(--grey); transition: all 0.15s; }
.fbtn.active, .fbtn:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ── HOW IT WORKS ── */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; margin-top: 2.5rem; }
.how-step { background: var(--black2); padding: 2.5rem; transition: background 0.15s; }
.how-step:hover { background: var(--navy); }
.how-num { font-family: var(--display); font-size: 4rem; color: var(--rule2); line-height: 1; margin-bottom: 1.25rem; letter-spacing: 0.02em; }
.how-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 0.65rem; }
.how-body { font-size: 0.88rem; color: #9a9a9a; line-height: 1.75; font-weight: 400; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.card { background: var(--black2); padding: 2rem; transition: background 0.15s; }
.card:hover { background: var(--black3); }
.card-num { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #333; margin-bottom: 1rem; }
.card-title { font-size: 0.88rem; font-weight: 500; color: var(--white); margin-bottom: 0.5rem; }
.card-body { font-size: 0.85rem; color: #9a9a9a; line-height: 1.72; font-weight: 400; }
.s-white .card { background: var(--white); }
.s-white .card:hover { background: var(--offwhite); }
.s-white .card-title { color: var(--black); }
.s-white .card-body { color: var(--mid); }

/* ── BACK TO TOP ── */
#back-to-top { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 90; width: 36px; height: 36px; background: var(--black2); border: 1px solid var(--rule2); border-radius: 2px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s, background 0.15s; pointer-events: none; }
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-to-top:hover { background: var(--black3); border-color: #555; }

/* ── COOKIE BANNER ── */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 500; background: var(--black2); border-top: 1px solid var(--rule2); padding: 1rem 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; transform: translateY(100%); transition: transform 0.35s ease; }
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { font-size: 0.78rem; color: var(--grey); line-height: 1.5; flex: 1; min-width: 240px; }
#cookie-banner a { color: rgba(255,255,255,0.4); }
.cookie-btns { display: flex; gap: 8px; }
.cookie-accept { background: var(--white); color: var(--black); border: none; border-radius: 2px; padding: 0.48rem 1.1rem; font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: opacity 0.15s; }
.cookie-accept:hover { opacity: 0.88; }
.cookie-decline { background: transparent; color: var(--grey); border: 1px solid var(--rule2); border-radius: 2px; padding: 0.48rem 1.1rem; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: all 0.15s; }
.cookie-decline:hover { color: var(--white); border-color: #555; }

/* ── FOOTER ── */
footer { background: #040404; border-top: 1px solid var(--rule); padding: 3.5rem 2rem; }
.foot-inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.foot-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; }
.foot-logo img { width: 20px; height: 20px; object-fit: contain; opacity: 0.4; }
.foot-wm { font-family: var(--display); font-size: 1.2rem; letter-spacing: 0.08em; color: var(--white); }
.foot-tag { font-size: 0.76rem; color: #333; line-height: 1.78; max-width: 240px; }
.foot-col-title { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #2A2A2A; margin-bottom: 1rem; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.foot-links a { font-size: 0.8rem; color: #333; transition: color 0.15s; }
.foot-links a:hover { color: var(--white); }
.foot-equality { max-width: 1060px; margin: 0 auto 1.5rem; font-size: 0.7rem; color: #222; line-height: 1.6; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.foot-bottom { max-width: 1060px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.foot-copy { font-size: 0.68rem; color: #222; }
.foot-hash { font-size: 0.68rem; color: #2A2A2A; }

/* ── ACTION GRID ── */
.action-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.action-card { background: var(--black2); padding: 2rem; display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; transition: background 0.15s; cursor: pointer; }
.action-card:hover { background: var(--black3); }
.ac-num { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #333; }
.ac-title { font-size: 0.88rem; font-weight: 500; color: var(--white); }
.ac-body { font-size: 0.84rem; color: #9a9a9a; line-height: 1.7; font-weight: 400; flex: 1; }
.ac-link { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #444; margin-top: 0.5rem; transition: color 0.15s; }
.action-card:hover .ac-link { color: var(--grey); }

/* ── NO RESULTS ── */
.no-results { text-align: center; padding: 3rem; color: var(--grey); font-size: 0.88rem; border: 1px solid var(--rule); border-radius: 2px; background: var(--black2); }

/* ── RESPONSIVE ── */
@media(max-width: 900px) {
 nav { padding: 0 1.25rem; }
 .nav-links { display: none; }
 .nav-products { display: none; }
 .nav-hamburger { display: flex; }
 .section { padding: 3.5rem 1.25rem; }
 .page-hero { padding: 6rem 1.25rem 3rem; }
 .foot-inner { grid-template-columns: 1fr; gap: 2rem; }
 .how-grid { grid-template-columns: 1fr; }
}
@media(max-width: 600px) {
 .issues-grid, .skeleton-grid { grid-template-columns: 1fr; }
 .issues-controls-row { gap: 6px; }
 .issue-search { width: 100%; }
}



/* ── DARK / LIGHT MODE ───────────────────────────────────────────────────── */
html.light-mode {
 --black: #FFFFFF;
 --black2: #F6F7FA;
 --black3: #ECEEF4;
 --black4: #E0E3EE;
 --navy: #1C2340;
 --navy2: #232C4E;
 --acc: #2B3A6B;
 --white: #0F1320;
 --cream: #0F1320;
 --offwhite: #1C2340;
 --grey: #4A5270;
 --mid: #6B748A;
 --rule: #DDE0EA;
 --rule2: #C8CDD E;
 background: #FFFFFF;
 color: #0F1320;
}

/* NAV */
html.light-mode nav {
 background: rgba(255,255,255,0.97);
 border-bottom: 1px solid #DDE0EA;
}
html.light-mode .nav-wordmark { color: #1C2340; }
html.light-mode .nav-links a { color: #4A5270; }
html.light-mode .nav-links a:hover, html.light-mode .nav-links a.active { color: #1C2340; }
html.light-mode .nav-products, html.light-mode .nav-vol { color: #4A5270; border-color: #DDE0EA; }
html.light-mode .nav-products:hover, html.light-mode .nav-vol:hover { color: #1C2340; border-color: #1C2340; }
html.light-mode .nav-cta { background: #1C2340; color: #FFFFFF; }
html.light-mode .nav-cta:hover { background: #232C4E; }
html.light-mode .nav-hamburger span { background: #1C2340; }
html.light-mode .mobile-menu { background: rgba(255,255,255,0.99); border-bottom-color: #DDE0EA; }
html.light-mode .mobile-menu a { color: #4A5270; border-bottom-color: #DDE0EA; }
html.light-mode .mobile-menu a:hover { color: #1C2340; }

/* TICKER */
html.light-mode .ticker { background: #1C2340; }

/* HERO */
html.light-mode .hero { background: linear-gradient(160deg, #F6F7FA 0%, #ECEEF4 100%); }
html.light-mode .hero-grid {
 background-image: linear-gradient(#DDE0EA 1px, transparent 1px), linear-gradient(90deg, #DDE0EA 1px, transparent 1px);
 opacity: 0.6;
}
html.light-mode .hero h1 { color: #0F1320; }
html.light-mode .hero-sub { color: #4A5270; }
html.light-mode .hero-eyebrow { border-color: #C8CDD8; color: #1C2340; background: rgba(255,255,255,0.8); }
html.light-mode .hero-stats { border-color: #DDE0EA; background: rgba(255,255,255,0.8); }
html.light-mode .hs { border-right-color: #DDE0EA; }
html.light-mode .hs-num { color: #1C2340; font-weight: 400; }
html.light-mode .hs-label { color: #6B748A; }

/* STATS BAR */
html.light-mode .stats-bar { background: #F6F7FA; border-bottom-color: #DDE0EA; }
html.light-mode .stats-bar-num { color: #1C2340; }
html.light-mode .stats-bar-label { color: #6B748A; }
html.light-mode .stats-bar-item { border-right-color: #DDE0EA; }

/* MANIFESTO */
html.light-mode .manifesto { background: #ECEEF4; border-color: #DDE0EA; }
html.light-mode .manifesto q { color: #0F1320; }
html.light-mode .manifesto-attr { color: #6B748A; }

/* SECTIONS */
html.light-mode .s-dark { background: #F6F7FA; }
html.light-mode .s-white { background: #FFFFFF; }
html.light-mode .s-navy { background: #ECEEF4; }
html.light-mode .s-title { color: #0F1320; }
html.light-mode .s-label { color: #6B748A; }
html.light-mode .s-body { color: #4A5270; }
html.light-mode .s-white .s-title { color: #0F1320; }

/* PAGE HERO */
html.light-mode .page-hero { background: linear-gradient(160deg, #F6F7FA 0%, #ECEEF4 100%); border-bottom-color: #DDE0EA; }
html.light-mode .page-hero-grid { background-image: linear-gradient(#DDE0EA 1px, transparent 1px), linear-gradient(90deg, #DDE0EA 1px, transparent 1px); opacity: 0.6; }
html.light-mode .page-title { color: #0F1320; }
html.light-mode .page-sub { color: #4A5270; }
html.light-mode .page-label { color: #6B748A; }

/* HOW IT WORKS */
html.light-mode .how-grid { background: #DDE0EA; border-color: #DDE0EA; }
html.light-mode .how-step { background: #FFFFFF; }
html.light-mode .how-step:hover { background: #F6F7FA; }
html.light-mode .how-num { color: #DDE0EA; }
html.light-mode .how-title { color: #0F1320; }
html.light-mode .how-body { color: #4A5270; }

/* ISSUE FEED */
html.light-mode .issue-feed { background: #DDE0EA; border-color: #DDE0EA; }
html.light-mode .issue-feed-item { background: #FFFFFF; }
html.light-mode .issue-feed-item:hover { background: #F6F7FA; }
html.light-mode .ifi-title { color: #0F1320; }
html.light-mode .ifi-tag { color: #1C2340; border-color: #C8CDD8; background: #ECEEF4; }
html.light-mode .ifi-pct { color: #6B748A; }
html.light-mode .ifi-bar { background: #DDE0EA; }
html.light-mode .ifi-bar-fill { background: #1C2340; }
html.light-mode .ifi-voices-num { color: #1C2340; }
html.light-mode .ifi-voices-label { color: #6B748A; }
html.light-mode .ifi-vote { color: #1C2340; border-color: #C8CDD8; }
html.light-mode .ifi-vote:hover:not(:disabled) { background: #1C2340; color: #FFF; border-color: #1C2340; }
html.light-mode .ifi-discuss { color: #6B748A; border-color: #DDE0EA; }
html.light-mode .ifi-discuss:hover { color: #1C2340; border-color: #1C2340; }

/* ISSUES GRID (fallback) */
html.light-mode .issues-grid { background: #DDE0EA; border-color: #DDE0EA; }
html.light-mode .issue-card { background: #FFFFFF; }
html.light-mode .issue-card:hover { background: #F6F7FA; }
html.light-mode .ic-title { color: #0F1320; }
html.light-mode .tag { color: #1C2340; border-color: #C8CDD8; background: #ECEEF4; }
html.light-mode .ic-btn { color: #1C2340; border-color: #C8CDD8; }
html.light-mode .ic-btn:hover:not(:disabled) { background: #1C2340; color: #FFF; border-color: #1C2340; }

/* FILTERS */
html.light-mode .fbtn { color: #4A5270; border-color: #DDE0EA; }
html.light-mode .fbtn.active, html.light-mode .fbtn:hover { background: #1C2340; color: #FFF; border-color: #1C2340; }
html.light-mode .issue-search { color: #0F1320; border-color: #C8CDD8; background: #FFFFFF; }
html.light-mode .issue-search::placeholder { color: #9BA3B8; }
html.light-mode .issue-search:focus { border-color: #1C2340; }
html.light-mode .sort-select { color: #4A5270; border-color: #C8CDD8; }
html.light-mode .sort-select:hover { color: #1C2340; border-color: #1C2340; }

/* SKELETON */
html.light-mode .skeleton-card { background: #F6F7FA; }
html.light-mode .skel { background: linear-gradient(90deg,#ECEEF4 25%,#F6F7FA 50%,#ECEEF4 75%); background-size:200% 100%; animation:shimmer 1.5s infinite; }

/* BUTTONS */
html.light-mode .btn-primary { background: #1C2340; color: #FFFFFF; }
html.light-mode .btn-primary:hover { background: #232C4E; }
html.light-mode .btn-outline { color: #1C2340; border-color: #C8CDD8; }
html.light-mode .btn-outline:hover { color: #0F1320; border-color: #1C2340; }

/* FORMS */
html.light-mode .frow label { color: #4A5270; }
html.light-mode .frow input, html.light-mode .frow textarea, html.light-mode .frow select { background: #FFFFFF; border-color: #C8CDD8; color: #0F1320; }
html.light-mode .frow input::placeholder, html.light-mode .frow textarea::placeholder { color: #9BA3B8; }
html.light-mode .frow input:focus, html.light-mode .frow textarea:focus { border-color: #1C2340; }
html.light-mode .f-submit { background: #1C2340; color: #FFFFFF; }
html.light-mode .f-submit:hover { background: #232C4E; }

/* MODAL */
html.light-mode .overlay { background: rgba(240,241,247,0.9); }
html.light-mode .modal { background: #FFFFFF; border-color: #DDE0EA; box-shadow: 0 8px 40px rgba(28,35,64,0.12); }
html.light-mode .modal h2 { color: #0F1320; }
html.light-mode .msub { color: #4A5270; }
html.light-mode .modal-x { background: #F6F7FA; border-color: #DDE0EA; color: #4A5270; }

/* HOMEPAGE SECTIONS */
html.light-mode .raise-strip { background: #ECEEF4; border-color: #DDE0EA; }
html.light-mode .raise-strip h2 { color: #0F1320; }
html.light-mode .raise-strip p { color: #4A5270; }
html.light-mode .products-strip { background: #FFFFFF; border-color: #DDE0EA; }
html.light-mode .ps-icon { border-color: #DDE0EA; background: #F6F7FA; }
html.light-mode .ps-text h3 { color: #0F1320; }
html.light-mode .ps-text p { color: #4A5270; }
html.light-mode .mission-strip { background: #F6F7FA; }
html.light-mode .ms-text h2 { color: #0F1320; }
html.light-mode .ms-text p { color: #4A5270; }
html.light-mode .ms-val { background: #FFFFFF; }
html.light-mode .ms-val:hover { background: #F6F7FA; }
html.light-mode .ms-val-title { color: #0F1320; }
html.light-mode .ms-val-body { color: #4A5270; }
html.light-mode .ms-values { background: #DDE0EA; border-color: #DDE0EA; }
html.light-mode .global-wrap { background: #1C2340; border-top-color: #232C4E; }
html.light-mode .global-wrap h2 { color: #FFFFFF; }
html.light-mode .global-wrap p { color: rgba(255,255,255,0.6); }
html.light-mode .chip { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
html.light-mode .chip:hover { background: rgba(255,255,255,0.2); color: #FFFFFF; }

/* FOOTER */
html.light-mode footer { background: #1C2340; border-top-color: #232C4E; }
html.light-mode .foot-wm { color: #FFFFFF; }
html.light-mode .foot-tag { color: rgba(255,255,255,0.45); }
html.light-mode .foot-col-title { color: rgba(255,255,255,0.25); }
html.light-mode .foot-links a { color: rgba(255,255,255,0.35); }
html.light-mode .foot-links a:hover { color: #FFFFFF; }
html.light-mode .foot-copy, html.light-mode .foot-hash { color: rgba(255,255,255,0.2); }
html.light-mode .foot-bottom { border-top-color: rgba(255,255,255,0.08); }
html.light-mode .foot-equality { color: rgba(255,255,255,0.25); border-bottom-color: rgba(255,255,255,0.08); }

/* MISC */
html.light-mode #cookie-banner { background: #FFFFFF; border-top-color: #DDE0EA; }
html.light-mode #cookie-banner p { color: #4A5270; }
html.light-mode .cookie-accept { background: #1C2340; color: #FFFFFF; }
html.light-mode .cookie-decline { color: #4A5270; border-color: #DDE0EA; }
html.light-mode .toast { background: #1C2340; color: #FFFFFF; }
html.light-mode #back-to-top { background: #F6F7FA; border-color: #DDE0EA; }
html.light-mode #back-to-top:hover { background: #ECEEF4; border-color: #C8CDD8; }
html.light-mode .issues-heading { color: #0F1320; }
html.light-mode .disc-title { color: #0F1320; }
html.light-mode .comment-author { color: #0F1320; }
html.light-mode .comment-body { color: #4A5270; }

/* ── THEME TOGGLE BUTTON ──/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
 background: transparent;
 border: 1px solid var(--rule2);
 border-radius: 2px;
 width: 32px;
 height: 32px;
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 color: var(--grey);
 font-size: 0.9rem;
 transition: all 0.15s;
 flex-shrink: 0;
}
.theme-toggle:hover { color: var(--white); border-color: var(--grey); }
html.light-mode .theme-toggle { color: #555; border-color: #CCC; }
html.light-mode .theme-toggle:hover { color: #0A0A0A; border-color: #888; }

/* ── REDDIT-STYLE ISSUE FEED ── */
.issue-feed {
 display: flex;
 flex-direction: column;
 gap: 1px;
 background: var(--rule);
 border: 1px solid var(--rule);
 border-radius: 2px;
 overflow: hidden;
}
.issue-feed-item {
 background: var(--black2);
 padding: 1.1rem 1.5rem;
 display: flex;
 align-items: center;
 gap: 1.25rem;
 transition: background 0.15s;
 cursor: pointer;
 text-decoration: none;
}
.issue-feed-item:hover { background: var(--black3); }
.ifi-left {
 flex: 1;
 min-width: 0;
}
.ifi-meta {
 display: flex;
 align-items: center;
 gap: 8px;
 margin-bottom: 0.4rem;
 flex-wrap: wrap;
}
.ifi-tag {
 font-size: 0.62rem;
 font-weight: 600;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 padding: 2px 7px;
 border: 1px solid rgba(255,255,255,0.15);
 border-radius: 2px;
 color: rgba(255,255,255,0.6);
 white-space: nowrap;
}
.ifi-pct {
 font-size: 0.68rem;
 color: rgba(255,255,255,0.45);
 letter-spacing: 0.04em;
}
.ifi-title {
 font-family: var(--serif);
 
 font-weight: 400;
 font-size: 0.97rem;
 line-height: 1.4;
 color: var(--white);
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
html.light-mode .ifi-title { color: #0A0A0A; }
.ifi-bar {
 height: 2px;
 background: rgba(255,255,255,0.12);
 border-radius: 1px;
 margin-top: 0.6rem;
 overflow: hidden;
 max-width: 200px;
}
.ifi-bar-fill {
 height: 2px;
 background: var(--acc);
 border-radius: 1px;
 transition: width 0.6s ease;
}
html.light-mode .ifi-bar-fill { background: #2563EB; }
.ifi-right {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-shrink: 0;
}
.ifi-voices {
 text-align: right;
 flex-shrink: 0;
}
.ifi-voices-num {
 font-family: var(--serif);
 font-size: 1.1rem;
 color: var(--white);
 line-height: 1;
}
html.light-mode .ifi-voices-num { color: #0A0A0A; }
.ifi-voices-label {
 font-size: 0.6rem;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: rgba(255,255,255,0.4);
}
.ifi-vote {
 font-size: 0.7rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 background: transparent;
 border: 1px solid rgba(255,255,255,0.2);
 border-radius: 2px;
 padding: 0.45rem 0.9rem;
 cursor: pointer;
 color: rgba(255,255,255,0.7);
 font-family: var(--sans);
 transition: all 0.15s;
 white-space: nowrap;
}
.ifi-vote:hover:not(:disabled) { background: var(--white); color: var(--black); border-color: var(--white); }
html.light-mode .ifi-vote:hover:not(:disabled) { background: #0A0A0A; color: #FFF; border-color: #0A0A0A; }
.ifi-vote:disabled { opacity: 0.4; cursor: default; }
.ifi-vote.voted { color: #444; cursor: default; }
.ifi-discuss {
 font-size: 0.7rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 background: transparent;
 border: 1px solid rgba(255,255,255,0.18);
 border-radius: 2px;
 padding: 0.45rem 0.9rem;
 cursor: pointer;
 color: rgba(255,255,255,0.55);
 font-family: var(--sans);
 transition: all 0.15s;
 text-decoration: none;
 white-space: nowrap;
}
.ifi-discuss:hover { color: var(--white); border-color: rgba(255,255,255,0.45); }
@media(max-width: 600px) {
 .issue-feed-item { flex-wrap: wrap; gap: 0.75rem; padding: 1rem; }
 .ifi-right { width: 100%; justify-content: flex-end; }
 .ifi-title { white-space: normal; }
 .ifi-bar { max-width: 100%; }
}

/* ── LIVE STATS BAR ── */
.stats-bar {
 background: var(--black2);
 border-bottom: 1px solid var(--rule);
 padding: 0 2rem;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 0;
 overflow: hidden;
}
html.light-mode .stats-bar { background: #F0F5FF; border-bottom-color: #D0DFF5; }
.stats-bar-item {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.45rem 1.5rem;
 border-right: 1px solid var(--rule);
 font-size: 0.72rem;
 letter-spacing: 0.04em;
 white-space: nowrap;
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-num {
 font-family: var(--serif);
 
 font-size: 1rem;
 color: var(--white);
 line-height: 1;
}
html.light-mode .stats-bar-num { color: #1E40AF; }
.stats-bar-label {
 font-size: 0.68rem;
 color: #444;
 text-transform: uppercase;
 letter-spacing: 0.1em;
}
html.light-mode .stats-bar-label { color: #64748B; }
.stats-bar-dot {
 width: 5px;
 height: 5px;
 border-radius: 50%;
 background: #3b82f6;
 animation: pulse 2.5s infinite;
 flex-shrink: 0;
}
@media(max-width:600px){
 .stats-bar-item:nth-child(n+3){ display:none; }
 .stats-bar-item { padding: 0.45rem 1rem; }
}

/* Sign in to vote button style */
.ifi-vote.signin-btn {
 color: var(--acc);
 border-color: var(--acc);
 opacity: 0.8;
}


/* ═══════════════════════════════════════════════════════
 PWA / APP MODE STYLES
 Only apply when installed as a standalone app
 ══════════════════════════════════════════════════════ */

/* Bottom nav — only visible in app mode */
.app-nav {
 display: none;
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 z-index: 200;
 background: rgba(8,8,8,0.97);
 backdrop-filter: blur(20px);
 border-top: 1px solid var(--rule);
 padding: 0.6rem 0;
 padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
 grid-template-columns: repeat(4, 1fr);
}
.app-nav-item {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 3px;
 padding: 0.4rem 0.5rem;
 text-decoration: none;
 color: #444;
 transition: color 0.15s;
 cursor: pointer;
 background: none;
 border: none;
 font-family: var(--sans);
 -webkit-tap-highlight-color: transparent;
}
.app-nav-item.active { color: var(--white); }
.app-nav-item:hover { color: var(--grey); }
.app-nav-icon {
 width: 22px;
 height: 22px;
 display: flex;
 align-items: center;
 justify-content: center;
}
.app-nav-label {
 font-size: 0.6rem;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 font-weight: 500;
}

html.light-mode .app-nav {
 background: rgba(255,255,255,0.97);
 border-top-color: #DDE0EA;
}
html.light-mode .app-nav-item { color: #9BA3B8; }
html.light-mode .app-nav-item.active { color: #1C2340; }

/* When in standalone app mode */
@media (display-mode: standalone) {
 .app-nav { display: grid; }
 
 /* Add bottom padding so content isn't hidden behind nav */
 body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
 
 /* Hide the main desktop nav links on mobile app */
 nav .nav-links { display: none; }
 nav .nav-vol { display: none; }
 nav .nav-products { display: none; }
 
 /* Make nav taller to account for status bar on iOS */
 nav {
 padding-top: env(safe-area-inset-top);
 height: calc(58px + env(safe-area-inset-top));
 }
 
 /* No text selection on interactive elements */
 button, a, .issue-feed-item { -webkit-user-select: none; user-select: none; }
 
 /* Bigger touch targets */
 .ifi-vote { min-width: 80px; padding: 0.6rem 1rem; }
 .ifi-discuss { min-width: 70px; padding: 0.6rem 1rem; }
 
 /* Smooth momentum scrolling */
 body { -webkit-overflow-scrolling: touch; }
 
 /* Remove hover states (touch doesn't hover) */
 .issue-feed-item:hover { background: var(--black2); }
 html.light-mode .issue-feed-item:hover { background: #FFFFFF; }
}

/* iOS Safari standalone */
@media (display-mode: standalone) and (-webkit-min-device-pixel-ratio: 2) {
 .app-nav { 
 background: rgba(8,8,8,0.99);
 }
}

/* ── GRAIN TEXTURE ───────────────────────────────────────────────── */
body::after {
 content: '';
 position: fixed;
 inset: 0;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
 pointer-events: none;
 z-index: 9998;
 opacity: 0.028;
 mix-blend-mode: overlay;
}

/* ── GLASSMORPHISM — ISSUE CARDS ─────────────────────────────────── */
.issue-feed-item {
 position: relative;
 background: rgba(255,255,255,0.025) !important;
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 border: 1px solid rgba(255,255,255,0.07) !important;
 box-shadow:
 0 1px 1px rgba(0,0,0,0.5),
 inset 0 1px 0 rgba(255,255,255,0.04),
 0 8px 24px rgba(0,0,0,0.25);
 transition: background .2s, border-color .2s, box-shadow .2s, transform .2s !important;
}
.issue-feed-item:hover {
 background: rgba(255,255,255,0.055) !important;
 border-color: rgba(255,255,255,0.12) !important;
 box-shadow:
 0 1px 1px rgba(0,0,0,0.5),
 inset 0 1px 0 rgba(255,255,255,0.07),
 0 12px 32px rgba(0,0,0,0.35),
 0 0 0 1px rgba(255,255,255,0.04);
 transform: translateY(-1px);
}

/* ── GLASSMORPHISM — HOW IT WORKS CARDS ─────────────────────────── */
.how-step {
 background: rgba(255,255,255,0.03) !important;
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border: 1px solid rgba(255,255,255,0.08) !important;
 box-shadow:
 0 1px 1px rgba(0,0,0,0.4),
 inset 0 1px 0 rgba(255,255,255,0.05),
 0 6px 20px rgba(0,0,0,0.2);
 transition: background .2s, border-color .2s, box-shadow .2s, transform .25s !important;
}
.how-step:hover {
 background: rgba(255,255,255,0.06) !important;
 border-color: rgba(255,255,255,0.12) !important;
 box-shadow:
 0 1px 1px rgba(0,0,0,0.4),
 inset 0 1px 0 rgba(255,255,255,0.08),
 0 16px 40px rgba(0,0,0,0.3);
 transform: translateY(-3px);
}

/* ── GLASSMORPHISM — HERO STATS ─────────────────────────────────── */
.hero-stat-card {
 background: rgba(255,255,255,0.04) !important;
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 border: 1px solid rgba(255,255,255,0.08) !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 16px rgba(0,0,0,0.2);
}

/* ── GLASSMORPHISM — NAV ─────────────────────────────────────────── */
nav {
 background: rgba(9,9,11,0.85) !important;
 backdrop-filter: blur(24px) saturate(180%);
 -webkit-backdrop-filter: blur(24px) saturate(180%);
 border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

/* ── BUTTON GLOW EFFECTS ─────────────────────────────────────────── */
.nav-cta {
 box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 2px 8px rgba(0,0,0,0.4) !important;
 transition: box-shadow .2s, transform .15s, background .2s !important;
}
.nav-cta:hover {
 box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 0 20px rgba(255,255,255,0.12), 0 4px 16px rgba(0,0,0,0.4) !important;
 transform: translateY(-1px);
}

.btn-primary {
 box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.35) !important;
 transition: box-shadow .2s, transform .15s !important;
}
.btn-primary:hover {
 box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 0 24px rgba(255,255,255,0.15), 0 4px 16px rgba(0,0,0,0.4) !important;
 transform: translateY(-2px);
}

.f-submit {
 box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
 transition: box-shadow .2s, transform .15s, opacity .15s !important;
}
.f-submit:hover {
 box-shadow: 0 0 24px rgba(255,255,255,0.12), 0 4px 16px rgba(0,0,0,0.4) !important;
 transform: translateY(-1px);
}

/* ── MANIFESTO GLASS ─────────────────────────────────────────────── */
.manifesto {
 background: rgba(255,255,255,0.025) !important;
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 border: 1px solid rgba(255,255,255,0.07) !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.3) !important;
}

/* ── STRONGER SECTION SEPARATORS ─────────────────────────────────── */
.section::before {
 content: none;
}

/* ── HERO HEADLINE — MORE WEIGHT ─────────────────────────────────── */
.hero h1 {
 font-weight: 400 !important;
 letter-spacing: -.01em;
 text-shadow: 0 2px 40px rgba(37,99,235,.2);
}

/* ── PAGE HERO TITLE GLOW ────────────────────────────────────────── */
.page-title {
 text-shadow: 0 2px 40px rgba(37,99,235,.18) !important;
}

/* ── PROGRESS BARS — GLOW ────────────────────────────────────────── */
.ifi-bar-fill {
 box-shadow: 0 0 8px rgba(255,255,255,0.25);
}

/* ── SCROLL REVEAL ───────────────────────────────────────────────── */
.reveal {
 opacity: 0;
 transform: translateY(22px);
 transition: opacity 0.65s cubic-bezier(.25,.46,.45,.94), transform 0.65s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible {
 opacity: 1;
 transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── LIGHT MODE GLASSMORPHISM ────────────────────────────────────── */
html.light-mode .issue-feed-item {
 background: rgba(255,255,255,0.7) !important;
 border-color: rgba(28,35,64,.08) !important;
 box-shadow: 0 1px 1px rgba(28,35,64,.08), inset 0 1px 0 rgba(255,255,255,.8), 0 8px 24px rgba(28,35,64,.06) !important;
}
html.light-mode .issue-feed-item:hover {
 background: rgba(255,255,255,0.9) !important;
 border-color: rgba(28,35,64,.15) !important;
 box-shadow: 0 1px 1px rgba(28,35,64,.1), 0 12px 32px rgba(28,35,64,.1) !important;
}
html.light-mode .how-step {
 background: rgba(255,255,255,0.75) !important;
 border-color: rgba(28,35,64,.08) !important;
 box-shadow: 0 4px 20px rgba(28,35,64,.07), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
html.light-mode nav {
 background: rgba(255,255,255,0.88) !important;
 border-bottom-color: rgba(28,35,64,.08) !important;
}
html.light-mode .hero-grid {
 background:
 radial-gradient(ellipse 80% 60% at 50% -10%, rgba(28,35,100,.1) 0%, transparent 65%),
 radial-gradient(ellipse 40% 30% at 85% 60%, rgba(99,37,235,.04) 0%, transparent 55%);
}
html.light-mode .page-hero-grid {
 background:
 radial-gradient(ellipse 75% 55% at 50% 0%, rgba(28,35,100,.1) 0%, transparent 65%),
 radial-gradient(ellipse 40% 30% at 90% 55%, rgba(99,37,235,.03) 0%, transparent 55%);
}
html.light-mode body::after {
 opacity: 0.015;
 mix-blend-mode: multiply;
}

/* ═══════════════════════════════════════════════════════════════════
 HERO V2 — TWO COLUMN LAYOUT
 ═══════════════════════════════════════════════════════════════════ */

.hero-v2 {
 padding: 0;
 min-height: 92vh;
 display: flex;
 align-items: center;
}

.hero-v2-inner {
 max-width: 1160px;
 margin: 0 auto;
 padding: 7rem 2rem 4rem;
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 4rem;
 align-items: center;
 position: relative;
 z-index: 1;
 width: 100%;
}

/* LEFT */
.hero-v2-left { display: flex; flex-direction: column; }

.hero-v2-h1 {
 font-family: var(--serif);
 
 font-weight: 400;
 font-size: clamp(2.4rem, 4.5vw, 4rem);
 line-height: 1.1;
 color: var(--white);
 margin: 1rem 0 1.5rem;
 letter-spacing: -.01em;
 text-shadow: 0 2px 60px rgba(37,99,235,.25);
}

.hero-trust-row {
 display: flex;
 flex-wrap: wrap;
 gap: .5rem;
}

.trust-chip {
 font-size: .68rem;
 letter-spacing: .08em;
 text-transform: uppercase;
 color: rgba(255,255,255,.4);
 border: 1px solid rgba(255,255,255,.08);
 border-radius: var(--r-full, 9999px);
 padding: .28rem .75rem;
 background: rgba(255,255,255,.03);
}

/* RIGHT */
.hero-v2-right {
 display: flex;
 flex-direction: column;
 gap: 1rem;
}

/* Live stats card */
.hero-live-card {
 background: rgba(255,255,255,.04);
 backdrop-filter: blur(16px);
 -webkit-backdrop-filter: blur(16px);
 border: 1px solid rgba(255,255,255,.1);
 border-radius: 16px;
 padding: 1.5rem;
 box-shadow:
 inset 0 1px 0 rgba(255,255,255,.08),
 0 8px 32px rgba(0,0,0,.35),
 0 1px 1px rgba(0,0,0,.4);
}

.hlc-top {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 1.25rem;
}

.hlc-live-badge {
 display: inline-flex;
 align-items: center;
 gap: 5px;
 font-size: .65rem;
 font-weight: 600;
 letter-spacing: .1em;
 text-transform: uppercase;
 color: #34d399;
 background: rgba(52,211,153,.1);
 border: 1px solid rgba(52,211,153,.2);
 border-radius: 9999px;
 padding: .25rem .7rem;
}

.hlc-updated {
 font-size: .66rem;
 color: rgba(255,255,255,.3);
 letter-spacing: .04em;
}

.hlc-stats-row {
 display: flex;
 align-items: center;
 gap: 0;
 margin-bottom: 1.25rem;
}

.hlc-stat {
 flex: 1;
 text-align: center;
}

.hlc-n {
 font-family: var(--serif);
 
 font-size: 1.8rem;
 color: var(--white);
 line-height: 1;
 margin-bottom: 3px;
}

.hlc-l {
 font-size: .6rem;
 letter-spacing: .1em;
 text-transform: uppercase;
 color: rgba(255,255,255,.3);
}

.hlc-divider {
 width: 1px;
 height: 40px;
 background: rgba(255,255,255,.08);
 flex-shrink: 0;
}

.hlc-bar-wrap { }

.hlc-bar {
 height: 3px;
 background: rgba(255,255,255,.1);
 border-radius: 2px;
 overflow: hidden;
 margin-bottom: .5rem;
}

.hlc-bar-fill {
 height: 3px;
 background: linear-gradient(90deg, #3b82f6, #60a5fa);
 border-radius: 2px;
 transition: width 1.2s ease;
 box-shadow: 0 0 8px rgba(96,165,250,.4);
}

.hlc-bar-label {
 font-size: .66rem;
 color: rgba(255,255,255,.3);
 letter-spacing: .04em;
}

/* Floating issue preview */
.hero-issue-preview {
 background: rgba(255,255,255,.025);
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 border: 1px solid rgba(255,255,255,.07);
 border-radius: 14px;
 padding: 1.1rem 1.25rem;
 box-shadow:
 inset 0 1px 0 rgba(255,255,255,.05),
 0 6px 24px rgba(0,0,0,.3);
 transition: transform .2s, box-shadow .2s;
}

.hero-issue-preview:hover {
 transform: translateY(-2px);
 box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 40px rgba(0,0,0,.4);
}

.hip-tag {
 font-size: .6rem;
 font-weight: 600;
 letter-spacing: .1em;
 text-transform: uppercase;
 color: rgba(255,255,255,.45);
 border: 1px solid rgba(255,255,255,.12);
 border-radius: 3px;
 padding: 2px 7px;
 display: inline-block;
 margin-bottom: .6rem;
}

.hip-title {
 font-family: var(--serif);
 
 font-weight: 400;
 font-size: .95rem;
 color: var(--white);
 line-height: 1.4;
 margin-bottom: .85rem;
}

.hip-bar {
 height: 2px;
 background: rgba(255,255,255,.1);
 border-radius: 1px;
 overflow: hidden;
 margin-bottom: .65rem;
}

.hip-bar-fill {
 height: 2px;
 width: 34%;
 background: rgba(255,255,255,.6);
 border-radius: 1px;
}

.hip-foot {
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.hip-voices {
 font-size: .72rem;
 color: rgba(255,255,255,.45);
}

.hip-btn {
 font-size: .7rem;
 font-weight: 600;
 letter-spacing: .06em;
 color: rgba(255,255,255,.7);
 text-decoration: none;
 border: 1px solid rgba(255,255,255,.18);
 border-radius: 6px;
 padding: .3rem .75rem;
 transition: all .15s;
}

.hip-btn:hover {
 color: var(--white);
 border-color: rgba(255,255,255,.4);
}

/* ── MOBILE: Stack to single column ─────────────────────────────────── */
@media (max-width: 860px) {
 .hero-v2 { min-height: auto; }
 .hero-v2-inner {
 grid-template-columns: 1fr;
 gap: 2.5rem;
 padding: 6rem 1.25rem 3rem;
 }
 .hero-v2-h1 { font-size: clamp(2rem, 7vw, 3rem); }
 .hero-v2-right { order: -1; }
 .hero-live-card { padding: 1.1rem; }
 .hlc-n { font-size: 1.4rem; }
}

/* ── LIGHT MODE ──────────────────────────────────────────────────────── */
html.light-mode .hero-v2-h1 { color: #0F1320; text-shadow: none; }
html.light-mode .hero-live-card {
 background: rgba(255,255,255,.75);
 border-color: rgba(28,35,64,.1);
 box-shadow: 0 8px 32px rgba(28,35,64,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
html.light-mode .hlc-n { color: #1C2340; }
html.light-mode .hlc-l, html.light-mode .hlc-updated, html.light-mode .hlc-bar-label { color: rgba(28,35,64,.4); }
html.light-mode .hlc-divider { background: rgba(28,35,64,.1); }
html.light-mode .hlc-bar { background: rgba(28,35,64,.08); }
html.light-mode .hlc-live-badge { color: #059669; background: rgba(5,150,105,.1); border-color: rgba(5,150,105,.2); }
html.light-mode .trust-chip { color: rgba(28,35,64,.5); border-color: rgba(28,35,64,.1); background: rgba(28,35,64,.03); }
html.light-mode .hero-issue-preview { background: rgba(255,255,255,.7); border-color: rgba(28,35,64,.08); }
html.light-mode .hip-tag { color: rgba(28,35,64,.5); border-color: rgba(28,35,64,.12); }
html.light-mode .hip-title { color: #0F1320; }
html.light-mode .hip-bar { background: rgba(28,35,64,.08); }
html.light-mode .hip-bar-fill { background: rgba(28,35,64,.4); }
html.light-mode .hip-voices { color: rgba(28,35,64,.45); }
html.light-mode .hip-btn { color: rgba(28,35,64,.7); border-color: rgba(28,35,64,.18); }


/* ── INTER HEADING WEIGHTS ───────────────────────────────────────── */
.hero h1 { font-weight: 700; letter-spacing: -0.02em; }
.s-title { font-weight: 700; letter-spacing: -0.02em; }
.page-title { font-weight: 800; letter-spacing: -0.03em; }
.how-title { font-weight: 700; }
.how-num { color: rgba(59,130,246,0.15); font-weight: 800; }
.manifesto q { font-weight: 600; font-style: normal; line-height: 1.55; }
.ifi-title { font-weight: 500; white-space: normal; overflow: visible; text-overflow: clip; }

/* ── COOKIE BANNER CLEARANCE ─────────────────────────────────────── */
#cookie-banner.show ~ * .f-submit,
.f-submit { scroll-margin-bottom: 80px; }

/* Ensure cookie banner doesn't trap clicks on content below */
#cookie-banner {
  pointer-events: all;
}

/* Add bottom padding to discussion section when cookie banner shows */
.discussion { padding-bottom: 6rem; }


/* ── CONSISTENCY PASS ────────────────────────────────────────────────────── */

/* Standardise all primary buttons */
.btn-primary {
  font-weight: 700 !important;
  letter-spacing: .01em !important;
}

/* Better focus states for accessibility */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid rgba(37,99,235,.5);
  outline-offset: 2px;
}

/* Consistent card hover lift */
.issue-feed-item:hover {
  transform: translateY(-1px) !important;
}

/* Make headings consistent weight */
h1 { font-weight: 800; letter-spacing: -.025em; }
h2 { font-weight: 700; letter-spacing: -.02em; }
h3 { font-weight: 600; letter-spacing: -.01em; }

/* Consistent link colour in body text */
.s-body a, .how-body a, .ac-body a { color: rgba(255,255,255,.65); }

/* Better section spacing */
.section { padding: 5rem 2rem; }

/* Consistent issue tag pill style */
.ifi-tag {
  font-weight: 600 !important;
}

/* Mobile: stack Topics teaser */
@media (max-width: 680px) {
  .section { padding: 3rem 1.25rem; }
}

/* Topics page: better category card on mobile */
@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr 1fr !important; gap: .6rem !important; }
  .category-card { padding: 1rem !important; }
}

/* Better scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* Smooth page transitions feel */
* { -webkit-tap-highlight-color: transparent; }

/* Better placeholder consistency */
input::placeholder, textarea::placeholder { 
  color: rgba(255,255,255,.25) !important; 
  font-weight: 400 !important;
}

/* Stats bar - cleaner */
.sb-item { border-right-color: rgba(255,255,255,.06) !important; }

/* Footer links - better hover */
.foot-links a { transition: color .15s; }
.foot-links a:hover { color: rgba(255,255,255,.7); }

/* Issue progress label more readable */
.progress-labels { 
  font-size: .72rem;
  color: rgba(255,255,255,.35);
}


/* ── MOBILE FIXES (critical) ────────────────────────────────────────────── */

/* Hero - mobile first */
@media (max-width: 768px) {
  .hero { padding: 5rem 1.25rem 3rem !important; min-height: auto !important; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.8rem) !important; line-height: 1.1 !important; }
  .hero-sub { font-size: .92rem !important; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: .5rem !important; max-width: 100% !important; }
  .hs { min-width: calc(50% - .5rem); }
  .hero-actions { flex-wrap: wrap; gap: .6rem; }
  .hero-actions a { font-size: .82rem; padding: .7rem 1.25rem; }

  /* Nav mobile */
  .nav-inner { padding: 0 1rem; }

  /* Issues list - tighter on mobile */
  .issue-feed-item { padding: 1rem !important; }
  .ifi-title { font-size: .88rem !important; }

  /* Section padding */
  .section { padding: 3rem 1.25rem !important; }
  .s-title { font-size: clamp(1.5rem, 6vw, 2.2rem) !important; }

  /* How grid */
  .how-grid { grid-template-columns: 1fr !important; }
  .how-step { padding: 1.5rem !important; }

  /* Manifesto text */
  .manifesto q { font-size: 1rem !important; }

  /* Stats bar scroll on mobile */
  .stats-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Topics teaser - single column */
  .section [style*="grid-template-columns:1fr 1fr"] { 
    grid-template-columns: 1fr !important; 
    gap: 1.5rem !important;
  }

  /* Topic page */
  .topic-page { padding: 0 1rem 3rem !important; }
  .subtopics-grid { grid-template-columns: 1fr 1fr !important; }

  /* Topics browse */
  .topics-hero { padding: 4rem 1.25rem 2.5rem !important; }
  .topics-hero h1 { font-size: 1.9rem !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem !important; }
  .subtopics-grid { grid-template-columns: 1fr !important; }
  .category-grid { grid-template-columns: 1fr !important; }
  .hs { min-width: 100%; text-align: center; border: none !important; }
  .hero-stats { flex-direction: column; background: none !important; border: none !important; padding: 0 !important; margin-top: 2rem !important; gap: .75rem !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   COLOUR SYSTEM — Blue dominant (3:1), purple accent
   Blues: #1d4ed8 (dark) / #2563eb (primary) / #3b82f6 (mid) / #60a5fa (light)
   Purple: #6d28d9 (dark) / #7c3aed (accent — use sparingly)
   ═══════════════════════════════════════════════════════════════════ */

/* ── PRIMARY BUTTONS — blue ─────────────────────────────────────────── */
.btn-primary {
  background: #2563eb !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 12px rgba(37,99,235,.3) !important;
}
.btn-primary:hover {
  background: #1d4ed8 !important;
  box-shadow: 0 4px 20px rgba(37,99,235,.4) !important;
  transform: translateY(-1px) !important;
}

/* ── NAV CTA — blue ─────────────────────────────────────────────────── */
.nav-cta {
  background: #2563eb !important;
  color: #fff !important;
  border: none !important;
}
.nav-cta:hover { background: #1d4ed8 !important; }

/* ── SECTION LABELS — blue ─────────────────────────────────────────── */
.s-label, .page-label {
  color: #3b82f6 !important;
  font-weight: 700 !important;
}

/* ── PROGRESS BARS — blue ──────────────────────────────────────────── */
.ifi-bar-fill {
  background: linear-gradient(90deg, #2563eb 60%, #7c3aed) !important;
  box-shadow: 0 0 8px rgba(37,99,235,.35) !important;
}
#hlc-bar-fill { background: linear-gradient(90deg, #2563eb, #7c3aed) !important; }

/* ── VOTE BUTTONS — glass style ──────────────────────────────────── */
.ifi-vote {
  background: rgba(37,99,235,.15) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(37,99,235,.3) !important;
  backdrop-filter: blur(8px) !important;
}
.ifi-vote:hover {
  background: rgba(37,99,235,.25) !important;
  border-color: rgba(37,99,235,.5) !important;
  color: #93c5fd !important;
}
.ifi-vote.voted-active {
  background: rgba(37,99,235,.3) !important;
  border-color: rgba(37,99,235,.6) !important;
}

/* ── SUBMIT BUTTONS — dark navy ─────────────────────────────────── */
.f-submit {
  background: rgba(30,58,138,.8) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(37,99,235,.25) !important;
}
.f-submit:hover {
  background: rgba(30,64,175,.9) !important;
  border-color: rgba(37,99,235,.4) !important;
}

/* ── PULSE / LIVE DOTS — blue ──────────────────────────────────────── */
.pulse { background: #3b82f6 !important; }
.live-dot { background: #3b82f6 !important; }

/* ── NAV HOVER — blue ──────────────────────────────────────────────── */
.nav-links a.active { color: #3b82f6 !important; }
.nav-links a:hover { color: #60a5fa !important; }

/* ── HERO GRADIENT ORBS — blue dominant with purple accent ─────────── */
.hero-grid {
  background:
    radial-gradient(ellipse 90% 70% at 50% -15%, rgba(37,99,235,.28) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 88% 55%, rgba(99,37,235,.12) 0%, transparent 58%),
    radial-gradient(ellipse 40% 30% at 6% 82%, rgba(37,99,235,.1) 0%, transparent 55%) !important;
}
.page-hero-grid {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(37,99,235,.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 90% 52%, rgba(99,37,235,.1) 0%, transparent 55%) !important;
}
.topics-hero-grid {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(37,99,235,.3) 0%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 90% 55%, rgba(99,37,235,.14) 0%, transparent 55%),
    radial-gradient(ellipse 35% 28% at 5% 78%, rgba(37,99,235,.1) 0%, transparent 50%) !important;
}

/* ── EVIDENCE / SOLUTION BADGES — blue ────────────────────────────── */
.solution-badge {
  background: rgba(37,99,235,.15) !important;
  border-color: rgba(37,99,235,.3) !important;
  color: #60a5fa !important;
}
.comment-evidence-link { color: #60a5fa !important; border-color: rgba(96,165,250,.2) !important; }

/* ── PUZZLE PIECE ICONS — purple (the 1/4 accent) ──────────────────── */
.topic-icon img, .topic-item-icon img, .subtopic-icon img {
  filter: brightness(0) saturate(100%) invert(35%) sepia(80%) saturate(500%) hue-rotate(245deg) !important;
}

/* ── UPVOTED STATE — blue ──────────────────────────────────────────── */
.ca-btn.upvoted, .pc-btn.upvoted {
  color: #3b82f6 !important;
  border-color: rgba(37,99,235,.35) !important;
  background: rgba(37,99,235,.08) !important;
}

/* ── DISC TAB ACTIVE — blue ────────────────────────────────────────── */
.disc-tab.on { border-bottom-color: #3b82f6 !important; color: #fff !important; }

/* ── ISSUE TAG BORDER ──────────────────────────────────────────────── */
.ifi-tag { border-color: rgba(37,99,235,.2) !important; }

/* ── HOW STEP NUMBERS — subtle blue ───────────────────────────────── */
.how-num { color: rgba(37,99,235,.18) !important; }

/* ── LIGHT MODE ADJUSTMENTS ─────────────────────────────────────────── */
html.light-mode .btn-primary { background: #1d4ed8 !important; }
html.light-mode .nav-cta { background: #1d4ed8 !important; }
html.light-mode .s-label, html.light-mode .page-label { color: #1d4ed8 !important; }
html.light-mode .ifi-bar-fill { background: linear-gradient(90deg, #1d4ed8 60%, #6d28d9) !important; }

/* ── SECTION BLUE TINT ──────────────────────────────────────────────── */
.section { background: rgba(5,10,25,.0); }
.s-white { background: rgba(8,14,35,.8) !important; }
body:not(.light-mode) .s-white { background: rgba(8,14,35,.8) !important; }

/* Nav - deep navy ──────────────────────────────────────────────────── */
nav { background: rgba(4,8,20,.92) !important; border-bottom: 1px solid rgba(255,255,255,.06) !important; }

/* Cards - dark navy not black ──────────────────────────────────────── */
.issue-feed-item {
  background: rgba(8,14,35,.75) !important;
  border-color: rgba(255,255,255,.06) !important;
}
.issue-feed-item:hover {
  background: rgba(10,18,45,.85) !important;
  border-color: rgba(255,255,255,.1) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   HERO — Research-backed: blobs, grid, gradient text, cycle, ticker
   ═══════════════════════════════════════════════════════════════════ */

.hero-new {
  position: relative;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-top: 60px; /* account for fixed nav */
}

/* ── DOT GRID (Vercel aesthetic) ─────────────────────────────────── */
.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

/* ── ANIMATED BLOBS ──────────────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
  opacity: .7;
}
.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(29,78,216,.45) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: blob1 14s ease-in-out infinite alternate;
}
.blob-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(109,40,217,.3) 0%, transparent 70%);
  top: 0; right: -100px;
  animation: blob2 18s ease-in-out infinite alternate;
}
.blob-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.25) 0%, transparent 70%);
  bottom: -150px; left: 15%;
  animation: blob3 20s ease-in-out infinite alternate;
}
.blob-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(67,56,202,.22) 0%, transparent 70%);
  top: 35%; right: 10%;
  animation: blob4 12s ease-in-out infinite alternate;
}
@keyframes blob1 { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(80px,60px) scale(1.12)} 100%{transform:translate(-20px,100px) scale(.93)} }
@keyframes blob2 { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(-70px,80px) scale(1.08)} 100%{transform:translate(40px,-60px) scale(.95)} }
@keyframes blob3 { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(50px,-70px) scale(1.06)} 100%{transform:translate(-80px,40px) scale(1.1)} }
@keyframes blob4 { 0%{transform:translate(0,0)} 100%{transform:translate(-50px,-80px) scale(1.2)} }

/* ── GRAIN ───────────────────────────────────────────────────────── */
.hero-grain {
  position: absolute; inset: 0; opacity: .04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── HERO INNER ──────────────────────────────────────────────────── */
.hero-new-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* ── EYEBROW PILL ────────────────────────────────────────────────── */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: .38rem 1.1rem;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}
.hero-pill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59,130,246,.9);
  animation: pdot 2.5s ease-in-out infinite;
}
@keyframes pdot {
  0%,100%{ opacity:1; box-shadow:0 0 8px rgba(59,130,246,.9); }
  50%{ opacity:.35; box-shadow:0 0 2px rgba(59,130,246,.2); }
}

/* ── HEADLINE ────────────────────────────────────────────────────── */
.hero-headline {
  font-size: clamp(2.6rem, 7vw, 5.2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  line-height: 1.06 !important;
  margin: 0 !important;
  color: #fff !important;
}
.hero-headline-top {
  color: rgba(255,255,255,.88);
}
.hero-headline-gradient {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* Cycling word animation */
.hero-cycle-word {
  display: inline-block;
  color: #93c5fd;
  transition: opacity .25s ease, transform .25s ease;
  font-style: normal;
}
.hero-cycle-word.fade { opacity: 0; transform: translateY(-6px); }

/* ── SUBTEXT ─────────────────────────────────────────────────────── */
.hero-subtext {
  font-size: 1.05rem !important;
  color: rgba(255,255,255,.45) !important;
  line-height: 1.8 !important;
  max-width: 580px !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  padding: .9rem 2rem;
  border-radius: 12px;
  letter-spacing: .01em;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 0 1px rgba(37,99,235,.4), 0 6px 24px rgba(37,99,235,.35);
}
.hero-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(37,99,235,.6), 0 10px 36px rgba(37,99,235,.45);
}
.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: .9rem 1.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
  transition: color .2s, border-color .2s, background .2s;
}
.hero-btn-ghost:hover {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}

/* ── LIVE COUNTER ────────────────────────────────────────────────── */
.hero-live {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: .9rem 0;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
}
.hero-live-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.hero-live-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.hero-live-goal { color: #818cf8; }
.hero-live-label {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}
.hero-live-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.07);
  flex-shrink: 0;
}

/* ── SCROLL CUE ──────────────────────────────────────────────────── */
.hero-scroll-cue { display: flex; justify-content: center; margin-top: .25rem; }
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrl 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrl {
  0%,100%{ transform: scaleY(0); opacity:0; }
  30%,70%{ transform: scaleY(1); opacity:1; }
}

/* ── LIVE ISSUES TICKER ──────────────────────────────────────────── */
.hero-ticker-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(5,10,24,.7);
  backdrop-filter: blur(12px);
  height: 36px;
  display: flex;
  align-items: center;
}
.hero-ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.hero-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 2.5rem;
  font-size: .68rem;
  color: rgba(255,255,255,.35);
  border-right: 1px solid rgba(255,255,255,.06);
}
.hero-ticker-item strong {
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.hero-ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: #3b82f6; flex-shrink: 0; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── MOBILE ──────────────────────────────────────────────────────── */
@media (max-width:768px) {
  .hero-new-inner { padding: 1.5rem 1.25rem 3rem; gap: 1.5rem; }
  .hero-headline { font-size: clamp(2rem, 9vw, 3.2rem) !important; }
  .hero-subtext { font-size: .92rem !important; }
  .hero-live { flex-wrap: wrap; gap: .5rem; padding: .75rem .5rem; }
  .hero-live-counter { padding: 0 1rem; }
  .hero-live-num { font-size: 1.5rem; }
  .hero-live-divider { display: none; }
  .blob-1 { width: 400px; height: 400px; }
  .blob-2 { width: 300px; height: 300px; }
  .blob-3 { width: 280px; height: 280px; }
  .blob-4 { display: none; }
  .hero-scroll-cue { display: none; }
  .hero-dot-grid { background-size: 24px 24px; }
}
@media (max-width:480px) {
  .hero-headline { font-size: 1.9rem !important; }
  .hero-btn-primary, .hero-btn-ghost { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════
   TYPOGRAPHY — Barlow Semi Condensed for display, Inter for body
   Barlow: editorial, structured, authoritative — no cartoon roundness
   ═══════════════════════════════════════════════════════════════════ */

:root {
  
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Headings - use Inter, clean weight, not Barlow */
h1, h2, h3, .hero-headline, .s-title, .page-title,
.how-title, .ac-title, .ifi-title,
.topic-title, .category-name, .subtopic-name,
.post-title, .section-big-title {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: -.025em !important;
}

/* Hero headline specific */
.hero-headline {
  font-weight: 800 !important;
  font-style: normal !important;
  letter-spacing: -.03em !important;
  font-size: clamp(2.6rem, 6.5vw, 5rem) !important;
}

/* Section titles — strong but not over-tight */
.s-title, .page-title {
  font-weight: 700 !important;
  letter-spacing: -.015em !important;
}

/* How-it-works titles */
.how-title { font-weight: 700 !important; }

/* Issue titles — slightly less heavy */
.ifi-title {
  font-weight: 600 !important;
  letter-spacing: -.005em !important;
}

/* Body text stays Inter */
body, p, span, a, li, label, input, textarea, button {
  font-family: var(--font-body) !important;
}

/* Override back for body elements that should be Inter */
.hero-pill, .hero-subtext, .hero-live-label, .hero-live-num,
.hero-btn-primary, .hero-btn-ghost,
.s-body, .how-body, .ac-body, .nav-links a, .nav-cta,
.btn-primary, .btn-outline, .foot-links a, .s-label, .page-label {
  font-family: var(--font-body) !important;
}

/* But nav brand/logo text — keep Inter */
.nav-brand { font-family: var(--font-body) !important; font-weight: 700 !important; }

/* Numbers in live counter — Inter works great for numbers */
.hero-live-num { font-family: var(--font-body) !important; }

/* Manifesto quote — display font for drama */
.manifesto q { font-family: var(--font-body) !important; font-weight: 600 !important; font-style: normal !important; }

/* ═══════════════════════════════════════════════════════════════════
   CLEAN HERO — No tricks. Just typography and one real glow.
   ═══════════════════════════════════════════════════════════════════ */

.hero-clean {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Single subtle background glow — not animated, not a blob */
.hero-clean-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(29,78,216,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 40%, rgba(67,56,202,.07) 0%, transparent 55%);
  pointer-events: none;
}

.hero-clean-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 3rem 0 10%;
  padding-top: 80px;
}

/* Small label */
.hero-clean-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 1.5rem;
}

/* Headline — big, clean, white, no tricks */
.hero-clean-h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.06;
  color: #ffffff;
  margin: 0 0 1.5rem;
  font-style: normal;
}

/* Subtext */
.hero-clean-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 2rem;
  font-weight: 400;
}

/* Actions */
.hero-clean-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-clean-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: .8rem 1.75rem;
  border-radius: 8px;
  transition: background .15s;
}
.hero-clean-btn:hover { background: #1d4ed8; }

.hero-clean-link {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color .15s;
}
.hero-clean-link:hover { color: rgba(255,255,255,.75); }

/* Stats — plain text, no glass card */
.hero-clean-stats {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}

.hero-clean-stat {
  display: flex;
  align-items: baseline;
  gap: .35rem;
}

.hero-clean-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  font-variant-numeric: tabular-nums;
}

.hero-clean-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.28);
  letter-spacing: .04em;
}

.hero-clean-stat-sep {
  color: rgba(255,255,255,.12);
  font-size: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-clean-inner {
    padding: 80px 1.5rem 3rem;
    max-width: 100%;
  }
  .hero-clean-h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-clean-sub { font-size: .92rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   LIGHT HERO — Civic, editorial, human. Not a tech product.
   ═══════════════════════════════════════════════════════════════════ */

.hero-light {
  background: #f8f7f4;
  min-height: 92vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e2e0da;
  position: relative;
}

.hero-light-inner {
  max-width: 860px;
  padding: 0 5% 0 8%;
  padding-top: 80px;
}

/* Thin blue rule above headline — the only design element */
.hero-light-rule {
  width: 48px;
  height: 3px;
  background: #2563eb;
  margin-bottom: 2rem;
}

/* Headline — massive, dark, editorial */
.hero-light-h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.0;
  color: #111;
  margin: 0 0 2rem;
}

/* Subtext */
.hero-light-sub {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 0 2.25rem;
  font-weight: 400;
}

/* Buttons */
.hero-light-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-light-btn {
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: .85rem 1.85rem;
  border-radius: 6px;
  letter-spacing: .005em;
  transition: background .15s;
  display: inline-block;
}
.hero-light-btn:hover { background: #2563eb; }

.hero-light-ghost {
  color: #666;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
}
.hero-light-ghost:hover { color: #111; border-color: #111; }

/* Stats — plain text, barely there */
.hero-light-proof {
  font-size: .78rem;
  color: #999;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.hero-light-proof span {
  color: #444;
  font-weight: 600;
}

/* Light mode overrides for rest of site */
html:not(.light-mode) body {
  background: var(--black);
}

/* The hero is light even in dark mode */
.hero-light {
  background: #f8f7f4 !important;
  color: #111 !important;
}

@media (max-width: 768px) {
  .hero-light-inner {
    padding: 80px 1.5rem 3rem;
  }
  .hero-light-h1 {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
  }
  .hero-light-sub { font-size: .95rem; }
}

@media (max-width: 480px) {
  .hero-light-h1 { font-size: 2.6rem; }
  .hero-light-btn, .hero-light-ghost { width: 100%; text-align: center; display: block; }
}

/* ── HOMEPAGE TOPIC CARDS ────────────────────────────────────────── */
.homepage-topic-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-decoration: none;
  display: block;
  transition: background .15s, border-color .15s, transform .15s;
}
.homepage-topic-card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.13);
  transform: translateY(-2px);
}
.htc-cat {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: .35rem;
}
.htc-title {
  font-size: .92rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: .25rem;
  line-height: 1.3;
}
.htc-sub {
  font-size: .68rem;
  color: rgba(255,255,255,.28);
  line-height: 1.5;
}
.htc-more {
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.htc-more .htc-title { color: #60a5fa; }

/* ── NAV SEARCH ──────────────────────────────────────────────────── */
.nav-search {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .3rem .75rem;
  cursor: text;
  transition: border-color .15s, background .15s;
}
.nav-search:focus-within {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
}
.nav-search input {
  background: transparent;
  border: none;
  outline: none;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  font-family: inherit;
  width: 160px;
}
.nav-search input::placeholder { color: rgba(255,255,255,.25); }
html.light-mode .nav-search { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.12); }
html.light-mode .nav-search input { color: #333; }
html.light-mode .nav-search input::placeholder { color: #aaa; }

/* Search results dropdown */
.nav-search-results {
  position: fixed;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 92vw);
  background: #0d1226;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  z-index: 999;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  display: none;
}
.nav-search-results.open { display: block; }
.nsr-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .1s;
}
.nsr-item:last-child { border-bottom: none; }
.nsr-item:hover { background: rgba(255,255,255,.05); }
.nsr-type { font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3b82f6; min-width: 44px; padding-top: 2px; }
.nsr-title { font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 2px; }
.nsr-sub { font-size: .72rem; color: rgba(255,255,255,.3); }
.nsr-empty { padding: 1.5rem; text-align: center; font-size: .82rem; color: rgba(255,255,255,.3); }
html.light-mode .nav-search-results { background: #fff; border-color: rgba(0,0,0,.1); }
html.light-mode .nsr-item:hover { background: #f5f5f5; }
html.light-mode .nsr-title { color: #111; }
html.light-mode .nsr-sub { color: #888; }

@media(max-width:768px){ .nav-search { display: none; } }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE — Comprehensive responsive fixes
   ═══════════════════════════════════════════════════════════════════ */

/* ── NAV MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-search { display: none; }
}

@media (max-width: 768px) {
  /* General page padding */
  .section { padding: 2.5rem 1.25rem !important; }
  .section-inner { padding: 0 !important; }
  .page-hero-inner { padding: 4.5rem 1.25rem 2rem !important; }
  .page-title { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; }

  /* Hero (light) */
  .hero-light { min-height: auto; padding-bottom: 3rem; }
  .hero-light-inner { padding: 5rem 1.25rem 2rem !important; }
  .hero-light-h1 { font-size: clamp(2.2rem, 9vw, 3.5rem) !important; }
  .hero-light-sub { font-size: .92rem !important; }
  .hero-light-actions { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .hero-light-btn { display: block; text-align: center; padding: .9rem 1.5rem !important; }

  /* Topics browse */
  .topics-hero { padding: 4rem 1.25rem 2rem !important; }
  .topics-hero h1 { font-size: clamp(1.8rem, 8vw, 2.8rem) !important; }
  .category-grid { grid-template-columns: 1fr 1fr !important; gap: .6rem !important; }
  .category-card { padding: .9rem !important; }
  .category-name { font-size: .88rem !important; }

  /* Topic page */
  .topic-page { padding: 0 1rem 3rem !important; }
  .breadcrumb { font-size: .68rem; padding: .85rem 0 .35rem !important; }
  .topic-hero { padding: 1.1rem !important; margin: 0 0 1.5rem !important; }
  .topic-title { font-size: clamp(1.3rem, 6vw, 2rem) !important; }
  .subtopics-grid { grid-template-columns: 1fr 1fr !important; gap: .5rem !important; }
  .subtopic-card { padding: .85rem !important; }
  .subtopic-name { font-size: .8rem !important; }
  .topic-actions { gap: .4rem !important; flex-wrap: wrap; }
  .btn-new-subtopic, .btn-new-post { font-size: .75rem !important; padding: .4rem .85rem !important; }

  /* Post cards */
  .post-card-header { padding: .85rem 1rem !important; }
  .post-title { font-size: .9rem !important; }
  .post-summary { font-size: .78rem !important; }
  .post-card-foot { flex-wrap: wrap; gap: .4rem !important; }
  .post-filters { gap: .3rem !important; }
  .post-filter { font-size: .68rem !important; padding: .22rem .6rem !important; }

  /* Issues page */
  .issue-feed-item { padding: .9rem 1rem !important; }
  .ifi-title { font-size: .88rem !important; }
  .ifi-bar { height: 4px !important; }

  /* Issue detail */
  .issue-hero-inner { padding: 4rem 1.25rem 1.5rem !important; }
  .issue-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem) !important; }

  /* How-it-works */
  .how-grid { grid-template-columns: 1fr !important; gap: 1px !important; }
  .how-step { padding: 1.5rem 1.25rem !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.06) !important; }

  /* Forms */
  .raise-form-inner, .form-inner { padding: 1.5rem 1.25rem !important; }
  .scope-pills { grid-template-columns: 1fr 1fr !important; }

  /* Homepage topic cards */
  .homepage-topic-card { padding: .85rem !important; }
  .htc-title { font-size: .82rem !important; }

  /* Stats bar scroll */
  .stats-bar { overflow-x: auto !important; -webkit-overflow-scrolling: touch; padding: .35rem 0 !important; }
  .sb-inner { min-width: max-content !important; padding: 0 1rem !important; }

  /* Footer */
  .foot-inner { grid-template-columns: 1fr !important; gap: 1.5rem !important; padding: 2rem 1.25rem !important; }

  /* Comment section mobile */
  #comment-form-section { padding: .75rem !important; }
  .comment-replies { margin-left: .65rem !important; padding-left: .65rem !important; }

  /* Search results */
  .nav-search-results { top: 52px; width: 92vw; left: 4vw; transform: none; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr !important; }
  .subtopics-grid { grid-template-columns: 1fr !important; }
  .hero-light-h1 { font-size: 2rem !important; }
  .s-title { font-size: 1.5rem !important; }
  .topic-title { font-size: 1.25rem !important; }

  /* Two-col grids go single col */
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Raise scope pills */
  .scope-pills { grid-template-columns: 1fr 1fr !important; }
}

/* Touch targets — minimum 44px */
@media (pointer: coarse) {
  .btn-primary, .btn-outline, .hero-light-btn, .hero-light-ghost,
  .hero-clean-btn, .post-filter, .scope-filter, .scope-pill {
    min-height: 44px;
  }
  .nav-cta, .nav-hamburger { min-height: 44px; }
  .ca-btn, .pc-btn { min-height: 36px; }
}

/* ── HERO SEARCH DROPDOWN ────────────────────────────────────────── */
.hsd-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: .75rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .1s;
}
.hsd-item:hover { background: rgba(255,255,255,.06); }
.hsd-item:last-child { border-bottom: none; }
.hsd-title { font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.85); }
.hsd-crumb { font-size: .68rem; color: rgba(255,255,255,.3); }
.hsd-empty { padding: 1rem 1.25rem; font-size: .82rem; color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════════════════════════════
   REDDIT-STYLE FLAT LISTS — no heavy cards, just content
   ═══════════════════════════════════════════════════════════════════ */

/* ── ISSUE FEED — flat rows like HN/Reddit ───────────────────────── */
.issue-feed-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 0 !important;
  padding: 1rem 0 !important;
  box-shadow: none !important;
  transition: background .1s;
}
.issue-feed-item:first-child { border-top: 1px solid rgba(255,255,255,.06) !important; }
.issue-feed-item:hover { background: rgba(255,255,255,.02) !important; }
.ifi-title { font-size: .95rem !important; font-weight: 600 !important; }
.ifi-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }





/* ── POST CARDS — HN style ───────────────────────────────────────── */
.post-card {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.post-card:first-child { border-top: 1px solid rgba(255,255,255,.06) !important; }
.post-card:hover { background: rgba(255,255,255,.015) !important; }
.post-card-header { padding: .85rem 0 !important; }



/* ── WHITE SECTIONS ──────────────────────────────────────────────── */
/* Alternate dark/light sections on homepage */
.s-white {
  background: #f8f7f4 !important;
  color: #111 !important;
}
.s-white .s-title, .s-white .s-label, .s-white h2, .s-white h3 {
  color: #111 !important;
}
.s-white .s-body, .s-white p {
  color: #555 !important;
}
.s-white .how-step {
  background: rgba(0,0,0,.03) !important;
  border-color: rgba(0,0,0,.08) !important;
}
.s-white .how-title { color: #111 !important; }
.s-white .how-body { color: #555 !important; }
.s-white .how-num { color: rgba(0,0,0,.08) !important; }
.s-white .s-label { color: #2563eb !important; }
.s-white .btn-primary { background: #111 !important; color: #fff !important; }
.s-white .btn-primary:hover { background: #2563eb !important; }
.s-white .btn-outline { border-color: rgba(0,0,0,.2) !important; color: #555 !important; }
.s-white .homepage-topic-card {
  background: rgba(0,0,0,.04) !important;
  border-color: rgba(0,0,0,.1) !important;
}
.s-white .homepage-topic-card:hover {
  background: rgba(0,0,0,.07) !important;
}
.s-white .htc-title { color: #111 !important; }
.s-white .htc-cat { color: #2563eb !important; }
.s-white .htc-sub { color: #888 !important; }
.s-white .htc-more { background: rgba(37,99,235,.06) !important; }

/* ── HERO DECLUTTER ──────────────────────────────────────────────── */

/* More breathing room */
.hero-light-inner {
  padding-top: 7rem !important;
  padding-bottom: 5rem !important;
  max-width: 640px !important;
}

/* Bigger headline, less tight */
.hero-light-h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem) !important;
  letter-spacing: -.04em !important;
  line-height: 1.0 !important;
  margin-bottom: 1.5rem !important;
}

/* Subtext — lighter, smaller */
.hero-light-sub {
  font-size: .95rem !important;
  color: #777 !important;
  line-height: 1.7 !important;
  margin-bottom: 2rem !important;
  max-width: 460px !important;
}

/* CTAs — more space below */
.hero-light-actions {
  margin-bottom: 2.5rem !important;
}

/* Stats — very quiet */
.hero-light-proof {
  font-size: .75rem !important;
  color: #bbb !important;
  letter-spacing: .03em !important;
}
.hero-light-proof span {
  color: #888 !important;
  font-weight: 600 !important;
}

/* Remove the section right below hero - give it more top padding */
.hero-light + .section,
.hero-light + * {
  padding-top: 4rem !important;
}

