:root {
  color-scheme: light;
  --paper: #fff4df;
  --ink: #17110c;
  --muted: #756450;
  --line: rgba(23, 17, 12, 0.16);
  --orange: #ff7a1a;
  --red: #f0333d;
  --green: #28d36b;
  --blue: #1e4fff;
  --panel: #fffaf0;
  --shadow: 0 24px 80px rgba(43, 25, 9, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(23, 17, 12, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 17, 12, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.siteHeader {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(16px, 4vw, 54px);
}

.brand,
.navLinks,
.navButton {
  border: 2px solid var(--ink);
  background: rgba(255, 244, 223, 0.82);
  box-shadow: 4px 4px 0 var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px 8px 8px;
  font-weight: 900;
}

.brandMark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--orange);
  color: white;
}

.navLinks {
  justify-self: center;
  display: flex;
  gap: 4px;
  padding: 6px;
}

.navLinks a,
.navButton,
.primaryButton,
.secondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.navLinks a:hover {
  background: var(--orange);
  color: white;
}

.navButton {
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 118px 0 70px;
}

.heroMedia {
  position: relative;
  border: 3px solid var(--ink);
  background: white;
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-1.5deg);
}

.heroMedia::after {
  content: "POLICY CHART LEAK";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  background: var(--red);
  color: white;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.heroMedia img {
  display: block;
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.heroContent {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.82;
  text-transform: uppercase;
}

.heroContent p {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
  font-weight: 800;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primaryButton,
.secondaryButton {
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.primaryButton {
  background: var(--orange);
  color: white;
}

.secondaryButton {
  background: white;
}

.ticker {
  position: absolute;
  right: 0;
  bottom: 34px;
  display: grid;
  gap: 6px;
  width: min(310px, 100%);
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: 7px 7px 0 var(--ink);
}

.ticker span,
.ticker small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker b {
  color: var(--green);
  font-size: 34px;
}

.section,
.policyDesk,
.signalGrid,
.briefing,
footer {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section,
.briefing {
  padding: clamp(80px, 11vw, 140px) 0;
}

h2 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.94;
}

.twoCol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 76px);
  margin-top: 36px;
}

.twoCol p,
.deskCopy p,
.signalGrid p,
.uprising p,
.briefing p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.policyDesk {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: clamp(28px, 7vw, 86px);
  padding: 86px clamp(18px, 4vw, 48px);
  border: 3px solid var(--ink);
  background: var(--panel);
  box-shadow: 12px 12px 0 var(--ink);
}

.memo {
  padding: 22px;
  border: 2px solid var(--ink);
  background: #101010;
  color: white;
  box-shadow: 8px 8px 0 var(--orange);
}

.memoTop {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.memoTop span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.memoTop span:nth-child(2) {
  background: var(--orange);
}

.memoTop span:nth-child(3) {
  background: var(--green);
}

.memo p {
  color: #aaa;
  font-size: 12px;
  font-weight: 900;
}

.memo strong {
  display: block;
  font-size: 34px;
}

.memo ul {
  display: grid;
  gap: 13px;
  padding-left: 20px;
  line-height: 1.45;
}

.signalGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 92px 0 0;
}

.signalGrid article {
  min-height: 270px;
  padding: 28px;
  border: 2px solid var(--ink);
  background: white;
  box-shadow: 7px 7px 0 var(--ink);
}

.signalGrid span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--red);
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 28px;
}

.uprising {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  margin-top: 86px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: #101010;
  color: white;
}

#chartCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.uprisingInner {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  text-align: center;
}

.uprisingInner h2 {
  margin-inline: auto;
}

.uprising p {
  color: rgba(255, 255, 255, 0.75);
}

.briefing {
  text-align: center;
}

.briefing h2,
.briefing p {
  margin-inline: auto;
}

.briefing p {
  max-width: 820px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 46px;
  border-top: 2px solid var(--ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .siteHeader {
    grid-template-columns: auto auto;
  }

  .navLinks {
    display: none;
  }

  .hero,
  .twoCol,
  .policyDesk,
  .signalGrid {
    grid-template-columns: 1fr;
  }

  .ticker {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -30px;
  }
}

@media (max-width: 540px) {
  .siteHeader {
    padding: 12px;
  }

  .brand {
    max-width: 190px;
  }

  .navButton {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .hero {
    padding-top: 100px;
  }

  .heroActions {
    display: grid;
  }

  .primaryButton,
  .secondaryButton {
    width: 100%;
  }

  footer {
    display: grid;
  }
}
