/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LEADIGO — Mobile-first landing page
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Almoni — HaGilda. Files live in /images/brand/. */
@font-face {
  font-family: "Almoni";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../images/brand/almoni-regular-aaa.woff2") format("woff2");
}
@font-face {
  font-family: "Almoni";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../images/brand/almoni-demibold-aaa.woff2") format("woff2");
}
@font-face {
  font-family: "Almoni";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../images/brand/almoni-bold-aaa.woff2") format("woff2");
}
@font-face {
  font-family: "Almoni";
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
  src: url("../images/brand/Almoni ML v5 AAA UltraBold.woff2") format("woff2");
}

:root {
  --green-dark:    #183020;
  --green-deep:    #0e1f10;
  --green-lime:    #72d93a;
  --green-pale:    #eef7eb;
  --green-wash:    #e4f2de;
  --green-border:  #c5ddc0;
  --cream:         #e8f5dc;
  --cream-dim:     rgba(232, 245, 220, 0.65);
  --white:         #ffffff;
  --text:          #0e1f10;
  --text-muted:    #3d5540;
  --shadow:        0 8px 28px rgba(14, 31, 16, 0.11);
  --shadow-sm:     0 4px 14px rgba(14, 31, 16, 0.07);
  --ring:          0 0 0 3px rgba(114, 217, 58, 0.30);
  --radius:        14px;
  --max:           1080px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Almoni", "Heebo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--green-pale);
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 10px;
  top: 10px;
  padding: 0.5rem 0.75rem;
  background: #000;
  color: #fff;
  border-radius: 8px;
  transform: translateY(-200%);
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

/* ── Typography scale ── */
h1 {
  font-size: clamp(2.4rem, 9vw, 3.8rem);
  font-weight: 900;
  color: var(--cream);
}
h2 {
  font-size: clamp(1.65rem, 5vw, 2.3rem);
  font-weight: 800;
  color: var(--green-dark);
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
}
.section__title {
  font-size: clamp(1.65rem, 5vw, 2.3rem);
  font-weight: 800;
  color: var(--green-dark);
}

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  width: fit-content;
  /* hero variant — light on dark */
  color: var(--green-lime);
  background: transparent;
  border: 1.5px solid rgba(114, 217, 58, 0.55);
}
.eyebrow--dark {
  color: var(--green-dark);
  background: transparent;
  border-color: rgba(24, 48, 32, 0.28);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.14s ease, filter 0.12s ease;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn--primary {
  background: var(--green-lime);
  color: var(--green-deep);
}
.btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  border-radius: 10px;
}
.btn--hero {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
}
.btn--block {
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
  border-radius: 12px;
}

@media (min-width: 480px) {
  .btn--hero { width: auto; min-width: 260px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: calc(var(--max) + 48px);
  border-radius: 999px;
  background: rgba(238, 247, 235, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--green-border);
  box-shadow: 0 4px 24px rgba(14, 31, 16, 0.12), 0 1px 4px rgba(14, 31, 16, 0.06);
}
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  padding-inline-start: 24px;
  padding-inline-end: 0;
}
.site-header .btn {
  position: absolute;
  top: 4px;
  bottom: 4px;
  inset-inline-end: 4px;
  height: auto;
  border-radius: 999px;
  padding: 0 2.25rem;
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__wordmark {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo__icon--sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.logo__name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo__name--light {
  color: var(--cream);
}
.logo__lead { color: var(--green-lime); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  background:
    linear-gradient(160deg, rgba(28,56,36,0.91) 0%, rgba(14,31,16,0.91) 100%),
    url("../images/hero.png") center / cover no-repeat;
  padding-top: calc(64px + 16px + 48px);
  padding-bottom: 72px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  max-width: 14ch;
  margin-top: 4px;
}
.hero__sub {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream-dim);
  max-width: 42ch;
  line-height: 1.75;
}
.hero .btn--hero { margin-top: 6px; }
.hero__chips {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__chips li {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(232, 245, 220, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STATS BAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--green-border);
}
.stats-bar__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 28px 16px;
  text-align: center;
}
.stat-item:not(:last-child) {
  border-inline-end: 1px solid var(--green-border);
}
.stat-item__num {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-item__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FEATURES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section { padding: 72px 0; }

.features { background: var(--white); border-top: 1px solid var(--green-border); }
.features h2 { margin-top: 12px; }
.section__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 48ch;
  line-height: 1.7;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
@media (min-width: 860px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.feat-card {
  background: transparent;
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-card__icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: transparent;
  border: 1.5px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-card__icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-dark);
}
.feat-card h3 { margin-top: 2px; }
.feat-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRODUCT PREVIEW
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.product-preview {
  background: var(--green-wash);
  border-top: 1px solid var(--green-border);
}
.product-preview h2 { margin-top: 12px; }

.preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 36px;
}
@media (min-width: 860px) {
  .preview__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.preview__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preview__frame {
  background: var(--white);
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.preview__frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(14, 31, 16, 0.14);
}
.preview__frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.preview__caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.preview__caption strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}
.preview__caption span {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FORM SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.form-section {
  background: var(--green-pale);
  border-top: 2px solid var(--green-border);
  padding: 72px 0;
}
.form-section__inner {
  max-width: 540px;
  margin-inline: auto;
}
.form-section__inner h2 { margin-top: 12px; }
.form-section__sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.form {
  background: var(--white);
  border: 1.5px solid var(--green-border);
  border-radius: 18px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 460px) {
  .form { grid-template-columns: 1fr 1fr; padding: 28px 24px; }
  .field--full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.01em;
}
input, select, textarea {
  font: inherit;
  font-size: 1.1rem;
  border: 1.5px solid #c0d8bc;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: #f8fcf6;
  color: var(--text);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: var(--ring);
  background: var(--white);
}
textarea { resize: vertical; min-height: 80px; }
select { cursor: pointer; }

.form__status {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  min-height: 1.2rem;
  text-align: center;
}
.form__fallback {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.98rem;
}
.form-fallback__link {
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TESTIMONIALS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.testimonials { background: var(--white); border-top: 1px solid var(--green-border); }
.testimonials .section__title { margin-top: 12px; }

.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}
@media (min-width: 680px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
}

.review {
  background: transparent;
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars {
  display: flex;
  gap: 2px;
}
.star {
  color: #f59e0b;
  font-size: 1rem;
  line-height: 1;
}
.review__text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--green-border);
  margin-top: auto;
}
.review__avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d0eec8, #aee09a);
  border: 1px solid #b5e4a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--green-dark);
  flex-shrink: 0;
}
.review__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0;
}
.review__role {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer {
  background: var(--green-deep);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo--footer { gap: 7px; }
.footer__wordmark {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.9;
}
.footer__copy {
  font-size: 0.95rem;
  color: rgba(232, 245, 220, 0.30);
  margin: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   REDUCED MOTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn--primary:hover { transform: none; filter: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE TWEAKS (≤479px)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 479px) {

  /* 1. Header — shrink wordmark, make CTA a normal small pill */
  .site-header { top: 24px; width: calc(100% - 32px); }
  .header__inner {
    height: 56px;
    padding-inline-start: 16px;
    padding-inline-end: 8px;
    justify-content: space-between;
    gap: 8px;
  }
  .logo__wordmark { height: 36px; }

  /* 2. Hero chips — 2x2 balanced grid */
  .hero__chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
  }
  .hero__chips li {
    text-align: center;
    padding: 0.45rem 0.5rem;
    font-size: 0.95rem;
  }

  /* 3. Tighten hero bottom + stats spacing */
  .hero {
    padding-top: calc(56px + 24px + 40px);
    padding-bottom: 40px;
  }
  .stat-item { padding: 18px 8px; }
  .stat-item__label { font-size: 0.85rem; line-height: 1.35; }

  /* 4. Hero CTA — slightly trimmer, still full-width for tap target */
  .btn--hero { padding: 0.85rem 1.5rem; font-size: 1rem; }
}
