/* ---------- tokens ---------- */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-alt: #f4f2ec;
  --mint: #eaf5f2;
  --mint-2: #f2f8f6;
  --ink: #161b18;
  --muted: #5c6560;
  --green: #08775f;
  --green-dark: #055b48;
  --green-deep: #043f32;
  --wa: #1fa855;
  --wa-dark: #17853f;
  --line: rgba(20, 24, 22, 0.09);
  --line-strong: rgba(20, 24, 22, 0.16);

  --font: "Rubik", -apple-system, "Segoe UI", sans-serif;
  --display: "Frank Ruhl Libre", "Times New Roman", Georgia, serif;

  --max: 1160px;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* liquid glass — the only elevated material on the page */
  --glass-bg: rgba(251, 250, 247, 0.62);
  --glass-hair: rgba(20, 24, 22, 0.10);
  --glass-top: rgba(255, 255, 255, 0.78);
  --glass-shadow: 0 10px 34px rgba(4, 63, 50, 0.14);
  --glass-text: var(--ink);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1, .section-title, .cta-inner h2 { font-family: var(--display); }
h3 { font-family: var(--font); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* any run of digits that must not be flipped by RTL */
.ltr-num, .step-num {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  right: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 0 10px;
  z-index: 200;
}
.skip-link:focus { right: 0; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.scroll-progress {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--green);
  z-index: 999;
  transition: width 0.1s linear;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

/* ---------- header: floating glass ---------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 14px 24px 0;
}
.header-glass {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 62px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--glass-hair);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-top);
  color: var(--glass-text);
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* the glass reacts to what is underneath it */
.site-header.on-dark .header-glass {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.30);
  color: #fff;
}
.site-header.on-dark .main-nav { color: rgba(255, 255, 255, 0.78); }
.site-header.on-dark .main-nav a:hover { color: #fff; }
.site-header.on-dark .btn-primary { background: #fff; color: var(--green-deep); box-shadow: none; }
.site-header.on-dark .btn-primary:hover { background: var(--mint-2); }

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  color: inherit;
}
.logo-mark { color: var(--green); display: inline-flex; transition: color 0.5s var(--ease); }
.site-header.on-dark .logo-mark { color: #fff; }
.main-nav {
  display: flex;
  gap: 28px;
  font-size: 0.94rem;
  color: var(--muted);
  transition: color 0.5s var(--ease);
}
.main-nav a { transition: color 0.2s var(--ease); }
.main-nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.16s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:active { background: var(--green-deep); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-large { padding: 18px 34px; font-size: 1.05rem; }

.btn-whatsapp {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-whatsapp svg { color: var(--wa); }
.btn-whatsapp:hover { border-color: var(--wa); color: var(--wa-dark); }
.btn-wa-light {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-wa-light:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- eyebrow / titles ---------- */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.eyebrow-center { justify-content: center; text-align: center; }
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 56px;
  line-height: 1.14;
}
.section-title.center { text-align: center; }

/* ---------- hero ---------- */
.hero { padding: 86px 0 72px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }

/* ---------- hero visual: the real product, filmed ---------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.shot {
  width: 100%;
  max-width: 315px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mint-2);
  box-shadow: 0 40px 70px -46px rgba(4, 63, 50, 0.5);
}
.shot video { display: block; width: 100%; height: auto; }
.shot-cap { font-size: 0.86rem; color: var(--muted); text-align: center; max-width: 34ch; }

/* ---------- ticker: seamless, never ends ---------- */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg);
}
.ticker-track {
  display: flex;
  width: max-content;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  will-change: transform;
  animation: ticker var(--ticker-dur, 40s) linear infinite;
}
.ticker-group { display: flex; gap: 48px; padding-inline-start: 48px; flex: none; }
.ticker-group span { white-space: nowrap; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--ticker-w, 50%))); }
}

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section-alt { background: var(--surface-alt); }

/* ---------- club (positioning) ---------- */
.club-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.club-copy .section-title { margin-bottom: 20px; }
.club-lede { color: var(--muted); font-size: 1.05rem; line-height: 1.75; max-width: 52ch; }
.club-list { margin-top: 34px; display: flex; flex-direction: column; }
.club-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.club-list li:last-child { border-bottom: 1px solid var(--line); }
.club-list h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
.club-list p { color: var(--muted); font-size: 0.96rem; }

.club-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.clip {
  width: 100%;
  max-width: 380px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mint-2);
  box-shadow: 0 30px 60px -40px rgba(4, 63, 50, 0.45);
}
.clip video { display: block; width: 100%; height: auto; }
.clip-cap { font-size: 0.86rem; color: var(--muted); text-align: center; max-width: 34ch; }

/* ---------- how it works: a short list, not a gallery ---------- */
.flow { display: flex; flex-direction: column; }
.flow li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line-strong);
  align-items: start;
}
.flow li:last-child { border-bottom: 1px solid var(--line-strong); }
.flow-n {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green);
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  padding-top: 0.18em;
}
.flow h3 { font-size: 1.14rem; margin-bottom: 7px; font-weight: 600; }
.flow p { color: var(--muted); font-size: 0.97rem; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
/* higher specificity than .reveal so this transition list (which must keep the
   0.7s opacity/transform entrance pair) reliably wins over it regardless of
   source order, letting border-color/box-shadow animate on hover too */
.feature.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.feature:hover {
  border-color: var(--line-strong);
  box-shadow: 0 16px 32px -24px rgba(4, 63, 50, 0.35);
}
.feature-icon {
  width: 38px;
  height: 38px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
  opacity: 0.75;
}
.feature:first-child .feature-icon { color: var(--green); opacity: 1; }
.feature h3 { font-size: 1.06rem; margin-bottom: 8px; font-weight: 600; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- facts ---------- */
.facts-band { padding: 64px 0; background: var(--mint-2); }
.facts-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 56px; }
.fact { display: flex; align-items: center; gap: 12px; max-width: 28ch; }
.fact-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact p { color: var(--ink); font-size: 0.98rem; font-weight: 500; }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: start;
  font-size: 1.05rem;
  font-weight: 500;
}
.chev { transition: transform 0.25s var(--ease); flex-shrink: 0; color: var(--muted); }
.faq-item.open .chev { transform: rotate(180deg); color: var(--green); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; color: var(--muted); padding-inline-end: 30px; }
.faq-item.open .faq-a > p { padding-bottom: 22px; }

/* ---------- cta band ---------- */
.cta-band {
  text-align: center;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  min-height: 68vh;
  display: grid;
  place-items: center;
}
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; color: #fff; line-height: 1.12; }
.cta-inner p { color: rgba(255, 255, 255, 0.82); margin-top: 14px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-inner .btn-primary { background: #fff; color: var(--green-deep); }
.cta-inner .btn-primary:hover { background: var(--mint-2); }
.cta-note { margin-top: 18px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65) !important; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: var(--ink); }
.footer-brand p { color: var(--muted); margin-top: 14px; font-size: 0.92rem; max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: 0.82rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 4px; font-weight: 600;
}
.footer-col a { color: var(--ink); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: #fff;
  padding: 13px 20px 13px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 14px 30px -10px rgba(31, 168, 85, 0.55);
  transition: background 0.2s var(--ease);
}
.wa-float:hover { background: var(--wa-dark); }
.wa-float svg { flex-shrink: 0; }

/* ---------- scroll reveal: starts VISIBLE, animates from a resting state ---------- */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- responsive: phone first ---------- */
@media (max-width: 1000px) {
  .club-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .header-glass { height: 56px; padding-inline: 8px 16px; }
  .section { padding: 76px 0; }
  .section-title { margin-bottom: 38px; }
}

@media (max-width: 640px) {
  /* on a phone the product should be seen before the ask */
  .hero-inner { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-sub { order: 3; }
  .hero-visual { order: 4; margin: 26px 0 24px; }
  .hero-actions { order: 5; margin-top: 0; }
  .hero-note { order: 6; }

  .wrap { padding: 0 18px; }
  .site-header { padding: 12px 16px 0; }
  .hero { padding: 44px 0 44px; }
  .hero-copy h1 { font-size: clamp(2.05rem, 8.4vw, 2.8rem); }
  .hero-sub { font-size: 1rem; margin-top: 16px; line-height: 1.65; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 15px 24px; }
  .btn-large { padding: 16px 28px; font-size: 1rem; }
  .shot { max-width: 250px; }
  .clip { max-width: 320px; }
  .section { padding: 60px 0; }
  .section-title { font-size: clamp(1.55rem, 6.6vw, 2rem); margin-bottom: 30px; }
  .club-list { margin-top: 26px; }
  .club-list li { padding: 18px 0; }
  .club-lede { font-size: 1rem; }
  .flow li { grid-template-columns: 38px 1fr; gap: 12px; padding: 20px 0; }
  .feature { padding: 22px; }
  .facts-band { padding: 48px 0; }
  .facts-row { gap: 20px; flex-direction: column; align-items: flex-start; }
  .fact { max-width: none; }
  .faq-q { font-size: 1rem; padding: 18px 2px; }
  .cta-band { min-height: 0; padding: 72px 0; }
  .cta-actions { flex-direction: column; margin-top: 26px; }
  .cta-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding-bottom: 34px; }
  .site-footer { padding-top: 44px; }
  /* keep the floating button clear of the last CTA */
  .wa-float { padding: 12px; bottom: 14px; inset-inline-start: 14px; }
  .wa-float-text { display: none; }
  .ticker-group { gap: 30px; padding-inline-start: 30px; }
  .ticker { padding: 14px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
