:root {
  color-scheme: light;
  --background: #f7f6f2;
  --foreground: #161616;
  --muted: #66645f;
  --line: #d9d6ce;
  --button: #171717;
  --button-hover: #333333;
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--foreground);
  background: var(--background);
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  flex: 1;
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.intro {
  width: min(100%, 660px);
}

.wordmark {
  margin: 0 0 96px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.intro-copy h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.intro-copy p {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.58;
}

.contact-block {
  margin-top: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-email {
  margin: 0 0 18px;
  font-size: 1rem;
}

.contact-email a {
  text-underline-offset: 4px;
}

.contact-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--button);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

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

.contact-button:focus-visible,
.site-footer a:focus-visible,
.legal-back:focus-visible {
  outline: 3px solid #5f7cff;
  outline-offset: 4px;
}

.site-footer {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

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

.site-footer a {
  text-underline-offset: 3px;
}

.legal-shell {
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 72px;
  font-size: 0.9rem;
  text-underline-offset: 4px;
}

.legal-shell h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.legal-updated {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-copy {
  font-size: 1rem;
  line-height: 1.75;
}

.legal-copy h2 {
  margin: 42px 0 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.legal-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.legal-copy a {
  color: var(--foreground);
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .page-shell {
    align-items: start;
    padding: 32px 0 72px;
  }

  .wordmark {
    margin-bottom: 96px;
  }

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

  .site-footer nav {
    flex-direction: column;
    gap: 12px;
  }

  .legal-shell {
    padding-top: 32px;
  }

  .legal-back {
    margin-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
