:root {
  --color-page: #f8f8f6;
  --color-surface: #ffffff;
  --color-ink: #171412;
  --color-muted: #65615c;
  --color-soft: #e5e1dc;
  --color-accent: #e21e00;
  --color-deep: #243c37;
  --color-blue: #203f63;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-page);
  color: var(--color-ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(226, 30, 0, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(36, 60, 55, 0.07) 0 1px, transparent 1px 100%),
    var(--color-page);
  background-size: 72px 72px;
  line-height: 1.5;
}

main {
  flex: 0 0 auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, var(--color-page) 0%, rgba(248, 248, 246, 0.42) 45%, var(--color-page) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.56) 58%, var(--color-page) 100%);
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
.site-footer,
.hero-inner,
.status-inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.legacy-note,
.site-footer p,
.eyebrow,
.section-kicker {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--color-muted);
}

.legacy-note,
.eyebrow,
.section-kicker {
  letter-spacing: 0;
}

.hero {
  display: grid;
  align-items: center;
  min-height: clamp(420px, calc(100svh - 176px), 640px);
  padding: var(--space-8) 0 var(--space-9);
}

.hero-inner {
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-deep);
  font-weight: 700;
}

.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  content: "";
  background: var(--color-accent);
}

h1,
h2,
p {
  margin-block: 0;
}

h1 {
  margin-top: var(--space-5);
  font-size: 56px;
  line-height: 64px;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 840px;
  margin-top: var(--space-5);
  font-size: 30px;
  line-height: 38px;
  font-weight: 650;
  color: var(--color-ink);
}

.hero-copy {
  max-width: 740px;
  margin-top: var(--space-5);
  font-size: 18px;
  line-height: 26px;
  color: var(--color-muted);
}

.status-band {
  border-top: 1px solid var(--color-soft);
  border-bottom: 1px solid var(--color-soft);
  background: rgba(255, 255, 255, 0.72);
}

.status-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
  gap: var(--space-7);
  align-items: end;
  padding: var(--space-7) 0;
}

.section-kicker {
  color: var(--color-blue);
  font-weight: 700;
}

h2 {
  max-width: 640px;
  margin-top: var(--space-3);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
}

.status-text {
  max-width: 460px;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  margin-top: auto;
  gap: var(--space-5);
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero-inner,
  .status-inner {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    min-height: 72px;
  }

  .legacy-note {
    font-size: 11px;
    line-height: 16px;
  }

  .hero {
    min-height: clamp(400px, calc(100svh - 152px), 560px);
    padding: var(--space-7) 0 var(--space-8);
  }

  h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .hero-lede {
    font-size: 24px;
    line-height: 32px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 24px;
  }

  .status-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-6) 0;
  }

  .site-footer {
    min-height: 80px;
  }
}

@media (max-width: 480px) {
  body {
    background-size: 56px 56px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2);
  }

  .brand img {
    width: 132px;
    height: auto;
  }

  .hero {
    min-height: auto;
    padding: var(--space-7) 0;
  }

  .hero-lede {
    font-size: 20px;
    line-height: 28px;
  }

  h2 {
    font-size: 20px;
    line-height: 28px;
  }
}
