:root {
  --bg: #111315;
  --bg-alt: #0b0d0f;
  --card: #1b1f23;
  --border: #2a2e33;
  --primary: #f97316;
  --primary-dim: rgba(249, 115, 22, 0.12);
  --success: #22c55e;
  --text: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --on-primary: #111315;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 19, 21, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand .logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
nav.site-nav { display: flex; gap: 36px; }
nav.site-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
nav.site-nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 120px 24px 96px;
  text-align: center;
}
.hero-mark {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 28px;
}
.badge {
  display: inline-block;
  background: var(--primary-dim);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 36px;
}
h1 {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 auto 28px;
  max-width: 780px;
}
.hero p.lead {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-secondary { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.hero-note { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }

/* Phone-style mockup visual */
.phone-mock {
  max-width: 300px;
  margin: 64px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px 20px;
  text-align: left;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.phone-mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.phone-mock-name { font-weight: 700; font-size: 15.5px; }
.phone-mock-pill {
  font-size: 11px; font-weight: 800; color: var(--primary);
  background: var(--primary-dim); border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 4px 12px; border-radius: 999px;
}
.phone-mock-search {
  height: 34px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 16px;
}
.phone-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-tile {
  aspect-ratio: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* Section shared — section.wrap (not the bare "section" type selector) so
   this reliably beats .wrap's own `padding: 0 24px` on specificity instead
   of losing to it (a class selector always outranks a type selector,
   regardless of source order) — that mismatch was silently zeroing out
   every section's vertical padding before this fix. */
section.wrap { padding: 100px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 14px; }
.section-head p { color: var(--text-secondary); font-size: 16px; margin: 0; line-height: 1.6; }

/* Features grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.feature-icon { font-size: 28px; margin-bottom: 18px; }
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 800px;
  margin: 0 auto;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px 32px;
  position: relative;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 20px 50px rgba(249, 115, 22, 0.12);
}
.price-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.price-amount { font-size: 38px; font-weight: 800; margin: 14px 0 4px; }
.price-amount span { font-size: 14.5px; font-weight: 600; color: var(--text-muted); }
.price-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.price-features { list-style: none; margin: 0; padding: 0; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.55;
}
.price-features li .check { color: var(--success); font-weight: 800; flex-shrink: 0; }
.price-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 36px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--primary-dim); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; margin: 0 auto 20px;
}
.step h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 10px; }
.step p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* Contact */
.contact { text-align: center; }
.contact-email {
  display: inline-block;
  margin-top: 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 14px 28px;
  border-radius: 10px;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12.5px; color: var(--text-muted); }

/* Legal pages */
.legal-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px 100px; }
.legal-wrap h1 { font-size: 30px; font-weight: 800; margin: 0 0 8px; }
.legal-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.legal-draft-note {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.legal-wrap h2 { font-size: 18px; font-weight: 700; margin: 34px 0 12px; }
.legal-wrap p, .legal-wrap li { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }
.legal-wrap ul { padding-left: 20px; }
.legal-wrap a { color: var(--primary); font-weight: 600; }

@media (max-width: 760px) {
  .hero { padding: 80px 24px 64px; }
  h1 { font-size: 36px; }
  .hero p.lead { font-size: 17px; }
  section.wrap { padding: 72px 24px; }
  .grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  nav.site-nav { display: none; }
  .site-header-row { justify-content: center; }
}
