:root {
  --page: #fafaf7;
  --surface: #ffffff;
  --ink: #1a1a18;
  --muted: #6b6b66;
  --rule: #e4e4de;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html.is-termlink,
html.is-termlink body {
  overflow: hidden;
  background: #000;
}

html.is-termlink #decoy {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--font);
  background: var(--page);
  color: var(--ink);
  line-height: 1.5;
  font-size: 1rem;
}

a {
  color: inherit;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--ink);
}

nav a:focus-visible,
.wordmark:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--ink);
  color: var(--page);
  text-decoration: none;
  padding: 0.65rem 1rem;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.88;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    opacity: 1;
  }
}
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cards,
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding-bottom: 4rem;
}

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

.card,
.tile {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.25rem;
}

.card h3,
.tile h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p,
.tile p,
.about-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.about-copy {
  max-width: 40rem;
  padding-bottom: 4rem;
}

#contact-form {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
  padding-bottom: 2rem;
}

#contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.55rem 0.65rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

#contact-form .btn {
  margin-top: 0.25rem;
  justify-self: start;
}

#contact-thanks {
  padding-bottom: 4rem;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }
  nav a {
    margin-left: 1rem;
  }
  .cards,
  .tiles {
    grid-template-columns: 1fr;
  }
}
