:root {
  --bg: #f7f9fd;
  --ink: #0b1220;
  --text: #263247;
  --muted: #607089;
  --line: #d8e1ef;
  --blue: #0866ff;
  --indigo: #3730a3;
  --blue-soft: #eaf2ff;
  --card: #ffffff;
  --theme: #0866ff;
  --theme-dark: #123d8f;
  --theme-soft: #eaf2ff;
  --theme-line: #bdd4ff;
  --page-wash: rgba(8, 102, 255, .12);
  --shadow: 0 22px 60px rgba(15, 23, 42, .12);
  --soft-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, var(--page-wash), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.realtor-page {
  --theme: #c2410c;
  --theme-dark: #7c2d12;
  --theme-soft: #fff7ed;
  --theme-line: #fed7aa;
  --page-wash: rgba(251, 146, 60, .22);
  --blue-soft: #fff7ed;
}
body.finance-page {
  --theme: #1d4ed8;
  --theme-dark: #1e3a8a;
  --theme-soft: #eff6ff;
  --theme-line: #bfdbfe;
  --page-wash: rgba(59, 130, 246, .18);
  --blue-soft: #eff6ff;
}
body.event-page {
  --theme: #7c3aed;
  --theme-dark: #4c1d95;
  --theme-soft: #f5f3ff;
  --theme-line: #ddd6fe;
  --page-wash: rgba(124, 58, 237, .18);
  --blue-soft: #f5f3ff;
}
body.home-service-page {
  --theme: #047857;
  --theme-dark: #064e3b;
  --theme-soft: #ecfdf5;
  --theme-line: #bbf7d0;
  --page-wash: rgba(16, 185, 129, .17);
  --blue-soft: #ecfdf5;
}
body.investor-page {
  --theme: #be185d;
  --theme-dark: #831843;
  --theme-soft: #fdf2f8;
  --theme-line: #fbcfe8;
  --page-wash: rgba(236, 72, 153, .14);
  --blue-soft: #fdf2f8;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1060px, calc(100% - 40px)); margin: 0 auto; }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 950; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--theme), var(--indigo));
}
.back { color: var(--theme); font-weight: 850; }
.hero { padding: 64px 0 38px; display: grid; grid-template-columns: 1fr .82fr; gap: 38px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; min-height: 32px; border-radius: 999px;
  background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-line);
  padding: 0 12px; font-size: 13px; font-weight: 900;
}
h1 { margin: 18px 0 16px; font-size: clamp(42px, 6vw, 72px); line-height: .96; letter-spacing: 0; }
.lead { color: var(--text); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; max-width: 760px; margin: 0; }
.cta {
  margin-top: 26px; min-height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; background: linear-gradient(135deg, var(--theme), var(--indigo)); color: #fff; font-weight: 900;
  box-shadow: 0 18px 34px rgba(8, 102, 255, .22);
}
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; max-width: 700px; }
.hero-stat {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 14px;
  box-shadow: var(--soft-shadow);
}
.hero-stat b { display: block; color: var(--theme); font-size: 24px; line-height: 1; }
.hero-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.25; font-weight: 850; }
.phone {
  background: #0b1220; border-radius: 34px; padding: 10px; box-shadow: var(--shadow); max-width: 330px; margin-left: auto;
}
.screen { min-height: 520px; border-radius: 26px; background: #eef2f7; padding: 14px; }
.screen-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 900; }
.avatar { width: 32px; height: 32px; border-radius: 999px; background: #fff; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; }
.voice { min-height: 46px; border-radius: 15px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 900; margin-bottom: 10px; }
.screen-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 13px; margin-bottom: 10px; box-shadow: 0 8px 20px rgba(15, 23, 42, .07); }
.screen-card.warm { background: #fff7e6; border-color: #f4d596; }
.screen-card h3 { margin: 0 0 6px; font-size: 15px; }
.screen-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; font-weight: 650; }
.realtor-hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11,18,32,.05), rgba(11,18,32,.68)),
    url("realtor-sold-home.png") center 58%/cover;
  box-shadow: var(--shadow);
}
.insurance-hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11,18,32,.03), rgba(11,18,32,.55)),
    url("insurance-family-protection.png") center/cover;
  box-shadow: var(--shadow);
}
.home-services-hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11,18,32,.02), rgba(11,18,32,.58)),
    url("home-services-repair.png") center/cover;
  box-shadow: var(--shadow);
}
.event-hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11,18,32,.02), rgba(11,18,32,.56)),
    url("event-pros-booth.png") center/cover;
  box-shadow: var(--shadow);
}
.investor-hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--theme-line);
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.86), transparent 0 8%, transparent 18%),
    linear-gradient(135deg, #f5f3ff 0%, #fff 42%, #e0f2fe 100%);
  box-shadow: var(--shadow);
}
.investor-hero-card::before {
  content: "";
  position: absolute;
  inset: 34px 34px auto auto;
  width: 210px;
  height: 150px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, .08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(15, 23, 42, .08) 1px, transparent 1px) 0 0 / 42px 42px,
    rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.8);
}
.deal-card {
  position: absolute;
  left: 28px;
  top: 42px;
  width: 250px;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--theme-line);
  padding: 18px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .14);
}
.deal-card h3 { margin: 0 0 8px; font-size: 22px; }
.deal-card p { margin: 0; color: var(--muted); line-height: 1.35; font-size: 14px; }
.deal-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.deal-metrics span {
  min-height: 54px;
  border-radius: 16px;
  background: var(--theme-soft);
  border: 1px solid var(--theme-line);
  color: var(--theme-dark);
  display: grid;
  align-content: center;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}
.deal-metrics b { display: block; color: var(--theme); font-size: 18px; line-height: 1; margin-bottom: 3px; }
.investor-badge {
  position: absolute;
  right: 28px;
  top: 224px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b1220;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .14);
}
.investor-badge span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--theme);
  color: #fff;
}
.event-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b1220;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .16);
}
.event-badge span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--theme);
  color: #fff;
}
.service-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b1220;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .16);
}
.service-badge span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--theme);
  color: #fff;
}
.protection-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b1220;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .16);
}
.protection-badge span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--theme);
  color: #fff;
}
.sold-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  min-height: 54px;
  border-radius: 999px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b1220;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .18);
}
.sold-badge span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
}
.yard-sold-sign {
  position: absolute;
  right: 28px;
  top: 96px;
  width: 138px;
  height: 98px;
  border-radius: 10px;
  background: #c91f2f;
  color: #fff;
  border: 7px solid #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .22);
  transform: rotate(3deg);
}
.yard-sold-sign::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 142px;
  background: #fff;
  left: 18px;
  top: 86px;
  border-radius: 999px;
  box-shadow: 82px 0 0 #fff;
}
.hero-memory-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  padding: 15px 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}
.hero-memory-card h3 { margin: 0 0 8px; font-size: 22px; }
.hero-memory-card p { margin: 0; color: var(--muted); line-height: 1.35; font-size: 14px; }
.hero-memory-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-memory-meta span { display: inline-flex; min-height: 28px; align-items: center; border-radius: 999px; padding: 0 10px; background: var(--theme-soft); border: 1px solid var(--theme-line); color: var(--theme-dark); font-size: 12px; font-weight: 900; }
.voice-flow {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.voice-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--soft-shadow);
}
.voice-step b { display: block; font-size: 15px; }
.voice-step span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 5px; font-weight: 650; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px 0 72px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--soft-shadow); }
.card h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.12; }
.card p, .card li { color: var(--muted); font-size: 15px; line-height: 1.5; }
.card ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.wide { grid-column: span 2; }
.section { padding: 34px 0; }
.section-head { max-width: 760px; margin-bottom: 18px; }
.eyebrow { color: var(--theme); font-size: 13px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.section h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.section-head p { color: var(--text); font-size: 18px; line-height: 1.5; margin: 12px 0 0; }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; }
.story-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px; box-shadow: var(--soft-shadow); }
.story-card.warm { background: #fff7e6; border-color: #f4d596; }
.story-card.blue { background: #eef6ff; border-color: #bdd4ff; }
body.realtor-page .story-card.blue { background: #fff7ed; border-color: #fed7aa; }
body.finance-page .story-card.blue { background: #eff6ff; border-color: #bfdbfe; }
body.event-page .story-card.blue { background: #f5f3ff; border-color: #ddd6fe; }
body.home-service-page .story-card.blue { background: #ecfdf5; border-color: #bbf7d0; }
.story-card h3 { margin: 0 0 12px; font-size: 22px; }
.story-card p { color: var(--muted); line-height: 1.55; margin: 0 0 12px; }
.mini-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mini-list li { color: var(--text); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; line-height: 1.42; }
.source { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 999px; background: #dbeafe; color: #0b57d0; font-size: 12px; font-weight: 950; margin-left: 4px; }
.timeline { display: grid; gap: 12px; }
.timeline-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.timeline-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 950; }
.timeline-item b { display: block; }
.timeline-item span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 3px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; border-radius: 999px; padding: 0 10px; background: #edf4ff; border: 1px solid #bdd4ff; color: #123d8f; font-size: 13px; font-weight: 850; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote-card { padding: 18px; border-radius: 20px; background: #f8fbff; border: 1px solid var(--line); }
.quote-card b { display: block; margin-bottom: 8px; }
.quote-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--soft-shadow);
}
.stat-card b { display: block; font-size: 30px; line-height: 1; color: var(--theme); }
.stat-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 850; }
.promise-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.promise-row + .promise-row { margin-top: 10px; }
.promise-row strong { display: block; }
.promise-row span { color: var(--muted); font-size: 14px; }
.due-chip { color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 999px; min-height: 30px; display: inline-flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.referral-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.referral-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}
.referral-card h3 { margin: 0 0 8px; font-size: 20px; }
.referral-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.referral-metric { display: block; margin-bottom: 10px; color: var(--theme); font-size: 34px; line-height: 1; font-weight: 950; }
.referral-list { margin-top: 14px; display: grid; gap: 10px; }
.referral-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: #f8fbff; border: 1px solid var(--line); }
.referral-avatar { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--theme-soft); color: var(--theme); font-weight: 950; }
.referral-row b { display: block; font-size: 14px; }
.referral-row span { color: var(--muted); font-size: 12px; }
.referral-status { color: var(--theme-dark); background: var(--theme-soft); border: 1px solid var(--theme-line); border-radius: 999px; min-height: 28px; display: inline-flex; align-items: center; padding: 0 9px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.qr-demo { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; }
.big-qr {
  width: 172px;
  height: 172px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--theme-line);
  box-shadow: var(--soft-shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.big-qr i { display: block; border-radius: 5px; background: #0b1220; min-height: 18px; }
.big-qr i:nth-child(3n) { background: var(--theme); }
.big-qr i:nth-child(4n) { opacity: .22; }
.action-list { display: grid; gap: 10px; margin-top: 12px; }
.action-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.action-row b { display: block; }
.action-row span { color: var(--muted); font-size: 13px; }
.action-button {
  min-height: 30px;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--theme-dark);
  border: 1px solid var(--theme-line);
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.final { background: #0b1220; color: #fff; border-radius: 30px; padding: 34px; margin-bottom: 44px; display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.final p { color: #d5dfed; margin: 8px 0 0; }
@media (max-width: 820px) {
  .hero, .grid, .detail-grid, .comparison, .qr-demo, .stats-grid, .promise-row, .hero-stats, .voice-flow, .referral-grid { grid-template-columns: 1fr; }
  .phone { margin: 0; max-width: none; }
  .wide { grid-column: auto; }
  .final { display: block; }
}
