/* ── Marketing site styles ─────────────────────────── */

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

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --orange: #ea580c;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ───────────────────────────────────────── */
.mkt-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.mkt-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mkt-logo-link { display: flex; align-items: center; }
.mkt-logo { height: 64px; width: auto; }

.mkt-nav { display: flex; align-items: center; gap: .5rem; }

.mkt-nav-link {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 8px;
  transition: color .15s, background .15s;
  text-decoration: none;
}
.mkt-nav-link:hover,
.mkt-nav-link.active { color: var(--brand); background: #eff6ff; text-decoration: none; }

.mkt-nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  font-size: .875rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s;
}
.mkt-nav-cta:hover { background: var(--brand-dark); text-decoration: none; }

/* ── Container ────────────────────────────────────── */
.mkt-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.mkt-container--narrow {
  max-width: 640px;
}

/* ── Buttons ──────────────────────────────────────── */
.btn-primary-lg {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: .8rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn-primary-lg:hover { background: var(--brand-dark); text-decoration: none; transform: translateY(-1px); }

.btn-white {
  background: var(--white) !important;
  color: var(--brand) !important;
}
.btn-white:hover { background: #f0f6ff !important; }

.btn-secondary-lg {
  display: inline-block;
  color: var(--brand);
  font-size: .95rem;
  font-weight: 600;
  padding: .7rem 1.5rem;
  border-radius: 10px;
  border: 1.5px solid var(--brand);
  text-decoration: none;
  transition: background .15s;
}
.btn-secondary-lg:hover { background: #eff6ff; text-decoration: none; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
  padding: 5rem 1.5rem 4rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-text { flex: 1; }
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-visual { flex: 0 0 auto; }

/* Phone mockup */
.phone-mockup {
  width: 260px;
  background: #1c1c1e;
  border-radius: 36px;
  padding: 18px 14px;
  box-shadow: 0 24px 48px rgba(0,0,0,.22), 0 8px 16px rgba(0,0,0,.12);
}
.phone-screen {
  background: var(--bg);
  border-radius: 22px;
  overflow: hidden;
  padding: 1rem;
}
.mock-quote-card { font-size: .78rem; }
.mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.mock-logo-text { font-weight: 800; font-size: .85rem; color: var(--brand); }
.mock-badge { font-size: .65rem; font-weight: 700; padding: .2rem .5rem; border-radius: 20px; }
.mock-badge.approved { background: #d1fae5; color: #065f46; }
.mock-customer { font-size: .72rem; color: var(--text-muted); margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.mock-items { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.mock-item { display: flex; justify-content: space-between; color: var(--text); }
.mock-total { display: flex; justify-content: space-between; font-weight: 700; padding-top: .5rem; border-top: 1px solid var(--border); }

/* ── How it works ─────────────────────────────────── */
.section-how {
  padding: 5rem 1.5rem;
  background: var(--white);
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: .5rem;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.step-num {
  width: 48px; height: 48px;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: .9rem; }

/* ── Feature grid ─────────────────────────────────── */
.section-features {
  padding: 5rem 1.5rem;
  background: var(--bg);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}
.feat-icon { font-size: 2rem; margin-bottom: .75rem; }
.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.feat-card p { font-size: .875rem; color: var(--text-muted); }

/* ── Trust bar ─────────────────────────────────────── */
.section-trust {
  padding: 4rem 1.5rem;
  background: var(--white);
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  text-align: center;
}
.trust-num { font-size: 2.5rem; font-weight: 800; color: var(--brand); }
.trust-icon { font-size: 2rem; margin-bottom: .4rem; }
.trust-label { font-size: .9rem; color: var(--text-muted); margin-top: .25rem; font-weight: 500; }

/* ── CTA banner ────────────────────────────────────── */
.section-cta {
  background: var(--brand);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
}
.section-cta h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 1rem; }
.section-cta p { font-size: 1.05rem; opacity: .85; max-width: 540px; margin: 0 auto 2rem; }

/* ── Page hero (inner pages) ──────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: .75rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── Features detail ──────────────────────────────── */
.features-detail { padding: 4rem 1.5rem; }

.feat-detail-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
}
.feat-detail-row--rev { flex-direction: row-reverse; }

.feat-detail-text { flex: 1; }
.feat-tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand);
  margin-bottom: .6rem;
}
.feat-detail-text h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .75rem; }
.feat-detail-text p { color: var(--text-muted); margin-bottom: 1rem; }
.feat-detail-text ul { padding-left: 1.25rem; }
.feat-detail-text li { color: var(--text-muted); font-size: .9rem; margin-bottom: .3rem; }

.feat-detail-visual {
  flex: 0 0 320px;
  min-height: 200px;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-content: center;
  justify-content: center;
}
.card-light {
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
  border: 1px solid #dbeafe;
}
.feat-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* ── Contact ──────────────────────────────────────── */
.contact-section { padding: 3rem 1.5rem 5rem; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.cf-group { display: flex; flex-direction: column; gap: .4rem; }
.cf-group label { font-size: .875rem; font-weight: 600; color: var(--text); }
.cf-group input,
.cf-group textarea {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
  color: var(--text);
}
.cf-group input:focus,
.cf-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.cf-error {
  background: #fef2f2;
  color: #dc2626;
  border-radius: 8px;
  padding: .6rem .9rem;
  font-size: .875rem;
}
.contact-alt {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: .9rem;
}
.contact-success {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
}
.contact-success-icon {
  width: 56px; height: 56px;
  background: #d1fae5;
  color: #065f46;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.contact-success h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }

/* ── Footer ───────────────────────────────────────── */
.mkt-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem;
}
.mkt-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.mkt-footer-brand { font-size: 1.1rem; font-weight: 800; color: rgba(255,255,255,.8); letter-spacing: -.2px; }
.mkt-footer-copy { font-size: .85rem; }
.mkt-footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.mkt-footer-links a { color: rgba(255,255,255,.6); font-size: .85rem; text-decoration: none; }
.mkt-footer-links a:hover { color: var(--white); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; gap: 2rem; text-align: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-visual { display: flex; justify-content: center; }
  .hero-visual .phone-mockup { width: min(320px, 85vw); }
  .feat-detail-row,
  .feat-detail-row--rev { flex-direction: column; gap: 2rem; }
  .feat-detail-visual { flex: none; width: 100%; }
  .trust-row { gap: 2rem; }
  .mkt-logo { height: 38px; }
  .mkt-nav { gap: .15rem; }
  .mkt-nav-link { font-size: .82rem; padding: .3rem .45rem; }
  .mkt-nav-cta { font-size: .82rem; padding: .4rem .7rem; white-space: nowrap; }
}
