/* ───────────────────── tokens ───────────────────── */
:root {
  --accent: #25D366;
  --ink: #0a0a0a;
  --ink-2: #525252;
  --muted: #737373;
  --line: #d4d4d4;
  --bg: #fafafa;
  --bg-soft: #f5f5f5;
  --bg-inv: #0a0a0a;
  --ink-inv: #fafafa;
  --ink-inv-2: #a3a3a3;
  --line-inv: #2a2a2a;
  --container: 1280px;
  --pad-x: 48px;
  --pad-x-sm: 20px;
}

/* ───────────────────── reset ───────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ───────────────────── primitives ───────────────────── */
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
}
.eyebrow--inv { color: var(--ink-inv-2); }

.title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 14px 0 0;
  max-width: 720px;
}
.display {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.8px;
  margin: 14px 0 0;
}
.display--muted { color: var(--muted); display: block; }
.display--muted-inv { color: var(--ink-inv-2); display: block; }
.display--inv { color: var(--ink-inv); }

.lede {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 540px;
  margin: 18px 0 0;
}
.lede--inv { color: var(--ink-inv-2); }

/* ───────────────────── button ───────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.1px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition: transform .08s ease, opacity .15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn--lg { padding: 14px 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn__icon { width: 17px; height: 17px; flex-shrink: 0; }
.btn--lg .btn__icon { width: 18px; height: 18px; }
.btn--sm .btn__icon { width: 14px; height: 14px; }

/* ───────────────────── nav ───────────────────── */
.nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 8px; }
.nav__logo { width: 22px; height: 22px; background: var(--ink); display: inline-block; }
.nav__logo--inv { background: var(--ink-inv); }
.nav__name { font-weight: 600; font-size: 15px; letter-spacing: -0.2px; }
.nav__links { display: flex; gap: 22px; margin-left: 8px; }
.nav__links a { font-size: 13px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.link--muted { font-size: 13px; color: var(--ink-2); }
.nav__login:hover { color: var(--ink); }
.nav__cta-label-sm { display: none; }
.nav__burger { display: none; flex-direction: column; justify-content: space-between; width: 22px; height: 16px; margin-left: 4px; }
.nav__burger span { height: 1.5px; background: var(--ink); display: block; }

/* ───────────────────── hero ───────────────────── */
.hero { padding: 72px 0 64px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__bullets {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 22px 0 0;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
}
.check {
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.check::after {
  content: '';
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
  margin-top: -2px;
}
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 0; }
.hero__visual { width: 100%; }

/* ───────────────────── image slot ───────────────────── */
.img-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(0,0,0,0.18) 50%, transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(0,0,0,0.18) 50%, transparent calc(50% + 1px)),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,0.04) 14px 15px) #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.img-slot::after {
  content: attr(data-label);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  background: var(--bg);
  padding: 4px 8px;
  border: 1px solid var(--line);
}

/* ───────────────────── sections ───────────────────── */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section--how { background: var(--bg-soft); }
.section__header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.section__meta { font-size: 13px; color: var(--muted); line-height: 1.55; max-width: 320px; margin: 14px 0 0; }

/* ───────────────────── grids ───────────────────── */
.grid { display: grid; margin-top: 32px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.bordered { border: 1px solid var(--line); background: #fff; }
.bordered > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid--4.bordered > *:nth-child(4n) { border-right: 0; }
.grid--4.bordered > *:nth-last-child(-n+4) { border-bottom: 0; }
.grid--3.bordered > *:nth-child(3n) { border-right: 0; }
.grid--3.bordered > *:nth-last-child(-n+3) { border-bottom: 0; }

/* ───────────────────── card ───────────────────── */
.card { padding: 28px; }
.card__icon { width: 36px; height: 36px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.card__icon svg { width: 22px; height: 22px; color: var(--ink); }
.card__title { margin: 18px 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.2px; }
.card__body { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.55; }

/* ───────────────────── steps ───────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  counter-reset: step;
}
.step { padding: 0 24px; position: relative; }
.step + .step { border-left: 1px solid var(--line); }
.step__num { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.4px; color: var(--ink); }
.step__title { font-size: 22px; font-weight: 600; margin: 12px 0 8px; letter-spacing: -0.3px; }
.step__body { font-size: 13px; color: var(--ink-2); line-height: 1.55; max-width: 300px; margin: 0; }

/* ───────────────────── case ───────────────────── */
.case {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 160px;
  transition: background .15s ease;
}
.case:hover { background: var(--bg-soft); }
.case__head { display: flex; justify-content: space-between; align-items: flex-start; }
.case h3 { font-size: 20px; font-weight: 600; margin: 0; letter-spacing: -0.2px; }
.case p { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.case__arrow {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.case:hover .case__arrow { border-color: var(--ink); transform: translateX(2px); }

/* ───────────────────── FAQ ───────────────────── */
.faq__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 24px; height: 24px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 300;
  flex-shrink: 0;
  transition: background .15s ease;
}
.faq__item[open] .faq__icon { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__item[open] .faq__icon::before { content: '−'; position: absolute; }
.faq__item[open] .faq__icon { font-size: 0; }
.faq__item[open] .faq__icon::before { font-size: 14px; position: static; }
.faq__answer { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; max-width: 640px; }

/* ───────────────────── final cta ───────────────────── */
.section--final { background: var(--bg-inv); color: var(--ink-inv); border-top-color: var(--line-inv); padding: 88px 0; }
.final__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }

/* ───────────────────── form ───────────────────── */
.form {
  background: #fff;
  color: var(--ink);
  padding: 28px;
  border: 1px solid var(--line);
}
.form__title { font-size: 24px; font-weight: 600; margin: 8px 0 4px; letter-spacing: -0.3px; }
.form__meta { font-size: 13px; color: var(--ink-2); margin: 0 0 18px; }
.field { display: block; margin: 0 0 10px; }
.field__label { display: none; }
.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border-radius: 0;
  outline: 0;
  transition: border-color .15s ease;
}
.field input:focus { border-color: var(--ink); }
.field input::placeholder { color: #a3a3a3; }
.form__legal { font-size: 11px; color: #a3a3a3; text-align: center; margin: 12px 0 0; }

/* ───────────────────── footer ───────────────────── */
.footer { background: var(--bg-inv); color: var(--ink-inv); padding: 48px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
}
.footer__brand-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer__brand p { max-width: 280px; font-size: 13px; color: var(--ink-inv-2); line-height: 1.5; margin: 0; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a {
  width: 28px; height: 28px;
  border: 1px solid var(--line-inv);
  display: inline-block;
  position: relative;
}
.socials a::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--muted);
}
.socials a:hover { border-color: var(--ink-inv-2); }
.footer__col .eyebrow { margin-bottom: 12px; display: block; }
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a, .footer__col li { font-size: 13px; color: var(--ink-inv-2); }
.footer__col a:hover { color: var(--ink-inv); }
.footer__legal {
  border-top: 1px solid var(--line-inv);
  padding-top: 20px;
  padding-bottom: 24px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-inv-2);
}
.footer__legal a:hover { color: var(--ink-inv); }

/* ───────────────────── sticky WhatsApp ───────────────────── */
.float-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
  z-index: 60;
  transition: transform .15s ease;
}
.float-wa:hover { transform: scale(1.05); }
.float-wa svg { width: 32px; height: 32px; }
.float-wa__bubble { fill: var(--accent); }

/* ───────────────────── responsive ───────────────────── */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--4.bordered > *:nth-child(4n) { border-right: 1px solid var(--line); }
  .grid--4.bordered > *:nth-child(2n) { border-right: 0; }
  .grid--4.bordered > *:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .grid--4.bordered > *:nth-last-child(-n+2) { border-bottom: 0; }
  .hero__grid, .final__grid, .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .nav__links { display: none; }
}

@media (max-width: 720px) {
  :root { --pad-x: var(--pad-x-sm); }
  .section { padding: 48px 0; }
  .hero { padding: 32px 0 40px; }
  .section--final { padding: 56px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--3.bordered > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid--3.bordered > *:last-child { border-bottom: 0; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step { padding: 0; }
  .step + .step { border-left: 0; padding-top: 20px; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__legal { flex-direction: column; gap: 8px; }
  .nav__cta-label-lg { display: none; }
  .nav__cta-label-sm { display: inline; }
  .nav__login { display: none; }
  .nav__burger { display: flex; }
  .float-wa { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .float-wa svg { width: 28px; height: 28px; }
}

/* ───────────────────── logo + hero image overrides (img replacements) ───────────────────── */
img.nav__logo--img {
  width: 22px;
  height: 22px;
  background: transparent;
  object-fit: contain;
}
.hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}
