:root {
  --brand: #A9C93A;
  --lime: #B5D334;
  --lime-light: #D4EB6E;
  --green: #3E7D1E;
  --green-deep: #2C5A14;
  --ink: #1A2410;
  --muted: #4E5D3F;
  --bg: #F6F4EC;
  --card: #FFFFFF;
  --line: #E3E6D8;
  --danger: #8A2B0C;
  --ok: #2C5A14;
  --shadow: 0 18px 40px rgba(44, 90, 20, 0.18);
  --radius: 20px;
  --font-display: "Fredoka", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); }
button, input { font: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 236, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 90, 20, 0.08);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(44, 90, 20, 0.2);
}
.top-links { display: flex; align-items: center; gap: 0.85rem; }
.top-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--green-deep);
}
.x-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.x-link svg { width: 1rem; height: 1rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--ink);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0;
  background: repeating-conic-gradient(
    from 0deg at 30% 55%,
    var(--lime-light) 0deg 8deg,
    var(--lime) 8deg 16deg
  );
  opacity: 0.85;
  z-index: -1;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  padding: 2.25rem 0 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--green-deep);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin: 0 0 0.9rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: #fff;
  text-shadow: 0 2px 0 rgba(44, 90, 20, 0.18);
}
.lede {
  margin: 0 0 1.4rem;
  font-size: 1.12rem;
  color: var(--green-deep);
  max-width: 38rem;
  font-weight: 600;
}

/* Form */
.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 36rem;
}
.signup input[type="email"] {
  flex: 1 1 14rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(44, 90, 20, 0.12);
  outline: none;
}
.signup input[type="email"]:focus {
  box-shadow: 0 0 0 3px var(--green-deep), 0 6px 18px rgba(44, 90, 20, 0.12);
}
.signup button {
  flex: 0 1 auto;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  background: var(--green-deep);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(44, 90, 20, 0.22);
}
.signup button:hover { filter: brightness(1.08); }
.signup button:disabled { opacity: 0.7; cursor: wait; }
.fine {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--green-deep);
  opacity: 0.85;
}
.status {
  margin: 0.65rem 0 0;
  font-weight: 800;
  min-height: 1.3em;
}
.status.ok { color: var(--ok); }
.status.err { color: var(--danger); }
.status.warn { color: var(--green-deep); }

/* Phones */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.8rem;
  padding-bottom: 0.4rem;
}
.phone {
  width: min(230px, 46vw);
  background: #111;
  border: 8px solid #1a1a1a;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.phone img {
  width: 100%;
  aspect-ratio: 480 / 1038;
  object-fit: cover;
  object-position: top;
}
.phone.back {
  width: min(200px, 40vw);
  transform: rotate(-6deg) translateY(12px);
  opacity: 0.96;
}
.phone.front {
  transform: rotate(4deg) translateY(-6px);
}
.phones.single .phone { transform: none; width: min(240px, 70vw); }

/* Sections */
section { padding: 3.4rem 0; }
.section-kicker {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--green);
  margin: 0 0 0.4rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}
.section-intro {
  margin: 0 0 1.8rem;
  color: var(--muted);
  max-width: 40rem;
}

.steps {
  display: grid;
  gap: 1.1rem;
}
.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(44, 90, 20, 0.06);
  display: grid;
  gap: 0.9rem;
}
.step h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}
.step p { margin: 0; color: var(--muted); }
.step-copy { padding: 0.2rem 0.2rem 0.4rem; }
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.9rem;
  margin-right: 0.35rem;
}

.badges {
  display: grid;
  gap: 1rem;
}
.badge {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: 0 8px 24px rgba(44, 90, 20, 0.06);
}
.badge-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: #eef6c8;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}
.badge h3 {
  font-family: var(--font-display);
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
}
.badge p { margin: 0; color: var(--muted); }

.social {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.social p { margin: 0.4rem auto 1.1rem; max-width: 36rem; color: var(--muted); }
.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
}
.btn-x:hover { filter: brightness(1.12); }
.btn-x svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

footer {
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  gap: 0.4rem;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 0.4rem;
}
.foot-brand img { width: 28px; height: 28px; border-radius: 8px; }
footer a { font-weight: 700; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


.step .phone {
  width: min(230px, 70%);
  margin: 0 auto;
  transform: none;
  border-width: 7px;
  border-radius: 24px;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 3.2rem 0 3.6rem;
    gap: 1.5rem;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
  .step { padding: 0.85rem 0.85rem 1.1rem; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .phone { width: 230px; }
  .phone.back { width: 200px; }
}

@media (min-width: 960px) {
  .badges { grid-template-columns: repeat(4, 1fr); }
  .hero h1 { font-size: 4.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone.back, .phone.front { transform: none; }
}

@media (max-width: 719px) {
  .phones .phone.back { display: none; }
  .phones .phone.front {
    transform: none;
    width: min(210px, 62vw);
  }
  .step .phone { width: min(170px, 50vw); }
  section { padding: 2.5rem 0; }
  .hero-grid { padding: 1.8rem 0 2rem; }
  .top-links a:not(.x-link) { display: none; }
}

@media (min-width: 720px) {
  .step .phone { width: 100%; max-width: 230px; }
}
