/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --red: #DC2626;
  --red-dark: #B91C1C;
  --ink: #111827;
  --body: #374151;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #FFFFFF;
  --bg-soft: #F9FAFB;
  --bg-tint: #FEF2F2;
  --green: #16A34A;
  --blue: #2563EB;
  --radius: 16px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F9FAFB;
    --body: #D1D5DB;
    --muted: #9CA3AF;
    --line: #1F2937;
    --bg: #0B0F17;
    --bg-soft: #111827;
    --bg-tint: #1E1315;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
.accent { color: var(--red); }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; border-radius: 12px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 14px; background: var(--red); color: #fff; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(220,38,38,.55);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ─── Nav ────────────────────────────────────────────────────────────── */
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--red); }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 56px 24px 80px;
}
.pill {
  display: inline-block; background: var(--bg-tint); color: var(--red);
  font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin-bottom: 20px; }
.lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--body); max-width: 30em; margin-bottom: 30px; }
.lede em { color: var(--ink); font-style: italic; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.fineprint { font-size: 13.5px; color: var(--muted); }

/* ─── Phone mockup ───────────────────────────────────────────────────── */
.hero-visual { position: relative; display: flex; justify-content: center; }
.glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 40%, rgba(220,38,38,.28), transparent 62%);
  filter: blur(30px);
}
.phone {
  position: relative; z-index: 1;
  width: 290px; height: 590px; border-radius: 42px;
  background: #0B0F17; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 2px rgba(255,255,255,.06) inset;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0B0F17; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; background: var(--bg-soft);
  overflow: hidden; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px;
}
.scr-head { display: flex; align-items: center; gap: 10px; padding-top: 16px; }
.scr-back { color: var(--red); font-size: 22px; font-weight: 700; }
.scr-title { font-weight: 700; font-size: 14px; color: var(--ink); }
.scr-banner {
  background: var(--bg-tint); color: var(--red); font-size: 12px; font-weight: 600;
  padding: 8px 12px; border-radius: 10px;
}
.scr-section { font-weight: 800; font-size: 15px; color: var(--ink); margin-top: 2px; }
.rec-card {
  display: flex; gap: 10px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px; align-items: center;
  box-shadow: 0 4px 14px -8px rgba(0,0,0,.25);
}
.rec-card.dim { opacity: .78; }
.rec-thumb {
  width: 48px; height: 48px; border-radius: 10px; background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.rec-body { flex: 1; min-width: 0; }
.rec-tag {
  display: inline-block; background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 999px; margin-bottom: 4px;
}
.rec-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.rec-chips { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.rec-chips span {
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  background: var(--bg-soft); padding: 2px 7px; border-radius: 6px;
}
.rec-chips .chip-green { color: var(--green); background: rgba(22,163,74,.12); }
.rec-chips .chip-blue { color: var(--blue); background: rgba(37,99,235,.12); }

/* ─── Sections ───────────────────────────────────────────────────────── */
.section-title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 34em; margin: 14px auto 0; }

.features { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
.feature {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.3); border-color: var(--red); }
.feature-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--body); }

/* ─── How ────────────────────────────────────────────────────────────── */
.how { background: var(--bg-soft); border-block: 1px solid var(--line); }
.how { padding: 72px 24px; }
.how .section-title { max-width: var(--maxw); margin-inline: auto; }
.steps {
  max-width: 860px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 999px; margin: 0 auto 16px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px -8px rgba(220,38,38,.6);
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--body); }

/* ─── CTA band ───────────────────────────────────────────────────────── */
.cta-band {
  max-width: var(--maxw); margin: 72px auto; padding: 64px 24px; text-align: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 28px; color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.cta-band p { font-size: 18px; opacity: .92; margin: 12px 0 28px; }
.cta-band .btn-primary { background: #fff; color: var(--red); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #fff; opacity: .92; }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 56px;
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.footer-brand img { border-radius: 7px; }
.footer-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.footer-links a:hover { color: var(--red); }
.copyright { font-size: 13.5px; color: var(--muted); }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 32px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .lede { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .pill { margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .phone { width: 250px; height: 510px; }
}
