/* ============================================================
   eXprimeNet — Agencies Portal · Design System
   Palette: #083A74 (brand blue) · #99CC33 (accent green) · #FF7A45 (warm)
   Typography: Inter (text) · Calibri (wordmark logo only)
   Style: clean, modern, premium · visual · commercial
   ============================================================ */

:root {
  --brand-700: #083A74;
  --brand-800: #062D5A;
  --brand-900: #041F3F;
  --brand-600: #0F4689;
  --brand-200: #BFD0EC;
  --brand-100: #E2EBF7;
  --brand-50:  #F2F6FC;

  --accent-500: #99CC33;
  --accent-600: #7FB022;
  --accent-700: #638A1B;
  --accent-100: #E8F3C6;
  --accent-50:  #F5FAE6;

  --warm-500: #FF7A45;
  --warm-600: #E85D2B;
  --warm-700: #C04415;
  --warm-100: #FFE5D2;
  --warm-50:  #FFF4ED;

  --ink:      #0E1116;
  --ink-soft: #3A4250;
  --ink-muted:#6B7280;

  --paper:   #FFFFFF;
  --surface: #F7F8FA;
  --line:    #E5E7EB;
  --line-strong: #D1D5DB;

  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  14px;
  --radius-xl:  18px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --shadow:    0 1px 2px rgba(15,23,42,0.05), 0 1px 1px rgba(15,23,42,0.03);
  --shadow-md: 0 8px 24px -10px rgba(8,58,116,0.15), 0 2px 6px -2px rgba(8,58,116,0.06);
  --shadow-lg: 0 24px 48px -20px rgba(8,58,116,0.25), 0 6px 12px -4px rgba(8,58,116,0.08);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

/* Decorative dotted background for sections */
.bg-dotted {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(8,58,116,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.bg-dotted-soft {
  background-color: var(--surface);
  background-image: radial-gradient(rgba(8,58,116,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ─── Logo wordmark (Calibri, single colour) ───────────────── */
.logo-wordmark {
  font-family: 'Calibri', 'Candara', 'Segoe UI', 'Optima', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: 22px;
  color: var(--brand-700);
}
.logo-wordmark--light { color: #FFFFFF; }
.logo-wordmark--sm { font-size: 18px; }
.logo-wordmark--lg { font-size: 30px; }

/* ─── Typography scale (Inter) ─────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

/* ─── Section helpers ──────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: none;
}
.section-eyebrow-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.section-eyebrow-icon i { font-size: 11px; color: var(--brand-700); }

/* ─── Step transitions ─────────────────────────────────────── */
.step { display: none; animation: fadeUp .3s ease both; }
.step.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
@media (min-width: 768px) {
  .card { padding: 28px; }
}
/* Wizard card needs extra breathing room because of dense forms inside */
#wizard > .max-w-5xl .card,
#wizard .card.shadow-card-lg {
  padding: 28px 24px;
}
@media (min-width: 640px) {
  #wizard .card.shadow-card-lg { padding: 32px 32px; }
}
@media (min-width: 768px) {
  #wizard .card.shadow-card-lg { padding: 40px 40px; }
}
.card-quiet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.card-option {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
  cursor: pointer;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card-option:hover {
  border-color: var(--brand-700);
  box-shadow: var(--shadow-md);
}
.card-option.is-selected {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(8,58,116,0.12), var(--shadow-md);
  background: var(--brand-50);
}
/* Single, clean radio indicator in the top-right corner (avoids overlap with icon-circle on the left) */
.card-option__indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  transition: all .15s ease;
  z-index: 1;
}
.card-option__indicator::after {
  content: '';
  position: absolute; inset: 4px;
  background: #fff;
  border-radius: 999px;
  opacity: 0;
  transform: scale(.6);
  transition: all .15s ease;
}
.card-option.is-selected .card-option__indicator { background: var(--brand-700); border-color: var(--brand-700); }
.card-option.is-selected .card-option__indicator::after { opacity: 1; transform: scale(1); }

.platform-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.platform-card.is-active {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 2px rgba(8,58,116,0.08);
}
.platform-card.is-disabled {
  opacity: .55;
  background: var(--surface);
  pointer-events: none;
}

/* ─── Featured cards (Buy/Rent main cards with thick borders) ─ */
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-card--accent {
  border: 2px solid var(--accent-500);
  background: linear-gradient(180deg, #FBFEF4 0%, #FFFFFF 60%);
}
.feature-card--brand {
  border: 1px solid var(--line);
}
.feature-card__tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent-500);
  color: var(--brand-900);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feature-card__tag i { font-size: 10px; }

/* ─── Icon circles ─────────────────────────────────────────── */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
  flex-shrink: 0;
}
.icon-circle-sm { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
.icon-circle-lg { width: 56px; height: 56px; font-size: 22px; border-radius: 14px; }
.icon-circle-xl { width: 64px; height: 64px; font-size: 26px; border-radius: 16px; }

.icon-circle--brand    { background: var(--brand-700);  color: #fff; }
.icon-circle--brand-light { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.icon-circle--accent   { background: var(--accent-500); color: var(--brand-900); }
.icon-circle--accent-light { background: var(--accent-50); color: var(--accent-700); border: 1px solid var(--accent-100); }
.icon-circle--warm     { background: var(--warm-500);   color: #fff; }
.icon-circle--warm-light { background: var(--warm-50); color: var(--warm-600); border: 1px solid var(--warm-100); }
.icon-circle--dark     { background: #0E1116;           color: #fff; }
.icon-circle--soft     { background: var(--surface);    color: var(--ink-soft); border: 1px solid var(--line); }

/* ─── Icon bullets (lists with iconic checks) ──────────────── */
.icon-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 3px 0;
}
.icon-bullet__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
}
.icon-bullet__icon--check  { color: var(--accent-600); }
.icon-bullet__icon--brand  { color: var(--brand-700); }
.icon-bullet__icon--warm   { color: var(--warm-600); }
.icon-bullet__icon--info   { color: var(--ink-muted); }
.icon-bullet__icon--no     { color: #B91C1C; }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  line-height: 1;
  border-radius: var(--radius);
  padding: 12px 20px;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:disabled {
  opacity: 1;
  cursor: not-allowed;
}
/* Primary/accent/warm/dark disabled → flat gray */
.btn-primary:disabled,
.btn-accent:disabled,
.btn-warm:disabled,
.btn-dark:disabled {
  background: #CBD5E1;
  border-color: #CBD5E1;
  color: #fff;
}
/* Ghost disabled → very subtle gray, NOT the weird purple */
.btn-ghost:disabled {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-muted);
}
.btn:active:not(:disabled) { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-700);
  color: #fff;
  border: 1px solid var(--brand-700);
}
.btn-primary:hover:not(:disabled) { background: var(--brand-800); border-color: var(--brand-800); }

.btn-accent {
  background: var(--accent-500);
  color: var(--brand-900);
  border: 1px solid var(--accent-500);
  font-weight: 700;
}
.btn-accent:hover:not(:disabled) { background: var(--accent-600); border-color: var(--accent-600); color: #fff; }

.btn-warm {
  background: var(--warm-500);
  color: #fff;
  border: 1px solid var(--warm-500);
}
.btn-warm:hover:not(:disabled) { background: var(--warm-600); border-color: var(--warm-600); }

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover:not(:disabled) { border-color: var(--brand-700); background: var(--brand-50); color: var(--brand-700); }

.btn-dark {
  background: #0E1116;
  color: #fff;
  border: 1px solid #0E1116;
}
.btn-dark:hover:not(:disabled) { background: #1E2530; border-color: #1E2530; }

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* ─── Form controls ────────────────────────────────────────── */
.input, .select, .textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 13px;
  font-size: 14.5px;
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: #9AA3B2; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(8,58,116,0.12);
}
.input.is-invalid, .select.is-invalid, .textarea.is-invalid {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.10);
}
.field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  display: block;
}
.field-error {
  font-size: 12px;
  color: #DC2626;
  margin-top: 5px;
  display: none;
}
.field-error.is-visible { display: block; }

/* ─── Progress bar ─────────────────────────────────────────── */
.progress-track {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-500) 0%, var(--brand-700) 100%);
  transition: width .3s ease;
  border-radius: 999px;
}

/* ─── Tags / Badges ────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.tag i { font-size: 10px; }
.tag-accent {
  background: var(--accent-50);
  color: var(--accent-700);
  border-color: var(--accent-100);
}
.tag-warm {
  background: var(--warm-50);
  color: var(--warm-700);
  border-color: var(--warm-100);
}
.tag-neutral {
  background: var(--surface);
  color: var(--ink-soft);
  border-color: var(--line);
}
.tag-dark {
  background: #0E1116;
  color: #fff;
  border-color: #0E1116;
}
.tag-outline {
  background: transparent;
  color: var(--brand-700);
  border: 1px solid var(--brand-700);
}

/* ─── Save badge (commercial highlight) ────────────────────── */
.save-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-500);
  color: var(--brand-900);
  letter-spacing: 0.02em;
}

/* ─── Quantity stepper ─────────────────────────────────────── */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.qty button {
  width: 36px;
  height: 36px;
  background: var(--surface);
  color: var(--brand-700);
  font-weight: 600;
  font-size: 16px;
  transition: background-color .15s ease;
  cursor: pointer;
  border: 0;
}
.qty button:hover { background: var(--brand-100); }
.qty button:disabled { opacity: .4; cursor: not-allowed; background: var(--surface); }
.qty input {
  width: 48px;
  height: 36px;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  background: var(--paper);
  font-family: 'Inter', system-ui, sans-serif;
}
.qty input:focus { outline: none; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ─── Summary box (dark) ───────────────────────────────────── */
.summary-box {
  background: #0E1116;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  border: 1px solid #1E2530;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}
.summary-line strong { color: #fff; font-weight: 600; }
.summary-line.discount { color: var(--accent-500); }
.summary-line.total {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 10px;
  padding-top: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.summary-line.total span:last-child { color: var(--accent-500); }

/* ─── Tables ───────────────────────────────────────────────── */
.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14px;
}
.tbl th, .tbl td {
  text-align: left;
  padding: 14px 18px;
  vertical-align: top;
}
.tbl thead th {
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.tbl tbody tr + tr td { border-top: 1px solid var(--line); }
.tbl tbody td { color: var(--ink-soft); }
.tbl tbody td:first-child { font-weight: 600; color: var(--ink); }
.tbl .row-highlight td { background: var(--accent-50); }
.tbl .row-highlight td:first-child { color: var(--accent-700); }
.tbl .num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.tbl .yes { color: var(--accent-700); font-weight: 600; }
.tbl .no  { color: #B91C1C; font-weight: 600; }
.tbl .neutral { color: var(--ink-muted); }

/* ─── Cell icons ───────────────────────────────────────────── */
.cell-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cell-icon i { font-size: 12px; }
.cell-icon--yes i { color: var(--accent-600); }
.cell-icon--no  i { color: #B91C1C; }
.cell-icon--neutral i { color: var(--ink-muted); }

.check-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: 11px;
}
.check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #FEE2E2;
  color: #B91C1C;
  font-size: 11px;
}
.check-warm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--warm-50);
  color: var(--warm-600);
  font-size: 11px;
}

/* ─── Platform icons (Meta/Google/TikTok with brand colors) ── */
.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  width: 30px;
  height: 30px;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.platform-icon--lg { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }
.platform-icon--xl { width: 52px; height: 52px; font-size: 22px; border-radius: 14px; }
.platform-icon--meta   { background: #1877F2; }
.platform-icon--google { background: #fff; color: #4285F4; border: 1px solid var(--line-strong); }
.platform-icon--tiktok { background: #0E1116; }

/* ─── Highlight banners (commercial messages) ──────────────── */
.banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}
.banner__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.banner__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.banner__sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 3px;
  line-height: 1.45;
}

.banner--warm {
  background: var(--warm-50);
  border-color: var(--warm-100);
}
.banner--warm .banner__icon { background: var(--warm-500); color: #fff; }
.banner--warm .banner__title { color: var(--warm-700); }

.banner--accent {
  background: var(--accent-50);
  border-color: var(--accent-100);
}
.banner--accent .banner__icon { background: var(--accent-500); color: var(--brand-900); }
.banner--accent .banner__title { color: var(--accent-700); }

.banner--brand {
  background: var(--brand-50);
  border-color: var(--brand-100);
}
.banner--brand .banner__icon { background: var(--brand-700); color: #fff; }
.banner--brand .banner__title { color: var(--brand-900); }

.banner--dark {
  background: #0E1116;
  border-color: #1E2530;
}
.banner--dark .banner__title { color: #fff; }
.banner--dark .banner__sub { color: rgba(255,255,255,0.7); }

/* ─── Vertical category cards (verticals section) ──────────── */
.vertical-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top-width: 4px;
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.vertical-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.vertical-card--ok {
  border-top-color: var(--accent-500);
  background: linear-gradient(180deg, var(--accent-50) 0%, var(--paper) 50%);
}
.vertical-card--warn {
  border-top-color: var(--warm-500);
  background: linear-gradient(180deg, var(--warm-50) 0%, var(--paper) 50%);
}
.vertical-card--no {
  border-top-color: #DC2626;
  background: linear-gradient(180deg, #FEF2F2 0%, var(--paper) 50%);
}
.vertical-card__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.vertical-card--ok .vertical-card__title { color: var(--accent-700); }
.vertical-card--warn .vertical-card__title { color: var(--warm-700); }
.vertical-card--no .vertical-card__title { color: #B91C1C; }
.vertical-card__title i { font-size: 16px; }
.vertical-card__subtitle {
  margin-top: 14px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.vertical-card__list {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.vertical-card__note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--warm-700);
  line-height: 1.45;
}

/* ─── KPI cards (with icon + number + label) ───────────────── */
.kpi-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.kpi-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.kpi-card__num {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.kpi-card__label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.35;
  font-weight: 500;
}

/* ─── Stat tile (dark closer) ──────────────────────────────── */
.stat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  transition: background .2s ease;
}
.stat-tile:hover { background: rgba(255,255,255,0.08); }
.stat-tile__num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-tile__label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  font-weight: 500;
}

/* ─── Pill row (small horizontal badges with icons) ────────── */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.pill i { font-size: 12px; color: var(--brand-700); }
.pill--accent i { color: var(--accent-600); }
.pill--warm i { color: var(--warm-600); }
.pill--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.pill--dark i { color: var(--accent-500); }

/* ─── Step indicator (numeric dots) ────────────────────────── */
.step-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.step-dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background .15s ease, width .15s ease;
}
.step-dots span.is-current { width: 22px; background: var(--brand-700); }
.step-dots span.is-done { background: var(--accent-500); }

/* ─── FAQ ──────────────────────────────────────────────────── */
details.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
details.faq-item:hover { border-color: var(--brand-200); }
details.faq-item[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '\f067';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: var(--brand-700);
  background: var(--brand-50);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
  flex-shrink: 0;
}
details.faq-item[open] summary::after {
  content: '\f068';
  background: var(--brand-700);
  color: #fff;
}
details.faq-item summary .faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-right: 14px;
}
details.faq-item[open] summary .faq-icon {
  background: var(--brand-700);
  color: #fff;
}
details.faq-item p,
details.faq-item .faq-item__body {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
  padding-left: 46px;
}
/* Alias: .faq-item__icon used in JSX maps to .faq-icon */
details.faq-item summary .faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-right: 14px;
}
details.faq-item[open] summary .faq-item__icon {
  background: var(--brand-700);
  color: #fff;
}

/* ─── Step cards (How it works) ────────────────────────────── */
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.step-card__num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-100);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.step-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-700);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px -4px rgba(8,58,116,0.35);
}
.step-card:nth-child(even) .step-card__icon {
  background: var(--accent-500);
  color: var(--brand-900);
  box-shadow: 0 6px 16px -4px rgba(153,204,51,0.4);
}
.step-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.step-card__desc {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ─── Confirmation big check ───────────────────────────────── */
.success-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: var(--accent-500);
  color: var(--brand-900);
  font-size: 32px;
  box-shadow: 0 12px 32px -8px rgba(153,204,51,0.55);
}

/* ─── Numbered step (used in confirmation) ─────────────────── */
.num-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.num-step__n {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  border: 1px solid var(--brand-100);
}
.num-step--accent .num-step__n {
  background: var(--accent-500);
  color: var(--brand-900);
  border-color: var(--accent-500);
}

/* ─── Reveal on scroll ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── Toast ────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0E1116;
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  opacity: 0;
  transition: all .25s ease;
  z-index: 80;
  box-shadow: var(--shadow-lg);
}
#toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Wizard anchor offset ─────────────────────────────────── */
#wizard { scroll-margin-top: 80px; }

/* ─── Utility ──────────────────────────────────────────────── */
.divide-thin > * + * { border-top: 1px solid var(--line); }
.text-tabular { font-variant-numeric: tabular-nums; }

a.link-quiet {
  color: var(--brand-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
a.link-quiet:hover { border-bottom-color: var(--brand-700); }

/* Radio group buttons (yes/no/...) */
.radio-group { display: flex; gap: 10px; }
.radio-group label { flex: 1; cursor: pointer; }
.radio-group input { display: none; }
.radio-group label > div {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  transition: all .15s ease;
  background: var(--paper);
}
.radio-group label:hover > div { border-color: var(--brand-700); color: var(--brand-700); }
.radio-group input:checked + div {
  border-color: var(--brand-700);
  background: var(--brand-50);
  color: var(--brand-700);
}

/* ═══════════════════════════════════════════════════════════════════
   TIER CARDS (pricing tiers — equal height, well-padded)
   ═══════════════════════════════════════════════════════════════════ */
.tier-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tier-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.tier-card--warm {
  border-color: var(--warm-200);
  background: linear-gradient(180deg, #FFF7F0 0%, #fff 80%);
}
.tier-card--warm-strong {
  border-color: var(--warm-300);
  background: linear-gradient(180deg, #FFE5D2 0%, #fff 90%);
}
.tier-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tier-card__body {
  margin-top: auto; /* push body to bottom so cards align */
  padding-top: 4px;
}
.tier-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
}

/* ═══════════════════════════════════════════════════════════════════
   MODALITY OPTION CARDS (wizard step 1) — equal height + padding
   ═══════════════════════════════════════════════════════════════════ */
.card-option {
  padding-top: 22px;
}
/* When card-option contains an icon-circle header, give space for top-right indicator */
.card-option > .flex {
  padding-right: 28px;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE-FIRST REFINEMENTS
   Improve typography, spacing and stack behaviour below sm breakpoint.
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Tighter section padding on mobile */
  section { padding-top: 56px !important; padding-bottom: 56px !important; }
  section:first-of-type { padding-top: 32px !important; }

  /* Hero: smaller H1, less aggressive tracking */
  h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
  }
  h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
  }
  h3 { font-size: 18px !important; }

  /* KPI cards stack 2x2 on mobile (already grid-cols-2) — tighten */
  .kpi-card { padding: 12px !important; }
  .kpi-card__num { font-size: 18px !important; }
  .kpi-card__label { font-size: 11px !important; }

  /* Pills wrap more aggressively */
  .pill { font-size: 11px; padding: 5px 10px; }
  .pill-row { gap: 6px; }

  /* Buttons full-width if alone */
  .btn-lg { padding: 13px 18px; font-size: 14px; }

  /* Feature cards: stack icon above text on mobile to save horizontal space */
  .feature-card { padding: 20px !important; }
  .feature-card .icon-circle-xl {
    width: 52px !important; height: 52px !important; font-size: 22px !important;
  }

  /* Tables: cell padding */
  .tbl th, .tbl td { padding: 10px 12px !important; font-size: 13px !important; }
  .tbl thead th { font-size: 11px !important; }

  /* Wizard card: balanced padding on mobile so borders don't hug text */
  #wizard .card.shadow-card-lg { padding: 22px 20px !important; }
  .card-option { padding: 16px !important; }
  .card-option > .flex { padding-right: 32px !important; }

  /* Quantity stepper full-width row on mobile (already wraps with flex-wrap) */
  .qty { margin-top: 4px; }

  /* Banner: stack icon above text on mobile */
  .banner { padding: 14px !important; gap: 12px !important; }
  .banner__icon { width: 36px !important; height: 36px !important; font-size: 14px !important; }
  .banner__title { font-size: 14px !important; }
  .banner__sub { font-size: 12.5px !important; }

  /* Step dots smaller */
  .step-dots span { width: 5px; height: 5px; }
  .step-dots span.is-current { width: 18px; }

  /* Vertical cards: full pad */
  .vertical-card { padding: 18px !important; }

  /* Step cards (How it works) tighter */
  .step-card { padding: 18px !important; }
  .step-card__num { font-size: 48px !important; top: 4px !important; right: 12px !important; }

  /* Tier cards padding */
  .tier-card { padding: 16px !important; }
  .tier-card__badge { top: 12px; right: 12px; font-size: 10px; padding: 3px 8px; }

  /* Stat tiles tighter */
  .stat-tile { padding: 16px !important; }
  .stat-tile__num { font-size: 22px !important; }
  .stat-tile__label { font-size: 11px !important; }

  /* FAQ: less padding-left on body */
  details.faq-item { padding: 14px 16px !important; }
  details.faq-item p,
  details.faq-item .faq-item__body { padding-left: 0 !important; font-size: 13.5px !important; }
  details.faq-item summary { font-size: 14px !important; }
  details.faq-item summary::after { width: 22px !important; height: 22px !important; font-size: 10px !important; }

  /* Header height tighter */
  header .h-16 { height: 56px; }
  .logo-wordmark { font-size: 22px; }
  .logo-wordmark--sm { font-size: 16px; }

  /* Hide nav links on mobile (header CTA stays) */
  header nav { display: none !important; }
}

/* Slightly tighter padding on the wizard nav buttons row on small screens */
@media (max-width: 480px) {
  #btnBack, #btnNext {
    padding: 11px 14px !important;
    font-size: 13px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL FIXES
   ═══════════════════════════════════════════════════════════════════ */
/* Make sure cards/wizard never overflow horizontally on tiny screens */
* { min-width: 0; }
body { overflow-x: hidden; }

/* Force grid items to equal height across the board */
.grid > .card,
.grid > .feature-card,
.grid > .vertical-card,
.grid > .step-card,
.grid > .kpi-card,
.grid > .platform-card,
.grid > .stat-tile {
  height: 100%;
}

/* When two card-options share a row, keep them equal height */
.grid > .card-option { height: 100%; }

/* ═══════════════════════════════════════════════════════════════════
   PLAN CARDS (Wizard step 1 — pricing-table style)
   Modern, commercial, hover-rich modality selector.
   ═══════════════════════════════════════════════════════════════════ */
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px 22px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
  overflow: hidden;
}
.plan-card::before {
  /* Subtle top color bar that animates on hover/select */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-700);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.plan-card:hover {
  border-color: var(--brand-300);
  box-shadow: 0 10px 28px -12px rgba(8,58,116,0.18), 0 2px 4px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}
.plan-card:hover::before { transform: scaleX(1); }

/* Selected state */
.plan-card.is-selected {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 4px rgba(8,58,116,0.12), 0 12px 32px -14px rgba(8,58,116,0.22);
  background: linear-gradient(180deg, #F4F8FE 0%, #FFFFFF 60%);
}
.plan-card.is-selected::before { transform: scaleX(1); }

/* Premium variant (Rent) — green accent bar */
.plan-card--premium {
  border-color: var(--accent-300);
  background: linear-gradient(180deg, #F8FCEE 0%, #FFFFFF 70%);
}
.plan-card--premium::before { background: var(--accent-500); height: 5px; transform: scaleX(1); }
.plan-card--premium:hover {
  border-color: var(--accent-500);
  box-shadow: 0 12px 32px -12px rgba(153,204,51,0.35), 0 2px 4px rgba(0,0,0,0.04);
}
.plan-card--premium.is-selected {
  border-color: var(--accent-600);
  box-shadow: 0 0 0 4px rgba(153,204,51,0.18), 0 14px 36px -14px rgba(153,204,51,0.4);
  background: linear-gradient(180deg, #EEF8D6 0%, #FFFFFF 60%);
}
.plan-card--premium.is-selected::before { background: var(--accent-600); }

/* Most popular badge */
.plan-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--accent-500);
  color: var(--brand-900);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(153,204,51,0.4);
  z-index: 2;
}
.plan-card__badge i { font-size: 9px; }

/* Header block */
.plan-card__head {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.plan-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.plan-card__eyebrow i { font-size: 10px; }
.plan-card__eyebrow--premium {
  color: var(--accent-700);
  background: var(--accent-50);
}
.plan-card__name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
}
.plan-card__currency {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: 2px;
  color: var(--ink-soft);
}
.plan-card__amount {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-card--premium .plan-card__amount { color: var(--accent-700); }
.plan-card__period {
  font-size: 13px;
  color: var(--ink-muted);
  margin-left: 6px;
  font-weight: 500;
}
.plan-card__bill {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 500;
}
.plan-card__save {
  display: inline-flex;
  align-items: center;
  background: var(--accent-50);
  color: var(--accent-700);
  font-weight: 700;
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* Feature list */
.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.plan-card__features li i {
  font-size: 14px;
  color: var(--accent-600);
  margin-top: 1px;
  flex-shrink: 0;
}
.plan-card__features li strong {
  color: var(--ink);
  font-weight: 700;
}
.plan-card__features-muted {
  color: var(--ink-muted) !important;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 4px;
}
.plan-card__features-muted i {
  color: var(--ink-muted) !important;
}

/* CTA pseudo-button at the bottom */
.plan-card__cta {
  margin-top: 18px;
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1.5px solid var(--brand-100);
  transition: all .15s ease;
  letter-spacing: -0.005em;
}
.plan-card__cta--premium {
  background: var(--accent-50);
  color: var(--accent-700);
  border-color: var(--accent-200);
}
.plan-card:hover .plan-card__cta {
  background: var(--brand-700);
  color: #fff;
  border-color: var(--brand-700);
}
.plan-card--premium:hover .plan-card__cta {
  background: var(--accent-600);
  color: #fff;
  border-color: var(--accent-600);
}
.plan-card.is-selected .plan-card__cta {
  background: var(--brand-700);
  color: #fff;
  border-color: var(--brand-700);
}
.plan-card--premium.is-selected .plan-card__cta {
  background: var(--accent-600);
  color: #fff;
  border-color: var(--accent-600);
}

/* Selected checkmark in the corner (replaces the old radio dot) */
.plan-card.is-selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 16px;
  left: 16px;
  width: 28px;
  height: 28px;
  background: var(--brand-700);
  color: #fff;
  font-size: 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(8,58,116,0.3);
  z-index: 2;
}
.plan-card--premium.is-selected::after {
  background: var(--accent-600);
  box-shadow: 0 2px 8px rgba(153,204,51,0.45);
}
/* When premium has both badge (top-right) and check (top-left), no conflict */

/* Mobile tweaks */
@media (max-width: 640px) {
  .plan-card { padding: 20px 18px 18px; border-radius: 14px; }
  .plan-card__name { font-size: 24px; }
  .plan-card__amount { font-size: 42px; }
  .plan-card__currency { font-size: 18px; }
  .plan-card__features li { font-size: 13px; }
  .plan-card__cta { padding: 11px 14px; font-size: 13.5px; }
  .plan-card__badge { top: 12px; right: 12px; font-size: 9.5px; padding: 4px 9px; }
  .plan-card.is-selected::after { top: 12px; left: 12px; width: 24px; height: 24px; font-size: 11px; }
}

/* ============================================================
   Lead form — Other platforms section
   ============================================================ */
.lead-platform-chip {
  position: relative;
  cursor: pointer;
  display: block;
}
.lead-platform-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lead-platform-chip__box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--line, #E5E7EB);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft, #3A4250);
  transition: all .15s ease;
  user-select: none;
  min-height: 44px;
}
.lead-platform-chip__box i {
  font-size: 16px;
  color: var(--brand-700, #083A74);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.lead-platform-chip:hover .lead-platform-chip__box {
  border-color: var(--brand-300, #8FACDB);
  background: var(--brand-50, #F2F6FC);
}
.lead-platform-chip input:checked + .lead-platform-chip__box {
  border-color: var(--brand-700, #083A74);
  background: var(--brand-50, #F2F6FC);
  color: var(--brand-700, #083A74);
  box-shadow: 0 0 0 3px rgba(8,58,116,0.08);
}
.lead-platform-chip input:focus-visible + .lead-platform-chip__box {
  outline: 2px solid var(--brand-500, #1F56A2);
  outline-offset: 2px;
}

/* ============================================================
   LIVE DASHBOARD (hero mockup) + LIVE TICKER (marquee)
   + Hero price-band (under the hero, replaces in-card pricing)
   ============================================================ */

/* --- Live Dashboard card --- */
.live-dashboard {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 16px 16px 12px;
  position: relative;
  overflow: hidden;
}
/* Subtle moving sheen — adds the "live" feel */
.live-dashboard::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 35%, rgba(8,58,116,0.04) 50%, transparent 65%);
  animation: liveDashSheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes liveDashSheen {
  0%, 100% { transform: translateX(0); opacity: 0; }
  20%      { opacity: 1; }
  80%      { opacity: 1; }
  100%     { transform: translateX(240%); opacity: 0; }
}

.live-dash__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F3F6;
  margin-bottom: 14px;
}
.live-dash__brand { display: flex; align-items: center; gap: 8px; }
.live-dash__logo {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1877F2;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
}
.live-dash__live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  background: #FEE2E2;
  color: #B91C1C;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.live-dash__dot {
  width: 7px; height: 7px;
  background: #DC2626;
  border-radius: 50%;
  display: inline-block;
  animation: liveDashPulseDot 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
}
@keyframes liveDashPulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* --- KPI tiles --- */
.live-dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.live-kpi {
  background: linear-gradient(180deg, #F7F8FA 0%, #fff 100%);
  border: 1px solid #EDEFF3;
  border-radius: 12px;
  padding: 10px 10px 9px;
}
.live-kpi__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B7280;
  font-weight: 700;
  margin-bottom: 4px;
}
.live-kpi__value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0E1116;
  line-height: 1.1;
}
.live-kpi__currency { font-size: 14px; color: #6B7280; margin-right: 1px; }
.live-kpi__delta {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 6px;
}
.live-kpi__delta--up   { color: #15803D; background: #DCFCE7; }
.live-kpi__delta--down { color: #B91C1C; background: #FEE2E2; }

/* counter "bump" feedback when a tick fires */
.js-counter--bump {
  animation: counterBump 0.6s ease;
}
@keyframes counterBump {
  0%   { transform: translateY(0);  color: inherit; }
  30%  { transform: translateY(-2px); color: #15803D; }
  100% { transform: translateY(0);  color: inherit; }
}

/* --- Sparkline chart --- */
.live-dash__chart {
  background: #fff;
  border: 1px solid #EDEFF3;
  border-radius: 12px;
  padding: 10px 12px 4px;
  margin-bottom: 12px;
}
.live-dash__chart-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.live-dash__chart-label {
  font-size: 10.5px; font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.live-dash__chart-trend {
  font-size: 11px; font-weight: 800; color: #15803D;
  background: #DCFCE7;
  padding: 1px 7px;
  border-radius: 999px;
}
.live-dash__svg { width: 100%; height: 70px; display: block; }
.live-dash__spark-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: sparkLineDraw 2.4s ease-out 0.2s forwards;
}
.live-dash__spark-fill {
  opacity: 0;
  animation: sparkFillIn 1.6s ease-out 1.6s forwards;
}
@keyframes sparkLineDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes sparkFillIn {
  to { opacity: 1; }
}
.live-dash__spark-pulse {
  transform-origin: 320px 10px;
  animation: sparkPulse 1.6s ease-in-out 2.4s infinite;
}
@keyframes sparkPulse {
  0%, 100% { transform: scale(1);   opacity: 0.9; }
  50%      { transform: scale(2.4); opacity: 0;   }
}

/* --- Activity feed --- */
.live-dash__activity {
  background: #FAFBFD;
  border: 1px solid #EDEFF3;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.live-dash__activity-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.live-dash__activity-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.live-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 8px;
  background: #fff;
  border: 1px solid #EDEFF3;
  border-radius: 8px;
  transition: all 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}
.live-activity-item--new {
  animation: activityEnter 0.5s ease;
}
.live-activity-item--leaving {
  opacity: 0;
  transform: translateY(8px);
}
@keyframes activityEnter {
  from { opacity: 0; transform: translateY(-12px); background: #F0F9FF; }
  to   { opacity: 1; transform: translateY(0);     background: #fff; }
}
.live-activity-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.live-activity-item__dot--green {
  background: #99CC33;
  box-shadow: 0 0 0 3px rgba(153, 204, 51, 0.18);
}
.live-activity-item__dot--blue {
  background: #1F56A2;
  box-shadow: 0 0 0 3px rgba(31, 86, 162, 0.18);
}
.live-activity-item__title {
  font-size: 12px;
  font-weight: 700;
  color: #0E1116;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-activity-item__title i {
  font-size: 11px;
  color: #6B7280;
  margin-right: 3px;
}
.live-activity-item__meta {
  font-size: 11px;
  color: #6B7280;
  margin-top: 1px;
}
.live-activity-item__time {
  font-size: 10px;
  color: #9CA3AF;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}

/* --- Disclaimer --- */
.live-dash__disclaimer {
  font-size: 10px;
  color: #9CA3AF;
  text-align: center;
  padding: 6px 4px 2px;
  font-style: italic;
}
.live-dash__disclaimer i { margin-right: 3px; }

/* --- Hero price-band under the hero (visible from the fold) --- */
.hero-price-band {
  background: #fff;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 4px 14px -8px rgba(8, 58, 116, 0.08);
}

/* --- Mobile tweaks for the live dashboard --- */
@media (max-width: 640px) {
  .live-dash__kpis { gap: 6px; }
  .live-kpi { padding: 8px 8px 7px; }
  .live-kpi__value { font-size: 17px; }
  .live-kpi__label { font-size: 9.5px; }
  .live-activity-item__meta { font-size: 10.5px; }
  .hero-price-band .text-3xl { font-size: 24px; }
}

/* ============================================================
   LIVE TICKER (marquee) — between How-it-works and Buy-vs-Rent
   ============================================================ */
.ticker-strip {
  position: relative;
  background: linear-gradient(90deg, #083A74 0%, #062D5A 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.ticker-strip__viewport {
  overflow: hidden;
  position: relative;
}
.ticker-strip__viewport::before,
.ticker-strip__viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-strip__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #083A74 0%, transparent 100%);
}
.ticker-strip__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #062D5A 0%, transparent 100%);
}
.ticker-strip__track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
}
.ticker-strip:hover .ticker-strip__track {
  animation-play-state: paused;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.88);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.ticker-item i {
  font-size: 11px;
  width: 14px;
  text-align: center;
}
.ticker-item strong {
  color: #fff;
  font-weight: 700;
}
.ticker-item--ecom i { color: #B8D95B; }
.ticker-item--lead i { color: #FFA371; }

.ticker-strip__label {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(8, 58, 116, 0.85);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.ticker-strip__live-dot {
  width: 6px; height: 6px;
  background: #99CC33;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(153, 204, 51, 0.7);
  animation: tickerLiveDot 1.6s ease-in-out infinite;
}
@keyframes tickerLiveDot {
  0%   { box-shadow: 0 0 0 0 rgba(153, 204, 51, 0.7); }
  70%  { box-shadow: 0 0 0 6px rgba(153, 204, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(153, 204, 51, 0); }
}

@media (max-width: 640px) {
  .ticker-strip__label {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 6px 0;
    border-radius: 0;
    background: rgba(0,0,0,0.18);
    border: none;
  }
  .ticker-item { font-size: 12px; padding: 4px 11px; }
  .ticker-strip__track { gap: 22px; padding: 10px 0; animation-duration: 50s; }
}

/* Honor accessibility — disable motion */
@media (prefers-reduced-motion: reduce) {
  .live-dashboard::before,
  .live-dash__spark-pulse,
  .live-dash__dot,
  .ticker-strip__live-dot {
    animation: none !important;
  }
  .ticker-strip__track { animation: none !important; transform: translateX(0); }
  .live-dash__spark-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .live-dash__spark-fill { opacity: 1 !important; animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   SITE HEADER — refined spacing, balanced logo & nav (B+C polish)
   ═══════════════════════════════════════════════════════════════════ */
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}
.site-header__brand .logo-wordmark {
  font-size: 26px;
  letter-spacing: -0.015em;
  flex-shrink: 0;
}

.site-header__tagline {
  display: none;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.site-header__tagline i {
  color: var(--brand-700);
  font-size: 12px;
}
@media (min-width: 1024px) {
  .site-header__tagline { display: inline-flex; }
}

.site-header__nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.site-header__nav a {
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  color: inherit;
  transition: color 160ms ease;
  white-space: nowrap;
}
.site-header__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-700);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}
.site-header__nav a:hover {
  color: var(--brand-700);
}
.site-header__nav a:hover::after {
  transform: scaleX(1);
}
@media (min-width: 900px) {
  .site-header__nav { display: flex; }
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
}
.site-header__agency {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}
.site-header__agency i {
  font-size: 10px;
  opacity: 0.7;
}
.site-header__agency:hover {
  color: var(--brand-700);
}
@media (min-width: 1100px) {
  .site-header__agency { display: inline-flex; }
}

/* Tablet / narrow desktop: drop gap so 5 nav items still fit */
@media (max-width: 1100px) and (min-width: 900px) {
  .site-header__inner { gap: 20px; }
  .site-header__nav   { gap: 20px; }
}

/* Mobile: simpler row, hide nav & agency, keep brand + CTA */
@media (max-width: 899px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
    min-height: 64px;
  }
  .site-header__brand .logo-wordmark { font-size: 22px; }
  .site-header__nav,
  .site-header__agency { display: none; }
}
