:root {
  color-scheme: light;
  --ink: #0c1324;
  --muted: #536074;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --line: #d6deec;
  --red: #c7162f;
  --red-dark: #8f1023;
  --blue: #123d83;
  --blue-dark: #071c45;
  --blue-soft: #e8effb;
  --gold: #f4cc45;
  --shadow: 0 28px 90px rgba(7, 28, 69, 0.18);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(199, 22, 47, 0.06) 0 16.666%, transparent 16.666% 33.333%, rgba(18, 61, 131, 0.07) 33.333% 50%, transparent 50% 66.666%, rgba(199, 22, 47, 0.06) 66.666% 83.333%, transparent 83.333%),
    var(--paper);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
nav a {
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.brand-box {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border: 2px solid var(--blue-dark);
  box-shadow: 4px 4px 0 var(--gold);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  font-size: 0.9rem;
  font-weight: 850;
}

.hero,
.section {
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 5vw, 5rem);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 4.1rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(244, 204, 69, 0.65), transparent 15rem),
    linear-gradient(120deg, rgba(199, 22, 47, 0.2), transparent 36%),
    linear-gradient(300deg, rgba(18, 61, 131, 0.26), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 4.4rem, rgba(232, 239, 251, 0.92) 4.4rem 8.8rem),
    #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 42rem;
  height: 42rem;
  background: conic-gradient(from -18deg, var(--red) 0 10deg, transparent 10deg 22deg, #fff 22deg 34deg, transparent 34deg 46deg, var(--blue) 46deg 58deg, transparent 58deg 70deg);
  border-radius: 50%;
  opacity: 0.18;
}

.hero-copy,
.section > * {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 78rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: clamp(4.2rem, 10vw, 9.7rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

h2 {
  max-width: 13ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.4rem, 5.2vw, 5.3rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
  line-height: 1;
}

p {
  line-height: 1.65;
}

.deck {
  max-width: 50rem;
  margin-bottom: 1.75rem;
  color: #26344f;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.32;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.05rem;
  border: 2px solid var(--blue-dark);
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 5px 5px 0 var(--blue-dark);
}

.button.secondary {
  color: var(--blue-dark);
  background: #fff;
  box-shadow: 5px 5px 0 var(--gold);
}

.section {
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(14rem, 0.58fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: start;
  max-width: 88rem;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section-intro h2 {
  max-width: 12ch;
}

.section-intro p {
  max-width: 45rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.section-intro.narrow {
  display: block;
  max-width: 58rem;
}

.section-intro.narrow p {
  color: rgba(255, 255, 255, 0.78);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 88rem;
  margin-top: 2rem;
}

.rule-grid article,
.money-cards article,
.possible-cards article,
.fineprint-card,
.poster {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(7, 28, 69, 0.08);
}

.rule-grid article {
  padding: clamp(1.1rem, 2.5vw, 1.7rem);
}

.step {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 950;
}

.rule-grid p,
.money-cards p,
.possible-cards p,
.fineprint-card p,
.poster p {
  margin-bottom: 0;
  color: var(--muted);
}

.poster-section {
  background:
    linear-gradient(135deg, rgba(199, 22, 47, 0.08), transparent 38%),
    #fff;
}

.poster {
  position: relative;
  max-width: 76rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 3px solid var(--blue-dark);
}

.poster-stripe {
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(0.75rem, 2vw, 1.4rem);
  background: linear-gradient(180deg, var(--red) 0 33%, #fff 33% 66%, var(--blue) 66%);
}

.poster h2 {
  max-width: 15ch;
}

.poster p {
  max-width: 58rem;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

.dark-section {
  color: #fff;
  background:
    radial-gradient(circle at 95% 12%, rgba(244, 204, 69, 0.32), transparent 16rem),
    linear-gradient(135deg, rgba(199, 22, 47, 0.78), transparent 42%),
    var(--blue-dark);
}

.dark-section .eyebrow {
  color: #fff;
}

.translator-table {
  max-width: 88rem;
  margin-top: 2rem;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.translator-row {
  display: grid;
  grid-template-columns: 0.92fr 0.92fr 1.16fr;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.translator-row:last-child {
  border-bottom: 0;
}

.translator-row > div {
  padding: 1rem;
}

.translator-row > div + div {
  border-left: 1px solid var(--line);
}

.translator-row.head {
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--blue));
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.translator-row:not(.head) > div:nth-child(2) {
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 900;
}

.money-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: #fff;
}

.money-copy p {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.money-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.money-cards article {
  min-height: 13rem;
  padding: clamp(1.2rem, 2.8vw, 1.8rem);
}

.amount {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--red);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.85;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.loophole-card {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--red)) !important;
  border-color: var(--blue-dark) !important;
}

.loophole-card .amount,
.loophole-card p {
  color: #fff;
}


.possible-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(20rem, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background:
    linear-gradient(120deg, rgba(199, 22, 47, 0.08), transparent 38%),
    linear-gradient(300deg, rgba(18, 61, 131, 0.12), transparent 42%),
    var(--paper);
}

.possible-copy p {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.possible-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.possible-cards article {
  min-height: 14rem;
  padding: clamp(1.2rem, 2.8vw, 1.8rem);
}

.possible-cards span {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.55rem;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.possible-cards h3 {
  max-width: 14ch;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 0.98;
}

.possible-punchline {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue-dark)) !important;
  border-color: var(--red-dark) !important;
}

.possible-punchline span {
  color: var(--blue-dark);
  background: #fff;
}

.possible-punchline p,
.possible-punchline h3 {
  color: #fff;
}

.source-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.source-link {
  color: var(--blue);
  font-weight: 950;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.source-link:hover,
.source-link:focus {
  color: var(--red);
}

.fineprint-section {
  background:
    linear-gradient(90deg, rgba(199, 22, 47, 0.1), transparent 34%),
    linear-gradient(270deg, rgba(18, 61, 131, 0.12), transparent 40%),
    var(--paper);
}

.fineprint-card {
  max-width: 88rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 3px solid var(--blue-dark);
}

.fineprint-card h2 {
  max-width: 18ch;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.checklist span {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
}

footer {
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: #fff;
  background: linear-gradient(90deg, var(--blue-dark), var(--red-dark));
}

footer p {
  max-width: 78rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero,
  .section-intro,
  .money-section,
  .possible-section {
    grid-template-columns: 1fr;
  }

  .rule-grid,
  .money-cards,
  .possible-cards,
  .checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .hero,
  .section {
    padding: 3.25rem 1rem;
  }

  .translator-row {
    grid-template-columns: 1fr;
  }

  .translator-row > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .translator-row.head {
    display: none;
  }

  .translator-row > div::before {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .translator-row > div:nth-child(1)::before {
    content: "Dangerous clarity";
  }

  .translator-row > div:nth-child(2)::before {
    content: "Public-awareness wording";
  }

  .translator-row > div:nth-child(3)::before {
    content: "Plain-English effect";
  }
}

/* Restored foreign-democracy hook block */
.slogan {
  max-width: 42rem;
  margin-bottom: 1.6rem;
  color: var(--blue-dark);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.15;
  font-weight: 950;
}

.hero-panel {
  max-width: 48rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid var(--blue-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 9px 9px 0 rgba(199, 22, 47, 0.85);
}

.hero-panel h2 {
  max-width: 18ch;
  margin-bottom: 0.9rem;
  font-size: clamp(1.75rem, 3.2vw, 3.2rem);
  line-height: 0.92;
}

.hero-panel p {
  color: #26344f;
  font-size: 1.06rem;
  line-height: 1.55;
}

.hero-panel p:last-child {
  margin-bottom: 0;
}

.hero-panel .panel-lead {
  color: var(--ink);
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  line-height: 1.16;
  font-weight: 950;
}

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 54rem;
  margin-top: 1rem;
}

.phrase-grid article {
  min-height: 11rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(7, 28, 69, 0.08);
}

.phrase-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phrase-grid strong {
  display: block;
  margin: 0.25rem 0 0.8rem;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.12;
}

.phrase-grid strong:nth-of-type(2) {
  color: var(--blue-dark);
}

.hero .hero-actions {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .phrase-grid {
    grid-template-columns: 1fr;
  }
}

/* Section refinements: welcome hook should read as one idea, not a broken two-column step. */
.welcome-section .section-intro {
  display: block;
  max-width: 76rem;
}

.welcome-section .section-intro h2 {
  max-width: 19ch;
  font-size: clamp(2.6rem, 5.4vw, 6.2rem);
}

.welcome-section .section-intro p {
  max-width: 54rem;
  margin-top: 1.25rem;
  color: #314060;
}

.welcome-section .rule-grid {
  margin-top: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 760px) {
  .welcome-section .section-intro h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 4.2rem);
    letter-spacing: -0.07em;
  }
}
