:root {
  --charcoal: #1f1f1f;
  --white: #ffffff;
  --teal: #2a6f6f;
  --clay: #c45c3a;
  --paper: #f6f3ee;
  --ink: #1f1f1f;
  --muted: #5c5c5c;
  --line: rgba(31, 31, 31, 0.12);
  --hero: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

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

html {
  font-size: 17px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(31, 31, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 31, 31, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--charcoal);
}

img,
svg {
  display: block;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 0.4rem 0.7rem;
  background: var(--white);
  color: var(--charcoal);
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 0;
}

.wordmark {
  color: var(--charcoal);
  font-family: var(--hero);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark span {
  color: var(--teal);
  font-weight: 500;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.nav a {
  color: var(--charcoal);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero-band {
  min-height: 100svh;
  padding: 3.2rem 0 2.8rem;
}

.hero h1 {
  margin: 0 0 0.8rem;
  max-width: 16ch;
  font-family: var(--hero);
  font-size: clamp(2.15rem, 8vw, 3.6rem);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  max-width: 28rem;
  font-size: 1.15rem;
}

.offer {
  margin: 0 0 1.2rem;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin: 1.7rem 0 0;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.05rem;
  border-radius: 4px;
  background: var(--clay);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.btn:hover {
  background: #a84b2f;
  color: var(--white);
}

.text-link {
  color: inherit;
}

.do-dont {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.card h2,
.section h2,
.page h1 {
  margin: 0 0 0.55rem;
  font-family: var(--hero);
  font-size: 1.45rem;
  font-weight: 560;
}

.card p,
.section p,
.page p {
  margin: 0 0 0.75rem;
}

.card p:last-child,
.section p:last-child,
.stack p:last-child {
  margin-bottom: 0;
}

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

.section {
  padding: 0 0 2.4rem;
}

.below-hero {
  padding-top: 0.4rem;
}

.section .card,
.page .card {
  padding: 1.2rem 1.15rem;
}

.page {
  padding: 2rem 0 3rem;
}

.page h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.stack {
  max-width: 40rem;
}

.form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
  max-width: 32rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid #c8c4bc;
  border-radius: 4px;
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
}

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

.hint {
  margin: 0;
  color: var(--clay);
  font-weight: 650;
}

.hint[hidden] {
  display: none;
}

.form button {
  justify-self: start;
  appearance: none;
  border: 0;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 1.1rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0.15rem 0;
}

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

@media (min-width: 760px) {
  html {
    font-size: 18px;
  }

  .do-dont {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }

  .page .card,
  .section .card {
    padding: 1.4rem 1.4rem;
  }

  .hero-band {
    min-height: 100svh;
    padding: 4.4rem 0 3.2rem;
  }
}
