.seo-hero {
  position: relative;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 78px;
  background: linear-gradient(145deg, #ffffff 8%, #f7f9fb 48%, #edf2f6 100%);
}
.seo-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -260px;
  border: 1px solid rgba(48, 79, 105, .12);
  border-radius: 50%;
}
.seo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .7fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}
.seo-hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
}
.seo-summary-panel {
  padding: 34px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-md);
}
.seo-summary-panel h2 {
  margin-bottom: 24px;
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
}
.seo-summary-panel ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-summary-panel li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}
.seo-summary-panel li span,
.seo-step-card span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-deep);
  background: #dfe8ef;
  font-size: .72rem;
  font-weight: 700;
}
.seo-summary-panel p,
.seo-step-card p,
.seo-copy-block p,
.seo-faq-item p {
  color: var(--muted);
}
.seo-content {
  padding: 78px 0;
  background: var(--white);
}
.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
  align-items: start;
}
.seo-main-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
}
.seo-copy-block {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.seo-copy-block:last-child {
  border-bottom: 0;
}
.seo-copy-block h2 {
  margin-bottom: 13px;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}
.why-ashbridge-page .seo-copy-block h2.why-problem-heading { font-size:clamp(2.35rem,4.2vw,4.2rem); }
.seo-copy-block p {
  max-width: 780px;
  margin-bottom: 13px;
  font-size: 1rem;
  line-height: 1.75;
}
.seo-steps {
  background: var(--cream);
}
.seo-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.seo-step-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(51,72,93,.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(37,63,82,.05);
}
.seo-step-card h3 {
  margin: 30px 0 10px;
  font-size: 1.22rem;
}
.seo-faq {
  padding: 78px 0;
  background: var(--white);
}
.seo-narrow {
  max-width: 880px;
  margin-inline: auto;
}
.seo-faq-list {
  display: grid;
  gap: 14px;
}
.seo-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf9;
}
.seo-faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--ink-deep);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}
.seo-faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 1rem;
  line-height: 1.7;
}
@media (max-width: 980px) {
  .seo-hero-grid,
  .seo-content-grid,
  .seo-step-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .seo-hero {
    padding-top: 74px;
  }
  .seo-hero h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
  .seo-summary-panel,
  .seo-step-card {
    padding: 24px;
  }
  /* SEO-hero microproof labels are longer than the homepage's, so let them
     wrap instead of inheriting the homepage's nowrap single-row treatment
     (which otherwise forces the hero grid track wider than the viewport). */
  .seo-hero .microproof {
    flex-wrap: wrap !important;
    justify-content: flex-start;
    gap: 10px 18px;
  }
  .seo-hero .microproof li {
    white-space: normal;
    font-size: .78rem;
  }
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0 0; background: transparent; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .8rem; }
.breadcrumb-list a { color: var(--muted); font-weight: 600; }
.breadcrumb-list a:hover { color: var(--green-deep); }
.breadcrumb-list li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(51,72,93,.28); }
.breadcrumb-list li[aria-current] { color: var(--ink-deep); font-weight: 700; }

/* Keep the SEO/CRO family on the homepage's centered rhythm. */
.seo-content,
.seo-faq,
.section-pad { margin-bottom: 0; }
.seo-main-copy { gap: 42px; }
.seo-copy-block { padding-bottom: 34px; }
.mid-cta { margin: 18px auto 22px; }
.final-cta { margin-top: 24px; }
.stat-band { margin: 0; }

/* Owner-review system: one centered reading column and deliberate section rhythm. */
.seo-main-copy > .seo-faq { padding: 18px 0 0; }
.seo-main-copy > .section-head { display: block; }
.seo-main-copy > .section-head > p { max-width: 780px; margin-top: 14px; }
.seo-main-copy > .stat-band { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.referral-terms { margin-top: 18px; padding-top: 28px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.referral-terms h2 { font-size: 1rem; letter-spacing: .02em; }

/* Full-width backgrounds are allowed; their content still follows the
   homepage container. These direct-child fallbacks also protect editorial
   and comparison sections if a wrapper is accidentally omitted. */
main > .seo-hero > .seo-hero-copy,
main > .hub-group,
main > .section-pad > .section-head,
main > .section-pad > .section-head-centred,
main > .section-pad > .price-callout-grid,
main > .section-pad > .compare-table-wrap,
main > .section-pad > .industry-grid,
main > .section-pad > .seo-content,
main > .section-pad > p,
main > .seo-steps > .section-head-centred,
main > .seo-steps > .timeline {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
main > .seo-faq.seo-narrow { width: min(calc(100% - 40px), 880px); }

.positioning-note {
  max-width: 780px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  background: rgba(231, 237, 242, .72);
  font-size: 1rem;
  line-height: 1.65;
}
.positioning-note strong { color: var(--ink-deep); }
.inline-link { color: var(--green-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.inline-link:hover { color: var(--ink-deep); }

.compact-prose { gap: 14px; }
.compact-prose > p { margin: 0; }

/* Workflow cards: a single bordered-card system with no connector line. */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; counter-reset: item; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: none; display: none; }
.timeline li { position: relative; display: block; min-height: 200px; margin: 0; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); text-align: center; }
.timeline li::before { content: counter(item); counter-increment: item; position: static; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 16px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; }
.timeline li h3 { margin-bottom: 8px; font-size: 1.02rem; }
.timeline li p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.62; }
.timeline.timeline-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.timeline.timeline-seven { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline.timeline-wide,
.seo-main-copy .timeline { position: relative; left: 50%; width: min(calc(100vw - 40px), var(--container)); justify-self: start; transform: translateX(-50%); }
.industry-card { transition: none; }
.industry-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.industry-card,
.proof-card { text-align: center; }
@media (max-width: 980px) { .timeline, .timeline.timeline-five, .timeline.timeline-seven { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .breadcrumb { width: calc(100% - 28px); } .timeline, .timeline.timeline-five, .timeline.timeline-seven { grid-template-columns: 1fr; } .timeline.timeline-five li { display: block !important; min-height: 0 !important; padding: 24px 20px !important; text-align: center !important; } main > .seo-hero > .seo-hero-copy, main > .hub-group, main > .section-pad > .section-head, main > .section-pad > .section-head-centred, main > .section-pad > .price-callout-grid, main > .section-pad > .compare-table-wrap, main > .section-pad > .industry-grid, main > .section-pad > .seo-content, main > .section-pad > p, main > .seo-steps > .section-head-centred, main > .seo-steps > .timeline { width: calc(100% - 28px); } }
@media (max-width: 600px) { .why-ashbridge-page .seo-copy-block h2.why-problem-heading { font-size:clamp(2.15rem,10vw,3rem); } }

/* ==========================================================================
   Stat band
   ========================================================================== */
.stat-band { padding: 44px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.stat-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-item { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-sm); text-align: center; }
.stat-item strong { display: block; margin-bottom: 6px; color: var(--ink-deep); font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.03em; }
.stat-item small { color: var(--muted); font-size: .9rem; line-height: 1.45; font-weight: 600; }
@media (max-width: 860px) { .stat-band-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-item { padding: 18px 14px; } }

/* ==========================================================================
   Proof / value grid (6-card "what people are buying" style)
   ========================================================================== */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card { padding: 28px; border: 1px solid rgba(51,72,93,.08); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(37,63,82,.05); }
.proof-card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.proof-card p { margin: 0; color: var(--muted); line-height: 1.65; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proof-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pain-point grid (objection / "why businesses switch" pattern)
   ========================================================================== */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8faf9; }
.pain-card h3 { margin-bottom: 10px; font-size: 1.08rem; font-style: italic; color: var(--ink-deep); }
.pain-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.pain-card p strong { color: var(--green-deep); font-weight: 700; font-style: normal; }
@media (max-width: 700px) { .pain-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--white); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 1rem; }
.compare-table caption { padding: 18px 20px 0; text-align: left; color: var(--muted); font-size: .86rem; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table th:not(:first-child), .compare-table td:not(:first-child) { text-align: center; }
.compare-table thead th { position: sticky; top: 0; color: var(--ink-deep); background: var(--cream); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; white-space: normal; line-height: 1.3; }
.th-note { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; font-weight: 400; text-transform: none; letter-spacing: 0; }
.compare-table tbody th { color: var(--ink-deep); font-weight: 700; white-space: nowrap; }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: 0; }
.compare-row-ashbridge td, .compare-row-ashbridge th { background: rgba(77,112,146,.07); }
.compare-col-ashbridge { position: relative; background: rgba(21,40,59,.06); border-left: 2px solid var(--ink-deep); border-right: 2px solid var(--ink-deep); font-weight: 700; color: var(--ink-deep); }
.compare-table thead th.compare-col-ashbridge { border-top: 2px solid var(--ink-deep); }
.compare-table tbody tr:last-child .compare-col-ashbridge { border-bottom: 2px solid var(--ink-deep); }
.compare-col-logo { display: inline-block; margin-right: 6px; border-radius: 5px; vertical-align: middle; }
.compare-row-ashbridge .compare-col-ashbridge { background: rgba(21,40,59,.11); }
.compare-row-ashbridge th:first-child { border-left: 2px solid var(--ink-deep); }
.compare-row-ashbridge td:last-child { border-right: 2px solid var(--ink-deep); }
.compare-row-ashbridge th, .compare-row-ashbridge td { border-top: 2px solid var(--ink-deep); border-bottom: 2px solid var(--ink-deep); }
.compare-check, .compare-cross, .compare-partial { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: .8rem; font-weight: 800; }
.compare-check { color: #1f7a4d; background: #dcf3e6; }
.compare-cross { color: #9a3b3b; background: #f7e2e2; }
.compare-partial { color: #8a6a1f; background: #f6ecd0; }
.price-asof { margin: 14px 0 0; color: var(--muted); font-size: .9rem; text-align: right; }
@media (max-width: 900px) {
  /* Stacked-card fallback: no horizontal scroll required at 390/430/768px.
     Each <tr> becomes a self-contained card; each <td> shows its column
     header via data-label (set on every <td> across the built tables). */
  .compare-table-wrap { overflow-x: visible; border: none; box-shadow: none; background: transparent; -webkit-overflow-scrolling: auto; }
  .compare-table { min-width: 0; width: 100%; display: block; }
  .compare-table thead { display: none; }
  .compare-table tbody { display: block; }
  .compare-table tr { display: block; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
  .compare-table tbody tr:last-child { margin-bottom: 0; }
  .compare-table th, .compare-table td { display: block; width: auto; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: normal; }
  .compare-table tbody th[scope="row"] { font-size: 1rem; background: var(--cream); border-bottom: 1px solid var(--line); }
  .compare-table tbody tr:last-child td:last-child, .compare-table tbody tr:last-child th:last-child { border-bottom: 0; }
  .compare-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .compare-table td::before { content: attr(data-label); flex: 0 0 auto; margin-right: 12px; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
  .compare-row-ashbridge { border-color: rgba(77,112,146,.35); }
  .compare-row-ashbridge td, .compare-row-ashbridge th { background: rgba(77,112,146,.07); }
}
@media (max-width: 560px) { .compare-table th, .compare-table td { padding: 13px 14px; font-size: .92rem; } }

/* ==========================================================================
   Price callout (competitor price card)
   ========================================================================== */
.price-callout-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.price-callout { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.price-callout h3 { margin-bottom: 4px; font-size: 1.12rem; }
.price-callout .price-figure { display: block; margin: 8px 0 10px; color: var(--ink-deep); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.price-callout p { margin: 0 0 8px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.price-callout .price-source { display: block; color: var(--muted); font-size: .72rem; }
.price-callout.price-callout-ashbridge { border-color: rgba(77,112,146,.35); background: linear-gradient(150deg, rgba(77,112,146,.08), rgba(255,255,255,1)); }
.price-callout.price-callout-ashbridge .price-figure { color: var(--green-deep); }
@media (max-width: 700px) { .price-callout-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Buyer checklist
   ========================================================================== */
.buyer-checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: buyer-q; }
.buyer-checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.buyer-checklist li::before { counter-increment: buyer-q; content: counter(buyer-q); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-deep); background: var(--mint); font-size: .78rem; font-weight: 700; }
.buyer-checklist p { margin: 0; padding-top: 5px; color: var(--ink); font-weight: 600; }
.buyer-checklist p > em { display:block; margin-top:6px; color:var(--muted); font-weight:400; font-style:italic; line-height:1.6; }

/* ==========================================================================
   Local / industry grids (hub pages)
   ========================================================================== */
.local-grid, .industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.local-card, .industry-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-sm); }
.local-card h3, .industry-card h3 { margin: 0 0 6px; font-size: 1.04rem; }
.local-card p, .industry-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.industry-card.is-linked { transition: none; }
.industry-card.is-linked:hover { transform: none; box-shadow: var(--shadow-sm); }
.industry-card.is-linked a { color: inherit; font: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.industry-grid-uniform .industry-card { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 90px; }
.industry-grid-uniform .industry-card h3 { margin: 0; }
.industry-grid-section { padding-bottom: 32px; }
.industry-grid-section + .industry-content-section { padding-top: 32px; }
.industry-card.is-upcoming { opacity: .68; }
.industry-card.is-upcoming span.soon-pill { display: inline-block; margin-top: 8px; padding: 4px 9px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 980px) { .local-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .local-grid, .industry-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Partner program steps + stat band variant
   ========================================================================== */
.partner-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: partner-step; }
.partner-steps li { list-style: none; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.partner-steps li::before { counter-increment: partner-step; content: counter(partner-step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; color: var(--white); background: var(--green); font-weight: 700; }
.partner-steps li h3 { margin: 0 0 6px; font-size: 1.05rem; }
.partner-steps li p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.62; }
@media (max-width: 860px) { .partner-steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Editorial hub (guides index)
   ========================================================================== */
.hub-group { margin-bottom: 40px; }
.hub-group h2 { margin-bottom: 16px; font-size: 1.5rem; }
.hub-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hub-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.hub-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 860px) { .hub-card-grid { grid-template-columns: 1fr; } }
