:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --text: #241f38;
  --muted: #6b6480;
  --accent: #551df5;
  --accent-2: #f7a63a;
  --border: #e6e2f2;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 108px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.5vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 16px; color: var(--muted); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 15px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover { background: var(--surface); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; text-align: center; }
.btn-whatsapp { background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-whatsapp .wa-icon {
  flex: none;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.14-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.08.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.41-.07-.12-.27-.2-.57-.35zM12.05 21.5h-.01a9.45 9.45 0 0 1-4.82-1.32l-.35-.2-3.58.94.96-3.49-.23-.36a9.43 9.43 0 0 1-1.45-5.03c0-5.21 4.24-9.45 9.46-9.45a9.4 9.4 0 0 1 6.68 2.77 9.4 9.4 0 0 1 2.76 6.68c0 5.21-4.24 9.46-9.42 9.46zM20.52 3.45A11.4 11.4 0 0 0 12.05 0C5.73 0 .59 5.14.59 11.46c0 2.02.53 3.99 1.53 5.73L.5 23.5l6.2-1.63a11.44 11.44 0 0 0 5.34 1.36h.01c6.32 0 11.46-5.14 11.46-11.46 0-3.06-1.19-5.94-3.35-8.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.14-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.08.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.41-.07-.12-.27-.2-.57-.35zM12.05 21.5h-.01a9.45 9.45 0 0 1-4.82-1.32l-.35-.2-3.58.94.96-3.49-.23-.36a9.43 9.43 0 0 1-1.45-5.03c0-5.21 4.24-9.45 9.46-9.45a9.4 9.4 0 0 1 6.68 2.77 9.4 9.4 0 0 1 2.76 6.68c0 5.21-4.24 9.46-9.42 9.46zM20.52 3.45A11.4 11.4 0 0 0 12.05 0C5.73 0 .59 5.14.59 11.46c0 2.02.53 3.99 1.53 5.73L.5 23.5l6.2-1.63a11.44 11.44 0 0 0 5.34 1.36h.01c6.32 0 11.46-5.14 11.46-11.46 0-3.06-1.19-5.94-3.35-8.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-whatsapp:hover { background: #1ebe5b; }

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.badge-light { color: #fff; background: rgba(255, 255, 255, 0.16); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.brand img { width: 68px; height: 68px; border-radius: 18px; }
.header-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  padding: 8px 6px;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.site-header .nav-link, .site-header .btn { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 4px; }

.locale-toggle {
  display: inline-flex;
  border-radius: 999px;
  background: var(--border);
  padding: 2px;
}
.locale-toggle button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  color: var(--muted);
}
.locale-toggle button.active { background: var(--accent); color: #fff; }
.nav-locale { display: none; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.hero-copy { flex: 1 1 460px; max-width: 620px; }
.accent { color: var(--accent); }
.lead { font-size: 17px; }
.hero-question { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.hero-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tags li {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}
.hero-slogan { font-size: 18px; font-weight: 700; color: var(--accent-2); margin: 0; }
.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero-benefits li { display: flex; align-items: center; gap: 7px; }
.hero-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}

.hero-visual { flex: 0 0 300px; line-height: 0; }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 24px 40px rgba(36, 31, 56, 0.22); }

/* Categories */
.categories { padding: 32px 0 8px; }
.categories img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
}

/* Partners strip */
.partners-strip { padding: 32px 0 0; }
.partners-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.partners-card h2 { font-size: clamp(20px, 2.6vw, 26px); max-width: 760px; margin: 0 auto 4px; }
.partners-lead { max-width: 760px; margin: 8px auto 0; color: var(--muted); }
.partners-card .hero-benefits { justify-content: center; margin: 16px 0 24px; }

/* How it works */
.how { padding: 40px 0 56px; }
.how h2 { text-align: center; margin-bottom: 36px; }
.how-track { margin-bottom: 40px; }
.how-track:last-child { margin-bottom: 0; }
.how-track-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.how-track-label-partner { color: var(--accent-2); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-num-partner { background: var(--accent-2); }
.step .btn-outline { justify-content: center; text-align: center; }

/* Founding partner */
.founding {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 56px 0;
}
.founding-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.founding-copy { flex: 1 1 380px; }
.founding h2 { color: #fff; }
.benefits { list-style: none; padding: 0; margin: 0; }
.benefits li { margin-bottom: 12px; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
}
.check svg { width: 13px; height: 13px; }
.founding-whatsapp-hint { color: #fff; font-weight: 600; margin: 24px 0 12px; }

.founding-form {
  flex: 1 1 340px;
  max-width: 420px;
  background: var(--surface);
  color: var(--text);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.founding-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.founding-form input,
.founding-form select {
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.turnstile-slot {
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
}
.turnstile-slot.is-visible {
  position: static;
  height: auto;
  border-radius: 10px;
}
.form-status {
  min-height: 18px;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.form-status.success { color: #2fa66a; }
.form-status.error { color: #e0553e; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.footer-brand img { width: 52px; height: 52px; border-radius: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.footer-nav a { white-space: nowrap; text-decoration: none; font-weight: 600; color: var(--text); }
.footer-nav a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .partners-card .hero-benefits { flex-direction: column; align-items: flex-start; width: fit-content; margin: 16px auto 24px; text-align: left; }
  .partners-card .hero-benefits li { align-items: flex-start; }
  .partners-card .hero-benefits li::before { flex: none; margin-top: 6px; }
  .hero-visual {
    flex-basis: 100%;
    max-width: 280px;
    margin: 8px auto 0;
  }
  .partners-card { padding: 24px 20px; }
}

@media (max-width: 1000px) {
  #share-btn, .header-whatsapp { position: relative; padding: 10px 12px; }
  #share-btn-label, .header-whatsapp .wa-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 140px; }
  .brand img { width: 52px; height: 52px; }
  .header-inner { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 12px; }
  .header-nav { flex: 1 1 auto; justify-content: space-between; margin-left: 0; }
  .header-actions { flex: 1 0 100%; min-width: 0; gap: 8px; }
  .header-actions .btn-primary { flex: 1; min-width: 0; padding-left: 12px; padding-right: 12px; text-align: center; white-space: normal; line-height: 1.2; font-size: 13px; }
  .nav-locale { display: inline-flex; }
  .header-locale { display: none; }
}

@media (max-width: 480px) {
  html { scroll-padding-top: 132px; }
  .btn-outline { padding: 10px 12px; }
  .brand img { width: 44px; height: 44px; }
}
