:root {
  --ink: #101010;
  --muted: #57534e;
  --paper: #fffaf2;
  --panel: #ffffff;
  --brand: #43f2a6;
  --brand-strong: #12c87b;
  --night: #163326;
  --line: #dfded8;
  --shadow: 0 24px 70px rgba(19, 31, 27, .14);
}

* {
  box-sizing: border-box;
}

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;
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 242, .92);
  border-bottom: 1px solid rgba(16, 16, 16, .08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #2e2e2e;
  font-size: 15px;
}

.nav a,
.text-link,
footer a,
article a {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 7px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
}

.btn-primary {
  background: var(--brand);
  color: var(--ink);
}

.btn-secondary {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .76);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 27, 20, .92), rgba(10, 27, 20, .72) 48%, rgba(10, 27, 20, .2));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #087f52;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.02;
}

h3 {
  font-size: 24px;
  line-height: 1.12;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 6vw, 86px);
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.problem img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.section-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: #f2efe7;
}

article {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  box-shadow: 0 14px 42px rgba(42, 38, 32, .07);
}

article img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 20px;
}

article p {
  color: var(--muted);
}

article a {
  margin-top: auto;
}

.steps {
  background: var(--night);
  color: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-grid a {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-decoration: none;
}

.step-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-weight: 900;
}

.step-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.step-grid small {
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(52px, 7vw, 84px) clamp(20px, 6vw, 86px);
  background: url("assets/images/bright-gradient.png") center/cover, #e7fff4;
}

.cta p:not(.eyebrow) {
  max-width: 600px;
  color: #32443a;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 86px);
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

footer p {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .problem,
  .cards,
  .step-grid,
  .cta,
  footer {
    grid-template-columns: 1fr;
  }

  .problem,
  .cards,
  .step-grid {
    display: grid;
  }

  .cta,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 21px;
  }

  .btn-small {
    padding: 0 12px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
