@font-face {
  font-family: "Inter";
  src: url("assets/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f6f4ef;
  --surface: #ffffff;
  --text: #28331f;
  --muted: #667085;
  --line: #ded8cc;
  --accent: #315c54;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;

  padding: 0px 20px;
}

a {
  color: inherit;
}

.page {
  width: min(100% - 32px, 920px);
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  align-content: center;
  gap: 22px;
}

.brand,
.status {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.6;
}

.brand {
  color: var(--muted);
  font-weight: 700;
}

.status {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 300;
}

h1,
h2 {
  margin: 0;
  max-width: 760px;
  font-weight: 760;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 10vw, 5.8rem);
  line-height: 0.96;
}

.headline-kicker,
.headline-name {
  display: block;
}

.headline-kicker {
  margin-bottom: 0.18em;
  font-weight: 330;
}

.headline-name {
  font-weight: 780;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.text-link {
  width: fit-content;
  color: var(--accent);
  font-weight: 700;
  text-decoration-color: color-mix(in srgb, var(--accent), transparent 45%);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration-color: var(--accent);
}

.site-footer {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 0 0 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-nav a,
.back-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.page--legal {
  min-height: 100vh;
  display: grid;
  align-content: start;
  gap: 56px;
}

.legal-content {
  display: grid;
  gap: 34px;
}

.legal-content section {
  display: grid;
  gap: 12px;
}

.legal-section {
  max-width: 600px;
}

.legal-content p {
  max-width: 560px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content h1 {
  font-size: clamp(2.4rem, 8vw, 4.8rem);
}

.legal-content h2 {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 920px);
    padding: 28px 0;
  }

  .site-footer {
    width: min(100% - 24px, 920px);
    padding-bottom: 28px;
  }

  .hero {
    min-height: calc(100vh - 56px);
  }
}
