:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #60706a;
  --paper: #f3f1eb;
  --accent: #2e6656;
  --line: rgba(23, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(84, 139, 120, 0.14), transparent 30rem),
    linear-gradient(145deg, #f8f6f0 0%, var(--paper) 54%, #e8ece6 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(23, 35, 31, 0.025) 1px, transparent 1px);
  background-size: 100% 4rem;
  content: "";
  pointer-events: none;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 3rem, 78rem);
  min-height: 100svh;
  margin-inline: auto;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro {
  align-self: center;
  max-width: 53rem;
  padding-block: clamp(5rem, 13vh, 9rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-family: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.lead {
  max-width: 44rem;
  margin: clamp(2.25rem, 5vw, 4rem) 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.55;
}

.note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-family: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-style: italic;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

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

.footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.35rem;
}

@media (max-width: 40rem) {
  .page {
    width: min(100% - 2rem, 78rem);
    padding-block: 1rem 1.5rem;
  }

  .intro {
    padding-block: 4.5rem;
  }

  h1 {
    font-size: clamp(3.8rem, 22vw, 6.5rem);
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --muted: #34423d;
    --line: rgba(23, 35, 31, 0.45);
  }
}
