  /* shadcn "zinc": black on white, greys for everything else — the same palette as the app. */
:root {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --fg: #09090b;
  --fg-muted: #71717a;
  --border: #e4e4e7;
  --accent: #18181b;
  --accent-fg: #fafafa;
  --accent-soft: #f4f4f5;
  --wa-green: #25d366;
  --radius: 14px;
  --maxw: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --bg-alt: #111113;
    --fg: #fafafa;
    --fg-muted: #a1a1aa;
    --border: #27272a;
    --accent: #fafafa;
    --accent-fg: #18181b;
    --accent-soft: #1f1f23;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--accent);
  color: var(--accent-fg); display: grid; place-items: center;
}
.brand__mark svg { width: 15px; height: 15px; }
.phone__avatar svg { width: 15px; height: 15px; }
.nav__links { display: flex; align-items: center; gap: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, opacity .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-fg); }
.btn--primary:hover { opacity: .92; }
.btn--ghost { color: var(--fg); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--outline { border-color: var(--border); color: var(--fg); background: var(--bg); }
.btn--outline:hover { background: var(--bg-alt); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16.5px; }
.btn__icon { width: 18px; height: 18px; flex: none; }

/* ---------- hero ---------- */
.hero { padding: 104px 0 72px; text-align: center; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 55% at 50% 0%, var(--bg-alt), transparent 70%);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 26px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--bg); font-size: 13.5px; font-weight: 500; color: var(--fg-muted);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa-green); flex: none; }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); font-weight: 800; margin-bottom: 22px; }
.hero__sub { font-size: clamp(1.05rem, 2.1vw, 1.35rem); color: var(--fg-muted); max-width: 41ch; margin: 0 auto 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.hero__note { margin-top: 16px; font-size: 13.5px; color: var(--fg-muted); }
@media (max-width: 640px) { .hero { padding: 64px 0 48px; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat__num { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.stat__label { color: var(--fg-muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- shared heads ---------- */
.head { text-align: center; max-width: 46ch; margin: 0 auto 56px; }
.head h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); font-weight: 800; margin-bottom: 14px; }
.head p { color: var(--fg-muted); font-size: 17px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step__n {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  border: 1px solid var(--border);
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--fg-muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- features ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px;
}
.card__icon {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 20px;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--fg-muted); font-size: 15.5px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- chat demo ---------- */
.demo { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.demo__copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.demo__copy p { color: var(--fg-muted); font-size: 17px; margin-bottom: 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.checks svg { width: 19px; height: 19px; color: var(--fg); flex: none; margin-top: 3px; }

.phone {
  border: 1px solid var(--border); border-radius: 22px; padding: 14px;
  background: var(--bg-alt); box-shadow: 0 22px 50px -28px rgba(9, 9, 11, .35);
}
.phone__bar {
  display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px;
  border-bottom: 1px solid var(--border); margin-bottom: 14px;
}
.phone__avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent);
  color: var(--accent-fg); display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.phone__name { font-weight: 650; font-size: 15px; }
.phone__status { font-size: 12px; color: var(--fg-muted); }
.chat { display: grid; gap: 10px; }
.msg {
  max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5;
  border: 1px solid var(--border);
}
.msg--in { justify-self: start; background: var(--bg); border-bottom-left-radius: 5px; }
.msg--out {
  justify-self: end; border-bottom-right-radius: 5px;
  background: var(--accent); color: var(--accent-fg); border-color: var(--accent);
}
.msg--out .msg__meta { color: var(--accent-fg); opacity: .7; }
.msg--photo { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.msg--photo svg { width: 17px; height: 17px; flex: none; }
.msg b { font-weight: 650; }
.msg__meta { display: block; margin-top: 5px; font-size: 11.5px; color: var(--fg-muted); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.cta p { color: var(--fg-muted); font-size: 17.5px; max-width: 46ch; margin: 0 auto 32px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 44px 0; }
.footer__row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; }
.footer__tag { color: var(--fg-muted); font-size: 14px; margin-top: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14.5px; color: var(--fg-muted); }
.footer__links a:hover { color: var(--fg); }
.footer__legal { margin-top: 28px; font-size: 13px; color: var(--fg-muted); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- market page ---------- */
.market { max-width: 68ch; margin: 0 auto; }
.market__status {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--fg-muted); background: var(--bg);
}
.market__status .pill__dot { background: var(--fg-muted); }
.market h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 18px; }
.market__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--fg-muted); margin-bottom: 40px; }
.market h2 { font-size: 1.35rem; font-weight: 700; margin: 36px 0 10px; }
.market p, .market li { color: var(--fg-muted); font-size: 16px; }
.market ul { padding-left: 20px; margin: 0; display: grid; gap: 8px; }
.market__cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.nav__market { gap: 8px; }
.badge {
  font-size: 11px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 999px;
  background: var(--accent-soft); color: var(--fg-muted); border: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: .04em;
}
/* Narrow screens: keep Market and the primary action, drop the secondary login button. */
@media (max-width: 640px) {
  .nav__links .btn--ghost:not(.nav__market) { display: none; }
  .nav__market { padding: 0 12px; }
}
.teaser { border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; display: grid; gap: 12px; }
.teaser h2 { font-size: 1.35rem; font-weight: 700; }
.teaser p { color: var(--fg-muted); font-size: 16px; }


.market__disclaimer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 10.5px; line-height: 1.5; color: var(--fg-muted); opacity: .75; max-width: 60ch; }
