/* QuickQuote landing: light theme only, Outfit, brand blue */
:root {
  --blue: #1257e0;
  --blue-dark: #0e46b8;
  --ink: #17233b;
  --muted: #636b7c;
  --border: #e1e4eb;
  --tint: #e9f0ff;
  --paper: #f7f8fb;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(23, 35, 59, .10);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 17px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(18, 87, 224, .28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: #c9cfdb; background: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper); }
.btn svg { flex: none; }

/* App Store badge */
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px 0 14px;
  background: #000; color: #fff; border-radius: 13px; border: 1px solid #333; line-height: 1.05; white-space: nowrap;
  transition: transform .15s ease;
}
.badge:hover { text-decoration: none; transform: translateY(-1px); }
.badge small { display: block; font-size: 12px; font-weight: 500; opacity: .9; letter-spacing: .01em; }
.badge strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.badge svg { flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav .btn { min-height: 46px; padding: 0 18px; font-size: 16px; }

/* Hero */
.hero { padding: 56px 0 24px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 480px at 82% 28%, rgba(18, 87, 224, .10), transparent 70%),
    radial-gradient(520px 380px at 12% 88%, rgba(18, 87, 224, .06), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--tint); color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero h1 { font-size: 64px; line-height: 1.02; }
.hero .sub { font-size: 22px; color: var(--muted); margin: 22px 0 30px; max-width: 34ch; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { color: var(--muted); font-size: 15px; margin-top: 18px; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.float {
  position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 16px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; white-space: nowrap; z-index: 2;
}
.float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; }
.float-a { top: 38%; left: -28px; }
.float-b { bottom: 21%; right: -28px; }
.float .k { color: var(--muted); font-weight: 500; }

/* Phone frame */
.phone { width: 300px; flex: none; border-radius: 48px; padding: 10px; background: linear-gradient(160deg, #3c4250, #171a21 60%); box-shadow: 0 34px 70px rgba(23, 35, 59, .28), 0 0 0 1.5px rgba(255, 255, 255, .14) inset; }
.phone.lg { width: 340px; }
.phone.sm { width: 260px; }
.screen { position: relative; border-radius: 38px; overflow: hidden; background: #f4f6fa; }
.sbar { position: relative; height: 46px; display: flex; justify-content: space-between; align-items: center; padding: 6px 26px 0; font-size: 13px; font-weight: 700; }
.sbar.blue { color: #fff; background: #1257e0; }
.sbar.light { color: #10182b; background: #f4f6fa; }
.sbar.doc { color: #10182b; background: #edf0f7; }
.sbar .icons { display: flex; gap: 5px; align-items: center; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; }
.screen img { width: 100%; height: auto; display: block; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: 44px; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 14px; text-wrap: pretty; }
.kicker { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; display: block; }

/* How it works */
.how { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 6px 20px rgba(23, 35, 59, .04); }
.num { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--blue); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 16px; }
.bubble-wrap { padding-top: 6px; }
.bubble { position: relative; background: var(--blue); color: #fff; border-radius: 20px 20px 4px 20px; padding: 16px 18px; font-size: 16px; line-height: 1.45; font-weight: 500; box-shadow: 0 10px 24px rgba(18, 87, 224, .22); }
.bubble-meta { font-size: 13px; color: var(--muted); text-align: right; margin-top: 8px; font-weight: 500; }
.mini-invoice { margin-top: 4px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--white); font-size: 15px; }
.mini-invoice .row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--border); }
.mini-invoice .row:first-child { border-top: 0; background: var(--paper); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mini-invoice .row span:last-child { font-weight: 700; white-space: nowrap; }
.mini-invoice .total { background: var(--tint); font-weight: 800; }
.mini-invoice .total span:last-child { color: var(--blue); }
.status-strip { margin-top: 4px; display: flex; flex-direction: column; gap: 10px; }
.status { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.status .pill { margin-left: auto; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.status .pill.paid { background: #e6f7ee; color: #157347; }
.status .av { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature.flip .feature-text { order: 2; }
.feature h2 { font-size: 40px; }
.feature .lead { color: var(--muted); font-size: 19px; margin-top: 16px; text-wrap: pretty; }
.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231257e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.feature-visual { display: flex; justify-content: center; position: relative; }
.feature-visual .glow { position: absolute; inset: 10% 8%; border-radius: 40px; background: var(--tint); z-index: -1; }

/* Trades */
.trades { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; gap: 10px; }
.chip svg { width: 22px; height: 22px; flex: none; color: var(--blue); }
.trade-note { text-align: center; color: var(--muted); max-width: 640px; margin: 28px auto 0; font-size: 17px; }

/* Pricing */
.price-card { max-width: 860px; margin: 0 auto; border: 1.5px solid var(--border); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); background: var(--white); }
.price-top { text-align: center; }
.price-top .big { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.price-top .big span { color: var(--blue); }
.price-top p { color: var(--muted); font-size: 18px; margin-top: 12px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 24px; }
.plan { border: 1.5px solid var(--border); border-radius: 18px; padding: 22px 24px; }
.plan.best { border-color: var(--blue); background: var(--tint); position: relative; }
.plan .tag { position: absolute; top: -13px; right: 18px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plan .name { font-weight: 700; color: var(--muted); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.plan .amt { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.plan .amt small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 28px; }
.price-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.price-includes li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231257e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }
.price-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.price-fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; line-height: 1.6; }
.price-fine + .price-fine { margin-top: 10px; max-width: 640px; margin-left: auto; margin-right: auto; }
.price-fine a { padding: 13px 0; }

/* FAQ */
.faq { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 18px; font-size: 16px; }

/* Final CTA */
.final { text-align: center; }
.final h2 { font-size: 44px; }
.final p { color: var(--muted); font-size: 19px; margin: 14px auto 28px; max-width: 46ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot-links a { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; }
.foot-links a:hover { background: var(--paper); text-decoration: none; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 8px; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { font-size: 44px; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc h3 { font-size: 20px; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; }
.doc p + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 22px; margin: 10px 0 14px; }
.doc li + li { margin-top: 6px; }
.doc .callout { background: var(--tint); border-radius: 16px; padding: 18px 22px; margin: 20px 0; }
.doc a { font-weight: 600; }
.doc p a, .doc li a, details p a { padding: 12px 2px; margin: -12px -2px; }

/* Tablet */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero h1 { font-size: 52px; }
  .steps { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .feature.flip .feature-text { order: 0; }
  .feature .lead { margin-left: auto; margin-right: auto; }
  .checks { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
  .float-a { left: 6%; }
  .float-b { right: 6%; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .site-header .wrap { min-height: 64px; }
  .brand { font-size: 20px; }
  .brand img { width: 34px; height: 34px; }
  .nav .btn-ghost { display: none; }
  .hero { padding: 36px 0 8px; }
  .hero h1 { font-size: 40px; }
  .hero .sub { font-size: 18px; margin: 16px 0 22px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .badge, .cta-row .btn { width: 100%; justify-content: center; }
  .hero-visual { padding: 12px 0 0; }
  .phone, .phone.lg { width: 250px; }
  .phone.sm { width: 230px; }
  .screen { border-radius: 32px; }
  .phone { border-radius: 40px; padding: 8px; }
  .sbar { height: 40px; font-size: 12px; padding: 5px 22px 0; }
  .island { width: 78px; height: 23px; top: 9px; }
  .float { font-size: 13px; padding: 10px 12px; }
  .float-a { top: 40%; left: 0; }
  .float-b { bottom: 13%; right: 0; }
  section { padding: 52px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 32px; }
  .section-head p { font-size: 17px; }
  .step { padding: 22px; }
  .step h3 { font-size: 22px; }
  .feature { padding: 36px 0; gap: 26px; }
  .feature h2 { font-size: 30px; }
  .feature .lead { font-size: 17px; }
  .checks li { font-size: 16px; }
  .chip { font-size: 16px; padding: 11px 16px; }
  .price-card { padding: 26px 20px; border-radius: 22px; }
  .price-top .big { font-size: 40px; }
  .price-top p { font-size: 16px; }
  .plans { grid-template-columns: 1fr; }
  .plan .amt { font-size: 34px; }
  .price-includes { grid-template-columns: 1fr; }
  .price-cta { flex-direction: column; align-items: stretch; }
  .price-cta .badge, .price-cta .btn { width: 100%; justify-content: center; }
  summary { font-size: 17px; }
  .final h2 { font-size: 32px; }
  .final p { font-size: 17px; }
  .final .cta-row { align-items: center; }
  .final .cta-row .badge, .final .cta-row .btn { width: 100%; max-width: 360px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .doc h1 { font-size: 34px; }
  .doc h2 { font-size: 23px; }
  .doc p, .doc li { font-size: 16px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .phone, .phone.lg { width: 230px; }
  .float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .badge { transition: none; }
}

/* embed=1: legal pages shown inside the app's own sheet, no site chrome */
.embed .site-header, .embed .site-footer { display: none; }
.embed main { padding-top: 8px; }
