:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #56625a;
  --line: #d8ded7;
  --paper: #f8f7f1;
  --white: #ffffff;
  --pine: #123c33;
  --moss: #5d7b4f;
  --clay: #b75f3f;
  --gold: #d9a441;
  --sky: #6e9fb0;
  --shadow: 0 22px 70px rgba(23, 33, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: rgba(217, 164, 65, 0.35);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 247, 241, 0.88);
  border-bottom: 1px solid rgba(216, 222, 215, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--pine);
  border-radius: 7px;
  color: var(--white);
  font-size: 18px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 33, 28, 0.16);
}

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

.button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  background: #111b17;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 27, 23, 0.86), rgba(17, 27, 23, 0.54) 48%, rgba(17, 27, 23, 0.18)),
    linear-gradient(0deg, rgba(17, 27, 23, 0.7), rgba(17, 27, 23, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  padding: clamp(92px, 13vh, 150px) 0 96px clamp(20px, 5vw, 72px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 20px;
  color: #f0c86a;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.18;
}

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

.hero-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section.alt {
  background: var(--white);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.page h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.page-lede {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

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

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

.feature-card:nth-child(2) {
  border-top-color: var(--clay);
}

.feature-card:nth-child(3) {
  border-top-color: var(--sky);
}

.feature-card:nth-child(4) {
  border-top-color: var(--gold);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.step {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
}

.step strong {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--white);
  font-size: 14px;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 46px);
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta .button {
  border-color: var(--gold);
  background: var(--gold);
  color: #1e1b13;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.page {
  min-height: calc(100svh - 72px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.page-content {
  width: min(820px, 100%);
  margin: 0 auto;
}

.page h1 {
  margin-bottom: 18px;
}

.page section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.page h2 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.page p,
.page li {
  color: var(--muted);
}

.page ul {
  padding-left: 20px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
  }

  .section-heading,
  .cta {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: relative;
    flex-direction: column;
    min-height: auto;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
  }

  .nav .button {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(17, 27, 23, 0.9), rgba(17, 27, 23, 0.62)),
      linear-gradient(0deg, rgba(17, 27, 23, 0.75), rgba(17, 27, 23, 0) 45%);
  }

  .hero-content {
    width: min(100%, calc(100% - 40px));
    padding-top: 76px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

  .site-footer {
    flex-direction: column;
  }
}
