/* Site theme, loaded after styles.css (and blog.css) on every page.
   White ground, near-black ink, green accent, pill buttons. */

:root {
  --ink: #0f1221;
  --ink-2: #4b5063;
  --line: #e4e7ec;
  --soft: #f5f7f6;
  --green: #15803d;
  --green-bright: #22c55e;
  --green-soft: #e8f7ee;
  --lime: #d9f95d;

  /* re-point the legacy tokens styles.css is built on */
  --brand-rgb: 21, 128, 61;
  --brand-deep: #0f5c2c;
  --bg: #fff;
  --bg-soft: var(--soft);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-2);
  --text-muted: #5f6577;
  --text-faint: #6b7080;
  --border: var(--line);
  --border-strong: #cfd4dc;
  --accent: var(--lime);
  --accent-deep: #c6ea3c;
  --accent-ink: var(--ink);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

html { scroll-padding-top: 84px; }

body {
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* styles.css names two other families in dozens of rules; one family site-wide */
*:not(code, pre, kbd, samp) { font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif !important; }

body::before,
.page-shell::before { display: none; }

h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.12; font-weight: 700; text-wrap: balance; }
h3 { letter-spacing: -0.015em; }
.section-heading p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; }
.section-heading--center h2 { max-width: 24ch; }

/* Content must not wait for a scroll observer to become visible. */
.reveal,
.reveal-scale,
.stagger-children > *,
.stagger-children.visible > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* ── Top bar ── */
.topbar {
  top: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.7rem max(1rem, calc((100% - 1200px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.topbar::before { display: none; }

.brandmark { letter-spacing: -0.02em; font-size: 1.08rem; font-weight: 700; gap: 0.55rem; padding: 0; }
.brandmark__spark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  animation: none;
  box-shadow: none;
  /* three rising bars: the price ladder */
  background:
    linear-gradient(var(--lime), var(--lime)) 6px 15px / 4px 5px no-repeat,
    linear-gradient(var(--lime), var(--lime)) 11px 11px / 4px 9px no-repeat,
    linear-gradient(var(--lime), var(--lime)) 16px 6px / 4px 14px no-repeat,
    var(--ink);
}

.link-button { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.link-button:hover,
.link-button[aria-current="page"] { background: var(--soft); color: var(--ink); }

/* ── Buttons ── */
.button,
.button--primary,
.button--secondary {
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
  background-image: none;
  animation: none;
  transform: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button.button--primary,
a.button.button--primary {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  padding-right: 0.5rem;
  gap: 0.7rem;
  animation: none;
  box-shadow: none;
}
.button--primary::after {
  content: "→";
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  transition: transform 160ms ease;
}
.button.button--primary:hover,
.button.button--primary:focus-visible { background: #23273d; transform: none; box-shadow: none; }
.button--primary:hover::after { transform: translateX(2px); }
.button.button--secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.button.button--secondary:hover { background: var(--soft); transform: none; }
.button--lg { min-height: 54px; padding-inline: 1.5rem; font-size: 1.02rem; }
.button:focus-visible,
.link-button:focus-visible,
summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* lime button on dark panels */
.section-dark .button.button--primary,
.final-cta .button.button--primary,
.mid-cta-strip .button.button--primary,
.mobile-cta .button.button--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.section-dark .button--primary::after,
.final-cta .button--primary::after,
.mid-cta-strip .button--primary::after,
.mobile-cta .button--primary::after { background: var(--ink); color: var(--lime); }

.eyebrow,
.hero-badge,
.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* ── Home hero ── */
.hero--home { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem); }
.home-hero {
  width: min(calc(100% - 2rem), 900px);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
}
.home-hero__badge { margin: 0; padding-left: 0.35rem; }
.home-hero__badge strong {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}
.home-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.home-hero h1 em { font-style: normal; color: var(--green-bright); }
.home-hero__lede { max-width: 44rem; margin: 0; color: var(--ink-2); font-size: 1.125rem; line-height: 1.6; }
.home-hero .hero__cta-group { justify-content: center; gap: 0.75rem; margin-top: 0.25rem; }
.home-hero__rating { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.rating-stars { color: #f5a623; letter-spacing: 0.12em; margin-right: 0.35rem; }

.home-stage {
  width: min(calc(100% - 2rem), 600px);
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--soft);
  border-radius: var(--radius-xl);
}
.home-stage__demo { display: grid; gap: 0.75rem; }
.home-stage__hint { margin: 0; color: var(--ink-2); font-size: 0.9rem; font-weight: 500; text-align: center; }

/* the working price ladder */
.ladder {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -24px rgba(15, 18, 33, 0.25);
}
.ladder__title { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 700; }
.ladder__tier {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 64px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.ladder__tier:hover { border-color: var(--border-strong); }
.ladder__tier:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.ladder__tier:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.ladder__tier input { width: 18px; height: 18px; accent-color: var(--ink); }
.ladder__copy { display: grid; }
.ladder__name { font-weight: 700; }
.ladder__note { font-size: 0.9rem; color: var(--ink-2); }
.ladder__price,
.ladder__total strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.ladder__total { margin: 0.3rem 0 0; }

/* ── Logos, stats ── */
.social-bar {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
}
.social-bar__copy { justify-content: center; text-align: center; }
.logo-track img { background: transparent; border: 0; box-shadow: none; }

.stats-band { padding-block: 1rem 2.5rem; }
.proof-stat-strip {
  width: min(calc(100% - 2rem), 1100px);
  max-width: none;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.proof-stat {
  display: grid;
  gap: 0.3rem;
  padding: 1.75rem 1rem;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.proof-stat + .proof-stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.proof-stat strong {
  color: var(--lime);
  white-space: nowrap;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.proof-stat span { color: #c9cdd8; font-size: 0.95rem; }

/* ── Cards (shared) ── */
.step-card,
.offer-type-item,
.pillar-card,
.industry-card,
.problem-card,
.testimonial-card,
.metric-card,
.proof-card,
.stat-card,
.answer-capsule,
.before-card,
.after-card,
.faq-list details {
  background: #fff;
  background-image: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transform: none;
}
.step-card:hover,
.offer-type-item:hover,
.pillar-card:hover,
.industry-card:hover,
.problem-card:hover,
.testimonial-card:hover { transform: none; box-shadow: none; border-color: var(--border-strong); }
.step-card::before,
.pillar-card::before,
.industry-card::before,
.problem-card::before,
.overview-section::before,
.features-section::before,
.section-dark::before,
.final-cta__panel::before,
.final-cta__panel::after { display: none; }

/* ── Feature showcase ── */
.feature-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.feature-card:hover { transform: none; box-shadow: none; }
.feature-card__media { margin: 0; background: var(--soft); border-radius: var(--radius-lg); overflow: hidden; }
.feature-card__media img { display: block; width: 100%; height: auto; }
.feature-card__copy h3 { font-size: 1.25rem; }
.feature-card__copy p { color: var(--ink-2); }

@media (min-width: 900px) {
  /* copy stacks in column 1; every screenshot shares one sticky cell in column 2 */
  .feature-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 3rem;
    row-gap: 0;
  }
  .feature-card { display: contents; cursor: pointer; }
  .feature-card__copy {
    grid-column: 1;
    display: grid;
    gap: 0.35rem;
    padding: 1.1rem 0 1.1rem 1.1rem;
    border-left: 3px solid var(--line);
    transition: border-color 160ms ease;
  }
  .feature-card.is-active .feature-card__copy { border-left-color: var(--green-bright); }
  .feature-card__copy h3 { margin: 0; color: var(--text-faint); transition: color 160ms ease; }
  .feature-card.is-active h3 { color: var(--ink); }
  .feature-card__copy p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
  .feature-card__media {
    grid-column: 2;
    grid-row: 1 / span 6;
    position: sticky;
    top: 96px;
    align-self: start;
    display: grid;
    place-items: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }
  .feature-card.is-active .feature-card__media { opacity: 1; }
  .feature-card__media img {
    width: auto;
    max-width: 100%;
    max-height: min(520px, calc(100vh - 200px));
    object-fit: contain;
    border-radius: var(--radius-md);
  }
}

.integration-panel {
  background: var(--soft);
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: none;
}
.integration-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

/* ── How it works ── */
.how-it-works { background: var(--soft); }
.how-it-works .steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  gap: 1.25rem;
  counter-reset: step;
}
.step-card { padding: 1.75rem; counter-increment: step; text-align: left; }
.step-card h3::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 1rem;
  font-weight: 700;
}
.step-card p { color: var(--ink-2); }
.how-it-works__note { color: var(--ink-2); font-style: normal; }

/* ── Offer types ── */
.overview-section__grid { display: block; }
.overview-content .section-heading { text-align: center; justify-items: center; }
.overview-content .section-heading p { max-width: 62ch; }
.offer-type-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.offer-type-item { display: grid; gap: 0.5rem; align-content: start; padding: 1.5rem; }
.offer-type-item strong { font-size: 1.08rem; }
.offer-type-item span { color: var(--ink-2); }
.pillar-card { padding: 1.5rem; background: var(--soft); border: 0; }
.pillar-card p { color: var(--ink-2); }
.result-ribbon {
  background: var(--green-soft);
  background-image: none;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: none;
  color: var(--ink);
}
.result-ribbon strong { color: var(--green); }
.result-ribbon p { color: var(--ink); }

/* ── Dark sections ── */
.section-dark {
  width: min(calc(100% - 2rem), 1320px);
  margin-inline: auto;
  background: var(--ink);
  background-image: none;
  border-radius: var(--radius-xl);
  color: #fff;
}
.section-dark h2,
.section-dark h3,
.section-dark strong,
.section-dark blockquote { color: #fff; }
.section-dark p,
.section-dark span,
.section-dark li { color: #c9cdd8; }
.section-dark .problem-card,
.section-dark .testimonial-card,
.section-dark .before-card,
.section-dark .after-card,
.section-dark .case-study > div {
  background: #1a1e33;
  border-color: rgba(255, 255, 255, 0.1);
}
.section-dark .after-card { border-color: var(--green-bright); }
.section-dark .after-card li { color: #fff; }
.section-dark .avatar-pill { background: var(--lime); color: var(--ink); }
/* the markup says "Five stars" for screen readers; draw the glyphs */
.stars { font-size: 0; letter-spacing: 0; }
.stars::before { content: "★★★★★"; font-size: 1rem; letter-spacing: 0.12em; color: #f5a623; }
.section-dark .pivot-callout {
  background: #1a1e33;
  background-image: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.testimonial-card__topline span { text-transform: none; letter-spacing: 0; }

/* ── Mid CTA + final CTA ── */
.mid-cta-strip__inner,
.final-cta__panel {
  background: var(--ink);
  background-image: none;
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: none;
  color: #fff;
}
.mid-cta-strip__copy strong,
.final-cta__panel h2 { color: #fff; }
.mid-cta-strip__copy span,
.final-cta__panel p,
.final-cta__panel .cta-microcopy,
.final-cta__panel .cta-microcopy--light { color: #c9cdd8 !important; }
.final-cta__panel h2 { max-width: 20ch; margin-inline: auto; }
.final-cta__panel .final-cta__proof span {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

/* ── Long-form: education, tables, FAQ ── */
.education-section--alt { background: var(--soft); }
.answer-capsule { background: var(--soft); border: 0; border-radius: var(--radius-xl); }
.answer-capsule h2 { text-transform: none; letter-spacing: -0.03em; font-size: 1.5rem; color: var(--ink); }
.education-section__body a,
.answer-capsule a,
.faq-list a { color: var(--green); text-decoration: underline; text-underline-offset: 0.18em; }
.quantity-break-example,
.education-formula {
  background: var(--soft);
  background-image: none;
  border: 0;
  border-left: 3px solid var(--green-bright);
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.education-table th,
.comparison-table th {
  background: var(--ink);
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}
.education-table-wrap,
.comparison-table-wrapper { border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: none; }
.cell-yes { color: var(--green); font-weight: 600; }
.freshness-badge { width: fit-content; margin-inline: auto; padding: 0.3rem 0.9rem; background: var(--green-soft); color: var(--green); border: 0; border-radius: 999px; }

.faq-list details { border-radius: var(--radius-md); }
.faq-list details:hover { border-color: var(--border-strong); box-shadow: none; }
.faq-list details[open] { background: var(--soft); border-color: var(--line); box-shadow: none; }
summary { font-weight: 600; }
summary:hover { color: var(--ink); transform: none; }
.faq-cta { background: var(--soft); border: 0; border-radius: var(--radius-lg); box-shadow: none; }

.trust-badge { background: transparent; border: 0; box-shadow: none; text-align: center; }
.trust-badge span { color: var(--ink-2); }

/* ── Footer ── */
.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 3.5rem max(1rem, calc((100% - 1160px) / 2)) 3rem;
  display: grid;
  gap: 2rem;
  background: var(--ink);
  border: 0;
  color: #9ea4b5;
  font-size: 0.92rem;
}
.site-footer::before { content: "Quantity Break"; color: #fff; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.site-footer > div:first-child { order: 3; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer__links {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem 1.5rem;
}
.site-footer__links a { color: #dfe2ea; font-weight: 500; }
.site-footer__links a:hover { color: var(--lime); }

.mobile-cta {
  background: var(--ink);
  border: 0;
  border-radius: 18px;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mobile-cta strong { color: #fff; font-size: 0.9rem; }
.mobile-cta span { display: none; }

/* ── Sub-pages and blog ── */
.breadcrumb a { color: var(--ink-2); }
.hero-shot,
.hero-showcase { background: var(--soft); background-image: none; border: 0; border-radius: var(--radius-xl); box-shadow: none; }
.tldr-answer,
.key-takeaways,
.blog-toc { background: var(--soft); border: 0; border-radius: var(--radius-lg); }
.blog-card { border-radius: var(--radius-lg); }
.blog-card:hover { transform: none; }

@media (min-width: 900px) {
  .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimonial-card--featured { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .how-it-works .steps-grid,
  .offer-type-list { grid-template-columns: 1fr; }
  .proof-stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-stat:nth-child(3) { border-left: 0; }
  .proof-stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .topbar__nav { background: #fff; border: 1px solid var(--line); box-shadow: none; }
  .site-footer { padding-bottom: 7rem; }
}

@media (max-width: 560px) {
  .home-hero .hero__cta-group { width: 100%; flex-direction: column; }
  .home-hero .hero__cta-group .button { width: 100%; justify-content: center; }
}

/* ── Polish: glow, depth, motion ── */
.topbar {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.button.button--primary:hover { box-shadow: 0 10px 24px -10px rgba(15, 18, 33, 0.55); }

/* backdrop lives on a pseudo-element so its fade does not mask the content */
.hero--home { position: relative; isolation: isolate; }
.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52% 46% at 50% 0%, var(--green-soft) 0%, rgba(232, 247, 238, 0) 72%),
    radial-gradient(circle at 1px 1px, rgba(15, 18, 33, 0.07) 1px, transparent 0) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
}
/* marker highlight instead of coloured text */
.home-hero h1 em,
.blog-index-hero h1 em {
  font-style: normal;
  color: inherit;
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  padding-inline: 0.08em;
}
.home-stage {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -48px rgba(15, 18, 33, 0.35), 0 0 0 8px rgba(15, 18, 33, 0.03);
}
.home-stage::before,
.home-stage::after {
  position: absolute;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 14px 28px -14px rgba(15, 18, 33, 0.4);
}
.home-stage::before { content: "Save 15%"; top: 18%; left: -5.5rem; background: var(--lime); color: var(--ink); transform: rotate(-7deg); }
.home-stage::after { content: "No code"; bottom: 16%; right: -5rem; background: var(--ink); color: #fff; transform: rotate(6deg); }
.ladder { border: 0; box-shadow: none; padding: 0; }
.ladder__tier:has(input:checked) { background: var(--green-soft); }

.section-heading--center h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: var(--green-bright);
}

.proof-stat-strip,
.section-dark,
.final-cta__panel,
.mid-cta-strip__inner,
.site-footer {
  background:
    radial-gradient(46% 70% at 100% 0%, rgba(217, 249, 93, 0.16), rgba(217, 249, 93, 0) 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(34, 197, 94, 0.14), rgba(34, 197, 94, 0) 70%),
    var(--ink);
}

.step-card,
.offer-type-item,
.industry-card,
.blog-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.step-card:hover,
.offer-type-item:hover,
.industry-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 40px -28px rgba(15, 18, 33, 0.35);
}

/* illustrations carry their own background */
.feature-card__media { background: transparent; }
@media (min-width: 900px) {
  .feature-card__media { padding: 0; }
  .feature-card__media img { width: 100%; max-height: none; border-radius: var(--radius-lg); }
}

/* ── Blog index ── */
.blog-index-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1rem clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  background: radial-gradient(52% 70% at 50% 0%, var(--green-soft) 0%, rgba(232, 247, 238, 0) 72%);
}
.blog-index-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: center;
  text-wrap: balance;
}
.blog-index-hero > p { margin: 0; max-width: 46rem; color: var(--ink-2); font-size: 1.125rem; }
.blog-jumps { justify-content: center; flex-wrap: wrap; gap: 0.5rem; overflow: visible; margin-top: 0.5rem; }
.blog-jumps span { color: var(--ink-2); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
.blog-jumps a {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.blog-jumps a:hover { border-color: var(--ink); color: var(--ink); background: #fff; }

.blog-tools,
.blog-count,
.blog-grid,
.blog-empty { width: min(calc(100% - 2rem), 1160px); margin-inline: auto; }
.blog-tools { justify-items: center; gap: 1rem; }
.blog-search { width: min(100%, 560px); }
.blog-search input {
  width: 100%;
  min-height: 52px;
  padding-inline: 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
}
.blog-search input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-color: var(--ink); }
.blog-filters { justify-content: center; flex-wrap: wrap; overflow: visible; gap: 0.5rem; }
.blog-filters button {
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
}
.blog-filters button:hover { border-color: var(--ink); color: var(--ink); }
.blog-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.blog-count { text-align: center; color: var(--ink-2); }

.blog-card__tag { color: var(--green); letter-spacing: 0.04em; }
.blog-card:hover .blog-card__title { color: var(--ink); }

@media (min-width: 700px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1rem; }
  .blog-card,
  .blog-card--lead {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 0;
    padding: 0;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
  }
  .blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: 0 26px 44px -30px rgba(15, 18, 33, 0.4);
    background: #fff;
  }
  .blog-card .blog-card__image,
  .blog-card--lead .blog-card__image { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
  .blog-card .blog-card__image img,
  .blog-card--lead .blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
  .blog-card:hover .blog-card__image img { transform: scale(1.04); }
  .blog-card .blog-card__body,
  .blog-card--lead .blog-card__body { display: grid; gap: 0.6rem; align-content: start; padding: 1.35rem 1.4rem 1.5rem; }
  .blog-card__title { font-size: 1.18rem; line-height: 1.3; }
  .blog-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--ink-2);
    font-size: 0.95rem;
  }
  /* lead story: full row, picture beside copy */
  .blog-card--lead { grid-column: 1 / -1; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto; align-items: stretch; }
  .blog-card--lead .blog-card__image { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .blog-card--lead .blog-card__body { align-content: center; padding: 2.25rem; }
  .blog-card--lead .blog-card__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.03em; }
  .blog-card--lead .blog-card__excerpt { font-size: 1.05rem; -webkit-line-clamp: 4; }
}
@media (min-width: 1040px) {
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Blog article ── */
/* one wide column on desktop; every hero block starts at the same left edge */
.blog-post .breadcrumb,
.blog-hero,
.blog-body,
.blog-cta,
.blog-post #author-bio { width: min(calc(100% - 2rem), 1200px); max-width: none; margin-inline: auto; }
.blog-hero__content { text-align: left; }
.blog-hero__content h1,
.blog-hero__lede { max-width: 60rem; margin-inline: 0; text-align: left; }
.blog-meta { justify-content: flex-start; }
.blog-hero__image { max-width: 720px; margin-inline: 0; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: 0 40px 80px -48px rgba(15, 18, 33, 0.35); }
.blog-hero__content h1 { letter-spacing: -0.035em; text-wrap: balance; }
.blog-body a { color: var(--green); }
.blog-body h2 { border: 0; padding-left: 0; }
.blog-cta__panel { background: radial-gradient(46% 70% at 100% 0%, rgba(217, 249, 93, 0.16), rgba(217, 249, 93, 0) 70%), var(--ink); border-radius: var(--radius-xl); }
.blog-cta__panel .button.button--primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.blog-cta__panel .button--primary::after { background: var(--ink); color: var(--lime); }

/* ── Utilities ── */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Comparison table (homepage) ── */
.comparison-table--compact { min-width: 0; width: 100%; table-layout: auto; font-size: 0.95rem; }
.comparison-table--compact th,
.comparison-table--compact td { padding: 0.85rem 0.7rem; vertical-align: middle; white-space: nowrap; }
.comparison-table--compact th { white-space: normal; line-height: 1.25; font-weight: 600; text-align: center; }
.comparison-table--compact th:first-child,
.comparison-table--compact td:first-child { text-align: left; padding-left: 1.1rem; }
.comparison-table--compact td { text-align: center; color: var(--ink); }
.comparison-table--compact td:first-child { font-weight: 600; }
.comparison-table--compact tbody tr + tr td { border-top: 1px solid var(--line); }
.comparison-table--compact tbody tr:hover td { background: var(--soft); }
.comparison-table--compact .highlight-row td { background: var(--green-soft); }
.comparison-table--compact .highlight-row:hover td { background: #dff3e7; }
.comparison-table--compact .highlight-row td:first-child { box-shadow: inset 4px 0 0 var(--green-bright); }
.app-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: 0.1em;
}
.cell-rating .star { color: #f5a623; }
.cell-rating .rev { color: var(--ink-2); font-size: 0.88em; }
.price-free {
  display: inline-block;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.tick,
.cross { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.tick {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.cross {
  background: #eef0f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%239aa1ae' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 899px) {
  /* keep the app name visible while the row scrolls sideways */
  .comparison-table--compact td:first-child,
  .comparison-table--compact th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
  .comparison-table--compact th:first-child { background: var(--ink); }
  .comparison-table--compact .highlight-row td:first-child { background: var(--green-soft); }
}

/* ── Blog article: bigger type ── */
.blog-body { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
.blog-body p,
.blog-body li { font-size: inherit; line-height: inherit; color: #262a3b; }
.blog-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.18; margin-top: 2.6rem; letter-spacing: -0.03em; }
.blog-body h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.3; margin-top: 1.8rem; }
.blog-body table { font-size: 0.97rem; }
.blog-hero__content h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; }
.blog-hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--ink-2); }
.blog-meta { font-size: 0.95rem; }
.tldr-answer p,
.key-takeaways li,
.blog-toc a { font-size: 1.02rem; }
@media (min-width: 900px) {
  .blog-body { font-size: 1.1875rem; line-height: 1.8; }
  .tldr-answer p,
  .key-takeaways li { font-size: 1.08rem; }
}

/* wide tables inside articles: tighter cells, app name stays pinned while the table scrolls */
.blog-body .table-wrap { border: 1px solid var(--line); border-radius: var(--radius-md); }
.blog-body .table-wrap table { font-size: 0.9rem; }
.blog-body .table-wrap th,
.blog-body .table-wrap td { padding: 0.65rem 0.75rem; }
.blog-body .table-wrap th:first-child,
.blog-body .table-wrap td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; white-space: nowrap; box-shadow: 1px 0 0 var(--line); }
.blog-body .table-wrap .comparison-table__highlight td { background: var(--green-soft); }

/* ── Blog article: text column + sticky product card ── */
.post-layout { width: min(calc(100% - 2rem), 1200px); margin-inline: auto; }
.post-layout > .blog-body { width: 100%; max-width: none; }
.post-aside { padding: 0 0 2rem; }
@media (min-width: 1100px) {
  .post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3.5rem;
    align-items: start;
  }
  .post-aside { position: sticky; top: 96px; padding: clamp(2rem, 4vw, 3.5rem) 0 2rem; }
}
.product-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(217, 249, 93, 0.35), rgba(217, 249, 93, 0) 70%),
    #fff;
  box-shadow: 0 30px 60px -40px rgba(15, 18, 33, 0.45);
}
.product-card__head { display: flex; gap: 0.75rem; align-items: center; }
.product-card__head p { margin: 0; display: grid; line-height: 1.3; }
.product-card__head strong { font-size: 1.02rem; color: var(--ink); }
.product-card__head span { font-size: 0.82rem; color: var(--ink-2); }
.product-card__logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background:
    linear-gradient(var(--lime), var(--lime)) 11px 26px / 6px 8px no-repeat,
    linear-gradient(var(--lime), var(--lime)) 19px 19px / 6px 15px no-repeat,
    linear-gradient(var(--lime), var(--lime)) 27px 11px / 6px 23px no-repeat,
    var(--ink);
}
.product-card__rating { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.product-card__rating span { color: #f5a623; letter-spacing: 0.08em; margin-right: 0.25rem; }
.product-card ul { margin: 0; padding: 0; list-style: none; }
.product-card__facts { display: grid; gap: 0.45rem; }
.product-card__facts li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; color: var(--ink); }
.product-card__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.product-card__features { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.product-card__features li {
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  color: var(--ink-2);
}
.product-card .button { justify-content: center; width: 100%; }
.product-card__link { justify-self: center; font-size: 0.88rem; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 0.18em; }

/* ── Blog article: keep reading ── */
.related-guides { width: min(calc(100% - 2rem), 1200px); margin: 1rem auto 0; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.related-guides h2 { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.related-guides .related-grid { width: 100%; padding: 0 0 1rem; }
.related-guides .blog-card { border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 700px) {
  .related-guides .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 0; }
}

@media (max-width: 1100px) {
  .home-stage::before,
  .home-stage::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .step-card:hover, .offer-type-item:hover, .industry-card:hover, .blog-card:hover, .blog-card:hover .blog-card__image img { transform: none; }
}
