:root {
  color-scheme: light;
  --paper: #f6f0e3;
  --paper-strong: #fff9ef;
  --paper-muted: #efe6d3;
  --surface: rgba(255, 250, 240, 0.9);
  --surface-strong: rgba(255, 253, 247, 0.97);
  --surface-border: rgba(29, 52, 43, 0.14);
  --surface-etched: rgba(29, 52, 43, 0.08);
  --ink: #16241f;
  --ink-soft: #33453d;
  --ink-muted: #66746d;
  --accent: #225f50;
  --accent-strong: #163d33;
  --accent-soft: rgba(212, 233, 224, 0.82);
  --signal: #b7791f;
  --signal-soft: rgba(221, 188, 126, 0.28);
  --danger: #9c4c36;
  --line: rgba(22, 36, 31, 0.12);
  --shadow-lg:
    0 28px 80px -42px rgba(18, 28, 24, 0.38),
    0 18px 36px -26px rgba(18, 28, 24, 0.18);
  --shadow-md:
    0 18px 40px -28px rgba(18, 28, 24, 0.22),
    0 12px 18px -18px rgba(18, 28, 24, 0.14);
  --radius-2xl: 34px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --space-2xs: 0.35rem;
  --space-xs: 0.6rem;
  --space-sm: 0.9rem;
  --space-md: 1.2rem;
  --space-lg: 1.7rem;
  --space-xl: 2.4rem;
  --space-2xl: 3.2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-block-size: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(34, 95, 80, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(183, 121, 31, 0.16), transparent 22%),
    linear-gradient(180deg, #fdf8ee 0%, #f6efdf 100%);
  scroll-behavior: smooth;
}

body {
  min-block-size: 100dvh;
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0, rgba(255, 255, 255, 0) 22%),
    repeating-linear-gradient(
      90deg,
      rgba(22, 36, 31, 0.028) 0 1px,
      transparent 1px 38px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(22, 36, 31, 0.024) 0 1px,
      transparent 1px 38px
    );
}

a {
  color: inherit;
}

img {
  display: block;
  max-inline-size: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
  transition: inset-block-start 160ms ease;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

.site-shell {
  position: relative;
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  inline-size: 20rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.site-shell::before {
  inset-block-start: -6rem;
  inset-inline-end: -6rem;
  background: radial-gradient(circle, rgba(34, 95, 80, 0.12), transparent 68%);
}

.site-shell::after {
  inset-block-end: -8rem;
  inset-inline-start: -6rem;
  background: radial-gradient(circle, rgba(183, 121, 31, 0.1), transparent 68%);
}

.site-header-wrap,
.page-wrap,
.site-footer-wrap {
  inline-size: min(100% - 1.5rem, 78rem);
  margin-inline: auto;
}

.site-header-wrap {
  padding-block-start: 1rem;
}

.site-header,
.site-footer,
.sheet,
.status-card,
.signal-card,
.summary-card,
.support-card,
.section-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 240, 0.95)),
    linear-gradient(135deg, rgba(212, 233, 224, 0.14), rgba(255, 255, 255, 0));
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-md);
}

.site-header,
.site-footer {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-lg);
}

.site-header::before,
.site-footer::before,
.sheet::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 4px;
  background: linear-gradient(90deg, var(--signal), var(--accent));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.95rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-mark {
  inline-size: 52px;
  block-size: 52px;
  border-radius: 16px;
  box-shadow: 0 16px 28px -20px rgba(22, 61, 51, 0.45);
}

.brand-copy {
  min-inline-size: 0;
}

.brand-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand-tag {
  margin: 0.22rem 0 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav ul,
.footer-nav ul,
.fact-list,
.legal-list,
.signal-list,
.step-list,
.issue-tags,
.meter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.5rem;
  padding-inline: 0.92rem;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(34, 95, 80, 0.18);
  background: rgba(212, 233, 224, 0.72);
  color: var(--accent-strong);
  transform: translateY(-1px);
}
