:root {
  color-scheme: light;
  --ink: #16231a;
  --muted: #5f6f62;
  --paper: #f7f1e6;
  --panel: #fffdf7;
  --line: #d5c29d;
  --field: #516843;
  --gold: #b88938;
}

* {
  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;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  backdrop-filter: blur(14px);
}

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

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

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

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

.hero {
  min-height: calc(100svh - 69px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 78px) clamp(22px, 6vw, 86px);
  animation: rise-in 520ms ease both;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 16px;
  max-width: 680px;
  font-size: clamp(48px, 8vw, 116px);
  line-height: 0.88;
  font-weight: 900;
}

.hero-copy p {
  margin-top: 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

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

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #d7dfcd;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.03);
  animation: image-settle 900ms ease both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 8%, transparent), transparent 28%),
    linear-gradient(0deg, rgba(22, 35, 26, 0.08), transparent 42%);
  pointer-events: none;
}

.measurement-line {
  position: absolute;
  left: 12%;
  right: 16%;
  bottom: 16%;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-weight: 850;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.36);
}

.measurement-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: white;
  opacity: 0.88;
}

.measurement-line span {
  position: relative;
  padding: 7px 10px;
  background: rgba(22, 35, 26, 0.72);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(22px, 6vw, 86px);
}

.section.alt {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.section h2 {
  max-width: 820px;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1;
  font-weight: 900;
}

.section > p {
  margin-top: 18px;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.step span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.step h3 {
  margin-top: 18px;
  font-size: 25px;
  line-height: 1.08;
}

.step p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.fact-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
  background: var(--panel);
}

.fact strong {
  color: var(--field);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fact p {
  color: var(--muted);
  line-height: 1.5;
}

.final {
  background: var(--ink);
  color: var(--paper);
}

.final p {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.final .button {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.page {
  max-width: 920px;
  padding: clamp(40px, 7vw, 88px) clamp(22px, 6vw, 54px);
}

.page h1 {
  max-width: 820px;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.96;
}

.page .lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.policy {
  margin-top: 38px;
  display: grid;
  gap: 30px;
}

.policy section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.policy h2 {
  font-size: 24px;
  line-height: 1.1;
}

.policy p,
.policy li {
  color: var(--muted);
  line-height: 1.58;
}

.policy p,
.policy ul {
  margin: 14px 0 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
  border: 1px solid var(--line);
}

.support-block {
  padding: 24px;
  background: var(--panel);
}

.support-block h2 {
  font-size: 24px;
}

.support-block p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-settle {
  from {
    opacity: 0.72;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

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

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

  .hero,
  .split,
  .workflow,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .fact {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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