/*
 * /10/ — Standalone PPC concept stylesheet for TailoredQuote.
 * Mobile-first, no external dependencies, no tracking, no cookies.
 * Apple-inspired clarity with practical UK trade tone.
 * Compatible with /10/index10.html, /10/sample-quote.html,
 * /10/quote-demo.html and /10/ppc-readiness.html.
 */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f3f7;
  --ink: #0b1220;
  --ink-soft: #2b3445;
  --muted: #5b6577;
  --line: #e3e6ec;
  --line-strong: #cdd2dc;
  --accent: #0a66ff;
  --accent-strong: #0852d4;
  --accent-soft: rgba(10, 102, 255, 0.08);
  --success: #0a8f4f;
  --success-soft: rgba(10, 143, 79, 0.08);
  --warn: #b35900;
  --warn-soft: rgba(179, 89, 0, 0.08);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05);
  --shadow-md: 0 8px 28px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --maxw: 1180px;
  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
}

/* overflow-x on body only — html must stay overflow:visible so that
   position:fixed elements (the wizard overlay) anchor to the viewport
   correctly in Safari/iOS */
body { overflow-x: hidden; }

body {
  padding-bottom: 72px; /* room for sticky mobile CTA */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: var(--accent-strong); }
a:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}
h1 { font-size: clamp(30px, 6vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; }
p  { margin: 0 0 12px 0; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand span { color: var(--accent); }
.nav-links {
  display: none;
  gap: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: #1a2438; color: #fff; transform: translateY(-1px); }

@media (min-width: 860px) {
  .nav-links { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.tight { padding: 40px 0; }
section.wide { padding: 80px 0; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}
.section-head p { font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 32px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(10, 102, 255, 0.10), transparent 60%),
    radial-gradient(900px 480px at 0% 0%, rgba(10, 102, 255, 0.05), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .hero { padding: 80px 0 60px; }
}
.hero h1 { margin-bottom: 16px; }
.hero-sub {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 18px;
}
.hero-support {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}
.hero-support .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  flex: 0 0 auto;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 24px;
}
.trust-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--ink-soft);
}
.trust-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-bullets li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success-soft);
  position: relative;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='none' stroke='%230a8f4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 540px) {
  .trust-bullets { grid-template-columns: 1fr 1fr 1fr; }
}

/* Hero demo card (split) */
.hero-demo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(10, 102, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
}
@media (min-width: 600px) {
  .hero-demo-grid { grid-template-columns: 1fr 1fr; }
}
.demo-card {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 16px 18px;
  border: 1px solid var(--line);
}
.demo-card.right {
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.demo-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-label .pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.06em;
}
.demo-card .notes {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.demo-card ul.lines {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.demo-card ul.lines li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.demo-card ul.lines li:last-child { border-bottom: 0; }
.demo-card ul.lines li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

/* ---------- Steps (from notes to PDF) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Admin pain section ---------- */
.split-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) {
  .split-card { grid-template-columns: 1fr 1fr; gap: 22px; padding: 28px; }
}
.split-pane {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
}
.split-pane.good {
  background: #ffffff;
  border: 1px solid var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(10,102,255,0.08), var(--shadow-sm);
}
.split-pane h4 {
  margin: 0 0 10px 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.split-pane.good h4 { color: var(--accent); }
.split-pane ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.split-pane li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.split-pane li:last-child { border-bottom: 0; }

/* ---------- Sample quote preview ---------- */
.quote-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.qp-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(180deg, #fff, #fafbfd);
}
.qp-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.qp-meta {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}
.qp-meta strong { color: var(--ink); display: block; font-size: 14px; }
.qp-body { padding: 22px 24px; }
.qp-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .qp-section { grid-template-columns: 160px 1fr; gap: 12px; }
}
.qp-section .qp-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.qp-section .qp-value { color: var(--ink); font-size: 15px; }
.qp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 0;
  font-size: 14.5px;
}
.qp-table th, .qp-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.qp-table th {
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.qp-table td.amt, .qp-table th.amt { text-align: right; white-space: nowrap; }
.qp-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 4px;
  border-top: 2px solid var(--ink);
  margin-top: 8px;
}
.qp-total strong { font-size: 18px; }
.qp-approve {
  margin-top: 18px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: 13px;
  color: var(--muted);
}
.qp-approve .sig {
  margin-top: 8px;
  font-style: italic;
  color: var(--ink-soft);
  font-family: "Brush Script MT", "Snell Roundhand", cursive;
  font-size: 22px;
}

/* ---------- Before/After sliders ---------- */
.slider-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 880px) {
  .slider-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.ba-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.ba-card h3 {
  margin: 4px 4px 12px;
  font-size: 17px;
}
.ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  user-select: none;
  touch-action: pan-y;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-img.before { z-index: 1; }
.ba-img.after  { z-index: 2; clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  z-index: 3;
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.2);
}
.ba-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  z-index: 4;
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.25), 0 0 0 1px rgba(11, 18, 32, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  touch-action: none;
}
.ba-grip:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.ba-grip::before {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path fill='none' stroke='%230b1220' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M5 4 2 7l3 3M9 4l3 3-3 3'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.ba-tag {
  position: absolute;
  top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(11, 18, 32, 0.85);
  color: #fff;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.ba-tag.left { left: 12px; }
.ba-tag.right { right: 12px; background: rgba(10, 102, 255, 0.95); }
.ba-disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 4px 0;
}

/* ---------- Approval flow ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}
@media (min-width: 760px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.flow-step .num { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; }
.flow-step strong { display: block; margin: 4px 0 4px; font-size: 15.5px; }
.flow-step span { color: var(--muted); font-size: 13.5px; }

/* ---------- ROI calc card ---------- */
.roi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .roi-card { grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px; }
}
.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.roi-row:last-child { border-bottom: 0; }
.roi-label { color: var(--muted); font-size: 14px; }
.roi-value { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.roi-value.accent { color: var(--accent); }

/* ---------- Why-different cards ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 760px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.diff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.diff-card h3 { margin-bottom: 6px; font-size: 17px; }
.diff-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.compare-line {
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ---------- Pricing preview ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .price-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.price-card .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card h3 { margin-bottom: 4px; }
.price-card .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 4px;
  letter-spacing: -0.02em;
}
.price-card .price small {
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px;
}
.price-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.price-card ul li:last-child { border-bottom: 0; }
.price-card ul li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='none' stroke='%230a66ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}
.price-card .reassure {
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.18s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path fill='none' stroke='%230b1220' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M5 8l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(800px 400px at 80% 100%, rgba(10, 102, 255, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #14213a 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 { color: #fff; margin-bottom: 10px; }
.final-cta p { color: rgba(255, 255, 255, 0.78); max-width: 600px; margin: 0 auto 20px; }
.final-cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.final-cta .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a { color: var(--ink-soft); }
.footer-meta { color: var(--muted); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
}
.sticky-cta .btn { flex: 1; height: 48px; font-size: 14.5px; padding: 0 14px; }
@media (min-width: 860px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Privacy callout ---------- */
.callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 16px;
}
.callout strong { color: var(--ink); }

/* ---------- Sample-quote / demo page header ---------- */
.subpage-header {
  padding: 40px 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.subpage-header h1 { margin-bottom: 8px; }
.subpage-header p { color: var(--muted); margin: 0; max-width: 640px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.back-link:hover { color: var(--ink); }
.back-link::before {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path fill='none' stroke='%235b6577' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M9 3 5 7l4 4'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Quote demo form ---------- */
.demo-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 24px auto 0;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field .hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.demo-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 22px auto 0;
}
.demo-result h3 { margin-bottom: 6px; }
.demo-result .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.demo-result .scope-block {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 12px;
  border: 1px solid var(--line);
}
.demo-result .scope-block strong { display: block; margin-bottom: 6px; color: var(--ink); }
.demo-result ul.scope-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.demo-result .reminder {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13.5px;
  font-weight: 500;
}

/* ---------- Readiness checklist page ---------- */
.checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.checklist h3 { margin-bottom: 8px; }
.checklist ul, .checklist ol {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-soft);
}
.checklist li { margin-bottom: 6px; }
.checklist table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14.5px;
}
.checklist table th, .checklist table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.checklist table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--surface-2);
}
.checklist table tr:last-child td { border-bottom: 0; }
.checklist .badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-primary { background: var(--accent-soft); color: var(--accent-strong); }
.badge-micro { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge-revenue { background: var(--success-soft); color: var(--success); }

/* ---------- Below-sliders CTA banner (UI Max) ---------- */
.ba-cta-banner {
  position: relative;
  margin: 40px auto 28px;
  padding: 52px 36px;
  background: linear-gradient(135deg, #0a66ff 0%, #0852d4 55%, #0b3a8e 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(10, 102, 255, 0.34), 0 4px 14px rgba(11, 18, 32, 0.10);
  text-align: center;
  isolation: isolate;
}
.ba-cta-banner::before {
  content: "";
  position: absolute;
  top: -160px; left: 50%;
  width: 720px; height: 720px;
  margin-left: -360px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 0;
  animation: ba-cta-rotate 32s linear infinite;
}
.ba-cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
  z-index: 1;
}
@keyframes ba-cta-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ba-cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }

.ba-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ba-cta-pulse {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.32);
  animation: ba-cta-pulse 1.6s ease-in-out infinite;
}
@keyframes ba-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.32); }
  50%      { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
}

.ba-cta-banner h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: #fff;
}
.ba-cta-banner p {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.92;
  margin: 0 0 30px;
  color: #fff;
}

.ba-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #0a3a9c !important;
  font-weight: 800;
  font-size: 17px;
  padding: 18px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(7, 24, 60, 0.28), 0 0 0 6px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.15s ease;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.ba-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 56px rgba(7, 24, 60, 0.36), 0 0 0 8px rgba(255, 255, 255, 0.20);
  color: #0a3a9c;
}
.ba-cta-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.ba-cta-arrow {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.ba-cta-btn:hover .ba-cta-arrow { transform: translateX(5px); }

.ba-cta-trust {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.94;
}
.ba-cta-trust li {
  position: relative;
  padding-left: 20px;
}
.ba-cta-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: #4ade80;
}

@media (max-width: 720px) {
  .ba-cta-banner { padding: 40px 22px; margin: 32px -4px 22px; border-radius: var(--radius-lg); }
  .ba-cta-banner h3 { font-size: 26px; }
  .ba-cta-banner p { font-size: 15px; margin-bottom: 24px; }
  .ba-cta-btn { font-size: 16px; padding: 16px 26px; width: 100%; justify-content: center; }
  .ba-cta-trust { gap: 6px 16px; font-size: 12px; }
  .ba-cta-banner::before { width: 480px; height: 480px; margin-left: -240px; top: -120px; }
}

/* ---------- Print (sample quote) ---------- */
@media print {
  .site-header, .sticky-cta, .site-footer, .back-link, .nav-cta { display: none !important; }
  body { background: #fff; padding: 0; }
  .quote-preview { box-shadow: none; border: 1px solid #ccc; }
  section { padding: 12px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
