/* ===== RESET & TOKENS ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }

:root {
  --bg: #fafaf7;
  --bg-alt: #f3f2ec;
  --surface: #ffffff;
  --ink: #1f1f1f;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e8e7e1;
  --accent: #7aa891;
  --accent-dark: #5d8a75;
  --accent-soft: #e6efe9;
  --warn: #c7623f;
  --warn-soft: #fbeee7;
  --r: 20px;
  --r-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(0,0,0,.05);
  --shadow: 0 14px 36px rgba(32,60,48,.08);
  --shadow-lg: 0 24px 60px rgba(32,60,48,.12);
  --max: 1200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 .4em;
}
.h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.15;
}
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}
.accent-text { color: var(--accent-dark); font-style: italic; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-dark);
  padding: .4em .9em;
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 1.2em;
}
.fineprint {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 1em;
}
.fineprint--boxed {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: .7em 1em;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  margin-top: 1.5em;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}
.section__head .lead { margin-left: auto; margin-right: auto; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, .85);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.9);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
}
.logo__text em { font-style: normal; color: var(--accent-dark); font-weight: 600; }
.nav {
  margin-left: auto;
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
  position: relative;
  padding: .3em 0;
  transition: color .15s;
}
.nav a:hover { color: var(--accent-dark); }
.header__cta { margin-left: 1.2rem; }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 10px 8px;
  margin-left: auto;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn--sm { padding: .6em 1.2em; font-size: .9rem; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(122,168,145,.35);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(122,168,145,.45);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--ink-soft);
}

/* ===== HERO ===== */
.hero { padding-top: clamp(2rem, 5vw, 4rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--ink);
  font-weight: 600;
}
.hero__stats span {
  color: var(--muted);
  font-size: .9rem;
  margin-top: .15em;
}
.hero__media img {
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ===== APPS BADGES ===== */
.apps {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  text-align: center;
}
.apps__label {
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .02em;
  margin-bottom: 1.2rem;
}
.apps__row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.app-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .7em 1.3em .7em 1.1em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  pointer-events: none;
  opacity: .85;
  min-width: 180px;
  user-select: none;
}
.app-badge__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.app-badge__small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.app-badge__big { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.app-badge__tag {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--warn);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25em .7em;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(199,98,63,.35);
}
.app-badge--sm { min-width: auto; padding: .55em 1em; }
.app-badge--sm .app-badge__big { font-size: .95rem; }
.apps__row--footer { justify-content: flex-start; gap: .7rem; }

/* ===== TWO-COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.two-col--reverse .two-col__text { order: 1; }
.two-col--reverse .two-col__media { order: 2; }
.two-col__media img {
  border-radius: var(--r);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ===== CARD LIST (problem) ===== */
.card-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.card-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.card-list h3 { margin-bottom: .2em; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.05rem; }
.card-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ===== CHECK LIST (solution, benefits) ===== */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.check-list li {
  position: relative;
  padding: .5rem 0 .5rem 2.2rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .65rem;
  width: 22px; height: 22px;
  background: var(--accent-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%235d8a75' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
.check-list--big li { font-size: 1.08rem; padding-top: .6rem; padding-bottom: .6rem; }

/* ===== STEPS ===== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem 1.4rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step__num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: .6rem;
}
.step__icon {
  width: 32px; height: 32px;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.step h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; margin-bottom: .4em; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ===== SHOWCASE ===== */
.showcase {
  margin: 0;
  text-align: center;
}
.showcase img {
  border-radius: var(--r);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.showcase figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9rem;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 14px;
  margin-bottom: 1rem;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__icon--warn { background: var(--warn-soft); color: var(--warn); }
.feature h3 { margin-bottom: .4em; font-family: 'Inter', sans-serif; }
.feature p { color: var(--muted); margin: 0; }

/* ===== QUOTES ===== */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.8rem;
  margin: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: .5rem;
  left: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--accent-soft);
  line-height: 1;
}
.quote blockquote {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--muted);
  font-size: .9rem;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== METRICS ===== */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.metric strong {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--accent-dark);
  line-height: 1;
  display: block;
  margin-bottom: .4rem;
}
.metric span { color: var(--muted); font-size: 1rem; }

/* ===== FINAL CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #f5ece4 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta__media img {
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a2420;
  color: #d6d6d0;
  padding: 4rem 0 2rem;
}
.footer .logo { color: #fff; }
.footer .logo__text em { color: var(--accent); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer__title {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: .6rem;
}
.footer__links a {
  color: #d6d6d0;
  text-decoration: none;
  font-size: .95rem;
  transition: color .15s;
}
.footer__links a:hover { color: var(--accent); }
.footer__legal {
  font-style: normal;
  font-size: .9rem;
  line-height: 1.7;
  color: #a9aba6;
}
.footer .app-badge {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #d6d6d0;
}
.footer .app-badge__big { color: #fff; }
.footer .app-badge__small { color: #a9aba6; }

.footer__disclaimer {
  background: rgba(199,98,63,.12);
  border: 1px solid rgba(199,98,63,.35);
  border-radius: var(--r-sm);
  padding: 1rem 1.3rem;
  font-size: .92rem;
  color: #f2dfd6;
  line-height: 1.55;
  max-width: var(--max);
}
.footer__disclaimer strong { color: #fff; }
.footer__disclaimer u { text-decoration-color: var(--warn); text-underline-offset: 3px; }

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #8e908a;
  font-size: .85rem;
  text-align: center;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero__grid,
  .two-col,
  .cta__grid {
    grid-template-columns: 1fr;
  }
  .two-col--reverse .two-col__text,
  .two-col--reverse .two-col__media { order: unset; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }

  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--surface); flex-direction: column; gap: 0; padding: .5rem 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }

  .header__cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.5rem; }
  .hero__stats strong { font-size: 1.4rem; }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .app-badge { min-width: 160px; }
}
