:root {
  --ink: #151515;
  --muted: #5f625b;
  --paper: #f7f3ec;
  --line: rgba(21, 21, 21, 0.14);
  --accent: #128c45;
  --accent-dark: #0d6f36;
  --sun: #f2b84b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(12, 20, 16, 0.15), rgba(12, 20, 16, 0.48)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: imageSettle 1100ms ease-out forwards;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 75%, rgba(242, 184, 75, 0.34), transparent 29rem),
    linear-gradient(90deg, rgba(3, 5, 4, 0.82) 0%, rgba(3, 5, 4, 0.54) 42%, rgba(3, 5, 4, 0.12) 100%);
}

.hero__content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 7rem 0 6rem;
  color: white;
  transform: translateY(18px);
  opacity: 0;
  animation: riseIn 750ms 160ms ease-out forwards;
}

.kicker,
.section-label {
  margin: 0 0 1rem;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.1rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(4rem, 13vw, 9.8rem);
  line-height: 0.85;
}

.lead {
  max-width: 610px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero__actions,
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 1.25rem;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 18px 36px rgba(18, 140, 69, 0.25);
}

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

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: white;
  backdrop-filter: blur(14px);
}

.intro,
.steps,
.cta {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.intro h2,
.cta h2 {
  max-width: 720px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
}

.intro p:last-child {
  align-self: end;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.step {
  min-height: 270px;
  padding: 2rem;
  border-bottom: 1px solid var(--line);
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step span {
  display: block;
  margin-bottom: 3rem;
  color: var(--accent);
  font-weight: 800;
}

.step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.step p {
  color: var(--muted);
  line-height: 1.6;
}

.cta {
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 8rem);
}

.cta .section-label {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageSettle {
  to {
    transform: scale(1);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    align-items: end;
  }

  .hero__overlay {
    background:
      radial-gradient(circle at 18% 78%, rgba(242, 184, 75, 0.32), transparent 18rem),
      linear-gradient(90deg, rgba(3, 5, 4, 0.9) 0%, rgba(3, 5, 4, 0.62) 100%);
  }

  .hero__content {
    width: calc(100% - 32px);
    padding: 5rem 0 3.5rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.4rem);
    line-height: 0.9;
    overflow-wrap: anywhere;
  }

  .lead {
    margin-bottom: 1.35rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .kicker,
  .section-label {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .intro,
  .steps,
  .cta {
    width: calc(100% - 32px);
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 3.4rem 0;
  }

  .intro h2,
  .cta h2 {
    font-size: clamp(2.15rem, 11vw, 3.45rem);
    line-height: 1;
  }

  .intro p:last-child {
    font-size: 1rem;
    line-height: 1.65;
  }

  .steps {
    grid-template-columns: 1fr;
    padding-bottom: 3.4rem;
  }

  .step {
    min-height: auto;
    padding: 1.6rem 0;
  }

  .step + .step {
    border-left: 0;
  }

  .step span {
    margin-bottom: 1.3rem;
  }

  .cta {
    padding: 3.3rem 0 4rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
    line-height: 1.2;
  }
}

@media (max-width: 420px) {
  .hero__content,
  .intro,
  .steps,
  .cta {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 4.5rem 0 2rem;
  }

  h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(2.85rem, 17vw, 4rem);
  }

  .lead {
    font-size: 0.96rem;
  }

  .hero__actions {
    gap: 0.65rem;
  }

  .intro {
    padding: 2.8rem 0;
  }

  .intro h2,
  .cta h2 {
    font-size: clamp(1.9rem, 10.5vw, 2.8rem);
  }

  .step {
    padding: 1.35rem 0;
  }
}

@media (max-width: 340px) {
  .hero__content,
  .intro,
  .steps,
  .cta {
    width: calc(100% - 20px);
  }

  h1 {
    font-size: 2.55rem;
  }

  .button {
    font-size: 0.92rem;
  }
}
