:root {
  --bg-top: #fcfaf7;
  --bg-bottom: #efe9df;
  --paper: rgba(255, 255, 255, 0.65);
  --paper-strong: rgba(255, 255, 255, 0.9);
  --ink: #2c241e;
  --muted: #6b5f56;
  --line: rgba(44, 36, 30, 0.08);
  --accent: #b48c3c;
  --accent-dark: #8c6a2d;
  --accent-soft: rgba(180, 140, 60, 0.1);
  --gold-text: #ffdc82;
  --ocean-light: #2b6f93;
  --ocean-dark: #bee3f2;
  --shadow: 0 12px 32px rgba(44, 36, 30, 0.12);
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(180, 140, 60, 0.08), transparent 34%),
    radial-gradient(circle at right center, rgba(43, 111, 147, 0.05), transparent 30%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  font-family: "Montserrat", system-ui, sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.page-shell-narrow {
  max-width: 880px;
}

.hero,
.subpage-header {
  padding: 40px 0 24px;
}

.brand-lockup {
  display: block;
  margin-bottom: 18px;
}

.brand-logo {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: block;
}

.subpage-brand {
  margin-bottom: 14px;
}

.subpage-logo {
  width: min(100%, 340px);
  height: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ocean-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
}

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

.lede {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.56;
}

.button-primary {
  color: var(--gold-text);
  background: linear-gradient(180deg, #b48c3c 0%, #8c6a2d 100%);
  box-shadow: 0 10px 24px rgba(180, 140, 60, 0.3);
  border-color: rgba(255, 220, 130, 0.2);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.downloads-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.downloads-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.downloads-table th,
.downloads-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.downloads-table thead th {
  color: var(--ocean-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.downloads-table tbody th {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.downloads-table tbody td {
  color: var(--muted);
  line-height: 1.6;
}

.downloads-table tbody tr:last-child th,
.downloads-table tbody tr:last-child td {
  border-bottom: 0;
}

.downloads-table .button {
  width: 200px;
  min-width: 200px;
  min-height: 54px;
  padding: 0 22px;
  white-space: nowrap;
}

.card,
.panel,
.report-block,
.content-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.card,
.panel {
  padding: 24px;
}

.card p,
.panel p,
.report-block p,
.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.7;
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(4, 16px);
  gap: 4px;
  margin-top: 18px;
}

.mini-board span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--ocean-light);
}

.mini-board span:nth-child(2n) {
  background: var(--accent);
}

.mini-board span:nth-child(4),
.mini-board span:nth-child(5),
.mini-board span:nth-child(10),
.mini-board span:nth-child(15) {
  background: var(--ocean-dark);
}

.card .button {
  margin-top: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.link-list,
.content-list,
.steps {
  margin: 16px 0 0;
  padding-left: 20px;
  line-height: 1.8;
}

.report-block,
.content-card {
  padding: 28px;
  margin-top: 22px;
}

.supporters-intro {
  margin-top: 18px;
}

.supporters-editor-note {
  margin-top: 22px;
}

.supporters-editor-note code {
  font-size: 0.95rem;
}

.supporters-table {
  min-width: 0;
}

.report-note code {
  font-size: 0.95rem;
}

.legal-copy h2 + p,
.content-card section + section {
  margin-top: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 0;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 22px 16px 40px;
  }

  .brand-lockup {
    margin-bottom: 14px;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .downloads-table-wrap {
    border-radius: 18px;
  }

  .downloads-table th,
  .downloads-table td {
    padding: 16px 14px;
  }
}
