:root {
  --bg: #fbfaf9;
  --surface: #ffffff;
  --ink: #1c1a18;
  --muted: #6f6a64;
  --line: #e9e4de;
  --accent: #d9532b;
  --accent-soft: #fdf0eb;
  --shadow: 0 18px 50px rgba(28, 26, 24, 0.07);
  --radius: 18px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 14px; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
p { margin: 0 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 249, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Inter, sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 10px; background: var(--ink); color: #fff; font-size: 1rem;
}
.nav { display: flex; gap: 26px; margin-inline-start: auto; font-size: 0.95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 26, 24, 0.16); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(40px, 7vw, 90px); padding-block: clamp(56px, 9vw, 110px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: var(--accent); font-weight: 600; font-size: 0.9rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.accent { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 0.92rem; }
.trust li::before { content: "✓"; color: var(--accent); margin-inline-end: 7px; font-weight: 700; }

/* Phone mock */
.hero-visual { display: grid; place-items: center; }
.phone {
  width: min(320px, 100%); background: var(--surface); border: 1px solid var(--line);
  border-radius: 36px; box-shadow: var(--shadow); overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 18px; border-bottom: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: Inter, sans-serif; font-weight: 700; }
.chat-head strong { display: block; font-family: Inter, sans-serif; font-size: 0.92rem; }
.chat-head small { display: block; color: #1a9c6b; font-size: 0.75rem; }
.verified { margin-inline-start: auto; color: #1a9c6b; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #f6f3ee; min-height: 300px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.6; }
.bubble.user { align-self: flex-end; background: #dcf8c6; border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.typing { display: flex; gap: 4px; align-self: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b9b2aa; animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-input { margin: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; color: #a29a91; font-size: 0.85rem; }

/* Sections */
.section { padding-block: clamp(60px, 9vw, 100px); }
.section-alt { background: #f5f2ed; border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head p:last-child { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-family: Inter, sans-serif; font-weight: 700; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Signup */
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.start-copy p:last-child { color: var(--muted); }
.signup-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 38px); }
.signup-card label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; }
.phone-field { display: flex; gap: 8px; margin-bottom: 16px; direction: ltr; }
.phone-field select, .phone-field input {
  min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; outline: none;
}
.phone-field select { width: 116px; flex: none; }
.phone-field input { flex: 1; min-width: 0; }
.phone-field :is(select, input):focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fineprint { margin: 14px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.7; }
.form-msg { min-height: 1.6em; margin: 12px 0 0; color: var(--accent); font-size: 0.9rem; font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--accent-soft); font-size: 1.2rem; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.faq-wrap { max-width: 780px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 12px 0 0; }

.final-cta { text-align: center; padding-block: clamp(70px, 10vw, 120px); background: var(--ink); color: #fff; }
.final-cta p { color: #c9c3bc; }
.final-cta .btn { margin-top: 10px; }

.site-footer { border-top: 1px solid var(--line); padding-block: 30px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-inner nav { display: flex; gap: 20px; margin-inline-start: auto; color: var(--muted); font-size: 0.9rem; }
.footer-inner small { color: var(--muted); }

@media (max-width: 860px) {
  .hero, .start-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .steps, .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing i { animation: none; }
  .btn:hover { transform: none; }
}
