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

:root {
  --ink: #1d201c;
  --muted: #50554d;
  --paper: #fff;
  --sage: #edefeb;
  --line: #dce0d8;
  --accent: #ffea64;
  --accent-ink: #554700;
  --link: #386122;
  --header-height: 5.625rem;
  --shell: 84rem;
  --gutter: clamp(1rem, 3vw, 2.75rem);
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter Tight", "Helvetica Neue", sans-serif;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

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

body, h1, h2, h3, p {
  margin: 0;
}

body {
  line-height: 1.5;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: balance;
}

a {
  color: inherit;
  text-underline-offset: .2em;
}

a:focus-visible {
  outline: 2px solid #327276;
  outline-offset: 5px;
  border-radius: .15rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  background: var(--paper);
  transform: translateY(calc(-100% - 1.5rem));
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.home-page .site-header {
  margin-bottom: calc(-1 * var(--header-height));
  border: 0;
  background: rgba(255, 252, 246, .92);
  backdrop-filter: blur(12px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  min-height: var(--header-height);
}

.brand {
  justify-self: start;
  font-size: clamp(1.2rem, 2.2vw, 1.48rem);
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

.nav-links, .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem clamp(1rem, 2.8vw, 2rem);
}

.nav-links a {
  font-size: 1.05rem;
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: .8rem 1.65rem;
  border-radius: 100vw;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, transform .16s ease;
}

.button:hover {
  background: #fff097;
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.nav-call {
  white-space: nowrap;
}

.hero {
  display: grid;
  align-items: center;
  min-height: max(38rem, 100svh);
  padding-block: calc(var(--header-height) + 2rem) 8rem;
  background: linear-gradient(180deg, rgba(255, 250, 241, .14), rgba(255, 250, 241, .55) 39%, rgba(255, 250, 241, .24) 62%, transparent 87%),
    #f6e8da url("/assets/beach-hero.webp") center / cover no-repeat;
  text-align: center;
}

.hero h1 {
  font-size: clamp(3.05rem, 6vw, 5.1rem);
}

.hero p {
  max-width: 37rem;
  margin: 1.2rem auto 1.6rem;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  text-wrap: pretty;
}

.features {
  display: grid;
  gap: clamp(2.75rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

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

.feature-reverse img {
  order: -1;
}

.feature img {
  width: 100%;
  border-radius: clamp(1rem, 3vw, 2rem);
  background: var(--sage);
}

.feature h2, .checklist h2 {
  font-size: clamp(2.2rem, 4.7vw, 4rem);
}

.feature h2 {
  text-wrap: wrap;
}

.feature p, .checklist p, .contact p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  text-wrap: pretty;
}

.feature p {
  max-width: 32rem;
}

.checklist {
  padding-block: clamp(3.75rem, 7.5vw, 6.5rem);
  background: var(--sage);
  text-align: center;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 64rem;
  margin: 2.5rem auto 0;
}

.checklist-grid h3 {
  margin-top: .9rem;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.step-number {
  display: inline-grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #b8caae;
  border-radius: 50%;
  background: #e1ebd9;
  color: #35562a;
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.contact {
  display: grid;
  justify-items: center;
  padding-block: clamp(4rem, 8vw, 6rem);
  text-align: center;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact p {
  max-width: 38rem;
  margin-bottom: 1.7rem;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: .85rem;
  padding: 2rem var(--gutter);
  background: #232523;
  color: #f3f2eb;
  text-align: center;
}

.site-footer p {
  color: #d6d8d0;
  font-size: .9rem;
}

.footer-links {
  justify-content: center;
}

.footer-links a {
  color: #b8e59f;
  text-decoration: none;
}

.legal-main {
  --shell: 74rem;
}

.legal-hero {
  padding-block: clamp(2.75rem, 6vw, 5.75rem);
  border-bottom: 1px solid var(--line);
  background: var(--sage);
}

.legal-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-block: .65rem .85rem;
  text-wrap: wrap;
}

.legal-hero p {
  color: var(--muted);
}

.eyebrow {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 46rem);
  align-items: start;
  gap: clamp(1.75rem, 6vw, 6rem);
  padding-block: clamp(2.35rem, 5vw, 4.5rem) clamp(3.75rem, 7vw, 6rem);
}

.contents {
  display: grid;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  gap: .6rem;
  padding: 1.2rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f8f9f7;
}

.contents p {
  margin-bottom: .25rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.contents a {
  color: var(--link);
  text-decoration: none;
}

.contents a:hover {
  text-decoration: underline;
}

.legal-copy {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.legal-intro {
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.35rem);
}

.legal-copy section {
  padding-top: 1.5rem;
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: .7rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  text-wrap: wrap;
}

.legal-copy p + p {
  margin-top: .75rem;
}

.legal-copy a {
  color: var(--link);
}

@media (max-width: 47rem) {
  :root {
    --header-height: 6rem;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .4rem .6rem;
    padding-block: .55rem;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    font-size: .98rem;
  }

  .nav-call {
    min-height: 2.5rem;
    padding: .55rem .75rem;
    font-size: .92rem;
  }

  .hero {
    min-height: max(34rem, 90svh);
    padding-bottom: 8rem;
    background-position: 47% center;
  }

  .feature, .checklist-grid, .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature {
    gap: 1.2rem;
  }

  .feature-reverse img {
    order: 0;
  }

  .contents {
    position: static;
  }
}

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

  .button:hover {
    transform: none;
  }
}
