:root {
  color-scheme: light;
  --ink: #161817;
  --muted: #636a66;
  --paper: #fbfbf8;
  --surface: #ffffff;
  --line: #e4e6df;
  --accent: #0f8f82;
  --accent-soft: #e8f5f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.section-wrap {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 800;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 22px;
}

.nav-links a,
.footer-links a,
.text-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 620;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover,
.contact-link:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  min-height: 68vh;
  align-content: center;
  padding: 64px 0 92px;
}

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

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

h1 {
  max-width: 890px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 720px;
  margin-bottom: 18px;
}

.feature {
  min-height: 184px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature p,
.split-section p,
.contact-section p {
  color: var(--muted);
}

.feature p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: start;
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.split-section p {
  margin: 0;
  font-size: 1.08rem;
}

.contact-section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 18px;
}

.contact-link {
  color: var(--accent);
  font-size: clamp(1.25rem, 4vw, 2.4rem);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-page {
  min-height: 68vh;
  padding: 70px 0 92px;
}

.legal-page article {
  max-width: 760px;
}

.legal-page h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.legal-page p {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-page ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-page li + li {
  margin-top: 10px;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 74px;
  }

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

  .split-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 540px) {
  .site-header,
  .site-footer,
  .section-wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    gap: 10px 14px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding: 58px 0;
  }

  .feature {
    min-height: auto;
  }

  .split-section,
  .contact-section,
  .legal-page {
    padding: 58px 0;
  }
}
