:root {
  color-scheme: light;
  --background: #f7f3ea;
  --surface: #fffdf8;
  --text: #18231d;
  --muted: #5e6b63;
  --green: #245b43;
  --green-deep: #173f2f;
  --green-soft: #dce8dc;
  --sage: #789a78;
  --clay: #ad6547;
  --border: #d9ded5;
  --focus: #a94d28;
  --section-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

body,
button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: var(--green);
  text-underline-offset: 3px;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
}

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

.site-header,
.legal-header,
.section,
.site-footer,
.legal-footer,
.legal-main {
  width: min(calc(100% - 40px), var(--section-width));
  margin-inline: auto;
}

.site-header,
.legal-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.site-nav,
.legal-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.legal-nav a,
.site-footer nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.legal-nav a:hover,
.site-footer nav a:hover {
  color: var(--green);
}

.site-nav .nav-action {
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-button svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(690px, calc(100svh - 76px));
  align-items: center;
  overflow: hidden;
  background-color: #e9e5dc;
  background-image: url("/assets/hero-consultation.jpg");
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: min(calc(100% - 40px), var(--section-width));
  margin-inline: auto;
  padding-block: 72px;
}

.hero-content > * {
  max-width: 570px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 18px;
  color: var(--green-deep);
  font-size: clamp(76px, 13vw, 150px);
}

.hero-copy {
  margin-bottom: 28px;
  color: #283a30;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--green);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-deep);
}

.button-secondary {
  background: rgba(255, 253, 248, 0.86);
  color: var(--green);
}

.availability {
  margin-bottom: 0;
  color: #48584f;
  font-size: 14px;
  font-weight: 600;
}

.section {
  padding-block: 96px;
}

.section-band {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.section-heading {
  display: grid;
  max-width: 880px;
  margin-bottom: 54px;
}

.section-heading > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.section-heading.compact {
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature {
  position: relative;
  min-height: 230px;
  padding: 38px 64px 38px 0;
  border-bottom: 1px solid var(--border);
}

.feature:nth-child(odd) {
  padding-right: 64px;
  border-right: 1px solid var(--border);
}

.feature:nth-child(even) {
  padding-left: 64px;
}

.feature p {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-number {
  display: block;
  margin-bottom: 36px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps li {
  min-height: 250px;
  padding: 30px;
  border-left: 1px solid var(--border);
}

.steps li:first-child {
  border-left: 0;
}

.steps li > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 36px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 800;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.audience-grid {
  display: grid;
  border-block: 1px solid var(--border);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-grid article {
  padding: 46px 64px 46px 0;
}

.audience-grid article + article {
  padding-right: 0;
  padding-left: 64px;
  border-left: 1px solid var(--border);
}

.audience-label {
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.audience-grid h3 {
  max-width: 420px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
}

.audience-grid ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.audience-grid li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid var(--border);
}

.audience-grid li::before {
  position: absolute;
  top: 20px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.trust {
  background: var(--green-deep);
  color: #fff;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 84px;
}

.trust .eyebrow {
  color: #bcd6bd;
}

.trust h2 {
  margin-bottom: 0;
}

.trust-copy {
  align-self: end;
}

.trust-copy p {
  margin-bottom: 22px;
  color: #dfe9e1;
  font-size: 18px;
}

.trust-copy p:last-child {
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 80px;
}

.contact > div:first-child > p:last-child {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
}

.contact-actions {
  border-top: 1px solid var(--border);
}

.contact-link {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.contact-link span {
  color: var(--muted);
  font-size: 14px;
}

.contact-link strong {
  overflow-wrap: anywhere;
  color: var(--green);
  text-align: right;
}

.site-footer {
  padding-block: 50px 34px;
  border-top: 1px solid var(--border);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.business-details {
  max-width: 760px;
  margin-block: 42px;
  color: var(--muted);
  font-size: 14px;
}

.business-details p {
  margin-bottom: 5px;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Legal and support pages */

.legal-header {
  border-bottom: 1px solid var(--border);
}

.legal-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 20px;
}

.legal-nav a {
  color: var(--muted);
}

.legal-nav a[aria-current="page"] {
  color: var(--green);
}

.legal-nav .language {
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.legal-main {
  padding-block: 48px 72px;
}

.legal-document {
  padding: 52px clamp(22px, 6vw, 76px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.legal-document h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 6vw, 54px);
}

.legal-document h2 {
  margin: 44px 0 14px;
  color: var(--green);
  font-family: inherit;
  font-size: 25px;
}

.legal-document h3 {
  margin: 30px 0 10px;
  font-size: 20px;
}

.legal-document p,
.legal-document ul {
  margin-bottom: 18px;
}

.legal-document .lead {
  color: var(--muted);
  font-size: 20px;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-footer {
  display: grid;
  padding-block: 30px 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  grid-template-columns: 1fr auto;
  gap: 40px;
}

.legal-footer p {
  margin-bottom: 4px;
}

.legal-footer > div:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 40px));
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(23, 63, 47, 0.14);
    flex-direction: column;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    padding: 10px 12px;
  }

  .site-nav .nav-action {
    text-align: center;
  }

  .menu-button {
    display: grid;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .steps li:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .trust-layout,
  .contact {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-actions {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .site-header,
  .legal-header,
  .section,
  .site-footer,
  .legal-footer,
  .legal-main {
    width: min(calc(100% - 32px), var(--section-width));
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    font-size: 24px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 660px;
    align-items: end;
    background-position: 62% center;
  }

  .hero::before {
    position: absolute;
    inset: 0;
    background: rgba(247, 243, 234, 0.62);
    content: "";
  }

  .hero-content {
    position: relative;
    width: min(calc(100% - 32px), var(--section-width));
    padding-block: 88px 52px;
  }

  .hero h1 {
    font-size: clamp(72px, 26vw, 108px);
  }

  .hero-copy {
    font-size: 21px;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading > p:last-child {
    font-size: 18px;
  }

  .feature-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(odd),
  .feature:nth-child(even) {
    min-height: auto;
    padding: 32px 0;
    border-right: 0;
  }

  .feature-number {
    margin-bottom: 20px;
  }

  .audience-grid article,
  .audience-grid article + article {
    padding: 38px 0;
    border-left: 0;
  }

  .audience-grid article + article {
    border-top: 1px solid var(--border);
  }

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

  .steps li,
  .steps li:first-child,
  .steps li:nth-child(3),
  .steps li:nth-child(4) {
    display: grid;
    min-height: auto;
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .steps li:last-child {
    border-bottom: 1px solid var(--border);
  }

  .steps li > span {
    margin-bottom: 0;
  }

  .contact {
    gap: 18px;
  }

  .contact-link {
    min-height: 84px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
  }

  .contact-link strong {
    text-align: left;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .legal-header {
    align-items: flex-start;
    padding-block: 15px;
    flex-direction: column;
  }

  .legal-nav {
    justify-content: flex-start;
  }

  .legal-nav .language {
    padding-left: 0;
    border-left: 0;
  }

  .legal-main {
    padding-block: 24px 48px;
  }

  .legal-document {
    padding: 30px 20px;
  }

  .legal-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .legal-footer > div:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
