:root {
  color-scheme: light;
  --green: #43c900;
  --green-dark: #237700;
  --green-soft: #e9ffd9;
  --ink: #141414;
  --muted: #5f655b;
  --paper: #ffffff;
  --line: #dce4d8;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  padding: max(12px, env(safe-area-inset-top)) clamp(18px, 4vw, 54px) 12px;
  color: #fff;
  background: rgba(20, 20, 20, 0.84);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 8px;
  color: #173900;
  background: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: #cfd5cc;
  font-size: 11px;
  line-height: 1.1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background: var(--green);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.16);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(590px, 100%);
  padding: 42px clamp(22px, 5vw, 72px) max(38px, calc(26px + env(safe-area-inset-bottom)));
  color: #fff;
  background: rgba(20, 20, 20, 0.94);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a8ff72;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(34px, 5.5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 500px;
  margin: 18px 0 24px;
  color: #e4e8e1;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
}

.primary-action {
  position: relative;
  display: grid;
  min-height: 68px;
  margin-top: 22px;
  place-items: center;
  padding: 14px 18px;
  overflow: hidden;
  border: 2px solid #83ee45;
  border-radius: 8px;
  color: #102900;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(67, 201, 0, 0.58);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  animation: cta-pulse 2s infinite;
}

.primary-action span,
.primary-action small {
  display: block;
}

.primary-action small {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
}

.primary-action:hover,
.primary-action:focus-visible {
  color: #fff;
  background: var(--green-dark);
  outline: 3px solid #fff;
  outline-offset: 3px;
  animation: none;
}

.action-note {
  margin: 12px 0 0;
  color: #bfc5bc;
  font-size: 12px;
  line-height: 1.45;
}

.action-note.is-success {
  color: #b5ff88;
}

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

.steps h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  min-width: 0;
  padding: 26px clamp(12px, 2.2vw, 28px) 22px 0;
  border-bottom: 1px solid var(--line);
}

.step-list li + li {
  padding-left: clamp(12px, 2.2vw, 28px);
  border-left: 1px solid var(--line);
}

.step-list li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #173900;
  background: var(--green);
  font-weight: 900;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.step-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 17px;
}

.site-footer {
  padding: 26px max(20px, calc((100vw - 1120px) / 2)) max(28px, env(safe-area-inset-bottom));
  color: #b9bfb6;
  background: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 5px;
}

.toast {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(420px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  background: #1a1d19;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.toast[hidden] {
  display: none;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(67, 201, 0, 0.56); }
  50% { box-shadow: 0 0 0 12px rgba(67, 201, 0, 0); }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
  }

  .hero-media::after {
    display: none;
  }

  .hero-media img {
    display: block;
    object-fit: cover;
    object-position: center;
  }

  .hero-content {
    width: 100%;
    padding: 28px 20px max(34px, calc(24px + env(safe-area-inset-bottom)));
  }

  h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 17px;
  }

  .primary-action {
    margin-top: 18px;
  }

  .steps {
    width: calc(100% - 40px);
    padding: 54px 0 58px;
  }

  .step-list {
    display: block;
    margin-top: 28px;
  }

  .step-list li {
    padding: 22px 0;
  }

  .step-list li + li {
    padding-left: 0;
    border-left: 0;
  }
}

@media (min-width: 721px) and (max-aspect-ratio: 5 / 4) {
  .hero-content {
    width: min(560px, 60%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-action {
    animation: none;
  }
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.not-found main {
  padding: 24px;
}

.not-found h1 {
  font-size: clamp(32px, 6vw, 56px);
}

.not-found p {
  color: #cfd5cc;
}

.not-found a {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  color: #173900;
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
}
