:root {
  --brand: #2b8474;
  --brand-dark: #1f6457;
  --brand-soft: #e7f2ef;
  --ink: #17231f;
  --muted: #55645f;
  --line: #dfe7e4;
  --bg: #fbfcfb;
  --card: #ffffff;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; }
a { color: var(--brand-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--brand); }
nav a { margin-left: 22px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav a:hover { color: var(--ink); }
@media (max-width: 640px) { nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
  transition: background 0.15s;
}
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand-dark); border: 1.5px solid var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }
nav .btn { padding: 8px 16px; font-size: 0.9rem; color: #fff; }

/* Hero */
.hero { padding-block: 72px 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { color: var(--brand-dark); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; letter-spacing: -0.03em; margin: 12px 0 18px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.note { font-size: 0.9rem; color: var(--muted); margin-top: 14px; }

/* Chat mockup */
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 20px 50px rgba(23, 35, 31, 0.10); overflow: hidden; max-width: 380px; justify-self: center; width: 100%;
}
.mock-head { background: var(--brand); color: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 10px; }
.mock-head .dot { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.22); display: grid; place-items: center; font-weight: 700; }
.mock-head small { display: block; opacity: 0.85; font-size: 0.78rem; }
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #f6f9f8; }
.msg { padding: 10px 14px; border-radius: 16px; max-width: 85%; font-size: 0.93rem; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.user { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.8rem; border: 1px solid var(--brand); color: var(--brand-dark); border-radius: 999px; padding: 4px 10px; background: #fff; }
.mock-time { font-size: 0.75rem; color: var(--muted); text-align: center; }

/* Sections */
section { padding-block: 64px; }
section.alt { background: var(--card); border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 12px; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-size: 1.2rem; }

.steps { counter-reset: step; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
}

/* Pricing */
.price-card { max-width: 520px; margin: 0 auto; text-align: center; padding: 36px 28px; border: 2px solid var(--brand); }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card ul { text-align: left; list-style: none; padding: 0; margin: 24px 0; }
.price-card li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "✓"; position: absolute; left: 4px; color: var(--brand); font-weight: 700; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Contact */
.contact { text-align: center; }
.contact .mail { font-size: 1.3rem; font-weight: 700; }

/* Footer */
footer { padding-block: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 16px; }
footer a:first-child { margin-left: 0; }

/* Legal pages */
.legal { padding-block: 48px 72px; max-width: 760px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 32px; }
.legal p, .legal li { color: #2c3a35; }
