:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --surface: #ffffff;
  --text: #0f1222;
  --muted: #5b6075;
  --line: #e6e8f0;
  --accent: #4f46e5;
  --accent-ink: #ffffff;
  --accent-soft: #eef0ff;
  --ok: #0f9d58;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 18, 34, .06), 0 8px 24px rgba(15, 18, 34, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #4f46e5, #06b6d4); display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; border-color: #cfd3e1; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #4338ca; border-color: #4338ca; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Hero */
.hero { padding: 72px 0 48px; text-align: center; }
.eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.preview-strip { display: flex; gap: 16px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.preview-card { width: 170px; aspect-ratio: 1320 / 2868; border-radius: 16px; box-shadow: var(--shadow); padding: 16px 14px; display: flex; flex-direction: column; align-items: center; color: #fff; text-align: center; overflow: hidden; }
.preview-card b { font-size: 14px; line-height: 1.25; margin-bottom: 12px; }
.preview-card .mini-phone { flex: 1; width: 78%; border-radius: 16px; background: #111; padding: 5px; }
.preview-card .mini-screen { width: 100%; height: 100%; border-radius: 12px; background: linear-gradient(180deg, #ffffff, #e9ecf7); }

/* Sections */
section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.01em; margin: 0 0 10px; line-height: 1.2; }
.section-lead { color: var(--muted); margin: 0 0 32px; max-width: 640px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }

/* Pricing */
.pricing { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-card h3 { margin: 0; font-size: 20px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.price-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.check { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.check li { padding-left: 28px; position: relative; margin: 8px 0; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.check li.no::before { content: "–"; color: var(--muted); }
.check li.no { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Legal */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 6px; letter-spacing: -.01em; }
.legal .updated { color: var(--muted); margin: 0 0 28px; font-size: 14px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #2a2f45; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; border: 1px solid var(--line); padding: 10px 12px; }
.legal th { background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; margin: 18px 0; color: #22265a; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 36px 0; font-size: 14px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); }
.footer-legal { margin-top: 18px; line-height: 1.7; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #0f1222; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow); z-index: 50; max-width: calc(100% - 32px); }

@media (max-width: 720px) {
  .nav .hide-sm { display: none; }
  .nav { gap: 14px; }
  .hero { padding: 48px 0 32px; }
  .preview-card { width: 140px; }
}
