* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4efe6;
  line-height: 1.4;
  overflow-x: hidden;
}

main {
  width: min(860px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 1.25rem 2rem 1.25rem;
  background: #fff;
  border: 1px solid #e7dfd4;
  box-shadow: 0 12px 36px rgba(31, 26, 22, 0.06);
}

main > section {
  padding: 1.25rem 0;
}

main > section + section {
  border-top: 1px solid #f1ece5;
}

h1 {
  margin: 0;
  line-height: 1.1;
}

.site-header {
  width: min(860px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0 2rem;
}

.site-logo {
  margin: 0;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  margin: 0 0 0.9rem;
  line-height: 1.15;
}

h3 {
  margin: 1rem 0 0.4rem;
  line-height: 1.2;
}

p {
  margin: 0.55rem 0 0;
}

section > h2 + p {
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.78rem 1.2rem;
  background: #1f1a16;
  color: #f4efe6;
  text-decoration: none;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(31, 26, 22, 0.12);
  transition:
    background-color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: #2b241f;
  box-shadow: 0 10px 22px rgba(31, 26, 22, 0.16);
  transform: translateY(-1px);
}

.cta-button:focus-visible {
  outline: 2px solid #c84b2f;
  outline-offset: 2px;
}

.hero {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}

.why,
.how,
.closing-cta {
  padding-top: 1.5rem;
}

.hero-title {
  margin: 0 0 0.7rem;
  max-width: none;
  font-size: 1.85rem;
  line-height: 1;
}

.hero .hero-copy {
  margin-top: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-button {
  margin-top: 0.9rem;
}

.hero-title span {
  display: inline;
}

.hero-accent {
  color: #c84b2f;
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
}

.closing-title {
  max-width: none;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.legal-updated {
  margin-top: 0;
  color: #6f675e;
}

.legal-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.legal-list li + li {
  margin-top: 0.45rem;
}

.site-logo-link {
  color: inherit;
  text-decoration: none;
}

.closing-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.closing-cta .closing-title {
  margin: 0;
  flex: 1;
}

.closing-cta .cta-button {
  margin-top: 0;
  flex-shrink: 0;
}

section > p + p {
  margin-top: 0.4rem;
}

section > h3 + p {
  margin-top: 0.15rem;
}

.step-number {
  color: #b38c62;
  margin-right: 0.35rem;
  font-weight: 700;
}


footer {
  width: min(860px, calc(100% - 2rem));
  margin: 1rem auto 1rem;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

footer p {
  margin: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
}

footer a {
  color: #6f675e;
  text-decoration-color: #cfc4b5;
}

nav a + a {
  margin-left: 1rem;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100%, calc(100% - 1.5rem));
  }

  .site-header,
  footer {
    padding: 0 0.9rem;
  }

  main {
    padding: 0.9rem 0.9rem 1rem;
  }

  .site-header {
    margin-top: 0.75rem;
  }

  .site-logo {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.04;
  }

  .hero .hero-copy {
    max-width: none;
    font-size: 0.98rem;
  }

  .hero-accent {
    white-space: normal;
  }

  .closing-title {
    font-size: 1.15rem;
  }

  .closing-cta {
    display: block;
  }

  .closing-cta .cta-button {
    margin-top: 0.75rem;
  }

  footer {
    display: block;
  }

  footer nav {
    margin-top: 0.5rem;
  }

  nav a {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.3rem;
  }

  h2 {
    margin-bottom: 0.75rem;
  }

  .site-logo {
    font-size: 1.6rem;
  }
}
