:root {
  color-scheme: light;
  --bg: #f4f1eb;
  --surface: #fffcf6;
  --text: #20272a;
  --muted: #647076;
  --line: #d7d0c6;
  --accent: #176b70;
  --accent-strong: #0c474b;
  --gold: #b78948;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(32, 39, 42, 0.1);
  background: rgba(244, 241, 235, 0.92);
  padding: 18px clamp(18px, 4vw, 48px);
  backdrop-filter: blur(16px);
}

.brand,
nav a {
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
}

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

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(244, 241, 235, 0.98) 0%, rgba(244, 241, 235, 0.88) 42%, rgba(244, 241, 235, 0.28) 74%),
    url("/assets/hero-workflow.png") right center / min(58vw, 760px) auto no-repeat;
  padding: 72px clamp(20px, 5vw, 72px) 84px;
}

.hero-copy {
  max-width: 760px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.summary {
  max-width: 650px;
  margin-bottom: 0;
  color: #39464a;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 18px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

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

.button:focus-visible,
.email-link:focus-visible,
nav a:focus-visible {
  outline: 3px solid rgba(23, 107, 112, 0.28);
  outline-offset: 3px;
}

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

.intro-band {
  border-block: 1px solid var(--line);
  background: var(--accent-strong);
  color: #fff;
}

.intro-band p {
  max-width: 960px;
  margin: 0;
  font-size: clamp(1.28rem, 3vw, 2.1rem);
  line-height: 1.28;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.copy-stack p {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
}

.grid article {
  min-height: 260px;
  padding: 34px 28px;
  background: var(--surface);
}

.number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

h3 {
  margin: 48px 0 12px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 8vw, 96px);
  background: #20272a;
  color: #fff;
}

.contact .section-kicker {
  color: #8ecfd1;
}

.contact p {
  max-width: 620px;
  color: #dbe3e4;
  font-size: 1.08rem;
}

.email-link {
  display: inline-block;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration-color: #8ecfd1;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(244, 241, 235, 0.96) 0%, rgba(244, 241, 235, 0.96) 58%, rgba(244, 241, 235, 0.62) 100%),
      url("/assets/hero-workflow.png") center bottom / 100% auto no-repeat;
    padding-bottom: 260px;
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 190px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-block: 46px;
  }

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

  .grid article {
    min-height: 220px;
  }
}
