:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --ink: #142033;
  --muted: #627086;
  --muted-2: #8995a8;
  --line: #dbe5f3;
  --blue: #1967e8;
  --blue-2: #0b4ec8;
  --green: #15865a;
  --amber: #b56a08;
  --red: #b34040;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(36, 63, 104, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(238, 244, 255, .9), rgba(245, 248, 255, 0) 420px),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

mark {
  color: var(--blue);
  background: rgba(25, 103, 232, .1);
  padding: 1px 5px;
  border-radius: 5px;
}

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

.section {
  padding: 82px 0;
}

.section.compact {
  padding: 58px 0;
}

.band {
  background: rgba(255, 255, 255, .64);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(219, 229, 243, .85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
}

.desktop-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.desktop-nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius);
}

.desktop-nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--blue);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
}

.hero {
  padding-top: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .76fr);
  gap: 38px;
  align-items: center;
}

.note-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--blue);
  background: rgba(25, 103, 232, .08);
  border: 1px solid rgba(25, 103, 232, .16);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.note-pill {
  max-width: 100%;
  padding: 8px 12px;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow {
  padding: 6px 10px;
  margin-bottom: 14px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin: 18px 0 20px;
  font-size: 76px;
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: 0;
}

h4 {
  margin-bottom: 6px;
  font-size: 15px;
}

.lead {
  max-width: 740px;
  color: var(--muted);
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-2);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.full {
  width: 100%;
}

.risk-note,
.section-head p,
.prose,
.case-main > p,
.case-text-grid p,
.case-result,
.steps p,
.check-grid p,
.fit-card li,
.faq p,
.messenger-note {
  color: var(--muted);
}

.hero-proof,
.case-detail,
.fit-card,
.lead-form,
.reviews article,
.dialog-tile,
.compact-case,
.metric-card,
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-proof {
  padding: 18px;
}

.author-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.author-mini strong,
.author-mini span {
  display: block;
}

.author-mini span {
  color: var(--muted);
  font-size: 13px;
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--blue);
  background: var(--surface-2);
  border: 1px dashed rgba(25, 103, 232, .34);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.dialog-collage {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.chat-card {
  width: 88%;
  margin-left: auto;
  padding: 14px;
  background: #eef6ff;
  border: 1px solid #cfe0fb;
  border-radius: 16px 16px 4px 16px;
}

.chat-card.small {
  width: 72%;
  margin-left: 0;
  background: #f7fafc;
  border-radius: 16px 16px 16px 4px;
}

.chat-card p {
  margin: 4px 0 0;
}

.chat-label,
.case-kicker,
.compact-case span,
.dialog-tile span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hero-stats div {
  padding: 14px;
  background: var(--surface-2);
  border-radius: var(--radius);
}

.hero-stats b {
  display: block;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: start;
}

.section-head.wide {
  max-width: 840px;
  margin-bottom: 28px;
}

.prose p:last-child,
.section-head p:last-child,
.case-result,
.messenger-note,
.faq p:last-child {
  margin-bottom: 0;
}

.funnel {
  display: grid;
  grid-template-columns: repeat(8, minmax(150px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.funnel-step {
  position: relative;
  min-height: 132px;
  padding: 18px 16px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
}

.funnel-step:nth-child(2n) {
  background: #2376ee;
}

.funnel-step b {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}

.funnel-step span {
  display: block;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.metric-card {
  padding: 18px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-card b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 24px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  background: #f8fbff;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter {
  min-height: 42px;
  padding: 0 16px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.filter.active,
.filter:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.featured-cases {
  display: grid;
  gap: 22px;
}

.case-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  padding: 22px;
}

.project-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 22px 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-card div {
  padding: 14px;
  background: #f8fbff;
}

.project-card dt {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.case-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.message-sample {
  margin: 20px 0;
  padding: 18px;
  color: #244368;
  background: #eef6ff;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
}

.mini-funnel,
.economy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mini-funnel span,
.economy span {
  padding: 9px 11px;
  background: var(--surface-2);
  border-radius: var(--radius);
  font-size: 14px;
}

.mini-funnel b {
  color: var(--blue);
}

.economy span {
  color: var(--green);
  background: rgba(21, 134, 90, .08);
}

.case-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.phone-shot,
.modal-phone {
  min-height: 448px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(238, 246, 255, .9)),
    #eef6ff;
  border: 9px solid #15223a;
  border-radius: 28px;
  cursor: zoom-in;
}

.phone-shot > span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.bubble {
  max-width: 88%;
  margin: 10px 0;
  padding: 11px 13px;
  font-size: 14px;
  border-radius: 16px;
}

.bubble.out {
  margin-left: auto;
  color: #fff;
  background: var(--blue);
  border-bottom-right-radius: 4px;
}

.bubble.in {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.compact-cases {
  display: grid;
  grid-template-columns: repeat(7, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 22px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.compact-case {
  padding: 18px;
  box-shadow: none;
}

.compact-case h3 {
  margin-top: 8px;
  font-size: 18px;
}

.compact-case p {
  color: var(--muted);
  font-size: 14px;
}

.compact-case b {
  color: var(--green);
}

[data-case].is-hidden {
  display: none;
}

.dialog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dialog-tile {
  min-height: 210px;
  padding: 18px;
  text-align: left;
  cursor: zoom-in;
}

.dialog-tile b,
.dialog-tile small {
  display: block;
}

.dialog-tile p {
  margin: 16px 0;
  font-size: 18px;
  line-height: 1.35;
}

.dialog-tile small {
  color: var(--green);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.steps article,
.check-grid div,
.interface-strip div {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps article b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
}

.steps h3 {
  font-size: 18px;
}

.interface-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.interface-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.interface-strip b {
  display: block;
  margin-top: 4px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-card {
  padding: 28px;
  box-shadow: none;
}

.fit-card.good {
  border-color: rgba(21, 134, 90, .24);
}

.fit-card.bad {
  border-color: rgba(179, 64, 64, .22);
}

.fit-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.fit-card li + li {
  margin-top: 10px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.reviews article {
  padding: 22px;
}

.reviews p {
  font-size: 18px;
}

.reviews span {
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  color: #fff;
  background: #13243d;
}

.cta-band .eyebrow {
  color: #9fc3ff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
}

.cta-band p,
.cta-band .messenger-note {
  color: rgba(255, 255, 255, .78);
}

.form-grid {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 36px;
  align-items: start;
}

.messenger-note {
  margin-top: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
  color: var(--ink);
}

.lead-form label,
.lead-form legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wide-label,
.messenger-choice,
.form-status {
  grid-column: 1 / -1;
}

.messenger-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.messenger-choice legend {
  width: 100%;
  margin-bottom: 6px;
}

.messenger-choice label,
.policy {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.messenger-choice input,
.policy input {
  width: auto;
  min-height: 0;
  margin: 0;
}

.policy {
  align-items: flex-start;
  font-weight: 600;
}

.policy a {
  color: var(--blue);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-status.is-error {
  color: #b42318;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.faq details + details {
  margin-top: 10px;
}

details {
  padding: 18px 20px;
  box-shadow: none;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

summary::marker {
  color: var(--blue);
}

details p {
  margin: 12px 0 0;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .9);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.sticky-cta .btn {
  width: 100%;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 25, 43, .62);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-phone {
  min-height: 330px;
  margin-top: 12px;
  cursor: default;
}

.modal-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-col,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-detail {
    grid-template-columns: 1fr;
  }

  .case-side {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }

  .dialog-gallery,
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .topbar {
    height: 58px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  h1 {
    font-size: 52px;
    line-height: 1.02;
  }

  h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .metric-grid,
  .project-card,
  .case-text-grid,
  .dialog-gallery,
  .steps,
  .interface-strip,
  .check-grid,
  .fit-grid,
  .reviews,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .case-side {
    grid-template-columns: 1fr;
  }

  .phone-shot {
    min-height: 360px;
  }

  .sticky-cta {
    display: block;
  }

  main {
    padding-bottom: 76px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .topbar {
    padding: 0 16px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-proof,
  .case-detail,
  .fit-card,
  .lead-form,
  .reviews article,
  .dialog-tile {
    padding: 16px;
  }

  .compact-cases {
    grid-template-columns: repeat(7, minmax(240px, 82vw));
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }
}

/* Compact ad-page overrides */
.section {
  padding: 56px 0;
}

.hero.section {
  padding-top: 46px;
}

.section-head.wide {
  max-width: 840px;
  margin-bottom: 24px;
}

.compact-summary {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.compact-summary article {
  padding: 18px;
}

.compact-chat {
  margin-top: 14px;
  padding: 16px;
  background: #eef6ff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.author-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.author-panel {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.author-panel p {
  margin: 0;
  color: var(--muted);
}

.author-card b,
.author-card span {
  display: block;
}

.author-card span {
  color: var(--muted);
  font-size: 14px;
}

.hero-accent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.accent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  color: #244368;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.accent-pill::before,
.stat-icon::before,
.summary-card::before,
.funnel-strip div::before,
.niche-insights article::before,
.case-callout::before,
.chat-tile > b::before,
.compact-steps article::before,
.check-grid div::before,
.mini-icon::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: var(--blue);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-target {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E");
}

.icon-chat {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-8 8H8l-5 3 1.5-5A8 8 0 1 1 21 12Z'/%3E%3Cpath d='M8 11h8M8 15h5'/%3E%3C/svg%3E");
}

.icon-handoff {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='m13 8 4 4-4 4'/%3E%3Cpath d='M3 6h7v12H3zM14 4h7v16h-7'/%3E%3C/svg%3E");
}

.icon-stack {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5'/%3E%3Cpath d='m3 16 9 5 9-5'/%3E%3C/svg%3E");
}

.icon-reply {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 17-5-5 5-5'/%3E%3Cpath d='M20 18v-2a4 4 0 0 0-4-4H4'/%3E%3C/svg%3E");
}

.icon-spark {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 10-13h-7l1-7Z'/%3E%3C/svg%3E");
}

.icon-flag {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V4'/%3E%3Cpath d='M5 4h12l-2 5 2 5H5'/%3E%3C/svg%3E");
}

.icon-send {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4 20-7Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
}

.icon-muted {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
}

.icon-chart {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='m7 15 4-4 3 3 5-7'/%3E%3C/svg%3E");
}

.icon-calendar {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2v4M17 2v4M4 9h16'/%3E%3Crect x='4' y='5' width='16' height='17' rx='2'/%3E%3Cpath d='m9 15 2 2 4-5'/%3E%3C/svg%3E");
}

.icon-profile {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

.icon-script {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l3 3v15H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E");
}

.author-photo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--blue);
  background: #e7f0ff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.summary-grid {
  display: grid;
}

.summary-grid article {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.summary-card {
  padding-top: 52px !important;
}

.summary-card::before,
.stat-icon::before {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 24px;
  height: 24px;
  padding: 8px;
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 999px rgba(25, 103, 232, .09);
}

.stat-icon,
.summary-card {
  position: relative;
}

.hero-stats .stat-icon {
  padding-top: 54px;
  overflow: hidden;
}

.summary-grid b,
.summary-grid span {
  display: block;
}

.summary-grid b {
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.summary-grid span {
  margin-top: 8px;
  font-weight: 900;
}

.summary-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.conversion-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr) minmax(260px, .95fr);
  gap: 12px;
  margin-top: 16px;
}

.conversion-card,
.conversion-note,
.niche-insights article,
.case-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.conversion-card {
  padding: 16px;
}

.conversion-card.hot {
  border-color: rgba(21, 134, 90, .28);
  background: linear-gradient(180deg, rgba(21, 134, 90, .08), #fff);
}

.conversion-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.conversion-card b {
  display: block;
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.bar {
  height: 9px;
  overflow: hidden;
  background: #e6edf8;
  border-radius: 999px;
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #35a76e);
  border-radius: inherit;
}

.conversion-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  color: #244368;
  background: #eef6ff;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid #cfe0fb;
  border-radius: var(--radius);
}

.mini-icon::before {
  width: 18px;
  height: 18px;
}

.conversion-note p {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
}

.funnel-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.funnel-strip div {
  position: relative;
  padding: 14px;
  background: #f8fbff;
}

.funnel-strip div::before {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  background: var(--blue);
}

.funnel-strip b,
.funnel-strip span {
  display: block;
}

.funnel-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.niche-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.niche-insights article {
  position: relative;
  min-height: 150px;
  padding: 18px 18px 18px 58px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.niche-insights article::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 24px;
  height: 24px;
  background: var(--blue);
}

.niche-insights span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.niche-insights b {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.niche-insights p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.case-cards-compact {
  gap: 16px;
}

.case-compact-card {
  grid-template-columns: minmax(0, 1.1fr) 340px;
  gap: 18px;
  padding: 18px;
}

.case-copy h3 {
  margin-bottom: 14px;
}

.case-callout {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
  padding: 12px;
  background: #f8fbff;
}

.case-callout::before {
  width: 20px;
  height: 20px;
  padding: 5px;
  background: var(--green);
}

.case-callout b,
.case-callout span {
  display: block;
}

.case-callout b {
  font-size: 13px;
  text-transform: uppercase;
}

.case-callout span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.case-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-result {
  margin-bottom: 0;
  color: var(--muted);
}

.phone-shot {
  min-height: 0;
  padding: 14px;
  border-width: 7px;
  border-radius: 24px;
}

.modal-phone {
  min-height: 320px;
}

.bubble {
  margin: 7px 0;
  padding: 9px 11px;
  font-size: 13.5px;
  line-height: 1.35;
}

.chat-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.chat-tile {
  min-height: 0;
  padding: 16px;
  background: #f8fbff;
}

.chat-tile > b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.chat-tile > b::before {
  width: 19px;
  height: 19px;
  background: var(--blue);
}

.chat-tile p {
  font-size: 14px;
}

.compact-steps article {
  position: relative;
  padding: 16px;
}

.compact-steps article::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  background: rgba(25, 103, 232, .46);
}

.compact-steps h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.compact-steps p {
  margin: 0;
  font-size: 14px;
}

.check-grid div {
  position: relative;
  padding-left: 58px;
}

.check-grid div::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 22px;
  height: 22px;
  padding: 6px;
  background: var(--blue);
}

.cta-grid {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 28px;
  align-items: start;
}

.lead-form fieldset {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.lead-form fieldset legend {
  width: 100%;
}

.lead-form fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-form fieldset input {
  width: auto;
  min-height: 0;
  margin: 0;
}

.lead-form .btn,
.consent-list,
.policy-note {
  grid-column: 1 / -1;
}

.full-lead-form {
  align-self: start;
}

.consent-list {
  display: grid;
  gap: 10px;
}

.lead-form .consent-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.lead-form .consent-option:has(input:required) {
  border-left: 3px solid var(--blue);
}

.lead-form .consent-option input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.lead-form .consent-option a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-note {
  margin: 0;
  font-size: 13px;
}

.footer {
  padding: 30px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--blue);
}

@media (max-width: 920px) {
  .compact-summary,
  .conversion-map,
  .niche-insights,
  .chat-gallery,
  .compact-steps,
  .funnel-strip {
    grid-template-columns: 1fr 1fr;
  }

  .conversion-note {
    grid-column: 1 / -1;
  }

  .case-compact-card {
    grid-template-columns: 1fr;
  }

  .cta-grid,
  .author-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 38px 0;
  }

  .hero.section {
    padding-top: 30px;
  }

  .compact-summary,
  .conversion-map,
  .niche-insights,
  .chat-gallery,
  .compact-steps,
  .funnel-strip {
    grid-template-columns: 1fr;
  }

  .hero-accent-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .niche-insights article {
    min-height: 0;
  }

  .phone-shot {
    border-width: 6px;
  }

  .footer-grid {
    display: grid;
  }
}

.hero-copy h1 {
  max-width: 720px;
  font-size: 58px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .note-pill,
  .eyebrow,
  .lead,
  .risk-note,
  .author-card span,
  .bubble {
    overflow-wrap: anywhere;
  }

  .container,
  .hero-grid,
  .hero-copy,
  .hero-proof,
  .case-compact-card,
  .case-copy,
  .phone-shot {
    min-width: 0;
  }

  .note-pill,
  .eyebrow {
    display: flex;
    width: auto;
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: min(100%, 340px);
    font-size: 34px;
  }

  .hero-copy,
  .hero-copy .lead,
  .risk-note,
  .hero-actions {
    max-width: min(100%, 340px);
  }

  .hero-proof {
    min-width: 0;
  }

  .hero-proof,
  .compact-chat,
  .dialog-collage {
    width: 100%;
    max-width: min(100%, 340px);
    overflow: hidden;
  }

  .hero-stats,
  .hero-stats div,
  .author-card {
    min-width: 0;
  }

  .compact-chat .bubble,
  .dialog-collage .bubble {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Alignment pass for infographic additions */
.hero-stats,
.compact-summary,
.conversion-map,
.niche-insights,
.featured-cases,
.dialog-gallery,
.compact-steps,
.check-grid,
.reviews,
.fit-grid {
  align-items: stretch;
}

.hero-stats .stat-icon,
.summary-card,
.conversion-card,
.conversion-note,
.niche-insights article,
.compact-case,
.chat-tile,
.compact-steps article,
.check-grid div {
  min-width: 0;
}

.hero-stats .stat-icon,
.summary-card,
.conversion-card,
.niche-insights article,
.compact-case,
.chat-tile,
.compact-steps article,
.check-grid div {
  display: flex;
  flex-direction: column;
}

.hero-stats .stat-icon {
  min-height: 132px;
  padding: 56px 14px 14px;
}

.summary-card {
  min-height: 174px;
  padding: 56px 18px 18px !important;
}

.summary-card span,
.conversion-label,
.niche-insights span,
.case-label,
.compact-case span {
  min-height: 0;
  overflow-wrap: anywhere;
}

.summary-card p,
.niche-insights p,
.compact-case p,
.compact-steps p,
.check-grid p {
  overflow-wrap: anywhere;
}

.conversion-map {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .95fr);
}

.conversion-card {
  min-height: 128px;
}

.conversion-card b {
  margin-top: auto;
}

.conversion-note {
  min-height: 128px;
}

.funnel-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.funnel-strip div {
  min-width: 0;
  min-height: 112px;
}

.funnel-strip b,
.funnel-strip span {
  overflow-wrap: anywhere;
}

.niche-insights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.niche-insights article {
  min-height: 154px;
}

.case-compact-card {
  align-items: start;
}

.case-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.case-copy > p:last-child {
  margin-top: 0;
}

.case-callout {
  grid-template-areas:
    "icon title"
    "icon text";
  grid-template-columns: 30px minmax(0, 1fr);
  grid-auto-rows: auto;
  align-content: start;
  align-items: start;
  height: auto;
  min-height: 0;
}

.case-callout::before {
  grid-area: icon;
  margin-top: 2px;
}

.case-callout b {
  grid-area: title;
}

.case-callout span,
.mini-funnel span {
  overflow-wrap: anywhere;
}

.case-callout span {
  grid-area: text;
}

.phone-shot {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 292px;
}

.compact-cases {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  overflow: visible;
  padding-bottom: 0;
}

.compact-case {
  min-height: 174px;
}

.compact-case b {
  margin-top: auto;
}

.chat-tile {
  gap: 10px;
}

.chat-tile p {
  margin: 0;
}

.chat-tile small {
  margin-top: auto;
}

.compact-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.compact-steps article {
  min-height: 174px;
  padding-right: 48px;
}

.compact-steps article b {
  flex: 0 0 auto;
}

.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-grid div {
  min-height: 150px;
}

@media (max-width: 1080px) {
  .conversion-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-note {
    grid-column: 1 / -1;
  }

  .compact-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .compact-summary,
  .niche-insights,
  .chat-gallery,
  .funnel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-copy,
  .hero-copy .lead,
  .risk-note,
  .hero-actions,
  .hero-proof,
  .compact-chat,
  .dialog-collage {
    max-width: none;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-stats,
  .compact-summary,
  .conversion-map,
  .niche-insights,
  .chat-gallery,
  .compact-steps,
  .funnel-strip,
  .compact-cases,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .summary-card,
  .conversion-card,
  .conversion-note,
  .niche-insights article,
  .compact-case,
  .compact-steps article,
  .check-grid div {
    min-height: 0;
  }

  .compact-steps article {
    padding-right: 56px;
  }

  .case-callout {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .phone-shot {
    min-height: 280px;
  }
}
