:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5e6b75;
  --line: #d7dee3;
  --paper: #fbfcfd;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --warm: #f4b860;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  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.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  background: rgba(251, 252, 253, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--accent-strong);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(640px, calc(100svh - 128px));
  padding: clamp(72px, 12vw, 140px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251, 252, 253, 0.96) 0%, rgba(251, 252, 253, 0.78) 45%, rgba(251, 252, 253, 0.22) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  content: "";
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero__content {
  width: min(680px, 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: 5.5rem;
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero p:not(.eyebrow),
.contact p,
.feature p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero p:not(.eyebrow) {
  max-width: 58ch;
  margin: 24px 0 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.22);
}

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

.button--light {
  border-color: rgba(255, 255, 255, 0.55);
  background: #ffffff;
  color: var(--accent-strong);
  box-shadow: none;
}

.section {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section__heading {
  width: min(780px, 100%);
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature::before {
  display: block;
  width: 42px;
  height: 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  content: "";
  background: var(--warm);
}

.feature p {
  margin: 0;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 72px);
  background: var(--accent-strong);
  color: #ffffff;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  font-size: 2.6rem;
}

.contact p {
  max-width: 54ch;
  margin: 16px 0 0;
}

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

  .hero {
    min-height: min(600px, calc(100svh - 172px));
  }

  .hero__media {
    background:
      linear-gradient(0deg, rgba(251, 252, 253, 0.96) 0%, rgba(251, 252, 253, 0.68) 55%, rgba(251, 252, 253, 0.22) 100%),
      url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80") center / cover;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .contact h2 {
    font-size: 2.15rem;
  }

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

@media (max-width: 520px) {
  .site-header {
    position: static;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: min(560px, calc(100svh - 156px));
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  .contact h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }
}
