/* Rule the Internet: built from the RESET Tech Figma file (July 13, 2026 page).
   Brand fonts are OT Neue Montreal (Squeezed) and PP Neue Montreal. They are
   commercial, so Antonio and Inter Tight stand in. To use the licensed fonts,
   add @font-face rules and put their names first in --f-squeezed / --f-body. */

:root {
  --black: #000;
  --white: #fff;
  --green-l: #b9ff5a; /* The People (L) */
  --green-d: #00d242; /* The People (D) */
  --grey: #d9d9d9;
  --f-squeezed: "OT Neue Montreal Squeezed", "Antonio", "Arial Narrow", sans-serif;
  --f-body: "PP Neue Montreal", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1232px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green-l); color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green-l); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { display: flex; justify-content: center; }
.green { color: var(--green-l); }

/* Type scale (desktop sizes from the design, scaled down on small screens) */
.sq { font-family: var(--f-squeezed); font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; }
.h-56 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; }
.h-48 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1; }
.h-40 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.2; }
.h-34 { font-size: 32px; line-height: 1.05; }
.h-32 { font-size: clamp(26px, 2.8vw, 32px); line-height: 1.2; }
.p-18 { font-size: 18px; line-height: 1.2; }
.p-16b { font-size: 16px; font-weight: 700; }

/* Pixel-cornered shapes: the stepped corners of the design's "Union" button
   and form-field vectors, done with clip-path so they work at any width. */
.btn, .field, .tags li {
  --sx1: 2.64px; --sx2: 5.29px; --sy1: 2.31px; --sy2: 4.63px;
  clip-path: polygon(
    var(--sx2) 0, calc(100% - var(--sx2)) 0, calc(100% - var(--sx2)) var(--sy1), calc(100% - var(--sx1)) var(--sy1),
    calc(100% - var(--sx1)) var(--sy2), 100% var(--sy2), 100% calc(100% - var(--sy2)), calc(100% - var(--sx1)) calc(100% - var(--sy2)),
    calc(100% - var(--sx1)) calc(100% - var(--sy1)), calc(100% - var(--sx2)) calc(100% - var(--sy1)), calc(100% - var(--sx2)) 100%,
    var(--sx2) 100%, var(--sx2) calc(100% - var(--sy1)), var(--sx1) calc(100% - var(--sy1)), var(--sx1) calc(100% - var(--sy2)),
    0 calc(100% - var(--sy2)), 0 var(--sy2), var(--sx1) var(--sy2), var(--sx1) var(--sy1), var(--sx2) var(--sy1));
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 37px; padding: 7px 47px;
  background: var(--green-d); color: #000;
  font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 22px;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: background-color .15s;
}
.btn:hover { background: var(--green-l); }
.btn--sm { padding: 7px 26px; min-width: 158px; }
.btn.is-disabled { cursor: default; }
.btn.is-disabled:hover { background: var(--green-d); }

/* ---------- Logos ---------- */
.logo-ca { position: relative; display: block; width: 297px; height: 33px; }
.logo-ca img { position: absolute; height: auto; }
.logo-ca .l1 { left: 0; top: 0; width: 28.78%; height: 99.94%; }
.logo-ca .l2 { left: 31.48%; top: 0; width: 61.14%; height: 99.11%; }
.logo-ca .l3 { left: 92.62%; top: 48.58%; width: 7.38%; height: 51.43%; }
.logo-we { position: relative; display: block; width: 332px; height: 38px; }
.logo-we img { position: absolute; }
.logo-we .w1 { left: 8.07%; top: 0; width: 28.56%; height: 100%; }
.logo-we .w2 { left: 39.31%; top: 0; width: 60.69%; height: 99.17%; }
.logo-we .w3 { left: 0; top: 0; width: 6.35%; height: 50.07%; }

/* ---------- Nav ---------- */
.site-nav { position: relative; z-index: 20; padding-top: 50px; }
.site-nav--overlay { position: absolute; inset: 0 0 auto 0; padding-top: 40px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: block; flex: 0 1 297px; }
.nav-logo .logo-ca { width: 100%; height: auto; aspect-ratio: 297 / 33; }
.nav-links { display: flex; align-items: center; gap: 62px; }
.nav-link { font-weight: 700; font-size: 16px; text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-link:hover { color: var(--green-l); }
.nav-link.is-active { color: var(--green-l); border-bottom-color: var(--green-l); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .site-nav { padding-top: 24px; }
  .site-nav--overlay { padding-top: 24px; }
  .nav-logo { flex-basis: 200px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 3px; background: var(--white); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; margin-top: 12px;
    flex-direction: column; align-items: flex-start; gap: 20px;
    padding: 24px var(--gutter) 28px; background: var(--black); border-bottom: 1px solid #fff;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-link { font-size: 20px; }
}

/* ---------- Eyes (pupil follows the cursor; see site.js) ---------- */
.eye { display: inline-block; width: 55px; aspect-ratio: 54.84 / 36.14; flex: none; }
.eye svg { width: 100%; height: 100%; overflow: visible; }
.eye .pupil { fill: var(--pupil, #ff465f); transition: transform .12s ease-out; }
.eye--banner { width: 34px; }
.eye--banner .lid { fill: #000; }
.eye--card { width: 64px; }
.eye--action { width: 64px; }
.eye--float { position: absolute; width: 55px; opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; pointer-events: none; }
.eye--float.is-visible { opacity: 1; transform: none; }

/* ---------- Scrolling banner ---------- */
.banner {
  position: sticky; top: 0; z-index: 15;
  height: 50px; overflow: hidden; background: var(--green-l); color: #000;
}
.banner-track { display: flex; width: max-content; height: 100%; animation: marquee 90s linear infinite; }
.banner-run { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.banner-run span:not(.eye) {
  font-family: var(--f-squeezed); font-weight: 700; font-size: 23px; line-height: 1.2;
  text-transform: uppercase; white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .banner-track { animation: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(560px, 61.3vw, 883px); overflow: hidden; isolation: isolate; }
.hero-bg, .hero-img, .hero-pixels, .hero-shade { position: absolute; inset: 0; }
.hero-bg { z-index: -1; }
.hero-img { background-size: cover; background-repeat: no-repeat; filter: grayscale(1); }
.hero-pixels { width: 100%; height: 100%; }
.hero-shade { background: rgba(0, 0, 0, .3); }
.hero-inner {
  height: 100%; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end;
  gap: clamp(28px, 5.3vw, 77px); padding-bottom: clamp(48px, 6.7vw, 96px);
}
.hero-heading { position: relative; width: min(793px, 64vw); margin: 0; color: var(--hero-color, #ff465f); transition: color .5s; }
.hero-title { width: 100%; height: auto; overflow: visible; }
.hero-title text { fill: currentColor; font-family: var(--f-squeezed); font-weight: 700; font-size: 430px; }
.hero-rules { position: absolute; right: 0; bottom: 0; width: 64.6%; background: #000; }
.hero-rules svg { width: 100%; height: auto; }
.hero-rules text { fill: #fff; font-family: var(--f-squeezed); font-weight: 700; font-size: 46px; }
.hero-sub { display: flex; align-items: center; gap: 22px; text-decoration: none; }
.hero-sub .sq { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.1; }
.hero-sub img { width: clamp(20px, 2vw, 29px); height: auto; }
.bounce { animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .bounce { animation: none; } }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 92svh; }
  .hero-inner { min-height: 92svh; padding-top: 120px; align-items: stretch; }
  .hero-heading { width: 100%; }
  .hero-sub { justify-content: flex-start; }
}

/* ---------- Manifesto ---------- */
.manifesto { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 140px var(--gutter) 120px; text-align: center; }
.manifesto-text { width: min(700px, 100%); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; text-transform: none; }
.manifesto-text p + p { margin-top: 1.2em; }
.manifesto-text .book { font-weight: 400; }
.manifesto-logo { margin-top: 18px; width: min(332px, 80vw); height: auto; aspect-ratio: 332 / 38; }

/* ---------- Evidence cards ---------- */
.file-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 474px; padding: 24px 23px 26px; border: 1px solid var(--white);
  text-decoration: none; background: var(--black);
  transition: border-color .15s;
}
.file-card:hover { border-color: var(--green-l); }
.file-card .eye { margin-bottom: 14px; }
.file-card h3 { flex: 1; }
.file-card-foot { border-top: 1px solid var(--white); padding-top: 12px; margin-top: 24px; min-height: 124px; display: flex; flex-direction: column; justify-content: space-between; }
.file-src { font-weight: 700; font-size: 16px; }
.learn { display: inline-flex; align-items: center; gap: 12px; font-weight: 400; padding: 12px 0 0; }
.learn img { width: 34px; height: 17px; object-fit: contain; transform: rotate(-90deg); width: 17px; height: 34px; }
.file-card:hover .learn img { transform: rotate(-90deg) translateY(4px); transition: transform .15s; }

.files-rail { padding: 120px 0; }
.files-rail h2 { margin-bottom: 24px; }
.rail { overflow-x: auto; scrollbar-width: none; cursor: grab; padding-left: max(var(--gutter), (100% - var(--wrap)) / 2); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; }
.rail.is-dragging a { pointer-events: none; }
.rail-track { display: flex; gap: 20px; width: max-content; padding-right: var(--gutter); }
.rail .file-card { width: 293px; user-select: none; }
.rail .file-card img { -webkit-user-drag: none; }
.rail-hint { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 16px auto 36px; font-size: 14px; opacity: .7; }

/* ---------- Partner campaigns ---------- */
.partners { padding: 120px 0; }
.partners-head { display: flex; flex-direction: column; gap: 9px; margin-bottom: 36px; }
.partners--center .partners-head { align-items: center; text-align: center; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner { border: 2px solid var(--white); min-height: 419px; display: flex; flex-direction: column; }
.partner-img { height: 200px; background: var(--grey); }
.partner-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 16px 28px; }
.partner-body .btn { margin-top: 12px; }
@media (max-width: 960px) { .partner-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--white); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 60px 0 118px; flex-wrap: wrap; }
.footer-logo { width: 192px; height: auto; }
.c4ds { display: flex; align-items: center; gap: 17px; margin-top: 15px; margin-right: 6px; }
.c4ds p { font-family: var(--f-squeezed); font-weight: 700; font-size: 28px; line-height: 1.2; }
@media (max-width: 600px) { .footer-inner { padding-bottom: 64px; } .c4ds p { font-size: 22px; } }

/* ---------- Inner page header ---------- */
.page-head { display: flex; align-items: center; gap: 19px; padding: 88px 0 40px; }
.page-head h1 { flex: 0 0 min(610px, 50%); }
.page-head p { flex: 1; max-width: 602px; }
.rule { border: 0; border-top: 1px solid var(--white); margin: 0; }
.rule--inset { opacity: .8; }
@media (max-width: 760px) { .page-head { flex-direction: column; align-items: flex-start; padding-top: 56px; } .page-head h1 { flex: none; } }

/* ---------- Evidence page ---------- */
.evidence-body { position: relative; }
.evidence-layout { position: relative; display: grid; grid-template-columns: 172px 1fr; gap: 54px; padding: 24px 0 150px; }
.filters { position: sticky; top: 74px; align-self: start; display: flex; flex-direction: column; gap: 28px; }
.filters-top { display: flex; gap: 26px; align-items: center; white-space: nowrap; }
.link-btn { background: none; border: 0; padding: 0 0 2px; border-bottom: 1px solid currentColor; cursor: pointer; font-weight: 500; }
.link-btn:hover { color: var(--green-l); }
.filters legend { margin-bottom: 14px; }
.filters [data-group] { display: flex; flex-direction: column; gap: 12px; }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 16px; }
.check input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.check .box { width: 18px; height: 18px; background: var(--white); flex: none; }
.check input:checked + .box { background: url(/assets/checkbox-checked.svg) center / 100% 100% no-repeat; }
.check input:focus-visible + .box { outline: 2px solid var(--green-l); outline-offset: 2px; }
.eye--sidebar { position: static; margin-top: 4px; }
.eye--right1 { right: -78px; top: 28%; }
.eye--right2 { right: -110px; top: 72%; }
.filter-summary { min-height: 0; margin-bottom: 0; font-size: 14px; }
.filter-summary:not(:empty) { margin-bottom: 16px; }
.file-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.file-grid .file-card { min-height: 0; padding: 36px 23px; }
.file-grid .file-card .eye { display: none; }
.file-grid .file-card h3 { font-size: clamp(26px, 2.3vw, 30px); line-height: 1.1; flex: none; }
.file-grid .file-card-foot { min-height: 0; margin-top: 36px; gap: 30px; }
.file-grid .learn { padding: 0; }
.file-grid .learn span { display: none; }
.file-grid .learn img { width: 29px; height: 55px; }
.evidence-main .center { margin-top: 60px; }
.empty { padding: 40px 0; }
@media (max-width: 1500px) { .eye--right1, .eye--right2 { display: none; } }
@media (max-width: 1100px) { .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .evidence-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 80px; }
  .filters { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .filters-top { grid-column: 1 / -1; }
  .eye--sidebar { display: none; }
}
@media (max-width: 520px) { .file-grid { grid-template-columns: 1fr; } }

/* Open file */
.file-open { position: relative; background: var(--green-d); color: #000; min-height: 703px; overflow: hidden; }
.file-open[hidden] { display: none; }
.file-open-inner { position: relative; padding: 120px 0 96px; }
.file-close { position: absolute; top: 40px; right: 0; width: 42px; height: 42px; padding: 0; background: none; border: 0; cursor: pointer; }
.file-close:hover { transform: scale(1.08); }
.file-open-text { width: min(815px, 100%); position: relative; z-index: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 16px 0 40px; padding: 0; }
.tags li { background: var(--green-l); padding: 4px 10px; font-weight: 700; font-size: 16px; line-height: 21px; }
.tags a { text-decoration: none; }
.file-open-body { width: min(626px, 100%); display: flex; flex-direction: column; gap: 20px; }
.read-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; margin-top: 56px; font-size: 18px; }
.read-more:empty { display: none; }
.read-more strong { font-weight: 700; }
.read-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.read-more a img { width: 21px; height: 21px; }
.file-face {
  position: absolute; right: 0; bottom: 0; width: min(500px, 35vw); aspect-ratio: 500 / 471;
  background-repeat: no-repeat; filter: grayscale(1);
  -webkit-mask: url(/assets/zuck-mask.png) center / 100% 100% no-repeat;
  mask: url(/assets/zuck-mask.png) center / 100% 100% no-repeat;
}
@media (max-width: 960px) {
  .file-open { padding-bottom: 0; }
  .file-face { position: relative; width: min(500px, 100%); margin-left: auto; }
  .file-open-inner { padding: 96px 0 40px; }
  .file-close { top: 32px; }
}

/* ---------- Take action ---------- */
.action { padding: 100px var(--gutter) 120px; }
.action-form { width: min(655px, 100%); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.action-head { display: flex; align-items: center; gap: 31px; text-align: center; }
.action-intro { text-align: center; display: flex; flex-direction: column; gap: 20px; }
.fields { width: min(609px, 100%); display: flex; flex-direction: column; gap: 12px; }
.field { --sx1: 6.34px; --sx2: 12.64px; --sy1: 4.53px; --sy2: 8.19px; display: block; background: var(--white); }
.field input {
  width: 100%; height: 61px; padding: 0 25px; border: 0; background: transparent; color: #000;
  font: 500 16px var(--f-body); outline: none;
}
.field input::placeholder { color: #000; opacity: 1; }
.field:focus-within { background: var(--green-l); }
.field.is-invalid { background: #ffc9d0; }
.help { font-weight: 700; font-size: 14px; line-height: 1.2; }
.form-error { color: var(--green-l); font-weight: 700; }
.action-form .btn { margin-top: 42px; padding-inline: 47px; }
@media (max-width: 600px) {
  .action { padding-top: 64px; }
  .action-head { gap: 12px; }
  .action-head .eye { width: 40px; }
  .br-d { display: none; }
}

/* ---------- Thank you / charter ---------- */
.thanks { width: min(814px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 214px 0 200px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.thanks-logo { width: min(274px, 70vw); height: auto; aspect-ratio: 332 / 38; margin-top: 38px; }
.page-thanks .partners, .page-charter .partners { padding-top: 26px; }
.page-head--plain { padding-bottom: 0; }
.charter-body { padding: 120px 0 200px; }
.charter-pending { font-size: 32px; line-height: 1.2; max-width: 520px; }
@media (max-width: 760px) { .thanks { padding: 120px 0 100px; } .charter-body { padding: 64px 0 100px; } }
