:root {
  --bg: #fff8ef;
  --surface: #fffdf8;
  --surface-strong: #f3e3cf;
  --text: #29231d;
  --muted: #665b50;
  --accent: #4f6f46;
  --accent-dark: #31442b;
  --line: #dfcfbb;
  --shadow: 0 22px 70px rgba(57, 42, 26, 0.16);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(243, 227, 207, 0.8), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--text);
  color: var(--surface);
  padding: 0.65rem 0.9rem;
  border-radius: 0.35rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-mark,
.site-nav {
  display: flex;
  align-items: center;
}

.site-mark {
  gap: 0.55rem;
  font-weight: 750;
  text-decoration: none;
}

.mark-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.3rem rgba(79, 111, 70, 0.16);
}

.site-nav {
  gap: clamp(0.8rem, 3vw, 1.6rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

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

.section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(19rem, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 5vw, 3rem);
}

.hero-copy {
  max-width: 42rem;
  position: relative;
  z-index: 1;
}

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

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

h1 {
  margin-bottom: 1rem;
  font-size: 5.8rem;
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 8ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-subhead {
  color: var(--muted);
  font-size: 1.3rem;
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  padding: 0.82rem 1.05rem;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #fffdf8;
  box-shadow: 0 0.75rem 1.8rem rgba(79, 111, 70, 0.22);
}

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

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.68);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.hero-visual {
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-strong);
  aspect-ratio: 4 / 5;
}

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

.section-heading {
  max-width: 45rem;
}

.section-heading p,
.section-copy p,
.support-box p,
.site-footer p {
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.steps li {
  min-height: 11rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 253, 248, 0.76);
}

.step-number {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  border-radius: 999px;
  background: #ead5bb;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.steps p {
  margin-bottom: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.testing {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.section-copy {
  max-width: 36rem;
}

.section-copy .button {
  margin-top: 0.65rem;
}

.link-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.link-grid a {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.1rem;
  background: var(--surface);
  font-weight: 800;
  text-decoration: none;
}

.link-grid a::after {
  content: "->";
  color: var(--accent);
}

.link-grid a:hover {
  border-color: var(--accent);
}

.support {
  padding-top: 0;
}

.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  background: rgba(255, 253, 248, 0.72);
}

.support-box h2 {
  font-size: 2.2rem;
}

.support-box p {
  max-width: 38rem;
  margin-bottom: 0;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  white-space: nowrap;
}

.site-footer {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(79, 111, 70, 0.45);
  outline-offset: 4px;
}

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

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

  .hero,
  .split,
  .steps,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    aspect-ratio: 16 / 11;
  }

  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .hero-subhead {
    font-size: 1.18rem;
  }

  .support-box h2 {
    font-size: 2rem;
  }

  .steps li {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 1rem;
  }

  .text-link {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .button,
  .cta-row {
    width: 100%;
  }

  .site-mark {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.1rem;
  }
}
