:root {
  color-scheme: light;
  --ink: #18201f;
  --muted: #61706c;
  --paper: #f8faf7;
  --line: #d9e2df;
  --accent: #0f766e;
  --accent-strong: #0b4f4a;
  --gold: #d49a24;
  --rose: #c2556a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(140deg, rgba(15, 118, 110, 0.08), transparent 34%),
    linear-gradient(330deg, rgba(212, 154, 36, 0.12), transparent 42%),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.shell.compact {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero {
  min-height: calc(100vh - 144px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 14vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.not-found h1 {
  font-size: clamp(2.5rem, 9vw, 6rem);
}

.lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.promise-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.58);
  color: var(--accent-strong);
}

.signal-panel {
  min-width: 0;
}

.signal-panel img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(24, 32, 31, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(11, 79, 74, 0.16);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-foot {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-foot a {
  color: var(--accent-strong);
  font-weight: 700;
}

.pillars article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.pillars span {
  color: var(--rose);
  font-weight: 900;
}

.pillars h2 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.not-found {
  width: min(680px, 100%);
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 24px, 680px);
    padding-top: 28px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 44px;
  }

  h1 {
    font-size: clamp(3.8rem, 25vw, 6.4rem);
  }

  .pillars {
    grid-template-columns: 1fr;
  }
}
