@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #222320;
  --muted: #4f514b;
  --yellow: #ffea64;
  --yellow-hover: #fff197;
  --sage: #edefeb;
  --green: #a8e478;
  --content-width: 82.5rem;
  --page-gutter: clamp(1.25rem, 4vw, 3.75rem);
  font: 400 100%/1.5 "Inter Tight", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 3;
  inset: 0.75rem auto auto 0.75rem;
  transform: translateY(-200%);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
}

.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  inset: 1rem 0 auto;
  z-index: 2;
  padding-inline: var(--page-gutter);
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  min-height: 5.25rem;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 0.6rem 0.65rem 0.6rem clamp(1rem, 2.6vw, 2rem);
  border: 1px solid rgb(255 255 255 / 0.8);
  border-radius: 4rem;
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 0.35rem 1.75rem rgb(39 33 26 / 0.08);
}

.wordmark {
  justify-self: start;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.85rem, 2.25vw, 2rem);
}

.nav-links a {
  padding-block: 0.3rem;
  font-size: 1.06rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.wordmark:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.65rem;
  border-radius: 99rem;
  background: var(--yellow);
  color: #4d4200;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms ease;
}

.call-button:hover { background: var(--yellow-hover); }
.call-button:active { transform: translateY(1px); }
.nav-call { justify-self: end; }
.nav-call svg { width: 1.2em; height: 1.2em; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8.25rem var(--page-gutter) 4.5rem;
  overflow: clip;
  background: #f4e9df;
  text-align: center;
}

.hero-image,
.hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image { object-fit: cover; object-position: center; }

.hero::after {
  content: "";
  background: radial-gradient(ellipse at center, rgb(255 248 241 / 0.89), rgb(255 248 241 / 0.12) 70%);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero p,
.feature p,
.callout p {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
}

.hero p {
  max-width: 37rem;
  margin: 1.35rem auto 1.65rem;
  text-wrap: balance;
}

.features {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
  max-width: calc(var(--content-width) + var(--page-gutter) * 2);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.25rem) var(--page-gutter);
}

.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.feature-copy { padding-inline: clamp(0rem, 2.1vw, 1.5rem); }
.feature-reverse img { grid-column: 1; grid-row: 1; }

.feature h2,
.planning h2 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.feature p {
  max-width: 37ch;
  margin-top: 1rem;
  color: var(--muted);
}

.feature img {
  width: 100%;
  height: auto;
  border-radius: clamp(1.25rem, 3vw, 2rem);
}

.planning { background: var(--sage); }

.planning-inner {
  max-width: 70rem;
  margin-inline: auto;
  padding: clamp(3.75rem, 7vw, 6.25rem) var(--page-gutter);
  text-align: center;
}

.planning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

.planning-grid article::before {
  display: block;
  width: 2.25rem;
  height: 0.35rem;
  margin: 0 auto 1.15rem;
  border-radius: 1rem;
  background: #7bb451;
  content: "";
}

.planning-grid h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }

.planning-grid p {
  max-width: 34ch;
  margin: 0.4rem auto 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.callout {
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-gutter);
  text-align: center;
}

.callout h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.callout p { margin: 0.8rem auto 1.6rem; }

.site-footer {
  padding: 2.25rem var(--page-gutter);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.5rem;
  margin-bottom: 0.75rem;
}

.site-footer a { color: var(--green); text-underline-offset: 0.2em; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #e0e1dc; }

.legal-page .site-header { position: relative; inset: auto; padding-block: 1rem; }
.legal-page .site-nav { border-color: #eeefeb; }
.legal-heading { background: var(--sage); }

.legal-width {
  width: min(48rem, 100% - var(--page-gutter) * 2);
  margin-inline: auto;
}

.legal-heading .legal-width { padding-block: clamp(2.75rem, 7vw, 5.25rem); }

.legal-heading h1 {
  font-size: clamp(2.55rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.legal-heading p { margin-top: 0.75rem; color: var(--muted); }

.legal-content {
  display: grid;
  gap: 1.8rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  font-size: 1.15rem;
  line-height: 1.6;
}

.legal-content h2 { margin-bottom: 0.5rem; font-size: 1.5rem; line-height: 1.2; }
.legal-content p { color: var(--muted); }
.legal-content p + p { margin-top: 0.6rem; }
.legal-content a { font-weight: 700; text-underline-offset: 0.16em; }
.legal-content a:hover { color: var(--ink); }

@media (max-width: 47rem) {
  .site-header { padding-inline: 0.75rem; }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.2rem 0.45rem;
    min-height: 0;
    padding: 0.55rem 0.65rem 0.35rem 0.8rem;
    border-radius: 1.65rem;
  }

  .nav-links { grid-row: 2; grid-column: 1 / -1; }
  .nav-links a { padding: 0.5rem 0.3rem; font-size: 0.95rem; }
  .nav-call { min-height: 2.75rem; padding: 0.55rem 0.75rem; font-size: 0.96rem; }
  .nav-call svg { display: none; }
  .hero-image { object-position: 61% center; }
  .feature, .planning-grid { grid-template-columns: 1fr; }
  .feature { gap: 1.25rem; }
  .feature-reverse img { grid-column: auto; grid-row: auto; }
  .feature-copy { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .call-button { transition: none; }
}
