:root {
  color-scheme: light;
  --canvas: #faf8f4;
  --ink: #14110e;
  --muted: #6b645a;
  --line: #c9c2b2;
  --accent: #5e7855;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  --maxw: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
}

main {
  flex: 1 0 auto;
}

.site-header {
  padding-top: clamp(2rem, 6vh, 3.5rem);
}

.wordmark {
  display: inline-block;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

a.wordmark {
  transition: opacity 0.2s ease;
}

a.wordmark:hover {
  opacity: 0.6;
}

.label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.hero {
  margin-top: clamp(5rem, 20vh, 13rem);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.contact {
  margin-top: clamp(7rem, 24vh, 18rem);
}

.contact address {
  font-style: normal;
  margin: 0;
}

.contact p {
  margin: 0;
}

.contact .company {
  font-size: 1rem;
}

.contact-label {
  margin-top: 2rem;
}

.contact-email {
  margin-top: 0.55rem;
  font-size: 1rem;
}

main a:not(.wordmark) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s ease;
}

main a:not(.wordmark):hover {
  text-decoration-color: var(--ink);
}

.site-footer {
  margin-top: auto;
  padding-top: clamp(6rem, 15vh, 10rem);
  padding-bottom: clamp(2rem, 6vh, 3.5rem);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.site-footer a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--ink);
}

.legal {
  padding-top: clamp(3rem, 8vh, 5rem);
}

.legal h1 {
  margin: 0 0 clamp(2.5rem, 6vh, 4rem);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.legal section {
  margin-bottom: clamp(2rem, 5vh, 3rem);
  max-width: 64ch;
}

.legal section .label {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.legal p {
  margin: 0 0 1rem;
  max-width: 64ch;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  max-width: 64ch;
}

.legal li {
  margin: 0.2rem 0;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.back {
  margin-top: clamp(3rem, 7vh, 4.5rem);
}

.verify {
  font-weight: 700;
  background: #f2efe8;
  padding: 0 0.3em;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: var(--canvas);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
