:root {
  --ink: #0b1820;
  --ink-soft: #26414a;
  --paper: #f7faf7;
  --paper-deep: #eef5ef;
  --line: #d6e1dc;
  --teal: #15766d;
  --teal-deep: #0f4e4c;
  --sky: #64b5dc;
  --gold: #f2bd47;
  --gold-text: #7b5600;
  --red: #ad3542;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(8, 24, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body:has(dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
  padding: 0 4vw;
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 21, 28, 0.88), rgba(8, 21, 28, 0.12));
}

.brand,
.site-nav,
.footer-grid nav,
.hero-actions,
.share-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 44%, rgba(11, 24, 32, 0.55) 45% 55%, transparent 56%),
    linear-gradient(180deg, var(--sky) 0 28%, var(--white) 28% 70%, var(--gold) 70% 100%);
}

.site-nav {
  gap: 1.2rem;
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 230px;
  max-height: min(70vh, 620px);
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem;
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

.language-menu a {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.62rem 0.72rem;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a[aria-current="true"] {
  background: var(--paper-deep);
}

.language-menu a[aria-current="true"]::after {
  content: "\2713";
}

.site-nav a,
.footer-grid a {
  color: currentColor;
  text-decoration: none;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  font-size: 0.95rem;
}

.header-cta,
.primary-action,
.secondary-action,
.icon-button {
  border: 0;
  cursor: pointer;
}

.header-cta {
  min-width: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  background: var(--gold);
  color: #191307;
  font-weight: 850;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: image-set(
    url("/assets/hero-stadium.webp") type("image/webp"),
    url("/assets/hero-stadium.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 32%;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-content {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 7.5rem 0 4.8rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow {
  color: var(--gold);
}

.section-kicker {
  color: var(--gold-text);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 690px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.share-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
  font-weight: 850;
  text-decoration: none;
}

.primary-action {
  background: var(--gold);
  color: #1a1305;
  box-shadow: 0 14px 34px rgba(242, 189, 71, 0.24);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
}

.signature-panel {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
  padding: 1rem;
  background: rgba(7, 19, 25, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.signature-panel strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.signature-panel span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.progress-track {
  grid-column: 1 / -1;
  height: 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sky), var(--gold), var(--red));
}

.section-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.intro-band {
  padding: 3.2rem 0;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

p {
  color: var(--ink-soft);
}

.content-section {
  padding: 5.5rem 0;
  background: var(--paper);
}

.content-section.compact {
  padding-top: 3.5rem;
}

.content-section.muted {
  background: var(--paper-deep);
}

.petition-layout,
.standards-layout,
.faq-layout,
.pulse-layout,
.plan-layout,
.share-layout,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.petition-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.petition-form h3 {
  font-size: 1.45rem;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.petition-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

.petition-form input,
.petition-form textarea {
  width: 100%;
  border: 1px solid #cbd9d4;
  border-radius: 6px;
  background: #fbfdfb;
  color: var(--ink);
  padding: 0.78rem 0.82rem;
  outline: 0;
}

.petition-form textarea {
  resize: vertical;
}

.petition-form input:focus,
.petition-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(21, 118, 109, 0.12);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.full-width {
  width: 100%;
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  max-width: 760px;
  margin-bottom: 2rem;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.snapshot-grid article,
.reason-grid article,
.standards-list article,
.pulse-card,
.plan-list li,
.faq-list details,
.sponsor-slot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.snapshot-grid article {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
}

.snapshot-grid article strong {
  color: var(--teal);
  font-size: 0.88rem;
}

.reason-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
}

.reason-grid article span {
  color: var(--red);
  font-weight: 900;
}

.reason-grid article p,
.standards-list article p {
  margin: 0;
}

.sponsor-slot {
  min-height: 210px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(100, 181, 220, 0.22), rgba(242, 189, 71, 0.18)),
    rgba(255, 255, 255, 0.72);
  color: rgba(38, 65, 74, 0.82);
  font-weight: 850;
  text-align: center;
}

.standards-list,
.faq-list {
  display: grid;
  gap: 1rem;
}

.standards-list article,
.faq-list details {
  padding: 1.15rem;
}

.pulse-layout,
.plan-layout {
  align-items: center;
}

.pulse-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pulse-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pulse-options button {
  min-height: 50px;
  border: 1px solid #cbd9d4;
  border-radius: 6px;
  background: #fbfdfb;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.pulse-options button:hover,
.pulse-options button[aria-pressed="true"] {
  border-color: var(--teal);
  background: rgba(21, 118, 109, 0.1);
}

.vote-meter {
  height: 14px;
  border-radius: 999px;
  background: rgba(201, 75, 88, 0.18);
  overflow: hidden;
}

.vote-meter span {
  display: block;
  width: 86%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--sky));
}

.vote-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.vote-results strong {
  display: block;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.1;
}

.plan-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: plan;
}

.plan-list li {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.15rem 1.15rem 4.2rem;
  counter-increment: plan;
}

.plan-list li::before {
  content: counter(plan);
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1305;
  font-weight: 900;
}

.plan-list span {
  color: var(--ink-soft);
}

.share-band {
  padding: 4.8rem 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 24, 32, 0.94), rgba(15, 78, 76, 0.92)),
    image-set(
      url("/assets/hero-stadium.webp") type("image/webp"),
      url("/assets/hero-stadium.png") type("image/png")
    ) center / cover;
}

.share-band h2,
.share-band p {
  color: var(--white);
}

.share-layout {
  align-items: center;
}

.link-button {
  color: var(--white);
}

.inline-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1rem;
  color: var(--teal-deep);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.evidence-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.evidence-card-grid {
  display: grid;
  gap: 1rem;
}

.evidence-card-grid article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.evidence-card-grid p {
  margin-bottom: 0;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  padding: 2.6rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

.site-footer p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  align-items: center;
}

.footer-grid > * {
  min-width: 0;
}

.footer-grid nav {
  justify-content: end;
  gap: 1rem;
}

.site-footer p,
.footer-grid a {
  overflow-wrap: anywhere;
}

.petition-dialog {
  width: min(460px, calc(100vw - 2rem));
  border: 0;
  border-radius: 8px;
  padding: 1.25rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.petition-dialog::backdrop {
  background: rgba(4, 12, 16, 0.6);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.dialog-head h2 {
  font-size: 1.45rem;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.noscript {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 20;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.legal-page {
  background: var(--paper);
}

.legal-wrap {
  width: min(760px, 92vw);
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-wrap h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.legal-wrap h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-wrap section {
  margin-top: 1.6rem;
}

.legal-lede {
  font-size: 1.08rem;
}

.legal-note {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-note h2 {
  margin-top: 0;
}

.legal-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.legal-language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.legal-language-list strong {
  flex-basis: 100%;
}

.legal-language-list a {
  color: var(--teal-deep);
  font-weight: 750;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--teal-deep);
  font-weight: 850;
}

.about-page {
  background:
    linear-gradient(180deg, #0b1a20 0 260px, var(--paper) 260px 100%);
}

.about-page .site-header {
  background: rgba(8, 21, 28, 0.96);
  box-shadow: 0 14px 38px rgba(8, 24, 28, 0.22);
}

.about-page .site-nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.about-page .legal-wrap {
  width: min(980px, 92vw);
  padding-top: 8.5rem;
}

.about-page .about-hero {
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-page .about-hero h1 {
  margin: 0;
}

.about-page .about-hero .legal-lede {
  max-width: 72ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.breadcrumbs {
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 800;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.56);
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.about-page .legal-note {
  margin-top: 2rem;
  border-color: rgba(21, 118, 109, 0.28);
}

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

  .language-switcher summary {
    max-width: 132px;
    overflow: hidden;
    white-space: nowrap;
  }

  .hero {
    min-height: 84vh;
  }

  .intro-grid,
  .petition-layout,
  .standards-layout,
  .faq-layout,
  .pulse-layout,
  .plan-layout,
  .evidence-layout,
  .share-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-grid,
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid nav {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 64px;
    padding: 0 1rem;
    gap: 0.45rem;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }

  .brand span:last-child {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-switcher summary {
    max-width: 96px;
    padding: 0.5rem 0.58rem;
  }

  .header-cta {
    min-width: 62px;
    padding: 0.55rem 0.62rem;
  }

  .hero-content {
    padding-top: 6.5rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.6vw, 3.35rem);
    max-width: 9ch;
  }

  .eyebrow {
    max-width: 26ch;
  }

  .signature-panel,
  .snapshot-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .pulse-options,
  .vote-results {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 4rem 0;
  }

  .about-page .legal-wrap {
    padding-top: 7.4rem;
  }

  .about-page .about-hero {
    padding: 1.35rem;
  }

  .breadcrumbs {
    font-size: 0.88rem;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
