@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --font-main: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  --type-h1: 56px;
  --type-h2: 42px;
  --type-h3: 30px;
  --type-h4: 23px;
  --type-label: 14px;
  --type-body: 18px;
  --type-card: 17px;
  --type-small: 15px;
  --type-button: 17px;
  --heading-color: #163C78;
  --body-color: #5E6B7A;
  --label-color: #2E7DE1;
  --navy: #163C78;
  --gold: #2E7DE1;
  --warm: #F5F7FA;
  --paper: #ffffff;
  --muted: #475569;
  --line: #e5e7eb;
  --orange: #2E7DE1;
  --orange-dark: #2E7DE1;
  --logo-navy: #0f2247;
  --logo-gold: #2E7DE1;
  --shadow: 0 18px 46px rgba(22, 60, 120, 0.08);
  --radius: 22px;
  --max: 1120px;
  --site-h1: var(--type-h1);
  --site-h2: var(--type-h2);
  --site-h3: var(--type-h3);
  --site-body: var(--type-body);
  --site-small: var(--type-small);
  --section-label: var(--type-label);
  --site-header-height: 72px;
  --page-hero-top-space: clamp(72px, 7vw, 104px);
  --site-button-font-size: var(--type-button);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--logo-navy);
  background: var(--warm);
  font-size: var(--site-body);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 34, 71, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: var(--site-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2vw, 34px);
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  min-width: 286px;
  color: var(--logo-navy);
  line-height: 1;
}

.brand-symbol {
  display: inline-block;
  width: 30px;
  height: 18px;
  color: var(--logo-navy);
  font-size: 0;
  line-height: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 24'%3E%3Cpath d='M4 12C4 6 11 5 22 12C33 19 40 18 40 12C40 6 33 5 22 12C11 19 4 18 4 12Z' fill='none' stroke='%230f2247' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.brand-separator {
  width: 1px;
  height: 34px;
  background: var(--logo-gold);
  opacity: 0.72;
}

.brand-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.brand strong {
  display: block;
  color: var(--logo-navy);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: color 0.22s ease;
}

.brand-copy > span {
  display: block;
  color: rgba(15, 34, 71, 0.72);
  font-size: 0.78rem;
  font-weight: 450;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand:hover strong,
.brand:focus-visible strong {
  color: var(--logo-gold);
}

.page-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.7vw, 28px);
  color: #334155;
  font-size: 0.94rem;
  font-weight: 500;
}

.page-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  color: var(--logo-navy);
  border-color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.4vw, 22px);
  flex: 0 0 auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0;
  color: rgba(15, 34, 71, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.22s ease;
}

.phone-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(46, 125, 225, 0.26);
  animation: phonePulse 2.8s ease-in-out infinite;
}

.phone-icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(46, 125, 225, 0.34);
  border-radius: inherit;
  opacity: 0;
  animation: phoneRing 2.8s ease-in-out infinite;
}

.phone-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--orange);
}

.header-phone:hover .phone-icon,
.header-phone:focus-visible .phone-icon {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(46, 125, 225, 0.34);
}

@keyframes phonePulse {
  0%, 72%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 26px rgba(46, 125, 225, 0.26);
  }

  82% {
    transform: scale(1.08);
    box-shadow: 0 16px 36px rgba(46, 125, 225, 0.38);
  }
}

@keyframes phoneRing {
  0%, 68% {
    opacity: 0;
    transform: scale(0.72);
  }

  82% {
    opacity: 0.65;
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #F5F7FA;
  border: 1px solid rgba(15, 34, 71, 0.12);
  border-radius: 999px;
}

.language-switcher button {
  min-height: 30px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  color: #475569;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher button.is-active {
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--orange);
  outline: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--page-hero-top-space) 0 clamp(58px, 7vw, 94px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(46, 125, 225, 0.15), transparent 26%),
    linear-gradient(135deg, rgba(15, 34, 71, 0.05), transparent 46%);
  pointer-events: none;
}

.hero .container,
.section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: var(--section-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--logo-gold);
}

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

h1,
.hero h1,
.case-detail-hero h1,
.article-hero h1,
.audit-hero h1,
.about-hero h1 {
  max-width: 800px;
  margin-bottom: 18px;
  color: var(--logo-navy);
  font-size: var(--site-h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.6;
}

.section {
  padding: clamp(64px, 7vw, 96px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head h2,
.article h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: var(--site-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-head p,
.article p,
.article li {
  color: var(--muted);
  font-size: 1.05rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(46, 125, 225, 0.1);
  font-size: 0.9rem;
  font-weight: 800;
}

.article-meta a,
.case-seo-meta a {
  color: inherit;
  text-decoration-color: rgba(194, 147, 72, 0.58);
  text-underline-offset: 3px;
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.seo-breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
}

.seo-breadcrumbs a:hover,
.seo-breadcrumbs a:focus-visible {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-breadcrumbs span[aria-hidden="true"] {
  color: var(--gold);
}

.case-seo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.case-seo-meta span[aria-hidden="true"] {
  color: var(--gold);
}

.article-related {
  background: rgba(245, 247, 250, 0.72);
}

.related-links {
  display: grid;
  gap: 12px;
}

.related-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 34, 71, 0.1);
  border-radius: 14px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.related-links a::after {
  content: "\2192";
  color: var(--logo-gold);
}

.related-links a:hover,
.related-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(46, 125, 225, 0.44);
  box-shadow: var(--shadow-soft);
}

.case-more-section {
  padding: clamp(30px, 4.5vw, 56px) 0 clamp(26px, 3.4vw, 44px);
}

.case-more-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 40px);
  padding-top: clamp(22px, 2.8vw, 34px);
  border-top: 1px solid rgba(16, 42, 86, 0.13);
}

.case-more-copy {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.case-more-eyebrow {
  color: #df6d20;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.case-more-copy h2 {
  margin: 0;
  color: #0f2247;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.16;
}

.case-more-copy p {
  margin: 0;
  color: #536174;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
}

.case-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid rgba(223, 109, 32, 0.34);
  border-radius: 999px;
  color: #df6d20;
  background: rgba(255, 247, 242, 0.84);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.case-more-link::after {
  content: "\2192";
  font-size: 1.05em;
}

.case-more-link:hover,
.case-more-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(223, 109, 32, 0.58);
  color: #ffffff;
  background: #df6d20;
}

@media (max-width: 700px) {
  .case-more-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-more-link {
    width: 100%;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

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

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(46, 125, 225, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(15, 34, 71, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 125, 225, 0.48);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: var(--site-h3);
  font-weight: 700;
  line-height: 1.2;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 11px;
  color: var(--navy);
  background: rgba(46, 125, 225, 0.13);
  border: 1px solid rgba(46, 125, 225, 0.26);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 760;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: auto;
  padding: 0 22px;
  color: #ffffff;
  background: var(--navy);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(22, 60, 120, 0.22);
  font-size: var(--site-button-font-size);
  font-weight: 760;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--navy);
  box-shadow: 0 20px 40px rgba(22, 60, 120, 0.28);
  filter: brightness(0.94);
}

.button.secondary {
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(15, 34, 71, 0.22);
  box-shadow: none;
}

.case-index-page .hero {
  padding: clamp(58px, 7vw, 98px) 0 clamp(46px, 6vw, 76px);
}

.case-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.case-index-page .hero h1 {
  max-width: 780px;
  margin-bottom: 16px;
}

.case-index-page .hero p {
  max-width: 690px;
}

.case-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.case-hero-card {
  position: relative;
  min-height: 230px;
  padding: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.case-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -22px -36px auto;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(15, 34, 71, 0.12);
  border-radius: 50%;
}

.case-hero-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.05rem;
}

.case-hero-card ul {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-hero-card li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.case-hero-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 10px;
  flex: 0 0 7px;
  background: var(--gold);
  border-radius: 999px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.case-tags span,
.case-tags button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(46, 125, 225, 0.3);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.case-tags button:hover,
.case-tags button:focus-visible,
.case-tags button.is-active {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
  outline: 0;
}

.case-study-card.is-hidden {
  display: none;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-study-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(46, 125, 225, 0.25);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(15, 34, 71, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-study-card:hover,
.case-study-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(46, 125, 225, 0.5);
  box-shadow: 0 24px 52px rgba(15, 34, 71, 0.1);
}

.case-study-number {
  position: absolute;
  right: 22px;
  top: 16px;
  color: rgba(46, 125, 225, 0.2);
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.case-study-card .tag {
  position: relative;
  z-index: 1;
}

.case-study-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.18;
}

.case-study-detail {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.case-study-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.case-study-label {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-outcome {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  padding: 16px;
  background: rgba(46, 125, 225, 0.12);
  border: 1px solid rgba(46, 125, 225, 0.38);
  border-radius: 16px;
}

.case-study-outcome p {
  margin: 0;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.45;
}

.case-study-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--orange);
  font-weight: 800;
  transition: color 0.22s ease, transform 0.22s ease;
}

.case-study-link:hover,
.case-study-link:focus-visible {
  color: var(--orange-dark);
  transform: translateX(3px);
}

.case-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  background: rgba(46, 125, 225, 0.22);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 22px;
}

.case-proof-strip div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.case-proof-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.98rem;
}

.case-proof-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.case-page-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.22);
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(15, 34, 71, 0.07);
}

.case-page-cta h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: var(--site-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.case-page-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.articles-page .articles-hero {
  padding: clamp(56px, 6.6vw, 96px) 0 clamp(46px, 5.4vw, 72px);
}

.articles-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.articles-hero-copy {
  position: relative;
  z-index: 1;
}

.articles-page .articles-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
}

.articles-page .articles-hero p {
  max-width: 650px;
}

.insight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.insight-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(46, 125, 225, 0.32);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(15, 34, 71, 0.045);
  font-size: 0.86rem;
  font-weight: 650;
}

.articles-visual {
  position: relative;
  min-height: 300px;
  isolation: isolate;
}

.articles-visual::before {
  content: "";
  position: absolute;
  inset: 20px -12px 10px 20px;
  z-index: -1;
  background:
    radial-gradient(circle, rgba(15, 34, 71, 0.1) 1px, transparent 1.8px) 0 0 / 22px 22px,
    radial-gradient(circle, rgba(46, 125, 225, 0.13) 1px, transparent 1.8px) 11px 11px / 34px 34px;
  opacity: 0.7;
}

.visual-card {
  position: absolute;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(46, 125, 225, 0.3);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.visual-card-main {
  right: 0;
  top: 36px;
  width: min(100%, 360px);
  min-height: 214px;
  padding: 28px;
}

.visual-card-main span,
.visual-card-small {
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.visual-line {
  position: relative;
  height: 72px;
  margin: 28px 0 18px;
  border-bottom: 1px dashed rgba(15, 34, 71, 0.18);
}

.visual-line::before {
  content: "";
  position: absolute;
  inset: 8px 0 0;
  background: url("data:image/svg+xml,%3Csvg width='310' height='70' viewBox='0 0 310 70' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 54C45 36 74 45 107 26C144 4 177 35 212 18C250 0 280 13 306 8' stroke='%232E7DE1' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='107' cy='26' r='5' fill='%230F2247'/%3E%3Ccircle cx='212' cy='18' r='5' fill='%230F2247'/%3E%3C/svg%3E") center / contain no-repeat;
}

.visual-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 54px;
}

.visual-bars i {
  display: block;
  width: 22%;
  border-radius: 999px 999px 6px 6px;
  background: rgba(15, 34, 71, 0.82);
}

.visual-bars i:nth-child(1) {
  height: 34%;
}

.visual-bars i:nth-child(2) {
  height: 58%;
  background: rgba(46, 125, 225, 0.9);
}

.visual-bars i:nth-child(3) {
  height: 46%;
}

.visual-bars i:nth-child(4) {
  height: 76%;
  background: rgba(46, 125, 225, 0.9);
}

.visual-card-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
}

.visual-card-top {
  top: 10px;
  left: 4%;
}

.visual-card-bottom {
  right: 54px;
  bottom: 20px;
}

.visual-orbit {
  position: absolute;
  left: 8%;
  bottom: 34px;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(15, 34, 71, 0.16);
  border-radius: 50%;
}

.visual-orbit::before,
.visual-orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

.visual-orbit::before {
  top: 12px;
  right: 18px;
}

.visual-orbit::after {
  left: 18px;
  bottom: 16px;
  background: var(--navy);
}

.articles-photo-visual {
  min-height: 328px;
  overflow: visible;
}

.articles-photo-visual::before {
  inset: 8px -8px -8px 28px;
  z-index: 0;
  border-radius: 28px;
}

.articles-photo-visual::after {
  content: "";
  position: absolute;
  inset: 28px 0 22px 34px;
  z-index: 2;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(15, 34, 71, 0.18), transparent 42%),
    linear-gradient(0deg, rgba(245, 247, 250, 0.38), transparent 48%);
  pointer-events: none;
}

.articles-photo-visual > img {
  position: absolute;
  inset: 28px 0 22px 34px;
  z-index: 1;
  width: calc(100% - 34px);
  height: calc(100% - 50px);
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(15, 34, 71, 0.16);
  filter: contrast(1.04) saturate(0.86);
}

.metric-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 172px;
  padding: 13px 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(46, 125, 225, 0.34);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 34, 71, 0.12);
  backdrop-filter: blur(14px);
}

.metric-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-card strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.metric-card-top {
  top: 2px;
  left: 0;
}

.metric-card-middle {
  top: 42%;
  right: -10px;
}

.metric-card-bottom {
  left: 24px;
  bottom: 0;
}

.articles-section {
  padding-top: clamp(54px, 6vw, 84px);
}

.insight-article-layout {
  display: grid;
  gap: 28px;
}

.insight-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.insight-card {
  position: relative;
  display: flex;
  min-height: 286px;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 32px;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(15, 34, 71, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.insight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.insight-card:hover,
.insight-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(46, 125, 225, 0.54);
  box-shadow: var(--shadow);
}

.insight-card:hover::before,
.insight-card:focus-within::before {
  opacity: 1;
}

.insight-number {
  position: absolute;
  top: 12px;
  right: 24px;
  z-index: 0;
  color: rgba(46, 125, 225, 0.16);
  font-size: clamp(4.4rem, 8vw, 7rem);
  font-weight: 850;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.insight-card > *:not(.insight-number),
.insight-card-content {
  position: relative;
  z-index: 1;
}

.insight-card h2,
.insight-card h3 {
  margin-bottom: 0;
  color: var(--navy);
}

.insight-card h2 {
  max-width: 780px;
  font-size: var(--site-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.insight-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.insight-card p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.insight-card-featured {
  min-height: 330px;
  justify-content: center;
  padding: clamp(34px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 250, 0.78)),
    #ffffff;
}

.insight-card-featured .insight-number {
  top: 18px;
  right: clamp(22px, 4vw, 54px);
  font-size: clamp(7rem, 14vw, 12rem);
  opacity: 0.9;
}

.insight-card-featured .tag {
  margin-bottom: 8px;
}

.insight-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
  gap: 0;
  align-items: stretch;
  padding: 0;
}

.insight-card-featured .insight-card-content {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 54px);
}

.insight-featured-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.insight-featured-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.38) 32%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(0deg, rgba(15, 34, 71, 0.2), transparent 52%);
  pointer-events: none;
}

.insight-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) saturate(0.88);
  transition: transform 0.35s ease;
}

.insight-card-featured:hover .insight-featured-media img,
.insight-card-featured:focus-within .insight-featured-media img {
  transform: scale(1.035);
}

.insight-card-with-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  column-gap: 20px;
  align-content: start;
  padding-right: 28px;
}

.insight-card-preview {
  position: relative;
  top: auto;
  right: auto;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 4;
  width: 100%;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(46, 125, 225, 0.24);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(15, 34, 71, 0.08);
}

.insight-card-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 34, 71, 0.1), rgba(15, 34, 71, 0.28)),
    linear-gradient(45deg, rgba(46, 125, 225, 0.22), transparent 58%);
  pointer-events: none;
}

.insight-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.03) saturate(0.82);
  transition: transform 0.32s ease;
}

.insight-card-with-media:hover .insight-card-preview img,
.insight-card-with-media:focus-within .insight-card-preview img {
  transform: scale(1.06);
}

.insight-card-with-media .tag {
  max-width: 100%;
}

.insight-card-with-media .tag,
.insight-card-with-media h3,
.insight-card-with-media p,
.insight-card-with-media .text-link {
  grid-column: 1;
}

.insight-card-with-media .text-link {
  margin-top: 8px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--orange);
  font-weight: 760;
  transition: color 0.22s ease, transform 0.22s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--orange-dark);
  transform: translateX(4px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.article-main {
  display: grid;
  gap: 28px;
}

.article-block {
  padding: clamp(26px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid rgba(46, 125, 225, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(15, 34, 71, 0.05);
}

.article-block h2 {
  font-size: var(--site-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.article-block ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.article-block li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
}

.article-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.case-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.case-snapshot div {
  padding: 16px 18px;
  background: rgba(245, 247, 250, 0.72);
  border: 1px solid rgba(46, 125, 225, 0.18);
  border-radius: 16px;
}

.case-snapshot dt {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-snapshot dd {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
}

.case-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.case-service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: var(--navy);
  background: rgba(46, 125, 225, 0.12);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.about-hero {
  padding: var(--page-hero-top-space) 0 clamp(50px, 6vw, 82px);
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.about-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(245, 247, 250, 0.78), rgba(245, 247, 250, 0));
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% center;
  filter: contrast(1.04) saturate(0.98);
}

.about-pill-row,
.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.about-pill-row > span,
.platform-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 999px;
  font-size: var(--site-small);
  font-weight: 650;
}

.about-tool-row {
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.about-tool-row::-webkit-scrollbar {
  display: none;
}

.about-tool-row .tool-logo-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 166px;
  min-height: 56px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(46, 125, 225, 0.34);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 34, 71, 0.04);
}

.tool-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tool-icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.tool-label {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.about-copy p {
  margin: 0;
}

.about-platforms {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid rgba(46, 125, 225, 0.14);
}

.platform-strip {
  margin-bottom: 0;
}

.cert-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cert-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 100%;
  padding: 22px 18px 20px;
  border: 1px solid rgba(46, 125, 225, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cert-logo-card:hover,
.cert-logo-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(46, 125, 225, 0.48);
  box-shadow: var(--shadow);
}

.cert-logo-card img {
  width: min(148px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}

.cert-logo-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-cta h2 {
  max-width: 760px;
  margin: 14px 0 10px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.about-cta p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.audit-note {
  align-self: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.audit-fit-head {
  max-width: 850px;
}

.audit-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.audit-fit-card {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(15, 34, 71, 0.14);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.audit-fit-card.is-recommended {
  border-color: rgba(224, 111, 32, 0.34);
  background: linear-gradient(145deg, #ffffff 0%, #fff8f1 100%);
}

.audit-fit-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.audit-fit-card h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.audit-fit-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-fit-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.5;
}

.audit-fit-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.audit-fit-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  color: var(--navy);
  background: rgba(46, 125, 225, 0.07);
  font-weight: 700;
  line-height: 1.5;
}

.audit-score-advice {
  grid-column: 1 / -1;
  padding: 20px;
  border: 1px solid rgba(46, 125, 225, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.audit-score-advice h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1rem;
}

.audit-score-advice ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.audit-score-scope {
  grid-column: 1 / -1;
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.audit-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.audit-outcomes-grid .audit-card {
  min-height: 100%;
}

.audit-outcome-number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

@media (max-width: 760px) {
  .audit-fit-grid,
  .audit-outcomes-grid {
    grid-template-columns: 1fr;
  }
}

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

.audit-check-card {
  padding: 28px;
  border: 1px solid rgba(46, 125, 225, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.audit-check-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-check-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.55;
}

.audit-check-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(46, 125, 225, 0.12);
}

.audit-split,
.audit-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: start;
}

.audit-split h2,
.audit-form-layout h2 {
  margin: 12px 0 14px;
  color: var(--navy);
}

.audit-split p,
.audit-form-layout p {
  color: var(--muted);
}

.audit-form-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(15, 34, 71, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.audit-form-card label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.audit-form-card input,
.audit-form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 34, 71, 0.16);
  border-radius: 14px;
  color: var(--navy);
  font: inherit;
  background: #fff;
}

.audit-form-card textarea {
  resize: vertical;
}

.audit-form-card input:focus,
.audit-form-card textarea:focus {
  outline: 3px solid rgba(46, 125, 225, 0.24);
  border-color: rgba(46, 125, 225, 0.72);
}

.audit-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 12px !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
  font-size: 0.95rem;
  line-height: 1.5;
}

.audit-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.audit-consent a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.cta-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.34);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-card h2,
.cta-card h3 {
  margin-bottom: 10px;
}

.page-footer {
  padding: 44px 0;
  background: #ffffff;
  border-top: 1px solid rgba(46, 125, 225, 0.22);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
}

.site-footer {
  background: var(--warm);
  border-top: 1px solid rgba(46, 125, 225, 0.2);
}

.footer-main {
  padding: 44px 0;
  background: rgba(255, 255, 255, 0.66);
  border-bottom: 1px solid rgba(46, 125, 225, 0.18);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(220px, 1fr);
  gap: 44px;
  align-items: start;
}

.footer-brand-mark {
  display: inline-grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  margin-bottom: 22px;
  color: var(--navy);
  line-height: 1;
}

.footer-infinity {
  display: inline-block;
  width: 30px;
  height: 18px;
  color: var(--navy);
  font-size: 0;
  line-height: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 24'%3E%3Cpath d='M4 12C4 6 11 5 22 12C33 19 40 18 40 12C40 6 33 5 22 12C11 19 4 18 4 12Z' fill='none' stroke='%230f2247' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-brand-separator {
  width: 1px;
  height: 34px;
  background: var(--gold);
  opacity: 0.72;
}

.footer-brand-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.footer-brand-name {
  display: block;
  color: var(--navy);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: color 0.22s ease;
}

.footer-brand-mark:hover .footer-brand-name,
.footer-brand-mark:focus-visible .footer-brand-name {
  color: var(--gold);
}

.footer-brand-line {
  display: block;
  max-width: 275px;
  color: rgba(15, 34, 71, 0.72);
  font-size: 0.78rem;
  font-weight: 450;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-social {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
  background: rgba(15, 34, 71, 0.04);
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  transition: transform 0.2s ease;
}

.footer-social.mail svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: #ffffff;
  background: var(--orange);
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(46, 125, 225, 0.25);
  transform: translateY(-3px);
  outline: 0;
}

.footer-social:hover svg,
.footer-social:focus-visible svg {
  transform: scale(1.08);
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.4;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--orange);
  transform: translateX(2px);
  outline: 0;
}

.footer-link-arrow {
  display: inline-flex;
  justify-content: space-between;
  width: min(100%, 170px);
  gap: 18px;
}

.footer-link-arrow::after {
  content: ">";
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.18s ease, color 0.18s ease;
}

.footer-link-arrow:hover::after,
.footer-link-arrow:focus-visible::after {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-mini-contact {
  display: grid;
  gap: 13px;
}

.footer-contact-link {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #334155;
  font-size: 0.94rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-contact-link svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: var(--orange);
  transform: translateX(2px);
  outline: 0;
}

.footer-contact-link:hover svg,
.footer-contact-link:focus-visible svg {
  color: var(--orange);
  transform: translateX(1px);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  color: #64748b;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

/* Reusable case study detail template. */
.case-detail-page {
  background: #ffffff;
}

.case-detail-page .page-header {
  background: rgba(255, 255, 255, 0.94);
}

.case-detail-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 52px) 0 clamp(42px, 5vw, 70px);
  background:
    radial-gradient(circle at 88% 18%, rgba(46, 125, 225, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 64%, rgba(245, 247, 250, 0.78) 100%);
}

.case-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: radial-gradient(rgba(15, 34, 71, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  pointer-events: none;
}

.case-detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.62fr);
  align-items: start;
  gap: clamp(38px, 5vw, 80px);
}

.case-study-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 48px;
}

.case-back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  transition: color 0.22s ease, transform 0.22s ease;
}

.case-back-link::before {
  content: "\2190";
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--orange);
  background: #fff6ef;
  border: 1px solid #ffd6b8;
  border-radius: 999px;
  font-size: 1.1em;
  line-height: 1;
}

.case-back-link::after {
  content: "";
  width: 1px;
  height: 40px;
  margin-left: 16px;
  background: rgba(83, 98, 120, 0.34);
  border-radius: 0;
}

.case-back-link:hover,
.case-back-link:focus-visible {
  color: var(--orange);
  transform: translateX(-3px);
}

.site-back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  transition: color 0.22s ease, transform 0.22s ease;
}

.site-back-link::before {
  content: "\2190";
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--orange);
  background: #fff6ef;
  border: 1px solid #ffd6b8;
  border-radius: 999px;
  font-size: 1.08em;
  line-height: 1;
}

.site-back-link:hover,
.site-back-link:focus-visible {
  color: var(--orange);
  transform: translateX(-3px);
}

.case-study-tag {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin: 0;
  padding: 14px 28px;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.07);
  border: 1px solid rgba(255, 122, 26, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.case-study-tag::before {
  content: "";
  width: 22px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg width='22' height='20' viewBox='0 0 22 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 17h16M5 14V9h3v5M10 14V5h3v9M15 14V2h3v12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .case-study-topline {
    gap: 14px;
    margin-bottom: 36px;
  }

  .case-back-link::after {
    display: none;
  }

  .case-study-tag {
    padding: 12px 20px;
  }
}

/* Case Studies index redraw. Keep this near the end so it defines the page look consistently. */
.case-index-page main {
  background:
    radial-gradient(circle at 92% 18%, rgba(46, 125, 225, 0.12) 0 17rem, transparent 17.2rem),
    radial-gradient(circle at 0 26%, rgba(244, 124, 32, 0.08) 0 12rem, transparent 12.2rem),
    #ffffff;
}

.case-index-hero,
.case-index-section {
  position: relative;
  overflow: hidden;
}

.case-index-hero::before,
.case-index-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(circle, rgba(46, 125, 225, 0.18) 1.1px, transparent 1.2px);
  background-size: 24px 24px;
}

.case-index-hero > .container,
.case-index-section > .container {
  position: relative;
  z-index: 1;
}

.case-index-hero {
  padding: 34px 0 28px;
}

.case-index-back-row {
  margin-bottom: 34px;
}

.case-index-back-link {
  font-size: 16px;
  font-weight: 700;
}

.case-index-back-link::before {
  width: 42px;
  height: 42px;
}

.case-index-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 56px;
  align-items: start;
}

.case-index-hero-copy {
  max-width: 660px;
}

.case-index-eyebrow {
  margin: 0 0 12px;
  color: var(--button-orange, #f47c20);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.case-index-title {
  margin: 0;
  color: var(--heading-color, #163c78);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.case-index-title span {
  display: block;
  color: var(--button-orange, #f47c20);
}

.case-index-underline {
  display: block;
  width: 250px;
  height: 8px;
  margin: 16px 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0, rgba(244, 124, 32, 0.22) 8%, var(--button-orange, #f47c20) 48%, rgba(244, 124, 32, 0.14) 100%);
}

.case-index-lead {
  max-width: 620px;
  margin: 20px 0 26px;
  color: var(--body-color, #536278);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

.case-index-page .case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.case-index-page .case-tags button {
  min-height: 36px;
  padding: 8px 18px;
  color: var(--navy, #163c78);
  background: #ffffff;
  border: 1px solid rgba(25, 63, 122, 0.16);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 44, 87, 0.06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.case-index-page .case-tags button.is-active,
.case-index-page .case-tags button:hover,
.case-index-page .case-tags button:focus-visible {
  color: #ffffff;
  background: var(--button-orange, #f47c20);
  border-color: var(--button-orange, #f47c20);
}

.case-index-help-card {
  margin-top: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(25, 63, 122, 0.13);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(15, 44, 87, 0.11);
}

.case-index-help-card h2 {
  margin: 0 0 20px;
  color: var(--navy, #163c78);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.case-index-help-list {
  display: grid;
  gap: 20px;
}

.case-index-help-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.case-index-help-icon,
.case-index-step-icon,
.case-index-card-icon {
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.case-index-help-icon {
  width: 44px;
  height: 44px;
  color: #ffffff;
}

.case-index-help-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.case-index-help-icon.is-blue,
.case-index-step-icon.is-blue,
.case-index-card.is-blue .case-index-card-icon {
  background: #2e7de1;
}

.case-index-help-icon.is-orange,
.case-index-step-icon.is-orange,
.case-index-card.is-orange .case-index-card-icon {
  background: var(--button-orange, #f47c20);
}

.case-index-help-item strong,
.case-index-help-item small {
  display: block;
}

.case-index-help-item strong {
  color: var(--navy, #163c78);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.case-index-help-item small {
  margin-top: 3px;
  color: var(--body-color, #536278);
  font-size: 12px;
  line-height: 1.35;
}

.case-index-section {
  padding: 34px 0 84px;
}

.case-index-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.case-index-card {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(25, 63, 122, 0.13);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(15, 44, 87, 0.11);
  transform: translateY(0);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  will-change: transform;
}

.case-index-card.is-hidden {
  display: none;
}

.case-index-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #2e7de1;
}

.case-index-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.42) 46%, transparent 58% 100%);
  opacity: 0;
  transform: translateX(-65%);
  transition: opacity 0.26s ease, transform 0.56s ease;
}

.case-index-card:hover,
.case-index-card:focus-within {
  border-color: rgba(244, 124, 32, 0.34);
  box-shadow: 0 28px 58px rgba(15, 44, 87, 0.16);
  transform: translateY(-8px);
}

.case-index-card:hover::before,
.case-index-card:focus-within::before {
  opacity: 1;
  transform: translateX(70%);
}

.case-index-card.is-orange::after {
  background: var(--button-orange, #f47c20);
}

.case-index-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef4fb;
  transform: scale(1);
  transition: transform 0.32s ease, filter 0.32s ease;
}

.case-index-card:hover .case-index-card-image,
.case-index-card:focus-within .case-index-card-image {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.035);
}

.case-index-card-body {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 30px 24px 30px;
}

.case-index-card-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #2e7de1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.case-index-card.is-orange .case-index-card-label,
.case-index-card.is-orange .case-index-read-link {
  color: var(--button-orange, #f47c20);
}

.case-index-card-icon {
  width: 44px;
  height: 44px;
  margin-top: -52px;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 44, 87, 0.18);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.case-index-card h2 {
  margin: 0 0 18px;
  color: var(--navy, #163c78);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.case-index-card-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.case-index-card-copy p {
  margin: 0;
  color: var(--body-color, #536278);
  font-size: 12px;
  line-height: 1.5;
}

.case-index-card-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #2e7de1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.case-index-card.is-orange .case-index-card-copy strong {
  color: var(--button-orange, #f47c20);
}

.case-index-read-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: #2e7de1;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.22s ease, transform 0.22s ease;
}

.case-index-card:hover .case-index-read-link,
.case-index-card:focus-within .case-index-read-link {
  transform: translateX(4px);
}

.case-index-number {
  position: absolute;
  right: 20px;
  bottom: 24px;
  color: rgba(25, 63, 122, 0.18);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.case-index-approach {
  position: relative;
  margin-top: 64px;
  padding: 8px 0 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.case-index-approach::before,
.case-index-approach::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(46, 125, 225, 0.14);
  border-radius: 50%;
}

.case-index-approach::before {
  top: 16px;
  left: -72px;
  width: 150px;
  height: 62px;
  border-color: transparent transparent rgba(46, 125, 225, 0.16);
}

.case-index-approach::after {
  top: -18px;
  right: -64px;
  width: 158px;
  height: 158px;
  border-color: rgba(244, 124, 32, 0.14);
}

.case-index-approach-head {
  max-width: 670px;
  margin: 0 auto 34px;
  text-align: center;
}

.case-index-approach-head h2 {
  margin: 0 0 12px;
  color: var(--navy, #163c78);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.case-index-approach-head p {
  margin: 0;
  color: var(--body-color, #536278);
  font-size: 17px;
  line-height: 1.55;
}

.case-index-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.case-index-step-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  padding: 50px 22px 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(25, 63, 122, 0.13);
  border-top: 3px solid #2e7de1;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 44, 87, 0.1);
  text-align: center;
}

.case-index-step-card.is-orange {
  border-top-color: var(--button-orange, #f47c20);
}

.case-index-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 58px;
  background: linear-gradient(180deg, rgba(46, 125, 225, 0.1), transparent);
}

.case-index-step-card.is-orange::before {
  background: linear-gradient(180deg, rgba(244, 124, 32, 0.11), transparent);
}

.case-index-step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 105px;
  right: -22px;
  width: 36px;
  height: 14px;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 44 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8h34m0 0-6-6m6 6-6 6' fill='none' stroke='%23536278' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' stroke-dasharray='1 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.case-index-step-card .case-index-step-icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: #ffffff;
  background: #2e7de1;
  box-shadow: 0 14px 28px rgba(46, 125, 225, 0.28);
  font-size: 18px;
  font-weight: 800;
}

.case-index-step-card.is-orange .case-index-step-icon {
  background: var(--button-orange, #f47c20);
  box-shadow: 0 14px 28px rgba(244, 124, 32, 0.26);
}

.case-index-step-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-index-step-card h3 {
  margin: 0 0 10px;
  color: var(--navy, #163c78);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.case-index-step-card p {
  max-width: 210px;
  margin: 0 auto 20px;
  color: var(--body-color, #536278);
  font-size: 13px;
  line-height: 1.5;
}

.case-index-step-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding: 12px;
  color: #2e7de1;
  background: #f1f6ff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.case-index-step-card.is-orange .case-index-step-note {
  color: var(--button-orange, #f47c20);
  background: #fff4eb;
}

.case-index-step-note span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: currentColor;
  background: #ffffff;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(46, 125, 225, 0.12);
}

.case-index-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 28px;
  align-items: center;
  margin-top: 58px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(25, 63, 122, 0.13);
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(15, 44, 87, 0.08);
}

.case-index-cta > div {
  padding: 34px 0 34px 46px;
}

.case-index-cta h2 {
  max-width: 440px;
  margin: 0 0 12px;
  color: var(--navy, #163c78);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.case-index-cta p {
  max-width: 560px;
  margin: 0 0 20px;
  color: var(--body-color, #536278);
  font-size: 14px;
  line-height: 1.65;
}

.case-index-cta .button {
  min-height: 42px;
  padding: 12px 20px;
  font-size: 13px;
}

.case-index-cta img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.case-index-help-icon,
.case-index-step-card .case-index-step-icon {
  animation: caseIconFloat 4.8s ease-in-out infinite;
}

.case-index-help-item:nth-child(2n) .case-index-help-icon,
.case-index-step-card:nth-child(2n) .case-index-step-icon {
  animation-delay: -1.6s;
}

.case-index-step-card:hover .case-index-step-icon,
.case-index-step-card:focus-within .case-index-step-icon,
.case-index-help-item:hover .case-index-help-icon {
  animation-play-state: paused;
  transform: translateY(-3px) rotate(8deg) scale(1.04);
}

.case-index-page .case-tags button {
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.case-index-page .case-tags button:hover,
.case-index-page .case-tags button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(244, 124, 32, 0.16);
}

@keyframes caseIconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-index-help-icon,
  .case-index-step-card .case-index-step-icon {
    animation: none;
  }
}

@media (max-width: 980px) {
  .case-index-hero-grid,
  .case-index-cta {
    grid-template-columns: 1fr;
  }

  .case-index-help-card {
    max-width: 560px;
    margin-top: 0;
  }

  .case-index-title {
    font-size: 46px;
  }

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

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

  .case-index-approach-head h2 {
    font-size: 36px;
  }

  .case-index-step-card:not(:last-child)::after {
    display: none;
  }

  .case-index-cta > div {
    padding: 32px 32px 0;
  }

}

@media (max-width: 680px) {
  .case-index-hero {
    padding-top: 24px;
  }

  .case-index-back-row {
    margin-bottom: 26px;
  }

  .case-index-title {
    font-size: 38px;
  }

  .case-index-lead {
    font-size: 16px;
  }

  .case-index-help-card,
  .case-index-approach {
    padding: 22px;
  }

  .case-index-approach {
    margin-top: 44px;
  }

  .case-index-approach-head {
    margin-bottom: 24px;
    text-align: left;
  }

  .case-index-approach-head h2 {
    font-size: 30px;
  }

  .case-index-approach-head p {
    font-size: 15px;
  }

  .case-index-card-grid,
  .case-index-steps {
    grid-template-columns: 1fr;
  }

  .case-index-step-card {
    min-height: auto;
    padding: 44px 20px 18px;
  }

  .case-index-card-body {
    min-height: 270px;
    padding: 26px 22px 30px;
  }

  .case-index-card-label {
    margin: 0 0 12px;
    font-size: 10px;
  }

  .case-index-card-icon {
    width: 40px;
    height: 40px;
    margin-top: -46px;
    font-size: 16px;
  }

  .case-index-card h2 {
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.18;
  }

  .case-index-card-copy {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .case-index-card-copy p {
    font-size: 12px;
    line-height: 1.42;
  }

  .case-index-card-copy strong {
    margin-bottom: 4px;
  }

  .case-index-read-link {
    padding-right: 58px;
    font-size: 12px;
  }

  .case-index-number {
    right: 18px;
    bottom: 24px;
    font-size: 28px;
  }

  .case-index-cta > div {
    padding: 28px 24px 0;
  }

  .case-index-cta h2 {
    font-size: 24px;
  }
}

.case-detail-hero h1 {
  max-width: 760px;
}

.case-detail-intro {
  max-width: 740px;
  margin: 22px 0 0;
  color: #334155;
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  line-height: 1.68;
}

.case-detail-visual {
  position: relative;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 250, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(46, 125, 225, 0.18), transparent 28%);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(15, 34, 71, 0.08);
}

.case-detail-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(15, 34, 71, 0.07);
  border-radius: 22px;
}

.case-visual-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.32);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(15, 34, 71, 0.08);
}

.case-visual-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-visual-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.25;
}

.case-visual-lines {
  position: absolute;
  inset: auto 34px 96px 34px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  align-items: end;
}

.case-visual-lines span {
  display: block;
  min-height: 44px;
  background: linear-gradient(180deg, rgba(15, 34, 71, 0.18), rgba(46, 125, 225, 0.45));
  border-radius: 999px 999px 8px 8px;
}

.case-visual-lines span:nth-child(2) {
  min-height: 82px;
}

.case-visual-lines span:nth-child(3) {
  min-height: 118px;
  background: linear-gradient(180deg, rgba(46, 125, 225, 0.18), rgba(46, 125, 225, 0.52));
}

.case-visual-lines span:nth-child(4) {
  min-height: 68px;
}

.case-visual-mini-grid {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.case-visual-mini-grid span {
  display: grid;
  min-height: 44px;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 14px;
  font-weight: 800;
}

.case-detail-section {
  padding: clamp(58px, 7vw, 96px) 0;
  background: #ffffff;
}

.case-detail-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.78), rgba(255, 255, 255, 0.94));
}

.case-detail-section-tight {
  padding-top: clamp(36px, 4vw, 58px);
}

.case-snapshot-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
  padding: clamp(28px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.case-snapshot-heading h2,
.case-detail-head h2 {
  margin-bottom: 0;
}

.case-detail-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.case-detail-snapshot div {
  min-height: 112px;
  padding: 18px;
  background: rgba(245, 247, 250, 0.82);
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 18px;
}

.case-detail-snapshot dt {
  margin-bottom: 7px;
  color: rgba(15, 34, 71, 0.58);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-detail-snapshot dd {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.case-detail-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 26px;
}

.case-detail-card {
  position: relative;
  min-height: 100%;
  padding: clamp(28px, 4vw, 40px);
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.24);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(15, 34, 71, 0.07);
}

.case-detail-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.case-detail-card p {
  margin: 0;
  color: #334155;
  line-height: 1.72;
}

.case-challenge-card {
  padding-top: 82px;
}

.case-card-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--gold);
  background: rgba(46, 125, 225, 0.12);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 18px;
}

.case-card-icon svg,
.result-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-data-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.case-flow-step {
  position: relative;
  padding: 18px;
  background: rgba(245, 247, 250, 0.78);
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 18px;
}

.case-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: 2;
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.case-flow-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  place-items: center;
  color: #ffffff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.case-flow-step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.case-flow-step p {
  font-size: 0.95rem;
  line-height: 1.45;
}

.case-detail-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.case-detail-page .case-detail-head .eyebrow {
  margin-bottom: 22px;
}

.case-detail-page .case-detail-head h2 {
  margin-bottom: 16px;
}

.case-detail-page .case-detail-head p {
  max-width: 780px;
  margin-top: 0;
}

.before-after-list {
  display: grid;
  gap: 14px;
}

.before-after-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: rgba(46, 125, 225, 0.28);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(15, 34, 71, 0.05);
}

.before-after-col {
  min-height: 112px;
  padding: 22px 24px;
  background: #ffffff;
}

.before-after-col span {
  display: inline-flex;
  margin-bottom: 9px;
  color: rgba(15, 34, 71, 0.54);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.before-after-col p {
  margin: 0;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.45;
}

.before-after-col.before span::before,
.before-after-col.after span::before {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  place-items: center;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1;
}

.before-after-col.before span::before {
  content: "x";
  color: #E53935;
  background: rgba(229, 57, 53, 0.08);
}

.before-after-col.after span::before {
  content: "\2713";
  color: var(--navy);
  background: rgba(46, 125, 225, 0.18);
}

.case-journey-section {
  background: var(--warm);
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.journey-card {
  padding: clamp(26px, 4vw, 38px);
  background: #ffffff;
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(15, 34, 71, 0.07);
}

.journey-card-after {
  border-color: rgba(46, 125, 225, 0.42);
}

.journey-card-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.journey-card-head strong {
  color: #334155;
  font-size: 1rem;
  line-height: 1.55;
}

.journey-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.journey-flow span,
.journey-flow b {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 15px;
  color: var(--navy);
  background: rgba(245, 247, 250, 0.9);
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
}

.journey-flow b {
  color: rgba(15, 34, 71, 0.54);
  background: rgba(15, 34, 71, 0.04);
}

.journey-flow span:not(:last-child)::after,
.journey-flow b:not(:last-child)::after {
  content: "\2192";
  margin-left: 12px;
  color: var(--gold);
}

.journey-flow-after b {
  color: var(--navy);
  background: rgba(46, 125, 225, 0.16);
  border-color: rgba(46, 125, 225, 0.36);
}

.results-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.result-card {
  padding: 26px;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.26);
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(15, 34, 71, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.result-card:hover,
.result-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(46, 125, 225, 0.58);
  box-shadow: 0 20px 46px rgba(15, 34, 71, 0.09);
}

.result-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--navy);
  background: rgba(46, 125, 225, 0.13);
  border: 1px solid rgba(46, 125, 225, 0.3);
  border-radius: 17px;
}

.result-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.result-card p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.55;
}

.case-detail-cta-section {
  padding-top: 34px;
}

.case-detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) auto;
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  min-height: 230px;
  padding: clamp(34px, 5vw, 58px);
  background:
    radial-gradient(circle at 82% 78%, rgba(46, 125, 225, 0.08), transparent 30%),
    #ffffff;
  border: 1px solid rgba(15, 34, 71, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(15, 34, 71, 0.065);
}

.case-detail-cta h2 {
  max-width: 520px;
  margin: 18px 0 14px;
  color: #334155;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.22;
}

.case-detail-cta p {
  max-width: 620px;
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.65;
}

.case-detail-cta .tag {
  color: #334155;
  background: rgba(15, 34, 71, 0.045);
  border-color: transparent;
  font-size: 0.72rem;
}

.case-detail-cta .button {
  min-width: 220px;
  min-height: 54px;
  margin-top: 0;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(46, 125, 225, 0.2);
}

/* Case detail hero without side visual: wider intro and tighter vertical rhythm. */
.case-detail-page .case-detail-hero {
  padding: clamp(28px, 3.5vw, 46px) 0 clamp(24px, 3vw, 38px);
}

.case-detail-page .case-detail-hero-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.case-detail-page .case-detail-hero-copy {
  width: 100%;
  max-width: 100%;
}

.case-detail-page .case-detail-hero h1 {
  max-width: 980px;
}

.case-detail-page .case-detail-intro {
  max-width: 100%;
  margin-top: 22px;
}

.case-detail-page .case-detail-section {
  padding: clamp(42px, 5vw, 72px) 0;
}

.case-detail-page .case-detail-section-tight {
  padding-top: clamp(22px, 2.8vw, 34px);
}

/* Richer visual case study diagrams. */
.case-detail-page .case-visual-lines,
.case-detail-page .case-visual-mini-grid {
  display: none;
}

.case-detail-page .case-detail-visual {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  gap: 18px;
  background:
    radial-gradient(circle at 90% 14%, rgba(46, 125, 225, 0.13), transparent 24%),
    radial-gradient(circle at 12% 82%, rgba(46, 125, 225, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff, rgba(245, 247, 250, 0.9));
}

.case-detail-page .case-detail-visual::after {
  content: "";
  position: absolute;
  inset: 82px 34px 112px;
  z-index: 0;
  background-image: radial-gradient(rgba(15, 34, 71, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
  pointer-events: none;
}

.case-attribution-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.case-map-node {
  position: relative;
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 34, 71, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 34, 71, 0.06);
}

.case-map-node::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.case-map-node:nth-child(2)::after {
  right: auto;
  left: 50%;
  top: auto;
  bottom: -15px;
  width: 2px;
  height: 16px;
}

.case-map-node:last-child::after {
  display: none;
}

.case-map-node span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  place-items: center;
  color: #ffffff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
}

.case-map-node strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.1rem;
}

.case-map-node small {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.4;
}

.case-map-node-orange span {
  background: var(--orange);
}

.case-map-node-gold span {
  color: var(--navy);
  background: var(--gold);
}

.case-visual-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 16px 18px;
  color: var(--navy);
  background: rgba(15, 34, 71, 0.045);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 18px;
  font-size: 0.96rem;
}

.case-visual-status span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(46, 125, 225, 0.1);
}

.case-data-flow {
  gap: 16px;
}

.case-flow-step {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  border-color: rgba(46, 125, 225, 0.24);
  box-shadow: 0 12px 30px rgba(15, 34, 71, 0.045);
}

.case-flow-step::before {
  content: "!";
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--orange);
  background: rgba(46, 125, 225, 0.08);
  border: 1px solid rgba(46, 125, 225, 0.16);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 850;
}

.case-flow-symbol {
  display: grid;
  width: 52px;
  height: 52px;
  margin-top: 38px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid rgba(15, 34, 71, 0.1);
  border-radius: 16px;
}

.case-flow-symbol svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-flow-step .case-flow-icon {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  margin: 0;
  color: var(--navy);
  background: rgba(46, 125, 225, 0.18);
}

.case-flow-step h3 {
  margin-top: 8px;
}

.case-flow-step small {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.before-after-card {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: linear-gradient(90deg, rgba(15, 34, 71, 0.08), rgba(46, 125, 225, 0.32));
}

.before-after-col.before {
  background:
    linear-gradient(135deg, rgba(229, 57, 53, 0.04), #ffffff 72%);
}

.before-after-col.after {
  background:
    linear-gradient(135deg, rgba(46, 125, 225, 0.12), #ffffff 74%);
}

.before-after-col.after p {
  color: var(--navy);
}

.journey-card {
  overflow: hidden;
}

.journey-card-before {
  background:
    linear-gradient(135deg, rgba(229, 57, 53, 0.035), #ffffff 58%),
    #ffffff;
}

.journey-card-after {
  background:
    linear-gradient(135deg, rgba(46, 125, 225, 0.14), #ffffff 62%),
    #ffffff;
}

.journey-route {
  position: relative;
  display: grid;
  gap: 10px;
  align-items: stretch;
}

.journey-route::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 50%;
  z-index: 0;
  height: 2px;
  transform: translateY(-50%);
}

.journey-route-broken {
  grid-template-columns: 1.15fr 0.48fr 1fr 0.48fr 1fr 0.48fr 0.9fr;
}

.journey-route-broken::before {
  background: repeating-linear-gradient(90deg, rgba(46, 125, 225, 0.35) 0 12px, transparent 12px 22px);
}

.journey-route-connected {
  grid-template-columns: 1.15fr 0.75fr 0.92fr 0.75fr 1fr;
}

.journey-route-connected::before {
  background: linear-gradient(90deg, rgba(46, 125, 225, 0.2), rgba(46, 125, 225, 0.72));
}

.journey-node,
.journey-break,
.journey-connector {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 12px;
  text-align: center;
  border-radius: 18px;
}

.journey-node {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid rgba(15, 34, 71, 0.1);
  box-shadow: 0 10px 26px rgba(15, 34, 71, 0.055);
}

.journey-node span {
  display: block;
  font-weight: 850;
  line-height: 1.2;
}

.journey-node small {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.25;
}

.journey-break {
  color: var(--orange);
  background: rgba(46, 125, 225, 0.08);
  border: 1px dashed rgba(46, 125, 225, 0.42);
  font-size: 1.45rem;
  font-weight: 900;
}

.journey-connector {
  color: var(--navy);
  background: rgba(46, 125, 225, 0.16);
  border: 1px solid rgba(46, 125, 225, 0.38);
  font-weight: 900;
}

/* Compact case detail layout inspired by the provided screenshot. */
.case-detail-page .case-detail-section,
.case-detail-page .case-detail-section:nth-of-type(even),
.case-detail-page .case-journey-section {
  background: #ffffff;
}

.case-detail-page .case-snapshot-panel {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.34);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 34, 71, 0.045);
}

.case-detail-page .case-snapshot-heading {
  display: none;
}

.case-detail-page .case-detail-snapshot {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.case-detail-page .case-detail-snapshot div {
  min-height: 94px;
  padding: 20px 16px;
  text-align: center;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.case-detail-page .case-detail-snapshot div + div {
  border-left: 1px solid rgba(46, 125, 225, 0.34);
}

.case-detail-page .case-detail-snapshot dt {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
}

.case-detail-page .case-detail-snapshot dd {
  color: #334155;
  font-size: 0.98rem;
  font-weight: 650;
}

.case-detail-page .case-detail-two-col {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  align-items: stretch;
}

.case-detail-page .case-detail-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.34);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 34, 71, 0.045);
}

.case-detail-page .case-detail-card > .eyebrow {
  display: none;
}

.case-detail-page .case-detail-card h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case-detail-page .case-detail-card h2::before {
  content: "";
  width: 4px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--orange);
}

.case-detail-page .case-challenge-card {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
}

.case-detail-page .case-card-icon {
  display: none;
}

.case-detail-page .case-challenge-card > p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.55;
}

.case-unknown-box {
  display: grid;
  min-height: 112px;
  margin-top: auto;
  padding: 20px;
  place-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.34);
  border-radius: 10px;
}

.case-unknown-box strong {
  color: var(--orange);
  font-size: 1.8rem;
  line-height: 1;
}

.case-unknown-box span {
  max-width: 280px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.case-detail-page .case-data-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.case-detail-page .case-flow-step {
  min-height: 0;
  padding: 0;
  align-items: center;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.case-detail-page .case-flow-step::before,
.case-detail-page .case-flow-step .case-flow-icon {
  display: none;
}

.case-detail-page .case-flow-step:not(:last-child)::after {
  top: 78px;
  right: -12px;
  width: 16px;
  height: 1px;
  background: var(--orange);
}

.case-detail-page .case-flow-symbol {
  width: 50px;
  height: 50px;
  margin: 0 0 10px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--gold);
  border-radius: 999px;
}

.case-detail-page .case-flow-symbol svg {
  width: 25px;
  height: 25px;
  stroke: var(--orange);
}

.case-detail-page .case-flow-step h3 {
  margin: 0 0 8px;
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.2;
}

.case-detail-page .case-flow-step p {
  width: 100%;
  min-height: 88px;
  padding: 12px 9px;
  color: #64748b;
  background: rgba(245, 247, 250, 0.66);
  border: 1px solid rgba(46, 125, 225, 0.22);
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.case-detail-page .case-flow-step small {
  display: none;
}

.case-process-section {
  background: #ffffff;
}

.case-process-block {
  max-width: 100%;
}

.case-process-heading h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case-process-heading h2::before {
  content: "";
  width: 4px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--orange);
}

.case-process-heading-spaced {
  margin-top: 36px;
}

.case-solution-table {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 34, 71, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 34, 71, 0.04);
}

.case-solution-table-head,
.case-solution-table-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-solution-table-head {
  background: var(--navy);
}

.case-solution-table-head span {
  padding: 16px 24px;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-solution-table-head span + span,
.case-solution-table-body ul + ul {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.case-solution-table-body ul + ul {
  border-left-color: rgba(15, 34, 71, 0.12);
}

.solution-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-list li {
  position: relative;
  min-height: 56px;
  padding: 17px 24px 17px 54px;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.35;
}

.solution-list li::before {
  position: absolute;
  left: 24px;
  top: 18px;
  font-weight: 900;
}

.solution-list-before li::before {
  content: "Ã—";
  color: var(--gold);
}

.solution-list-after li::before {
  content: "âœ“";
  color: var(--orange);
}

.journey-compare-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 30px);
  background:
    radial-gradient(circle at 92% 10%, rgba(46, 125, 225, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.58));
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(15, 34, 71, 0.055);
}

.journey-row {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 24px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 18px;
}

.journey-row > strong {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--navy);
  background: rgba(15, 34, 71, 0.045);
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 800;
}

.journey-row > strong::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 999px;
}

.journey-row-after {
  background:
    linear-gradient(135deg, rgba(46, 125, 225, 0.08), rgba(255, 255, 255, 0.94) 48%),
    #ffffff;
  border-color: rgba(46, 125, 225, 0.28);
}

.journey-row-after > strong {
  color: var(--navy);
  background: rgba(46, 125, 225, 0.12);
  border-color: rgba(46, 125, 225, 0.28);
}

.journey-row-after > strong::before {
  background: var(--orange);
}

.journey-simple-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: clamp(8px, 1.4vw, 16px);
  align-items: center;
}

.journey-simple-flow span {
  display: grid;
  min-height: 50px;
  place-items: center;
  padding: 0 16px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid rgba(15, 34, 71, 0.11);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(15, 34, 71, 0.035);
  font-size: 0.93rem;
  font-weight: 650;
  text-align: center;
}

.journey-simple-flow b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: rgba(46, 125, 225, 0.08);
  border: 1px solid rgba(46, 125, 225, 0.16);
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  font-weight: 850;
}

.journey-row p {
  margin: 0;
  padding: 13px 16px;
  color: #475569;
  background: rgba(245, 247, 250, 0.72);
  border: 1px solid rgba(46, 125, 225, 0.22);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
}

.journey-row-after .journey-simple-flow span {
  background: #ffffff;
  border-color: rgba(46, 125, 225, 0.5);
}

.journey-row-after p {
  color: var(--navy);
  background: rgba(46, 125, 225, 0.1);
  border-color: rgba(46, 125, 225, 0.28);
}

.case-detail-page .results-impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.34);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 34, 71, 0.04);
}

.case-detail-page .result-card {
  min-height: 150px;
  padding: 24px 22px;
  text-align: center;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.case-detail-page .result-card + .result-card {
  border-left: 1px solid rgba(46, 125, 225, 0.2);
}

.case-detail-page .result-card:hover,
.case-detail-page .result-card:focus-within {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  background: rgba(245, 247, 250, 0.42);
}

.case-detail-page .result-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  color: var(--orange);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.case-detail-page .result-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

.case-detail-page .result-card:nth-child(2) .result-icon {
  color: var(--gold);
}

.case-detail-page .result-card:nth-child(3) .result-icon {
  color: rgba(15, 34, 71, 0.55);
}

.case-detail-page .result-card:nth-child(4) .result-icon {
  color: var(--navy);
}

.case-detail-page .result-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.25;
}

.case-detail-page .result-card p {
  max-width: 220px;
  margin: 0 auto;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.42;
}

.case-detail-page .results-impact-grid + * {
  margin-top: 0;
}

/* Case detail polish: consistent rhythm, white editorial background, and subtle brand watermarks. */
.case-detail-page {
  --case-section-space: clamp(36px, 4.2vw, 56px);
  background: #ffffff;
}

.case-detail-page main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(46, 125, 225, 0.045), transparent 28%),
    radial-gradient(circle at 92% 52%, rgba(15, 34, 71, 0.035), transparent 30%),
    #ffffff;
}

.case-detail-page main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 34, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 34, 71, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(46, 125, 225, 0.18) 1px, transparent 1.2px);
  background-position: 0 0, 0 0, 10px 10px;
  background-size: 56px 56px, 56px 56px, 24px 24px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.84) 42%, rgba(0, 0, 0, 0.62) 100%);
  opacity: 0.6;
  animation: case-watermark-drift 28s linear infinite;
}

.case-detail-page main > section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
}

.case-detail-page main > section > .container {
  position: relative;
  z-index: 2;
}

.case-detail-page main > section::after {
  content: "\221E";
  position: absolute;
  z-index: 0;
  right: clamp(18px, 6vw, 84px);
  bottom: clamp(18px, 3vw, 42px);
  color: var(--navy);
  font-size: clamp(3.8rem, 7vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.04;
  pointer-events: none;
  animation: case-infinity-float 10s ease-in-out infinite;
}

.case-detail-page main > section:nth-of-type(even)::after {
  right: auto;
  left: clamp(14px, 5vw, 72px);
  color: var(--gold);
  animation-delay: -4s;
}

.case-detail-page main > section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  right: -90px;
  top: 18%;
  pointer-events: none;
  background-image: radial-gradient(rgba(15, 34, 71, 0.16) 1.2px, transparent 1.4px);
  background-size: 18px 18px;
  opacity: 0.28;
  mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, 0.72) 45%, transparent 78%);
}

.case-detail-page main > section:nth-of-type(odd)::before {
  right: auto;
  left: -86px;
  background-image: radial-gradient(rgba(46, 125, 225, 0.24) 1.2px, transparent 1.4px);
}

.case-detail-page .case-detail-hero {
  padding: clamp(34px, 4vw, 52px) 0 var(--case-section-space);
  background: transparent;
}

.case-detail-page .case-detail-section,
.case-detail-page .case-detail-section:nth-of-type(even),
.case-detail-page .case-journey-section {
  padding: var(--case-section-space) 0;
  background: transparent;
}

.case-detail-page .case-detail-section-tight {
  padding-top: var(--case-section-space);
}

.case-detail-page .case-detail-section + .case-detail-section,
.case-detail-page .case-detail-section + .case-detail-cta-section {
  margin-top: 0;
}

.case-detail-page .case-detail-card,
.case-detail-page .case-snapshot-panel,
.case-detail-page .case-solution-table,
.case-detail-page .journey-compare-card,
.case-detail-page .results-impact-grid,
.case-detail-page .case-detail-cta {
  position: relative;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.case-detail-page .case-detail-card:hover,
.case-detail-page .case-detail-card:focus-within,
.case-detail-page .case-snapshot-panel:hover,
.case-detail-page .case-snapshot-panel:focus-within,
.case-detail-page .case-solution-table:hover,
.case-detail-page .case-solution-table:focus-within,
.case-detail-page .journey-compare-card:hover,
.case-detail-page .journey-compare-card:focus-within,
.case-detail-page .results-impact-grid:hover,
.case-detail-page .results-impact-grid:focus-within,
.case-detail-page .case-detail-cta:hover,
.case-detail-page .case-detail-cta:focus-within {
  border-color: rgba(46, 125, 225, 0.5);
  box-shadow: 0 18px 44px rgba(15, 34, 71, 0.075);
  transform: translateY(-3px);
}

.case-detail-page .case-detail-snapshot div,
.case-detail-page .case-flow-step,
.case-detail-page .journey-simple-flow span,
.case-detail-page .solution-list li,
.case-detail-page .result-card {
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.case-detail-page .case-detail-snapshot div:hover {
  background: rgba(245, 247, 250, 0.56);
}

.case-detail-page .case-flow-step:hover {
  transform: translateY(-3px);
}

.case-detail-page .case-flow-step:hover .case-flow-symbol {
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(46, 125, 225, 0.16);
  transform: scale(1.04);
}

.case-detail-page .case-flow-symbol {
  transition: color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.case-detail-page .case-flow-step:not(:last-child)::after {
  animation: case-connector-pulse 2.8s ease-in-out infinite;
}

.case-detail-page .solution-list li:hover,
.case-detail-page .journey-simple-flow span:hover {
  background: rgba(245, 247, 250, 0.74);
}

.case-detail-page .result-card:hover,
.case-detail-page .result-card:focus-within {
  background: rgba(245, 247, 250, 0.62);
  transform: translateY(-2px);
}

.case-detail-page .result-card:hover .result-icon,
.case-detail-page .result-card:focus-within .result-icon {
  transform: translateY(-2px) scale(1.06);
}

.case-detail-page .result-icon {
  transition: transform 0.22s ease, color 0.22s ease;
}

.case-detail-page .case-detail-cta .button:hover,
.case-detail-page .case-detail-cta .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(46, 125, 225, 0.28);
}

@keyframes case-watermark-drift {
  0% {
    background-position: 0 0, 0 0, 10px 10px;
  }
  100% {
    background-position: 56px 56px, 56px 56px, 34px 34px;
  }
}

@keyframes case-infinity-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(-2deg);
  }
}

@keyframes case-connector-pulse {
  0%, 100% {
    opacity: 0.62;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-detail-page main::before,
  .case-detail-page main > section::after,
  .case-detail-page .case-flow-step:not(:last-child)::after {
    animation: none;
  }
}

.case-attribution-dashboard > .case-visual-card,
.case-attribution-dashboard > .case-visual-lines,
.case-attribution-dashboard > .case-visual-mini-grid,
.case-attribution-dashboard > .case-attribution-map,
.case-attribution-dashboard > .case-visual-status {
  display: none;
}

.attribution-dashboard-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  height: 100%;
  min-height: 370px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 250, 0.88)),
    radial-gradient(circle at 86% 16%, rgba(46, 125, 225, 0.16), transparent 28%);
  border: 1px solid rgba(46, 125, 225, 0.32);
  border-radius: 24px;
  box-shadow: 0 20px 52px rgba(15, 34, 71, 0.08);
}

.attribution-dashboard-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 34, 71, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 34, 71, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 96%);
}

.attribution-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(46, 125, 225, 0.26);
  border-radius: 20px;
}

.attribution-dashboard-header span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.attribution-dashboard-header strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.attribution-dashboard-header em {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  color: var(--navy);
  background: rgba(46, 125, 225, 0.16);
  border: 1px solid rgba(46, 125, 225, 0.34);
  border-radius: 999px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.attribution-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.attribution-step {
  position: relative;
  min-height: 132px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 34, 71, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 34, 71, 0.055);
}

.attribution-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  z-index: 2;
  width: 18px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 247, 250, 0.82);
}

.attribution-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  color: #ffffff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.attribution-step-orange span {
  background: var(--orange);
}

.attribution-step-gold span {
  color: var(--navy);
  background: var(--gold);
}

.attribution-step b {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.2;
}

.attribution-step small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.attribution-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.attribution-state {
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 34, 71, 0.08);
  border-radius: 18px;
}

.attribution-state span {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.attribution-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.attribution-state small {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.attribution-state-before {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.045), #ffffff 70%);
}

.attribution-state-before span {
  color: var(--orange);
}

.attribution-state-after {
  background: linear-gradient(135deg, rgba(46, 125, 225, 0.16), #ffffff 72%);
  border-color: rgba(46, 125, 225, 0.34);
}

.attribution-state-after span {
  color: var(--gold);
}

.attribution-state-arrow {
  display: grid;
  width: 38px;
  place-items: center;
  color: #ffffff;
  background: var(--orange);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(46, 125, 225, 0.22);
}

.attribution-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.attribution-insights span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(46, 125, 225, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

@media (max-width: 1040px) {
  .about-hero-grid,
  .about-split,
  .case-detail-hero-grid,
  .case-detail-two-col {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 420px;
  }

  .case-detail-visual {
    max-width: 560px;
  }

  .case-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .case-hero-card {
    max-width: 620px;
  }

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

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

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

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

  .articles-visual {
    min-height: 240px;
    max-width: 560px;
  }

  .articles-photo-visual {
    max-width: 640px;
  }

  .metric-card-middle {
    right: 0;
  }

  .visual-card-main {
    left: 72px;
    right: auto;
  }

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

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

@media (max-width: 940px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-nav {
    flex-wrap: wrap;
  }

  .grid,
  .grid.two,
  .grid.four,
  .case-study-grid,
  .article {
    grid-template-columns: 1fr;
  }

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

  .case-snapshot-panel,
  .journey-grid,
  .case-detail-cta {
    grid-template-columns: 1fr;
  }

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

  .case-detail-page .case-detail-snapshot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-detail-page .case-detail-snapshot div:nth-child(4) {
    border-left: 0;
  }

  .case-detail-page .case-data-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-flow-step:not(:last-child)::after {
    display: none;
  }

  .journey-route-broken,
  .journey-route-connected {
    grid-template-columns: 1fr;
  }

  .journey-route::before {
    left: 50%;
    right: auto;
    top: 22px;
    bottom: 22px;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }

  .journey-route-broken::before {
    background: repeating-linear-gradient(180deg, rgba(46, 125, 225, 0.35) 0 12px, transparent 12px 22px);
  }

  .journey-route-connected::before {
    background: linear-gradient(180deg, rgba(46, 125, 225, 0.2), rgba(46, 125, 225, 0.72));
  }

  .attribution-route,
  .attribution-comparison {
    grid-template-columns: 1fr;
  }

  .attribution-step:not(:last-child)::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -14px;
    width: 2px;
    height: 18px;
  }

  .attribution-state-arrow {
    width: 100%;
    min-height: 36px;
  }

  .case-solution-table-head,
  .case-solution-table-body {
    grid-template-columns: 1fr;
  }

  .case-solution-table-head span + span,
  .case-solution-table-body ul + ul {
    border-left: 0;
  }

  .case-solution-table-body ul + ul {
    border-top: 1px solid rgba(15, 34, 71, 0.1);
  }

  .journey-simple-flow {
    grid-template-columns: 1fr;
  }

  .journey-simple-flow b {
    display: grid;
    min-height: 20px;
    place-items: center;
  }

  .about-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .audit-check-grid,
  .audit-split,
  .audit-form-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-main-grid {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 36px, var(--max));
  }

  .brand {
    column-gap: 13px;
  }

  .brand-symbol {
    width: 28px;
    height: 17px;
  }

  .brand-separator {
    height: 32px;
  }

  .brand-copy {
    gap: 7px;
  }

  .brand strong {
    font-size: 1.1rem;
  }

  .brand-copy > span {
    font-size: 0.76rem;
  }

  .footer-main {
    padding: 36px 0;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-link-arrow {
    width: 100%;
    max-width: 260px;
  }

  .about-photo {
    max-width: 100%;
    border-radius: 22px;
  }

  .about-pill-row,
  .platform-strip {
    gap: 8px;
  }

  .about-cta .button {
    width: 100%;
  }

  .cert-logo-grid {
    grid-template-columns: 1fr;
  }

  .cert-logo-card {
    padding: 20px;
  }

  .cert-logo-card img {
    width: 132px;
  }

  .case-hero-actions,
  .case-hero-actions .button,
  .case-page-cta .button {
    width: 100%;
  }

  .case-study-card {
    padding: 26px;
  }

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

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

  .case-detail-hero {
    padding-top: 42px;
  }

  .case-detail-visual {
    min-height: 300px;
    padding: 22px;
    border-radius: 24px;
  }

  .case-visual-lines {
    inset: auto 26px 84px 26px;
  }

  .case-visual-mini-grid {
    left: 26px;
    right: 26px;
  }

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

  .case-map-node::after,
  .case-map-node:nth-child(2)::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -15px;
    width: 2px;
    height: 16px;
  }

  .case-map-node:last-child::after {
    display: none;
  }

  .attribution-dashboard-panel {
    min-height: auto;
    padding: 18px;
  }

  .attribution-dashboard-header {
    flex-direction: column;
  }

  .attribution-step {
    min-height: auto;
  }

  .case-snapshot-panel,
  .case-detail-card,
  .journey-card,
  .case-detail-cta {
    padding: 24px;
    border-radius: 22px;
  }

  .case-detail-snapshot,
  .case-data-flow,
  .results-impact-grid,
  .before-after-card {
    grid-template-columns: 1fr;
  }

  .case-detail-page .case-detail-snapshot,
  .case-detail-page .case-data-flow {
    grid-template-columns: 1fr;
  }

  .case-detail-page .case-detail-snapshot div + div {
    border-left: 0;
    border-top: 1px solid rgba(46, 125, 225, 0.28);
  }

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

  .case-detail-page .result-card + .result-card {
    border-left: 0;
    border-top: 1px solid rgba(46, 125, 225, 0.2);
  }

  .case-detail-snapshot div {
    min-height: auto;
  }

  .before-after-card {
    gap: 0;
  }

  .before-after-col + .before-after-col {
    border-top: 1px solid rgba(46, 125, 225, 0.28);
  }

  .journey-flow span,
  .journey-flow b {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .case-detail-cta .button {
    width: 100%;
  }

  .card,
  .article-block,
  .cta-card {
    padding: 24px;
  }

  .articles-page .articles-hero {
    padding: 48px 0 44px;
  }

  .articles-hero-grid {
    gap: 28px;
  }

  .articles-visual {
    min-height: 220px;
  }

  .articles-photo-visual {
    min-height: 300px;
  }

  .articles-photo-visual > img,
  .articles-photo-visual::after {
    inset: 30px 0 24px 0;
    width: 100%;
  }

  .metric-card {
    min-width: 154px;
    padding: 11px 13px;
  }

  .metric-card-middle {
    top: 48%;
  }

  .visual-card-main {
    left: 0;
    width: min(100%, 340px);
  }

  .visual-card-top {
    left: auto;
    right: 0;
  }

  .visual-card-bottom {
    right: 0;
  }

  .visual-orbit {
    display: none;
  }

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

  .insight-card,
  .insight-card-featured {
    min-height: auto;
    padding: 26px;
  }

  .insight-card-featured {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .insight-card-featured .insight-card-content {
    min-height: auto;
    padding: 26px;
  }

  .insight-featured-media {
    order: -1;
    min-height: 220px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .insight-featured-media::before {
    background:
      linear-gradient(0deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.24) 42%, rgba(255, 255, 255, 0) 72%),
      linear-gradient(0deg, rgba(15, 34, 71, 0.18), transparent 52%);
  }

  .insight-featured-media img {
    min-height: 220px;
  }

  .insight-card-with-media {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 26px;
  }

  .insight-card-preview {
    top: auto;
    right: auto;
    left: auto;
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    height: 128px;
  }

  .insight-card-with-media .tag {
    max-width: 100%;
  }

  .insight-card-featured .insight-number,
  .insight-number {
    font-size: 4.8rem;
  }
}

/* Final typography enforcement. Keep this block at the end of the file. */
@media (max-width: 1024px) {
  :root {
    --type-h1: 46px;
  }
}

@media (max-width: 640px) {
  :root {
    --type-h1: 38px;
    --type-h2: 34px;
    --type-h3: 26px;
    --type-h4: 22px;
    --type-body: 17px;
    --type-card: 16px;
  }
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-main);
}

body {
  color: var(--body-color);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.7;
}

h1,
.hero h1,
.case-detail-hero h1,
.article-hero h1,
.audit-hero h1,
.about-hero h1 {
  margin: 0 0 24px;
  color: var(--heading-color);
  font-size: var(--type-h1);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h2,
h2[id$="-title"],
.section-head h2,
.article h2,
.article-block h2,
.case-page-cta h2,
.case-detail-head h2,
.case-snapshot-heading h2,
.case-detail-card h2,
.case-process-heading h2,
.case-detail-cta h2,
.about-cta h2,
.audit-split h2,
.audit-form-layout h2,
.cta-card h2 {
  margin: 0 0 24px;
  color: var(--heading-color);
  font-size: var(--type-h2);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 16px;
  color: var(--heading-color);
  font-size: var(--type-h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

h4,
.card h3,
.case-study-card h3,
.insight-card h3,
.cert-logo-card h3,
.footer-col h3,
.case-flow-step h3,
.result-card h3,
.case-detail-page .result-card h3,
.case-detail-page .case-flow-step h3,
.cta-card h3 {
  color: var(--heading-color);
  font-size: var(--type-h4);
  font-weight: 700;
  line-height: 1.25;
}

p,
.hero p,
.section-head p,
.article p,
.article-block p,
.case-detail-hero p,
.case-detail-card p,
.case-detail-cta p,
.about-cta p,
.audit-split p,
.audit-form-layout p,
.cta-card p {
  color: var(--body-color);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.7;
}

.hero p,
.section-head p {
  max-width: 720px;
}

.article p,
.article-block p,
.case-detail-hero p,
.case-detail-card p {
  max-width: 760px;
}

.card p,
.case-study-card p,
.insight-card p,
.case-flow-step p,
.result-card p,
.case-detail-page .result-card p,
.footer-col li,
.footer-contact-link {
  color: var(--body-color);
  font-size: var(--type-card);
  font-weight: 400;
  line-height: 1.65;
}

.eyebrow,
.tag,
.case-tags button,
.case-study-card .label,
.case-detail-page .case-detail-head .eyebrow,
.case-detail-page .case-detail-card > .eyebrow,
.case-process-heading .eyebrow {
  color: var(--label-color);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

small,
.brand-copy > span,
.footer-brand-line,
.footer-contact-link small,
.insight-card .tag {
  font-size: var(--type-small);
  font-weight: 400;
}

.case-detail-hero .case-study-tag,
.hero .case-study-tag {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  max-width: none;
  margin: 0;
  padding: 14px 28px;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.07);
  border: 1px solid rgba(255, 122, 26, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.case-detail-hero .case-study-tag::before,
.hero .case-study-tag::before {
  content: "";
  width: 22px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg width='22' height='20' viewBox='0 0 22 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 17h16M5 14V9h3v5M10 14V5h3v9M15 14V2h3v12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  border-radius: 999px;
}

.button,
.case-detail-cta .button,
.case-page-cta .button,
.case-hero-actions .button,
.about-cta .button,
.cta-card .button,
.footer-contact-link.button {
  min-height: 54px;
  padding-inline: 24px;
  font-size: var(--type-button);
  font-weight: 600;
  line-height: 1.2;
}

.hero,
.about-hero,
.case-hero,
.case-detail-hero,
.article-hero,
.audit-hero {
  padding-top: clamp(100px, 8vw, 120px);
  padding-bottom: clamp(100px, 8vw, 120px);
}

.section,
.article-section,
.case-section,
.case-detail-section,
.case-detail-cta-section,
.audit-section,
.about-section {
  padding-top: clamp(100px, 8vw, 120px);
  padding-bottom: clamp(100px, 8vw, 120px);
}

@media (max-width: 640px) {
  .button,
  .case-detail-cta .button,
  .case-page-cta .button,
  .case-hero-actions .button,
  .about-cta .button,
  .cta-card .button,
  .footer-contact-link.button {
    min-height: 52px;
  }

  .hero,
  .about-hero,
  .case-hero,
  .case-detail-hero,
  .article-hero,
  .audit-hero,
  .section,
  .article-section,
  .case-section,
  .case-detail-section,
  .case-detail-cta-section,
  .audit-section,
  .about-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }
}

/* Design system lock: shared page width, section rhythm, and button sizing for all internal pages. */
:root {
  --max: 1240px;
  --section-y: clamp(56px, 5vw, 76px);
  --hero-top-y: clamp(36px, 4vw, 56px);
  --section-y-mobile: 48px;
  --hero-top-y-mobile: 34px;
}

.container,
.case-detail-page main > section > .container,
.case-page-cta .container,
.footer-main > .container {
  width: min(100% - 56px, var(--max));
  max-width: var(--max);
  margin-inline: auto;
}

.hero,
.about-hero,
.case-hero,
.case-detail-hero,
.article-hero,
.audit-hero,
.section,
.article-section,
.case-section,
.case-detail-section,
.case-detail-cta-section,
.audit-section,
.about-section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.hero,
.about-hero,
.case-hero,
.case-detail-hero,
.article-hero,
.audit-hero {
  padding-top: var(--hero-top-y);
}

.section-head,
.case-detail-head,
.article-block > h2,
.audit-split > div,
.audit-form-layout > div {
  max-width: 720px;
}

.button,
.case-detail-cta .button,
.case-page-cta .button,
.case-hero-actions .button,
.about-cta .button,
.cta-card .button,
.footer-contact-link.button {
  min-height: 54px;
  font-size: var(--type-button);
  font-weight: 600;
}

@media (max-width: 640px) {
  .container,
  .case-detail-page main > section > .container,
  .case-page-cta .container,
  .footer-main > .container {
    width: min(100% - 32px, var(--max));
  }

  .hero,
  .about-hero,
  .case-hero,
  .case-detail-hero,
  .article-hero,
  .audit-hero,
  .section,
  .article-section,
  .case-section,
  .case-detail-section,
  .case-detail-cta-section,
  .audit-section,
  .about-section {
    padding-top: var(--section-y-mobile);
    padding-bottom: var(--section-y-mobile);
  }

  .hero,
  .about-hero,
  .case-hero,
  .case-detail-hero,
  .article-hero,
  .audit-hero {
    padding-top: var(--hero-top-y-mobile);
  }
}

/* Unified background graphics system for internal pages.
   Decorative analytics marks stay at section edges and never carry content. */
.hero,
.about-hero,
.case-hero,
.case-detail-hero,
.article-hero,
.audit-hero,
.section,
.article-section,
.case-section,
.case-detail-section,
.case-detail-cta-section,
.audit-section,
.about-section,
.case-detail-page main > section,
.footer-main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero > .container,
.about-hero > .container,
.case-hero > .container,
.case-detail-hero > .container,
.article-hero > .container,
.audit-hero > .container,
.section > .container,
.article-section > .container,
.case-section > .container,
.case-detail-section > .container,
.case-detail-cta-section > .container,
.audit-section > .container,
.about-section > .container,
.case-detail-page main > section > .container,
.footer-main > .container {
  position: relative;
  z-index: 2;
}

.hero::before,
.about-hero::before,
.case-hero::before,
.case-detail-hero::before,
.article-hero::before,
.audit-hero::before,
.section::before,
.article-section::before,
.case-section::before,
.case-detail-section::before,
.case-detail-cta-section::before,
.audit-section::before,
.about-section::before,
.case-detail-page main > section::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: clamp(180px, 22vw, 340px);
  height: clamp(180px, 22vw, 340px);
  right: clamp(18px, 4vw, 72px);
  top: clamp(24px, 8vw, 96px);
  opacity: 0.16;
  background-image:
    radial-gradient(circle, rgba(22, 60, 120, 0.34) 1.1px, transparent 1.6px),
    linear-gradient(rgba(22, 60, 120, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 60, 120, 0.12) 1px, transparent 1px);
  background-position: 0 0, 8px 8px, 8px 8px;
  background-size: 20px 20px, 44px 44px, 44px 44px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, 0.72) 52%, transparent 78%);
}

.hero::after,
.about-hero::after,
.case-hero::after,
.case-detail-hero::after,
.article-hero::after,
.audit-hero::after,
.section::after,
.article-section::after,
.case-section::after,
.case-detail-section::after,
.case-detail-cta-section::after,
.audit-section::after,
.about-section::after,
.case-detail-page main > section::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: clamp(160px, 19vw, 300px);
  height: clamp(112px, 13vw, 180px);
  left: clamp(16px, 4vw, 72px);
  bottom: clamp(26px, 6vw, 88px);
  opacity: 0.045;
  background: url("data:image/svg+xml,%3Csvg width='300' height='180' viewBox='0 0 300 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M44 112C76 74 101 72 132 105C162 137 193 112 215 78C236 45 257 50 274 76' stroke='%23163C78' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M62 120C100 94 136 132 176 96C210 66 236 72 258 100' stroke='%232E7DE1' stroke-width='3' stroke-linecap='round' stroke-dasharray='9 12'/%3E%3Ccircle cx='44' cy='112' r='13' stroke='%23163C78' stroke-width='3'/%3E%3Ccircle cx='132' cy='105' r='13' stroke='%232E7DE1' stroke-width='3'/%3E%3Ccircle cx='215' cy='78' r='13' stroke='%23163C78' stroke-width='3'/%3E%3Ccircle cx='274' cy='76' r='13' stroke='%232E7DE1' stroke-width='3'/%3E%3Cpath d='M92 44h116M92 58h74' stroke='%23163C78' stroke-width='3' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") center / contain no-repeat;
}

.case-detail-page main {
  background: #ffffff;
}

.case-detail-page main::before {
  opacity: 0.24;
  background-image:
    radial-gradient(rgba(22, 60, 120, 0.18) 1px, transparent 1.35px),
    linear-gradient(rgba(22, 60, 120, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 60, 120, 0.045) 1px, transparent 1px);
  background-position: 12px 12px, 0 0, 0 0;
  background-size: 24px 24px, 56px 56px, 56px 56px;
  animation: case-watermark-drift 34s linear infinite;
}

.case-detail-page main > section::after {
  content: "\221E";
  right: clamp(26px, 5vw, 88px);
  left: auto;
  bottom: clamp(26px, 4vw, 58px);
  width: auto;
  height: auto;
  color: var(--navy);
  background: none;
  font-family: var(--font-main);
  font-size: clamp(4rem, 6vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  opacity: 0.035;
  transform: rotate(-6deg);
  animation: case-infinity-float 12s ease-in-out infinite;
}

.case-detail-page main > section:nth-of-type(even)::after {
  left: clamp(26px, 5vw, 88px);
  right: auto;
  color: var(--navy);
}

.case-detail-page main > section:nth-of-type(even)::before {
  left: clamp(18px, 4vw, 72px);
  right: auto;
}

.footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    radial-gradient(circle, rgba(22, 60, 120, 0.28) 1px, transparent 1.5px),
    linear-gradient(rgba(22, 60, 120, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 60, 120, 0.1) 1px, transparent 1px);
  background-size: 22px 22px, 48px 48px, 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before,
  .about-hero::before,
  .case-hero::before,
  .case-detail-hero::before,
  .article-hero::before,
  .audit-hero::before,
  .section::before,
  .article-section::before,
  .case-section::before,
  .case-detail-section::before,
  .case-detail-cta-section::before,
  .audit-section::before,
  .about-section::before {
    animation: pageDecorDrift 18s ease-in-out infinite;
  }
}

@keyframes pageDecorDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@media (max-width: 760px) {
  .hero::before,
  .about-hero::before,
  .case-hero::before,
  .case-detail-hero::before,
  .article-hero::before,
  .audit-hero::before,
  .section::before,
  .article-section::before,
  .case-section::before,
  .case-detail-section::before,
  .case-detail-cta-section::before,
  .audit-section::before,
  .about-section::before,
  .case-detail-page main > section::before {
    width: 190px;
    height: 190px;
    opacity: 0.1;
  }

  .hero::after,
  .about-hero::after,
  .case-hero::after,
  .case-detail-hero::after,
  .article-hero::after,
  .audit-hero::after,
  .section::after,
  .article-section::after,
  .case-section::after,
  .case-detail-section::after,
  .case-detail-cta-section::after,
  .audit-section::after,
  .about-section::after,
  .case-detail-page main > section::after {
    display: none;
  }
}

/* Final brand polish: restore orange CTA buttons and use balanced infinity marks. */
:root {
  --button-orange: #f47c20;
  --button-orange-dark: #d96512;
  --button-orange-shadow: rgba(244, 124, 32, 0.28);
}

.button,
.case-detail-cta .button,
.case-page-cta .button,
.case-hero-actions .button,
.about-cta .button,
.cta-card .button,
.footer-contact-link.button {
  color: #ffffff;
  background: var(--button-orange);
  border-color: var(--button-orange);
  box-shadow: 0 16px 32px var(--button-orange-shadow);
  filter: none;
}

.button:hover,
.button:focus-visible,
.case-detail-cta .button:hover,
.case-detail-cta .button:focus-visible,
.case-page-cta .button:hover,
.case-page-cta .button:focus-visible,
.case-hero-actions .button:hover,
.case-hero-actions .button:focus-visible,
.about-cta .button:hover,
.about-cta .button:focus-visible,
.cta-card .button:hover,
.cta-card .button:focus-visible,
.footer-contact-link.button:hover,
.footer-contact-link.button:focus-visible {
  color: #ffffff;
  background: var(--button-orange-dark);
  border-color: var(--button-orange-dark);
  box-shadow: 0 20px 40px rgba(244, 124, 32, 0.34);
  filter: none;
}

.button.secondary {
  color: var(--button-orange);
  background: transparent;
  border-color: rgba(244, 124, 32, 0.44);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--button-orange-dark);
  background: rgba(244, 124, 32, 0.08);
  border-color: var(--button-orange);
  box-shadow: 0 14px 28px rgba(244, 124, 32, 0.16);
}

.case-detail-page main > section::after {
  content: "";
  width: clamp(8rem, 12vw, 14rem);
  height: clamp(4.4rem, 6.6vw, 7.6rem);
  color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 240'%3E%3Cpath d='M40 120C40 60 110 50 220 120C330 190 400 180 400 120C400 60 330 50 220 120C110 190 40 180 40 120Z' fill='none' stroke='%23163C78' stroke-width='24' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  font-size: 0;
  letter-spacing: 0;
}

.brand-symbol,
.footer-infinity {
  width: 21px;
  height: 13px;
  color: #071846;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 28'%3E%3Cpath d='M24 14C18 7 10 6 6 11C1.5 17 8.5 23 16 20C19 18.8 21.5 16.2 24 14ZM24 14C30 7 38 6 42 11C46.5 17 39.5 23 32 20C29 18.8 26.5 16.2 24 14Z' fill='none' stroke='%23071846' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.brand,
.footer-brand-mark {
  column-gap: 14px;
  min-width: 260px;
  color: #071846;
}

.brand-separator,
.footer-brand-separator {
  width: 1px;
  height: 30px;
  background: #d8dfec;
  opacity: 1;
}

.brand-copy,
.footer-brand-copy {
  gap: 5px;
}

.brand strong,
.footer-brand-name {
  color: #071846;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand-copy > span,
.footer-brand-line {
  color: #071846;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

/* Final back/tag consistency rule. Keep this at the end so later typography rules cannot override it. */
.case-study-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 48px;
}

.case-back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  transition: color 0.22s ease, transform 0.22s ease;
}

.case-back-link::before {
  content: "\2190";
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--orange);
  background: #fff6ef;
  border: 1px solid #ffd6b8;
  border-radius: 999px;
  font-size: 1.1em;
  line-height: 1;
}

.case-back-link::after {
  content: "";
  width: 1px;
  height: 40px;
  margin-left: 16px;
  background: rgba(83, 98, 120, 0.34);
}

.case-back-link:hover,
.case-back-link:focus-visible {
  color: var(--orange);
  transform: translateX(-3px);
}

.case-detail-hero .case-study-tag,
.hero .case-study-tag,
.case-study-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 360px);
  max-width: 100%;
  margin: 0;
  padding: 14px 28px;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.07);
  border: 1px solid rgba(255, 122, 26, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.case-detail-hero .case-study-tag::before,
.hero .case-study-tag::before,
.case-study-tag::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg width='22' height='20' viewBox='0 0 22 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 17h16M5 14V9h3v5M10 14V5h3v9M15 14V2h3v12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  transition: color 0.22s ease, transform 0.22s ease;
}

.site-back-link::before {
  content: "\2190";
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--orange);
  background: #fff6ef;
  border: 1px solid #ffd6b8;
  border-radius: 999px;
  font-size: 1.08em;
  line-height: 1;
}

.site-back-link:hover,
.site-back-link:focus-visible {
  color: var(--orange);
  transform: translateX(-3px);
}

@media (max-width: 640px) {
  .case-study-topline {
    gap: 14px;
    margin-bottom: 36px;
  }

  .case-back-link::after {
    display: none;
  }

  .case-detail-hero .case-study-tag,
  .hero .case-study-tag,
  .case-study-tag {
    width: min(100%, 330px);
    padding: 12px 20px;
  }
}

/* Final Case Studies index guard. This keeps the redesigned page from inheriting older global button/card sizing. */
.case-index-page .case-index-hero {
  padding: 34px 0 28px;
}

.case-index-page .case-index-title {
  max-width: 680px;
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

.case-index-page .case-index-cta .button {
  min-height: 42px;
  margin-top: 0;
  padding: 12px 20px;
  color: #ffffff;
  background: var(--button-orange, #f47c20);
  border: 1px solid var(--button-orange, #f47c20);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(244, 124, 32, 0.24);
  font-size: 13px;
}

.case-index-page .case-index-cta .button:hover,
.case-index-page .case-index-cta .button:focus-visible {
  background: var(--button-orange-dark, #d96512);
  border-color: var(--button-orange-dark, #d96512);
}

.case-index-page .case-index-card h2,
.case-index-page .case-index-approach h2,
.case-index-page .case-index-cta h2,
.case-index-page .case-index-help-card h2 {
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .case-index-page .case-index-title {
    font-size: 46px;
  }
}

@media (max-width: 680px) {
  .case-index-page .case-index-title {
    font-size: 38px;
  }

  .case-index-page .case-index-card-body {
    min-height: 270px;
    padding: 26px 22px 30px;
  }

  .case-index-page .case-index-card h2 {
    font-size: 22px;
    line-height: 1.18;
  }
}

/* Final image ratio lock: all Case Studies cards use the requested 16:9 photo crop. */
.case-index-page .case-index-card-image {
  aspect-ratio: 16 / 9 !important;
}

/* Premium Case Studies page polish: modal form, calmer palette, spacing, background, and footer. */
:root {
  --heading-color: #102a56;
  --body-color: #526172;
  --label-color: #2f6fd0;
  --navy: #102a56;
  --gold: #d96f25;
  --orange: #d96f25;
  --orange-dark: #b85a1d;
  --button-orange: #d96f25;
  --button-orange-dark: #b85a1d;
  --button-orange-shadow: rgba(217, 111, 37, 0.24);
  --muted: #526172;
  --warm: #f7f9fc;
  --line: rgba(16, 42, 86, 0.13);
}

.phone-icon {
  background: linear-gradient(135deg, #f28a35 0%, var(--button-orange-dark) 100%);
  box-shadow: 0 12px 28px rgba(217, 111, 37, 0.28);
}

.phone-icon::after {
  border-color: rgba(217, 111, 37, 0.35);
}

.case-index-page main {
  overflow: hidden;
  color: var(--body-color);
  background:
    linear-gradient(90deg, rgba(47, 111, 208, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 111, 208, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #fbfdff 42%, #f6f9fd 100%);
  background-size: 54px 54px, 54px 54px, auto;
}

.case-index-page .case-index-hero,
.case-index-page .case-index-section {
  position: relative;
  isolation: isolate;
}

.case-index-page .case-index-hero {
  padding: 54px 0 64px;
}

.case-index-page .case-index-section {
  padding: 96px 0 122px;
}

.case-index-page .case-index-hero::before,
.case-index-page .case-index-section::before {
  opacity: 0.58;
  background:
    radial-gradient(circle, rgba(47, 111, 208, 0.12) 1px, transparent 1.7px),
    linear-gradient(120deg, transparent 0 58%, rgba(217, 111, 37, 0.055) 58% 59%, transparent 59% 100%);
  background-size: 24px 24px, 100% 100%;
}

.case-index-page .case-index-hero::after,
.case-index-page .case-index-section::after {
  content: "\221e";
  position: absolute;
  z-index: -1;
  right: min(5vw, 70px);
  top: 54px;
  color: rgba(16, 42, 86, 0.04);
  font-size: clamp(120px, 18vw, 270px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.case-index-page .case-index-section::after {
  left: min(6vw, 90px);
  right: auto;
  top: 50%;
  color: rgba(217, 111, 37, 0.038);
  transform: translateY(-50%);
}

.case-index-page .case-index-back-row {
  margin-bottom: 46px;
}

.case-index-page .case-index-hero-grid {
  align-items: center;
}

.case-index-page .case-index-title {
  color: var(--navy);
  text-wrap: balance;
}

.case-index-page .case-index-title span {
  color: var(--button-orange);
}

.case-index-page .case-index-lead {
  max-width: 640px;
  color: #43536a;
}

.case-index-page .case-tags {
  gap: 12px;
  margin-top: 28px;
}

.case-index-page .case-tags button {
  color: #102a56;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 42, 86, 0.12);
  box-shadow: 0 10px 24px rgba(16, 42, 86, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.case-index-page .case-tags button.is-active,
.case-index-page .case-tags button:hover,
.case-index-page .case-tags button:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, var(--button-orange) 0%, var(--button-orange-dark) 100%);
  border-color: rgba(217, 111, 37, 0.34);
  box-shadow: 0 16px 30px rgba(217, 111, 37, 0.22);
  transform: translateY(-2px);
}

.case-index-page .case-index-help-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 42, 86, 0.12);
  box-shadow: 0 24px 60px rgba(16, 42, 86, 0.11);
  backdrop-filter: blur(16px);
}

.case-index-page .case-index-help-card h2 {
  color: var(--navy);
}

.case-index-page .case-index-help-item {
  padding: 12px;
  border-radius: 8px;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.case-index-page .case-index-help-item:hover {
  background: rgba(247, 249, 252, 0.9);
  box-shadow: inset 3px 0 0 rgba(217, 111, 37, 0.5);
  transform: translateX(4px);
}

.case-index-page .case-index-help-item strong {
  color: #102a56;
}

.case-index-page .case-index-help-item small {
  color: #5b697b;
}

.case-index-page .case-index-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.case-index-page .case-index-card:hover {
  box-shadow: 0 28px 62px rgba(16, 42, 86, 0.14);
  transform: translateY(-7px);
}

.case-index-page .case-index-approach {
  margin-top: 104px;
}

.case-index-page .case-index-cta {
  margin-top: 108px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(47, 111, 208, 0.08), rgba(217, 111, 37, 0.1));
  border: 1px solid rgba(16, 42, 86, 0.1);
  box-shadow: 0 24px 68px rgba(16, 42, 86, 0.1);
}

.case-index-page .case-index-cta .button,
.lead-form .button {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.case-index-page .case-index-cta .button:hover,
.case-index-page .case-index-cta .button:focus-visible,
.lead-form .button:hover,
.lead-form .button:focus-visible {
  box-shadow: 0 18px 36px var(--button-orange-shadow);
  transform: translateY(-2px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.lead-form-open {
  overflow: hidden;
}

.lead-form-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.lead-form-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-form-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 70, 0.46);
  backdrop-filter: blur(8px);
}

.lead-form-panel {
  position: relative;
  width: min(100%, 660px);
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 34px;
  color: #24344d;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(47, 111, 208, 0.18), rgba(217, 111, 37, 0.38)) border-box;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: none;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.24s ease;
}

.lead-form-modal.is-open .lead-form-panel {
  transform: translateY(0) scale(1);
}

.lead-form-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #102a56;
  background: #fff6ef;
  border: 1px solid rgba(217, 111, 37, 0.22);
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.lead-form-close:hover,
.lead-form-close:focus-visible {
  color: #ffffff;
  background: var(--button-orange);
  transform: rotate(90deg);
}

.lead-form-panel h2 {
  margin: 0 48px 10px 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead-form-panel p {
  margin: 0 0 24px;
  color: #5b697b;
  font-size: 16px;
  line-height: 1.65;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.lead-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #102a56;
  font-size: 13px;
  font-weight: 800;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  width: 100%;
  color: #102a56;
  background: #f8fbff;
  border: 1px solid rgba(16, 42, 86, 0.14);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  background: #ffffff;
  border-color: rgba(217, 111, 37, 0.62);
  box-shadow: 0 0 0 4px rgba(217, 111, 37, 0.12);
}

.lead-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #526172;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.lead-form .form-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--button-orange);
}

.lead-form .form-consent span {
  display: block;
  min-width: 0;
}

.lead-form .form-consent a {
  color: var(--button-orange-dark);
  text-decoration: underline;
}

.lead-form .form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.page-footer {
  color: #dfe7f3;
  background:
    linear-gradient(135deg, #071846 0%, #102a56 58%, #163b72 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-footer .footer-inner {
  gap: 34px;
  padding: 52px 0 42px;
}

.page-footer a {
  color: #dfe7f3;
}

.page-footer a:hover,
.page-footer a:focus-visible {
  color: #ffb178;
}

.page-footer .footer-brand-name,
.page-footer .footer-brand-line {
  color: #ffffff;
}

.page-footer .footer-brand-symbol {
  color: #ffb178;
}

.page-footer .footer-social {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.page-footer .footer-col h3 {
  color: #ffffff;
}

.page-footer .footer-bottom {
  color: rgba(223, 231, 243, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .case-index-page .case-index-card,
  .case-index-page .case-tags button,
  .lead-form-panel,
  .lead-form-modal {
    transition: none;
  }
}

@media (max-width: 980px) {
  .case-index-page .case-index-hero {
    padding: 42px 0 52px;
  }

  .case-index-page .case-index-section {
    padding: 76px 0 96px;
  }

  .case-index-page .case-index-approach,
  .case-index-page .case-index-cta {
    margin-top: 82px;
  }
}

@media (max-width: 680px) {
  .lead-form-panel {
    padding: 28px 20px 22px;
  }

  .lead-form .form-grid {
    grid-template-columns: 1fr;
  }

  .case-index-page .case-index-hero {
    padding: 32px 0 42px;
  }

  .case-index-page .case-index-section {
    padding: 58px 0 78px;
  }

  .case-index-page .case-index-approach,
  .case-index-page .case-index-cta {
    margin-top: 66px;
  }
}

/* Case Studies refinement requested after the premium pass. Keep footer/home logo consistent. */
.brand-symbol,
.footer-infinity,
.footer-brand-symbol {
  width: 30px;
  height: 18px;
  color: #071846;
  font-size: 0;
  line-height: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 28'%3E%3Cpath d='M24 14C19 8 15 6 11 6C6 6 3 9 3 14C3 19 6 22 11 22C15 22 19 20 24 14ZM24 14C29 8 33 6 37 6C42 6 45 9 45 14C45 19 42 22 37 22C33 22 29 20 24 14Z' fill='none' stroke='%23071846' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.case-index-page main {
  background:
    linear-gradient(90deg, rgba(47, 111, 208, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 111, 208, 0.026) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #fcfdff 45%, #f8fbff 100%);
  background-size: 58px 58px, 58px 58px, auto;
}

.case-index-page .case-index-hero::before,
.case-index-page .case-index-section::before {
  opacity: 0.18;
  background:
    linear-gradient(rgba(47, 111, 208, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 208, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  border-radius: 0;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.case-index-page .case-index-hero::after,
.case-index-page .case-index-section::after {
  display: none;
}

.case-index-page .case-index-hero {
  padding-top: 62px;
}

.case-index-page .case-index-hero-copy {
  max-width: 700px;
}

.case-index-page .case-index-eyebrow {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.45;
}

.case-index-page .case-index-title {
  max-width: 720px;
  font-size: clamp(42px, 5.1vw, 58px);
  line-height: 1.16;
}

.case-index-page .case-index-title span {
  margin-top: 4px;
}

.case-index-page .case-index-lead {
  max-width: 650px;
  margin: 28px 0 34px;
  font-size: 16px;
  line-height: 1.9;
}

.case-index-page .case-tags {
  max-width: 660px;
  gap: 9px;
  margin-top: 0;
}

.case-index-page .case-tags button {
  min-height: 32px;
  padding: 7px 13px;
  color: #1a315d;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 42, 86, 0.12);
  border-radius: 999px;
  box-shadow: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.case-index-page .case-tags button.is-active,
.case-index-page .case-tags button:hover,
.case-index-page .case-tags button:focus-visible {
  background: #d96f25;
  border-color: #d96f25;
  box-shadow: 0 10px 22px rgba(217, 111, 37, 0.16);
  transform: translateY(-1px);
}

.case-index-page .case-index-help-card {
  box-shadow: 0 18px 42px rgba(16, 42, 86, 0.09);
}

.case-index-page .site-footer {
  background: var(--warm);
  border-top: 1px solid rgba(46, 125, 225, 0.2);
}

.case-index-page .site-footer .footer-main {
  background: rgba(255, 255, 255, 0.66);
}

.case-index-page .site-footer .footer-brand-name {
  color: var(--navy);
}

.case-index-page .site-footer .footer-brand-line {
  color: rgba(15, 34, 71, 0.72);
}

.case-index-page .site-footer .footer-col h3 {
  color: var(--gold);
}

.case-index-page .site-footer a {
  color: #334155;
}

.case-index-page .site-footer a:hover,
.case-index-page .site-footer a:focus-visible {
  color: var(--orange);
}

.case-index-page .site-footer .footer-bottom {
  color: var(--muted);
  background: transparent;
  border-top: 0;
}

@media (max-width: 680px) {
  .case-index-page .case-index-hero {
    padding-top: 38px;
  }

  .case-index-page .case-index-eyebrow {
    margin-bottom: 16px;
  }

  .case-index-page .case-index-title {
    line-height: 1.14;
  }

  .case-index-page .case-index-lead {
    margin: 22px 0 28px;
    line-height: 1.75;
  }
}

/* Final Case Studies spacing/footer color adjustment. */
.case-index-page .case-index-hero {
  padding-bottom: 30px;
}

.case-index-page .case-index-section {
  padding-top: 44px;
}

.case-index-page .site-footer,
.case-index-page .site-footer .footer-bottom {
  color: #334155;
}

.case-index-page .site-footer .footer-brand-name,
.case-index-page .site-footer .footer-col a,
.case-index-page .site-footer .footer-contact-link,
.case-index-page .site-footer .footer-bottom,
.case-index-page .site-footer .footer-mini-contact span {
  color: #334155;
}

.case-index-page .site-footer .footer-brand-line {
  color: #526172;
}

.case-index-page .site-footer .footer-col h3,
.case-index-page .site-footer .footer-link-arrow::after {
  color: #d96f25;
}

.case-index-page .site-footer .footer-social {
  color: #102a56;
}

.case-index-page .site-footer .footer-contact-link svg {
  color: #102a56;
}

@media (max-width: 980px) {
  .case-index-page .case-index-hero {
    padding-bottom: 26px;
  }

  .case-index-page .case-index-section {
    padding-top: 36px;
  }
}

@media (max-width: 680px) {
  .case-index-page .case-index-hero {
    padding-bottom: 24px;
  }

  .case-index-page .case-index-section {
    padding-top: 30px;
  }
}

/* Case Studies hero alignment: title should sit higher and align with the right card. */
.case-index-page .case-index-hero {
  padding-top: 42px;
}

.case-index-page .case-index-back-row {
  margin-bottom: 28px;
}

.case-index-page .case-index-hero-grid {
  align-items: start;
}

.case-index-page .case-index-title {
  margin-top: 0;
}

.case-index-page .case-index-help-card {
  margin-top: 0;
}

@media (max-width: 980px) {
  .case-index-page .case-index-hero {
    padding-top: 34px;
  }

  .case-index-page .case-index-back-row {
    margin-bottom: 24px;
  }
}

@media (max-width: 680px) {
  .case-index-page .case-index-hero {
    padding-top: 28px;
  }
}

/* Case Studies card icons and hero composition cleanup. */
.case-index-page .case-index-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 400px);
  gap: clamp(46px, 5vw, 72px);
}

.case-index-page .case-index-hero-copy {
  max-width: 760px;
  padding-top: 4px;
}

.case-index-page .case-index-title {
  max-width: 720px;
  line-height: 1.12;
}

.case-index-page .case-index-title span {
  margin-top: 8px;
}

.case-index-page .case-index-lead {
  max-width: 720px;
  margin: 30px 0 30px;
  line-height: 1.75;
}

.case-index-page .case-tags {
  max-width: 720px;
}

.case-index-card-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
}

.case-index-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-index-card-icon svg path,
.case-index-card-icon svg circle {
  vector-effect: non-scaling-stroke;
}

.case-index-card-label {
  gap: 12px;
}

.case-index-page .case-index-card {
  cursor: pointer;
}

.case-index-page .case-index-card:focus-visible {
  outline: 3px solid rgba(217, 111, 37, 0.42);
  outline-offset: 4px;
}

.case-index-page .case-index-card a,
.case-index-page .case-index-card button {
  position: relative;
  z-index: 4;
}

.case-index-page .case-index-card .case-index-read-link {
  position: static;
}

.case-index-page .case-index-card .case-index-read-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

@media (max-width: 980px) {
  .case-index-page .case-index-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case-index-page .case-index-hero-copy {
    max-width: 100%;
  }
}

/* Website Migration Broke Tracking case study page. */
.migration-case-page main {
  overflow: hidden;
  color: #526172;
  background:
    linear-gradient(90deg, rgba(47, 111, 208, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 111, 208, 0.026) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #fbfdff 48%, #f7faff 100%);
  background-size: 58px 58px, 58px 58px, auto;
}

.migration-hero,
.migration-section,
.migration-takeaway {
  position: relative;
  isolation: isolate;
}

.migration-hero {
  padding: clamp(34px, 5vw, 66px) 0 clamp(54px, 6vw, 86px);
}

.migration-hero::before,
.migration-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background:
    linear-gradient(rgba(47, 111, 208, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 208, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.migration-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
}

.migration-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #102a56;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: 0;
}

.migration-hero-copy h1 span {
  display: block;
  color: #d96f25;
}

.migration-hero-copy p {
  max-width: 690px;
  margin: 28px 0 30px;
  color: #43536a;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.78;
}

.migration-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.migration-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  color: #102a56;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.migration-status-card {
  padding: clamp(22px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 10px;
  box-shadow: 0 26px 68px rgba(16, 42, 86, 0.14);
  backdrop-filter: blur(14px);
}

.migration-status-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.migration-status-icon,
.migration-card-icon,
.migration-takeaway-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  color: #ffffff;
  background: linear-gradient(135deg, #2f6fd0, #1b54aa);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(47, 111, 208, 0.2);
}

.migration-status-icon svg,
.migration-card-icon svg,
.migration-takeaway-icon svg,
.migration-review-grid svg,
.migration-status-note svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.migration-status-head strong {
  display: block;
  color: #102a56;
  font-size: 18px;
  line-height: 1.1;
}

.migration-status-head small {
  display: block;
  margin-top: 4px;
  color: #66758a;
  font-weight: 700;
}

.migration-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.migration-status-panel {
  min-height: 210px;
  padding: 20px;
  background: #f8fbff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 8px;
}

.migration-status-panel.is-before {
  background: #fff8f2;
  border-color: rgba(217, 111, 37, 0.18);
}

.migration-status-panel span {
  display: block;
  margin-bottom: 10px;
  color: #d96f25;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.migration-status-panel.is-after span {
  color: #2f6fd0;
}

.migration-status-panel strong {
  display: block;
  margin-bottom: 14px;
  color: #102a56;
  font-size: 22px;
  line-height: 1.16;
}

.migration-status-panel ul,
.migration-list-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.migration-status-panel li,
.migration-list-card li {
  position: relative;
  padding-left: 22px;
  color: #526172;
  font-weight: 700;
  line-height: 1.45;
}

.migration-status-panel li::before,
.migration-list-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  background: #d96f25;
  border-radius: 999px;
}

.migration-status-panel.is-after li::before,
.migration-list-card.is-results li::before {
  background: #2f6fd0;
}

.migration-status-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  color: #2f6fd0;
  background: #eef5ff;
  border-radius: 8px;
}

.migration-status-note p {
  margin: 0;
  color: #24344d;
  font-weight: 700;
  line-height: 1.5;
}

.migration-section {
  padding: clamp(60px, 7vw, 96px) 0;
}

.migration-section-soft {
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.82), rgba(255, 255, 255, 0.94));
}

.migration-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.migration-snapshot div,
.migration-card,
.migration-list-card,
.migration-review-grid div {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 42, 86, 0.11);
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(16, 42, 86, 0.08);
}

.migration-snapshot div {
  min-height: 132px;
  padding: 22px;
}

.migration-snapshot span {
  display: block;
  margin-bottom: 12px;
  color: #d96f25;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.migration-snapshot strong {
  display: block;
  color: #102a56;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
}

.migration-two-col,
.migration-change-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.migration-card,
.migration-list-card {
  position: relative;
  min-height: 100%;
  padding: clamp(28px, 4vw, 40px);
}

.migration-card-icon {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #d96f25, #b85a1d);
  box-shadow: 0 16px 32px rgba(217, 111, 37, 0.2);
}

.migration-card-icon.is-blue {
  background: linear-gradient(135deg, #2f6fd0, #1b54aa);
}

.migration-card h2,
.migration-list-card h2,
.migration-section-head h2,
.migration-takeaway h2 {
  margin: 0 0 16px;
  color: #102a56;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

.migration-card p {
  margin: 0;
  color: #526172;
  font-size: 16px;
  line-height: 1.75;
}

.migration-section-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.migration-section-head span {
  display: inline-block;
  margin-bottom: 12px;
  color: #d96f25;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.migration-section-head p {
  margin: 0;
  color: #526172;
  font-size: 16px;
  line-height: 1.7;
}

.migration-review-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.migration-review-grid div {
  display: grid;
  gap: 14px;
  min-height: 156px;
  align-content: center;
  justify-items: center;
  padding: 20px 14px;
  color: #2f6fd0;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.migration-review-grid div:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(16, 42, 86, 0.12);
}

.migration-review-grid strong {
  color: #102a56;
  font-size: 13px;
  line-height: 1.3;
}

.migration-list-card {
  overflow: hidden;
}

.migration-list-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #d96f25;
}

.migration-list-card.is-results::before {
  background: #2f6fd0;
}

.migration-takeaway {
  padding: clamp(52px, 6vw, 78px) 0;
  background: linear-gradient(90deg, rgba(255, 248, 242, 0.94), rgba(238, 245, 255, 0.9));
}

.migration-takeaway-grid {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.migration-takeaway-icon {
  width: 64px;
  height: 64px;
  color: #d96f25;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(217, 111, 37, 0.14);
}

.migration-takeaway p {
  max-width: 760px;
  margin: 0;
  color: #526172;
  line-height: 1.7;
}

.migration-case-page .site-footer {
  background: var(--warm);
  border-top: 1px solid rgba(46, 125, 225, 0.2);
}

.migration-case-page .footer-main {
  background: rgba(255, 255, 255, 0.66);
}

@media (prefers-reduced-motion: reduce) {
  .migration-review-grid div,
  .migration-card,
  .migration-list-card,
  .migration-status-card {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .migration-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .migration-takeaway-grid {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .migration-takeaway .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .migration-hero-grid,
  .migration-two-col,
  .migration-change-grid,
  .migration-snapshot {
    grid-template-columns: 1fr;
  }

  .migration-hero-grid {
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .migration-hero {
    padding-top: 28px;
  }

  .migration-status-grid,
  .migration-review-grid {
    grid-template-columns: 1fr;
  }

  .migration-status-panel {
    min-height: auto;
  }

  .migration-takeaway-grid {
    grid-template-columns: 1fr;
  }

  .migration-takeaway .button {
    grid-column: auto;
  }
}

/* Migration case visual refinement: lighter blocks, real photo, subtle motion. */
.migration-case-page .case-study-topline {
  margin-bottom: clamp(24px, 3vw, 34px);
}

.migration-hero {
  padding-top: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(42px, 5vw, 64px);
}

.migration-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.82fr);
  align-items: start;
  gap: clamp(34px, 4.8vw, 64px);
}

.migration-hero-copy {
  padding-top: 10px;
}

.migration-hero-copy h1 {
  max-width: 700px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.1;
}

.migration-hero-copy p {
  max-width: 640px;
  margin: 24px 0 24px;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.75;
}

.migration-visual-stack {
  display: grid;
  gap: 16px;
}

.migration-hero-photo {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: #eef4fb;
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 10px;
  box-shadow: 0 24px 58px rgba(16, 42, 86, 0.12);
}

.migration-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.migration-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(7, 24, 70, 0.58));
  pointer-events: none;
}

.migration-hero-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: grid;
  gap: 5px;
  color: #ffffff;
}

.migration-hero-photo figcaption span {
  color: #ffb178;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.migration-hero-photo figcaption strong {
  max-width: 360px;
  font-size: 17px;
  line-height: 1.35;
}

.migration-visual-stack:hover .migration-hero-photo img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.045);
}

.migration-status-card {
  padding: clamp(18px, 2.4vw, 24px);
  box-shadow: 0 18px 44px rgba(16, 42, 86, 0.1);
}

.migration-status-head {
  margin-bottom: 16px;
}

.migration-status-icon,
.migration-card-icon,
.migration-takeaway-icon {
  width: 46px;
  height: 46px;
}

.migration-status-panel {
  min-height: 156px;
  padding: 16px;
}

.migration-status-panel strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.migration-status-panel ul,
.migration-list-card ul {
  gap: 8px;
}

.migration-status-panel li,
.migration-list-card li {
  font-size: 14px;
  line-height: 1.42;
}

.migration-status-note {
  grid-template-columns: 34px minmax(0, 1fr);
  margin-top: 12px;
  padding: 13px;
}

.migration-section {
  padding: clamp(46px, 5.4vw, 72px) 0;
}

.migration-snapshot div {
  min-height: 108px;
  padding: 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.migration-snapshot div:hover,
.migration-card:hover,
.migration-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(16, 42, 86, 0.11);
}

.migration-snapshot span {
  margin-bottom: 9px;
  font-size: 11px;
}

.migration-snapshot strong {
  font-size: clamp(16px, 1.5vw, 19px);
}

.migration-card,
.migration-list-card {
  padding: clamp(22px, 3vw, 30px);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.migration-card-icon {
  margin-bottom: 18px;
}

.migration-card h2,
.migration-list-card h2,
.migration-section-head h2,
.migration-takeaway h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.5vw, 32px);
}

.migration-card p,
.migration-section-head p,
.migration-takeaway p {
  font-size: 15px;
  line-height: 1.68;
}

.migration-section-head {
  margin-bottom: 26px;
}

.migration-review-grid div {
  min-height: 126px;
  padding: 17px 12px;
}

.migration-review-grid svg {
  width: 22px;
  height: 22px;
}

.migration-takeaway {
  padding: clamp(42px, 5vw, 60px) 0;
}

@media (prefers-reduced-motion: no-preference) {
  .migration-status-card {
    animation: migrationFloat 7s ease-in-out infinite;
  }

  .migration-hero-photo {
    animation: migrationFloat 8s ease-in-out infinite reverse;
  }

  .migration-review-grid div:nth-child(2n) {
    animation: migrationSoftLift 6.8s ease-in-out infinite;
  }
}

@keyframes migrationFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes migrationSoftLift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 900px) {
  .migration-hero-grid {
    grid-template-columns: 1fr;
  }

  .migration-hero-copy {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .migration-hero-photo,
  .migration-hero-photo img {
    min-height: 220px;
  }

  .migration-status-grid {
    gap: 10px;
  }
}

/* Website Migration visual case-study redraw. */
.migration-showcase-page main {
  color: #2c3b55;
  background:
    radial-gradient(circle at 86% 8%, rgba(47, 111, 208, 0.12), transparent 30%),
    radial-gradient(circle at 4% 36%, rgba(217, 111, 37, 0.06), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, #fbfdff 48%, #f7faff 100%),
    #ffffff;
  background-size: auto;
}

.migration-showcase-page main::before {
  content: none;
}

.migration-showcase-page main > section::before,
.migration-showcase-page main > section::after {
  content: none;
}

.migration-showcase-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.migration-showcase-page .case-study-topline {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.migration-showcase-page .case-study-tag {
  color: #d96f25;
  background: rgba(255, 248, 242, 0.92);
  border-color: rgba(217, 111, 37, 0.34);
}

.migration-showcase-page .case-study-tag::before {
  background: #d96f25;
}

.migration-showcase-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 42px) 0 clamp(38px, 4.6vw, 58px);
  border-bottom: 1px solid rgba(16, 42, 86, 0.1);
}

.migration-showcase-hero::after {
  content: "";
  position: absolute;
  right: -170px;
  top: 78px;
  width: 430px;
  height: 190px;
  border: 3px solid rgba(47, 111, 208, 0.12);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(12deg);
  pointer-events: none;
}

.migration-showcase-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(410px, 0.78fr);
  gap: clamp(26px, 3.4vw, 46px);
  align-items: center;
}

.migration-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 11px;
  color: #d96f25;
  border: 1px solid rgba(217, 111, 37, 0.24);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.migration-showcase-copy h1 {
  max-width: 700px;
  margin: 0;
  color: #102a56;
  font-size: clamp(38px, 4.15vw, 56px);
  line-height: 1.06;
  letter-spacing: 0;
}

.migration-showcase-copy h1 span {
  display: block;
  color: #d96f25;
}

.migration-showcase-copy h1 strong {
  display: block;
  color: #1e64d8;
  font-weight: 900;
}

.migration-showcase-copy > p:not(.migration-kicker) {
  max-width: 570px;
  margin: 18px 0 20px;
  color: #44536a;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.64;
}

.migration-tool-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 650px;
}

.migration-tool-chips span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(16, 42, 86, 0.06);
}

.migration-tool-chips svg {
  grid-row: span 2;
  width: 23px;
  height: 23px;
  color: #d96f25;
}

.migration-tool-chips .tool-logo {
  grid-row: span 2;
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  align-self: center;
  justify-self: center;
}

.migration-tool-chips .tool-logo-ga4 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.tool-logo-ga4 b {
  display: block;
  width: 4px;
  background: #e37424;
  border-radius: 999px 999px 2px 2px;
}

.tool-logo-ga4 b:nth-child(1) {
  height: 24px;
}

.tool-logo-ga4 b:nth-child(2) {
  height: 15px;
}

.tool-logo-ga4 b:nth-child(3) {
  height: 7px;
}

.tool-logo-gtm::before,
.tool-logo-gtm::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 4px solid #5f8feb;
  border-radius: 3px;
  transform: rotate(45deg);
}

.tool-logo-gtm::after {
  inset: 10px;
  border-width: 3px;
  border-color: #ffffff;
  background: #5f8feb;
}

.tool-logo-ads::before,
.tool-logo-ads::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 25px;
  border-radius: 999px;
  transform-origin: bottom center;
}

.tool-logo-ads::before {
  left: 8px;
  background: #1e64d8;
  transform: rotate(28deg);
}

.tool-logo-ads::after {
  right: 8px;
  background: #1e64d8;
  transform: rotate(-28deg);
}

.tool-logo-ads {
  background:
    radial-gradient(circle at 50% 74%, #1e64d8 0 3px, transparent 3.5px);
}

.migration-tool-chips span:nth-child(2) svg {
  color: #5787e8;
}

.migration-tool-chips span:nth-child(3) svg {
  color: #1e64d8;
}

.migration-tool-chips strong,
.migration-tool-chips small {
  display: block;
  min-width: 0;
}

.migration-tool-chips strong {
  color: #102a56;
  font-size: 13px;
  line-height: 1.1;
}

.migration-tool-chips small {
  color: #53637a;
  font-size: 11px;
  line-height: 1.1;
}

.migration-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  color: #53637a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.migration-meta-line span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 14px 2px 0;
  background: #2f6fd0;
  border-radius: 999px;
}

.migration-dashboard-hero {
  position: relative;
  z-index: 1;
}

.migration-dashboard-photo {
  position: relative;
  min-height: 330px;
  padding: clamp(18px, 2.4vw, 28px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.72)),
    url("case-photo-website-migration.png") center / cover;
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(16, 42, 86, 0.14);
}

.migration-laptop-screen {
  width: min(100%, 525px);
  margin-left: auto;
  overflow: hidden;
  background: #ffffff;
  border: 9px solid #111827;
  border-bottom-width: 16px;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(16, 42, 86, 0.24);
}

.migration-screen-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  color: #f7fbff;
  background: #202936;
  font-size: 10px;
}

.migration-screen-top strong {
  margin-right: auto;
}

.migration-ads-mark {
  display: inline-block;
  position: relative;
  width: 17px;
  height: 17px;
  border-radius: 4px;
}

.migration-ads-mark::before,
.migration-ads-mark::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 6px;
  height: 14px;
  border-radius: 999px;
  transform-origin: bottom center;
}

.migration-ads-mark::before {
  left: 3px;
  background: #34a853;
  transform: rotate(30deg);
}

.migration-ads-mark::after {
  right: 3px;
  background: #4285f4;
  transform: rotate(-30deg);
}

.migration-ads-mark {
  background:
    radial-gradient(circle at 50% 78%, #fbbc04 0 28%, transparent 30%);
}

.migration-dashboard-body {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 210px;
}

.migration-dashboard-body aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 13px 9px;
  background: #f4f7fc;
}

.migration-dashboard-body aside span {
  padding: 7px 8px;
  color: #526172;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
}

.migration-dashboard-body aside .is-active {
  color: #1e64d8;
  background: #eaf2ff;
}

.migration-dashboard-main {
  padding: 14px;
}

.migration-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.migration-account-head small,
.migration-account-head strong {
  display: block;
}

.migration-account-head small {
  margin-bottom: 2px;
  color: #5d6d84;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.migration-account-head strong {
  color: #102a56;
  font-size: 13px;
  line-height: 1.1;
}

.migration-account-head button {
  min-height: 26px;
  padding: 0 10px;
  color: #ffffff;
  background: #1a73e8;
  border: 0;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.migration-metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 10px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  overflow: hidden;
}

.migration-metric-row span {
  min-height: 48px;
  padding: 8px;
  color: #526172;
  background: #fff;
  border-right: 1px solid #dbe5f2;
  font-size: 10px;
  font-weight: 800;
}

.migration-metric-row span:last-child {
  border-right: 0;
}

.migration-metric-row .is-blue {
  color: #ffffff;
  background: #1e64d8;
}

.migration-metric-row .is-red {
  color: #ffffff;
  background: #e8311a;
}

.migration-metric-row strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.migration-dashboard-panel {
  padding: 8px 8px 10px;
  background: #ffffff;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
}

.migration-line-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.migration-line-chart line {
  stroke: #e7edf6;
  stroke-width: 1;
}

.migration-line-chart polyline {
  fill: none;
  stroke: #1e64d8;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.migration-line-chart .is-orange {
  stroke: #d96f25;
  stroke-width: 3;
}

.migration-account-table {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr 0.42fr;
  gap: 5px 8px;
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid #e1e8f2;
  font-size: 9px;
}

.migration-account-table span {
  color: #64748b;
  font-weight: 900;
}

.migration-account-table b,
.migration-account-table strong {
  color: #102a56;
  font-weight: 800;
}

.migration-account-table em {
  color: #188038;
  font-style: normal;
  font-weight: 900;
}

.migration-warning-callout {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: min(300px, calc(100% - 36px));
  padding: 14px 16px;
  color: #ffffff;
  background: #102a56;
  border-radius: 8px;
  box-shadow: 0 20px 38px rgba(16, 42, 86, 0.24);
}

.migration-warning-callout svg {
  width: 36px;
  height: 36px;
  color: #ff7a1a;
}

.migration-warning-callout p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.migration-showcase-section {
  position: relative;
  padding: clamp(46px, 5.5vw, 78px) 0;
  border-bottom: 1px solid rgba(16, 42, 86, 0.09);
}

.migration-evidence-grid,
.migration-process-grid {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
}

.migration-side-copy h2 {
  position: relative;
  margin: 0 0 18px;
  color: #102a56;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.14;
  text-transform: uppercase;
}

.migration-side-copy h2::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 16px;
  background: #d96f25;
}

.migration-side-copy p {
  margin: 0;
  color: #53637a;
  font-size: 14px;
  line-height: 1.65;
}

.migration-screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
}

.migration-mini-screen {
  position: relative;
  min-width: 0;
  padding: 48px 0 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(16, 42, 86, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.migration-mini-screen:hover,
.migration-mini-screen:focus-within,
.migration-process-card:hover,
.migration-benefit-row div:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(16, 42, 86, 0.12);
}

.migration-mini-screen h3 {
  position: absolute;
  top: 0;
  right: 12px;
  left: 12px;
  margin: 0;
  padding: 0;
  color: #d96f25;
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.migration-mini-screen.is-success h3 {
  color: #0d8c45;
  background: linear-gradient(180deg, rgba(231, 248, 237, 0.95), rgba(255, 255, 255, 0.94));
}

.migration-screen-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #dbe5f2;
}

.migration-screen-toolbar span,
.migration-screen-toolbar small {
  padding: 5px 8px;
  color: #102a56;
  background: #f7faff;
  border: 1px solid #dbe5f2;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
}

.migration-table {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr 0.95fr 0.42fr;
  gap: 0;
  padding: 0;
  font-size: 10px;
}

.migration-table span,
.migration-table b,
.migration-table em,
.migration-table strong {
  min-height: 34px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(219, 229, 242, 0.7);
}

.migration-table span {
  color: #53637a;
  font-weight: 900;
}

.migration-table b,
.migration-table strong {
  color: #102a56;
  font-weight: 800;
}

.migration-table .is-blurred {
  color: transparent;
  text-shadow: 0 0 8px rgba(30, 100, 216, 0.24);
  background: linear-gradient(90deg, rgba(232, 240, 254, 0.35), rgba(232, 240, 254, 0.86), rgba(232, 240, 254, 0.35));
}

.migration-table em {
  color: #e8311a;
  font-style: normal;
  font-weight: 800;
}

.migration-mini-screen.is-success .migration-table em {
  color: #0d8c45;
}

.migration-mini-screen > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 14px 0;
  color: #e8311a;
  font-size: 13px;
  font-weight: 900;
}

.migration-mini-screen.is-success > p {
  color: #102a56;
}

.migration-mini-screen > p svg {
  width: 20px;
  height: 20px;
}

.migration-screen-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 10px 16px 0;
  color: #102a56;
  font-size: 12px;
  font-weight: 900;
}

.migration-debug-head {
  padding: 14px 18px;
  border-bottom: 1px solid #dbe5f2;
}

.migration-debug-head strong {
  color: #102a56;
  font-size: 16px;
}

.migration-debug-list,
.migration-tag-list {
  display: grid;
  gap: 0;
  padding: 0;
}

.migration-debug-list span,
.migration-tag-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 43px;
  padding: 10px 14px;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(219, 229, 242, 0.72);
  border-radius: 0;
}

.migration-debug-list b,
.migration-tag-list b {
  color: #102a56;
  font-size: 11px;
  line-height: 1.25;
}

.migration-debug-list small,
.migration-tag-list small {
  color: #0d8c45;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
}

.migration-debug-list .is-debug-label {
  color: #53637a;
  background: #fbfdff;
  text-transform: uppercase;
}

.migration-debug-list .is-debug-label b,
.migration-debug-list .is-debug-label small {
  color: #53637a;
  font-size: 10px;
}

.migration-debug-list .is-missing b,
.migration-debug-list .is-missing small,
.migration-tag-list .is-missing small {
  color: #e8311a;
}

.migration-gtm-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  min-height: 100%;
}

.migration-gtm-summary {
  display: grid;
  align-content: start;
  border-right: 1px solid #dbe5f2;
}

.migration-gtm-summary > strong,
.migration-tag-list > strong {
  display: block;
  padding: 13px 14px;
  color: #1e64d8;
  background: #f7faff;
  border-bottom: 1px solid #dbe5f2;
  font-size: 12px;
}

.migration-gtm-summary span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 6px;
  min-height: 39px;
  padding: 9px 11px;
  color: #102a56;
  border-bottom: 1px solid rgba(219, 229, 242, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.migration-gtm-summary b {
  color: #53637a;
}

.migration-process-section {
  background: rgba(248, 251, 255, 0.72);
}

.migration-process-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.migration-process-card {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: center;
  justify-items: center;
  min-height: 168px;
  padding: 22px 14px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(16, 42, 86, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.migration-process-card:not(:last-of-type)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -23px;
  z-index: 2;
  color: #102a56;
  font-size: 30px;
  font-weight: 900;
  transform: translate(50%, -50%);
}

.migration-process-card svg,
.migration-benefit-row svg {
  width: 48px;
  height: 48px;
  color: #1e64d8;
}

.migration-process-card:nth-child(2n) svg {
  color: #d96f25;
}

.migration-process-card strong,
.migration-benefit-row strong {
  color: #102a56;
  font-size: 14px;
  line-height: 1.3;
}

.migration-process-card .tool-logo {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 58px;
}

.migration-process-card .tool-logo-ga4 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
}

.migration-process-card .tool-logo-ga4 b {
  width: 9px;
}

.migration-process-card .tool-logo-ga4 b:nth-child(1) {
  height: 40px;
}

.migration-process-card .tool-logo-ga4 b:nth-child(2) {
  height: 28px;
}

.migration-process-card .tool-logo-ga4 b:nth-child(3) {
  height: 14px;
}

.migration-process-card .tool-logo-gtm::before {
  inset: 9px;
  border-width: 8px;
  border-color: #6a94ef;
}

.migration-process-card .tool-logo-gtm::after {
  inset: 20px;
  border-width: 0;
  background: #ffffff;
}

.migration-process-card .tool-logo-ads::before,
.migration-process-card .tool-logo-ads::after {
  bottom: 7px;
  width: 13px;
  height: 46px;
}

.migration-process-card .tool-logo-ads::before {
  left: 17px;
  background: #34a853;
}

.migration-process-card .tool-logo-ads::after {
  right: 17px;
  background: #4285f4;
}

.migration-process-card .tool-logo-ads-google {
  background:
    radial-gradient(circle at 50% 78%, #fbbc04 0 9px, transparent 9.5px);
}

.migration-success-strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 0;
  padding: 14px;
  color: #1e64d8;
  background: #eef5ff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.migration-success-strip svg {
  width: 18px;
  height: 18px;
}

.migration-realtime {
  padding: 14px;
}

.migration-realtime strong {
  display: block;
  color: #102a56;
  font-size: 42px;
  line-height: 1;
}

.migration-realtime span {
  display: block;
  margin-top: 5px;
  color: #53637a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.migration-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 56px;
  margin-top: 12px;
}

.migration-bars i {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, #65a1ff, #1e64d8);
  border-radius: 4px 4px 0 0;
}

.migration-debug-list.is-compact {
  padding-top: 0;
}

.migration-key-section {
  padding-bottom: clamp(34px, 4.5vw, 56px);
}

.migration-key-grid {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.migration-key-card {
  position: relative;
  padding: 28px 30px;
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(16, 42, 86, 0.06);
}

.migration-key-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: #ffffff;
  background: #1e64d8;
  border-radius: 999px;
}

.migration-key-card svg {
  width: 28px;
  height: 28px;
}

.migration-key-card h2 {
  margin: 0 0 10px;
  color: #102a56;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

.migration-key-card p {
  margin: 0;
  color: #43536a;
  font-size: 14px;
  line-height: 1.62;
}

.migration-benefit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.migration-benefit-row div {
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 142px;
  padding: 20px 18px;
  text-align: center;
  border-left: 1px solid rgba(16, 42, 86, 0.14);
  transition: transform 0.22s ease;
}

.migration-benefit-row div:first-child {
  border-left: 0;
}

.migration-bottom-cta {
  padding: 26px 0 34px;
}

.migration-bottom-cta-grid {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(16, 42, 86, 0.12);
}

.migration-bottom-cta-grid > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #1e64d8;
  border: 2px solid rgba(30, 100, 216, 0.22);
  border-radius: 8px;
}

.migration-bottom-cta h2 {
  margin: 0 0 4px;
  color: #102a56;
  font-size: 22px;
  line-height: 1.15;
}

.migration-bottom-cta p {
  margin: 0;
  color: #53637a;
  font-size: 14px;
  line-height: 1.4;
}

.migration-showcase-page .site-footer {
  background: var(--warm);
  border-top: 1px solid rgba(16, 42, 86, 0.1);
}

.migration-showcase-page .footer-main {
  background: rgba(255, 255, 255, 0.68);
}

@media (prefers-reduced-motion: no-preference) {
  .migration-laptop-screen {
    animation: migrationShowcaseFloat 7s ease-in-out infinite;
  }

  .migration-warning-callout {
    animation: migrationShowcaseFloat 6.4s ease-in-out infinite reverse;
  }

  .migration-bars i {
    animation: migrationBarPulse 2.8s ease-in-out infinite;
    animation-delay: calc(var(--h) * -0.018);
  }
}

@keyframes migrationShowcaseFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes migrationBarPulse {
  0%, 100% {
    opacity: 0.74;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .migration-showcase-hero-grid,
  .migration-evidence-grid,
  .migration-process-grid {
    grid-template-columns: 1fr;
  }

  .migration-side-copy {
    max-width: 620px;
  }

  .migration-process-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .migration-tool-chips,
  .migration-screen-grid,
  .migration-benefit-row {
    grid-template-columns: 1fr;
  }

  .migration-dashboard-photo {
    min-height: 360px;
    padding: 18px;
  }

  .migration-laptop-screen {
    border-width: 8px;
    border-bottom-width: 14px;
  }

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

  .migration-process-card:not(:last-of-type)::after {
    content: none;
  }

  .migration-key-grid,
  .migration-bottom-cta-grid {
    grid-template-columns: 1fr;
  }

  .migration-benefit-row div,
  .migration-benefit-row div:first-child {
    border-left: 0;
    border-top: 1px solid rgba(16, 42, 86, 0.12);
  }

  .migration-benefit-row div:first-child {
    border-top: 0;
  }

  .migration-bottom-cta-grid .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .migration-showcase-copy h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .migration-meta-line span + span::before {
    content: none;
  }

  .migration-dashboard-body {
    grid-template-columns: 1fr;
  }

  .migration-dashboard-body aside {
    display: none;
  }

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

  .migration-warning-callout {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .migration-process-flow {
    grid-template-columns: 1fr;
  }
}

/* Reference-match pass for Website Migration case study. */
.migration-showcase-page .page-header {
  box-shadow: 0 1px 0 rgba(16, 42, 86, 0.08);
}

.migration-showcase-page main > .migration-showcase-hero > .container,
.migration-showcase-page main > .migration-showcase-section > .container,
.migration-showcase-page main > .migration-bottom-cta > .container {
  max-width: 1280px;
}

.migration-showcase-page .case-study-topline {
  display: none;
}

.migration-showcase-hero {
  min-height: 0;
  padding: clamp(22px, 3.2vw, 38px) 0 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 40%, rgba(245, 249, 255, 0.82) 100%);
}

.migration-showcase-hero::after {
  content: none;
}

.migration-showcase-hero-grid {
  grid-template-columns: minmax(480px, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(24px, 3.6vw, 50px);
}

.migration-kicker {
  margin-bottom: 18px;
  color: #e35f18;
  background: #ffffff;
  border-color: rgba(227, 95, 24, 0.24);
}

.migration-showcase-copy h1 {
  max-width: 690px;
  font-size: clamp(40px, 3.65vw, 52px);
  line-height: 1.03;
}

.migration-showcase-copy > p:not(.migration-kicker) {
  max-width: 560px;
  margin: 20px 0 20px;
  font-size: 15px;
  line-height: 1.58;
}

.migration-tool-chips {
  max-width: 590px;
  gap: 8px;
}

.migration-tool-chips span {
  min-height: 56px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.96);
}

.migration-meta-line {
  margin-top: 16px;
  padding-top: 0;
  color: #42526b;
  font-size: 12px;
  text-transform: none;
}

.migration-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.migration-meta-line span:first-child::before {
  content: "⌖";
  color: #2f6fd0;
  font-size: 14px;
  line-height: 1;
}

.migration-dashboard-photo {
  display: flex;
  align-items: center;
  min-height: 382px;
  padding: 24px 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.5)),
    url("case-photo-website-migration.png") center / cover;
  box-shadow: none;
}

.migration-laptop-screen {
  width: min(100%, 600px);
  margin-left: auto;
  border-width: 10px;
  border-bottom-width: 18px;
  border-radius: 13px;
}

.migration-screen-top {
  padding: 10px 13px;
}

.migration-dashboard-body {
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 252px;
}

.migration-dashboard-body aside {
  gap: 6px;
  padding: 14px 10px;
}

.migration-dashboard-main {
  padding: 16px;
}

.migration-account-head {
  margin-bottom: 10px;
}

.migration-metric-row span {
  min-height: 50px;
}

.migration-line-chart svg {
  min-height: 126px;
}

.migration-warning-callout {
  right: 20px;
  bottom: 20px;
  width: min(310px, calc(100% - 40px));
  padding: 15px 18px;
  grid-template-columns: 42px minmax(0, 1fr);
}

.migration-warning-callout svg {
  width: 38px;
  height: 38px;
}

.migration-warning-callout p {
  font-size: 13px;
}

.migration-showcase-section {
  padding: 42px 0;
  background: rgba(255, 255, 255, 0.76);
}

.migration-process-section {
  padding-top: 34px;
  background: rgba(255, 255, 255, 0.78);
}

.migration-evidence-grid,
.migration-process-grid {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
}

.migration-side-copy h2 {
  margin-bottom: 16px;
  font-size: 25px;
}

.migration-side-copy p {
  font-size: 15px;
}

.migration-screen-grid {
  gap: 18px;
}

.migration-mini-screen {
  min-height: 292px;
  padding-top: 38px;
  border-color: rgba(16, 42, 86, 0.14);
  box-shadow: none;
}

.migration-mini-screen h3 {
  top: -28px;
  font-size: 13px;
}

.migration-process-flow {
  gap: 22px;
}

.migration-process-card {
  min-height: 142px;
  padding: 18px 10px;
  box-shadow: none;
}

.migration-process-card:not(:last-of-type)::after {
  right: -18px;
  font-size: 28px;
}

.migration-process-card svg,
.migration-benefit-row svg {
  width: 42px;
  height: 42px;
}

.migration-process-card .tool-logo {
  width: 50px;
  height: 50px;
}

.migration-process-card strong {
  font-size: 12px;
}

.migration-success-strip {
  margin-top: 12px;
  padding: 13px;
  font-size: 13px;
}

.migration-key-section {
  padding-top: 44px;
  padding-bottom: 26px;
  background:
    radial-gradient(circle at 0% 20%, rgba(47, 111, 208, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.8);
}

.migration-key-grid {
  grid-template-columns: 365px minmax(0, 1fr);
  gap: 42px;
}

.migration-key-card {
  padding: 26px 28px;
  box-shadow: none;
}

.migration-benefit-row div {
  min-height: 118px;
}

.migration-bottom-cta {
  padding: 18px 0 30px;
  background: rgba(255, 255, 255, 0.82);
}

.migration-bottom-cta-grid {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  padding-top: 22px;
}

@media (max-width: 1180px) {
  .migration-showcase-page .case-study-topline {
    display: flex;
  }

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

  .migration-dashboard-photo {
    min-height: 390px;
  }
}

/* Final tightening to match the supplied Website Migration reference. */
.migration-showcase-page .page-header {
  position: relative;
}

.migration-showcase-page .nav {
  min-height: 66px;
}

.migration-showcase-page .brand-symbol {
  font-size: 38px;
}

.migration-showcase-page .brand-copy strong {
  font-size: 17px;
}

.migration-showcase-page .brand-copy span {
  font-size: 11px;
}

.migration-showcase-page .page-nav a,
.migration-showcase-page .header-phone {
  font-size: 14px;
}

.migration-showcase-page .reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.migration-showcase-page main > .migration-showcase-hero > .container,
.migration-showcase-page main > .migration-showcase-section > .container,
.migration-showcase-page main > .migration-bottom-cta > .container {
  max-width: 1210px;
}

.migration-showcase-hero {
  padding-top: 26px;
  padding-bottom: 22px;
}

.migration-showcase-hero-grid {
  grid-template-columns: minmax(430px, 0.78fr) minmax(560px, 1.22fr);
  gap: 24px;
}

.migration-showcase-copy h1 {
  max-width: 560px;
  font-size: clamp(38px, 3.45vw, 50px);
  line-height: 1.05;
}

.migration-showcase-copy > p:not(.migration-kicker) {
  max-width: 505px;
  margin: 18px 0 18px;
  font-size: 14px;
}

.migration-tool-chips {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
}

.migration-tool-chips span {
  min-height: 48px;
  grid-template-columns: 26px minmax(0, 1fr);
  padding: 8px 10px;
}

.migration-tool-chips .tool-logo {
  width: 24px;
  height: 24px;
}

.migration-tool-chips strong {
  font-size: 12px;
}

.migration-tool-chips small {
  font-size: 10px;
}

.migration-dashboard-photo {
  min-height: 345px;
  padding: 20px 22px;
}

.migration-laptop-screen {
  width: min(100%, 560px);
  border-width: 9px;
  border-bottom-width: 16px;
}

.migration-dashboard-body {
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 220px;
}

.migration-dashboard-main {
  padding: 13px;
}

.migration-account-head {
  margin-bottom: 8px;
}

.migration-metric-row {
  margin-bottom: 8px;
}

.migration-metric-row span {
  min-height: 46px;
  font-size: 9px;
}

.migration-dashboard-panel {
  padding: 6px 7px 8px;
}

.migration-line-chart svg {
  min-height: 108px;
}

.migration-account-table {
  font-size: 8px;
}

.migration-warning-callout {
  right: 18px;
  bottom: 18px;
  width: 292px;
  padding: 13px 16px;
}

.migration-showcase-section {
  padding: 34px 0;
}

.migration-evidence-grid,
.migration-process-grid {
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
}

.migration-side-copy h2 {
  font-size: 22px;
}

.migration-side-copy p {
  font-size: 13px;
  line-height: 1.55;
}

.migration-screen-grid {
  gap: 14px;
}

.migration-mini-screen {
  min-height: 244px;
  padding-top: 30px;
}

.migration-mini-screen h3 {
  top: -24px;
  font-size: 11px;
}

.migration-screen-toolbar {
  padding: 9px 11px;
}

.migration-screen-toolbar span,
.migration-screen-toolbar small {
  font-size: 8px;
}

.migration-table {
  font-size: 8px;
}

.migration-table span,
.migration-table b,
.migration-table em,
.migration-table strong {
  min-height: 27px;
  padding: 7px 10px;
}

.migration-mini-screen > p {
  margin-top: 10px;
  font-size: 10px;
}

.migration-screen-footer {
  padding-top: 7px;
  font-size: 10px;
}

.migration-debug-head {
  padding: 10px 14px;
}

.migration-debug-head strong {
  font-size: 13px;
}

.migration-debug-list span,
.migration-tag-list span {
  min-height: 34px;
  padding: 7px 11px;
}

.migration-debug-list b,
.migration-tag-list b,
.migration-gtm-summary span {
  font-size: 9px;
}

.migration-debug-list small,
.migration-tag-list small {
  font-size: 8px;
}

.migration-gtm-summary > strong,
.migration-tag-list > strong {
  padding: 9px 11px;
  font-size: 10px;
}

.migration-process-section {
  padding-top: 30px;
}

.migration-process-flow {
  gap: 18px;
}

.migration-process-card {
  min-height: 122px;
  padding: 14px 9px;
}

.migration-process-card:not(:last-of-type)::after {
  right: -15px;
  font-size: 23px;
}

.migration-process-card svg,
.migration-benefit-row svg {
  width: 35px;
  height: 35px;
}

.migration-process-card .tool-logo {
  width: 42px;
  height: 42px;
}

.migration-process-card strong {
  font-size: 10px;
}

.migration-success-strip {
  margin-top: 10px;
  padding: 10px;
  font-size: 11px;
}

.migration-key-section {
  padding-top: 34px;
}

.migration-key-grid {
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
}

.migration-key-card {
  padding: 22px 24px;
  background: #eef5ff;
  color: #102a56;
}

.migration-key-card h2 {
  font-size: 20px;
}

.migration-key-card p {
  color: #24344d;
  font-size: 12px;
}

.migration-benefit-row div {
  min-height: 104px;
  padding: 16px 14px;
}

.migration-benefit-row strong {
  font-size: 11px;
}

.migration-bottom-cta {
  padding: 14px 0 26px;
}

/* Exact-reference mode for the Website Migration case page. */
.migration-showcase-page .page-header {
  display: none;
}

.migration-showcase-page main {
  background:
    radial-gradient(circle at 100% 48%, rgba(47, 111, 208, 0.08), transparent 24%),
    radial-gradient(circle at 0% 76%, rgba(47, 111, 208, 0.06), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #fbfdff 48%, #f7faff 100%);
}

.migration-showcase-page main > .migration-showcase-hero > .container,
.migration-showcase-page main > .migration-showcase-section > .container,
.migration-showcase-page main > .migration-bottom-cta > .container {
  width: min(100% - 72px, 1240px);
  max-width: 1240px;
}

.migration-showcase-hero {
  padding: 34px 0 28px;
}

.migration-showcase-hero-grid {
  grid-template-columns: minmax(520px, 0.92fr) minmax(520px, 1.08fr);
  gap: 30px;
}

.migration-kicker {
  margin-bottom: 22px;
}

.migration-showcase-copy h1 {
  max-width: 590px;
  font-size: clamp(40px, 3.25vw, 48px);
  line-height: 1.05;
}

.migration-showcase-copy > p:not(.migration-kicker) {
  max-width: 530px;
  margin: 22px 0 24px;
  font-size: 15px;
  line-height: 1.58;
}

.migration-tool-chips {
  max-width: 560px;
}

.migration-tool-chips span {
  min-height: 54px;
}

.migration-meta-line {
  flex-wrap: nowrap;
  gap: 16px;
  font-size: 11px;
  white-space: nowrap;
}

.migration-dashboard-photo {
  min-height: 390px;
  padding: 26px 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.58)),
    url("case-photo-website-migration.png") center / cover;
}

.migration-laptop-screen {
  width: min(100%, 610px);
  border-width: 11px;
  border-bottom-width: 20px;
}

.migration-dashboard-body {
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 276px;
}

.migration-dashboard-main {
  padding: 15px;
}

.migration-line-chart svg {
  min-height: 132px;
}

.migration-warning-callout {
  width: 318px;
  right: 20px;
  bottom: 20px;
  padding: 16px 18px;
  grid-template-columns: 46px minmax(0, 1fr);
}

.migration-warning-callout svg {
  width: 42px;
  height: 42px;
}

.migration-warning-callout p {
  font-size: 14px;
}

.migration-showcase-section {
  padding: 36px 0;
}

.migration-evidence-grid,
.migration-process-grid {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
}

.migration-side-copy h2 {
  font-size: 24px;
  line-height: 1.14;
}

.migration-side-copy p {
  font-size: 13px;
  line-height: 1.64;
}

.migration-screen-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.migration-mini-screen {
  min-height: 260px;
}

.migration-mini-screen h3 {
  top: -27px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.migration-mini-screen.is-success {
  padding-top: 0;
}

.migration-mini-screen.is-success h3 {
  position: static;
  inset: auto;
  display: block;
  padding: 10px 14px;
  color: #0b7a3d;
  background: #e7f6eb;
  border-bottom: 1px solid rgba(13, 140, 69, 0.14);
  font-size: 12px;
  text-align: center;
}

.migration-process-flow {
  gap: 20px;
}

.migration-process-card {
  min-height: 136px;
}

.migration-key-section {
  padding-top: 36px;
  padding-bottom: 30px;
}

.migration-key-grid {
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: center;
}

.migration-key-card {
  position: relative;
}

.migration-key-card::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 32px;
  height: 32px;
  background: #eef5ff;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
}

.migration-bottom-cta-grid {
  grid-template-columns: 54px minmax(0, 1fr) auto;
}

@media (max-width: 1180px) {
  .migration-showcase-page .page-header {
    display: block;
  }

  .migration-meta-line {
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* Final correction: original-style Google logos and blurred right photo. */
.migration-dashboard-photo {
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

.migration-dashboard-photo::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -2;
  background: url("case-photo-website-migration.png") center / cover;
  filter: blur(7px) saturate(1.08);
  transform: scale(1.05);
}

.migration-dashboard-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.34)),
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.42), transparent 28%);
}

.migration-laptop-screen {
  position: relative;
  z-index: 1;
}

.migration-warning-callout {
  position: absolute;
  z-index: 2;
  width: 318px;
}

.migration-laptop-screen {
  box-sizing: border-box;
  flex: 0 0 min(100%, 610px);
  width: min(100%, 610px);
  max-width: 610px;
}

.migration-dashboard-photo {
  justify-content: flex-end;
}

.tool-logo-ga4 {
  position: relative;
  padding-left: 5px;
}

.tool-logo-ga4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 6px;
  height: 6px;
  background: #f9ab00;
  border-radius: 999px;
}

.tool-logo-ga4 b {
  width: 5px;
  background: linear-gradient(180deg, #fbbc04, #e8710a);
  border-radius: 999px 999px 3px 3px;
}

.migration-tool-chips .tool-logo-ga4 b:nth-child(1) {
  height: 22px;
}

.migration-tool-chips .tool-logo-ga4 b:nth-child(2) {
  height: 15px;
}

.migration-tool-chips .tool-logo-ga4 b:nth-child(3) {
  height: 8px;
}

.tool-logo-gtm::before {
  inset: 4px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(135deg, #8ab4f8 0 48%, #4285f4 49% 100%);
  box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.18);
  transform: rotate(45deg);
}

.tool-logo-gtm::after {
  inset: 10px;
  border: 0;
  border-radius: 2px;
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.92),
    inset 0 0 0 2px #5f8feb;
  transform: rotate(45deg);
}

.tool-logo-ads {
  background: radial-gradient(circle at 28% 78%, #fbbc04 0 4px, transparent 4.5px);
}

.tool-logo-ads::before,
.tool-logo-ads::after {
  bottom: 4px;
  width: 7px;
  height: 25px;
  border-radius: 999px;
}

.tool-logo-ads::before {
  left: 8px;
  background: linear-gradient(180deg, #fbbc04 0 34%, #34a853 35% 100%);
  transform: rotate(30deg);
}

.tool-logo-ads::after {
  right: 7px;
  background: #4285f4;
  transform: rotate(-30deg);
}

.migration-process-card .tool-logo-ga4::before {
  width: 10px;
  height: 10px;
  bottom: 5px;
}

.migration-process-card .tool-logo-ga4 b {
  width: 10px;
}

.migration-process-card .tool-logo-gtm::before {
  inset: 8px;
}

.migration-process-card .tool-logo-gtm::after {
  inset: 19px;
}

.migration-process-card .tool-logo-ads::before,
.migration-process-card .tool-logo-ads::after {
  bottom: 7px;
  width: 13px;
  height: 43px;
}

.migration-process-card .tool-logo-ads::before {
  left: 15px;
}

.migration-process-card .tool-logo-ads::after {
  right: 15px;
}

.migration-process-card .tool-logo-ads-google {
  background: radial-gradient(circle at 28% 78%, #fbbc04 0 8px, transparent 8.5px);
}

.migration-ads-mark {
  background: radial-gradient(circle at 28% 76%, #fbbc04 0 4px, transparent 4.5px);
}

.migration-ads-mark::before {
  left: 5px;
  background: linear-gradient(180deg, #fbbc04 0 34%, #34a853 35% 100%);
  transform: rotate(30deg);
}

.migration-ads-mark::after {
  right: 4px;
  background: #4285f4;
  transform: rotate(-30deg);
}

/* Global logo lock: keep the header and footer brand identical across every page. */
.brand,
.footer-brand-mark,
.page-footer .footer-brand-mark,
.case-index-page .site-footer .footer-brand-mark,
.migration-showcase-page .site-footer .footer-brand-mark {
  display: inline-grid;
  grid-template-columns: 24px 1px minmax(0, auto);
  align-items: center;
  column-gap: 14px;
  min-width: 0;
  color: #071846;
  text-decoration: none;
}

.brand-symbol,
.footer-infinity,
.footer-brand-symbol,
.migration-showcase-page .brand-symbol,
.case-index-page .site-footer .footer-infinity,
.migration-showcase-page .site-footer .footer-infinity {
  display: inline-block;
  width: 24px;
  height: 14px;
  color: #071846;
  background: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 28'%3E%3Cpath d='M24 14C18 7 10 6 6 11C1.5 17 8.5 23 16 20C19 18.8 21.5 16.2 24 14ZM24 14C30 7 38 6 42 11C46.5 17 39.5 23 32 20C29 18.8 26.5 16.2 24 14Z' fill='none' stroke='%23071846' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  transform: none;
}

.brand-separator,
.footer-brand-separator,
.case-index-page .site-footer .footer-brand-separator,
.migration-showcase-page .site-footer .footer-brand-separator {
  display: block;
  width: 1px;
  height: 43px;
  background: rgba(7, 24, 70, 0.32);
  border: 0;
  transform: none;
}

.brand-copy,
.footer-brand-copy,
.migration-showcase-page .brand-copy,
.case-index-page .site-footer .footer-brand-copy,
.migration-showcase-page .site-footer .footer-brand-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  line-height: 1.05;
}

.brand-copy strong,
.footer-brand-name,
.page-footer .footer-brand-name,
.case-index-page .site-footer .footer-brand-name,
.migration-showcase-page .brand-copy strong,
.migration-showcase-page .site-footer .footer-brand-name {
  color: #071846;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.brand-copy > span,
.footer-brand-line,
.page-footer .footer-brand-line,
.case-index-page .site-footer .footer-brand-line,
.migration-showcase-page .brand-copy span,
.migration-showcase-page .site-footer .footer-brand-line {
  color: #5d687d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.footer-brand-mark:hover .footer-brand-name,
.footer-brand-mark:focus-visible .footer-brand-name,
.brand:hover .brand-copy strong,
.brand:focus-visible .brand-copy strong {
  color: #071846;
}

@media (max-width: 720px) {
  .brand,
  .footer-brand-mark,
  .page-footer .footer-brand-mark,
  .case-index-page .site-footer .footer-brand-mark,
  .migration-showcase-page .site-footer .footer-brand-mark {
    grid-template-columns: 21px 1px minmax(0, 1fr);
    column-gap: 11px;
  }

  .brand-symbol,
  .footer-infinity,
  .footer-brand-symbol,
  .migration-showcase-page .brand-symbol,
  .case-index-page .site-footer .footer-infinity,
  .migration-showcase-page .site-footer .footer-infinity {
    width: 21px;
    height: 13px;
  }

  .brand-separator,
  .footer-brand-separator,
  .case-index-page .site-footer .footer-brand-separator,
  .migration-showcase-page .site-footer .footer-brand-separator {
    height: 36px;
  }

  .brand-copy strong,
  .footer-brand-name,
  .page-footer .footer-brand-name,
  .case-index-page .site-footer .footer-brand-name,
  .migration-showcase-page .brand-copy strong,
  .migration-showcase-page .site-footer .footer-brand-name {
    font-size: 18px;
  }

  .brand-copy > span,
  .footer-brand-line,
  .page-footer .footer-brand-line,
  .case-index-page .site-footer .footer-brand-line,
  .migration-showcase-page .brand-copy span,
  .migration-showcase-page .site-footer .footer-brand-line {
    font-size: 12px;
  }
}

/* Tool logo lock: reuse the same GA4, GTM, and Google Ads marks wherever they appear. */
.migration-showcase-page .tool-logo {
  --tool-logo-size: 28px;
  --gtm-outer-ring: 3px;
  --gtm-inner-ring: 2px;
  --ads-dot: 4px;
  --ads-dot-edge: 4.4px;
  position: relative;
  display: inline-block;
  flex: 0 0 var(--tool-logo-size);
  width: var(--tool-logo-size);
  height: var(--tool-logo-size);
  min-width: var(--tool-logo-size);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.migration-showcase-page .migration-tool-chips .tool-logo {
  --tool-logo-size: 28px;
}

.migration-showcase-page .migration-process-card .tool-logo {
  --tool-logo-size: 54px;
  --gtm-outer-ring: 6px;
  --gtm-inner-ring: 4px;
  --ads-dot: 7px;
  --ads-dot-edge: 7.6px;
  margin-bottom: 4px;
}

.migration-showcase-page .tool-logo-ga4 {
  display: inline-block;
  padding: 0;
}

.migration-showcase-page .tool-logo-ga4::before {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 8%;
  width: 19%;
  height: 19%;
  background: #f9ab00;
  border-radius: 50%;
}

.migration-showcase-page .tool-logo-ga4 b {
  position: absolute;
  bottom: 8%;
  display: block;
  width: 16%;
  background: linear-gradient(180deg, #fbbc04 0%, #e8710a 100%);
  border-radius: 999px 999px 8% 8%;
}

.migration-showcase-page .tool-logo-ga4 b:nth-child(1) {
  left: 32%;
  height: 72%;
}

.migration-showcase-page .tool-logo-ga4 b:nth-child(2) {
  left: 55%;
  height: 52%;
}

.migration-showcase-page .tool-logo-ga4 b:nth-child(3) {
  left: 78%;
  height: 32%;
}

.migration-showcase-page .tool-logo-gtm::before,
.migration-showcase-page .tool-logo-gtm::after {
  content: "";
  position: absolute;
  transform: rotate(45deg);
}

.migration-showcase-page .tool-logo-gtm::before {
  inset: 16%;
  border-radius: 12%;
  background: linear-gradient(135deg, #8ab4f8 0 48%, #4285f4 49% 100%);
  box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.18);
}

.migration-showcase-page .tool-logo-gtm::after {
  inset: 36%;
  border: 0;
  border-radius: 8%;
  background: #ffffff;
  box-shadow:
    0 0 0 var(--gtm-outer-ring) rgba(255, 255, 255, 0.96),
    inset 0 0 0 var(--gtm-inner-ring) #5f8feb;
}

.migration-showcase-page .tool-logo-ads {
  background:
    radial-gradient(circle at 28% 79%, #fbbc04 0 var(--ads-dot), transparent var(--ads-dot-edge));
}

.migration-showcase-page .tool-logo-ads::before,
.migration-showcase-page .tool-logo-ads::after {
  content: "";
  position: absolute;
  bottom: 9%;
  width: 23%;
  height: 78%;
  border-radius: 999px;
  transform-origin: bottom center;
}

.migration-showcase-page .tool-logo-ads::before {
  left: 26%;
  background: linear-gradient(180deg, #fbbc04 0 34%, #34a853 35% 100%);
  transform: rotate(30deg);
}

.migration-showcase-page .tool-logo-ads::after {
  right: 24%;
  background: #4285f4;
  transform: rotate(-30deg);
}

.migration-showcase-page .migration-ads-mark {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  background:
    radial-gradient(circle at 28% 79%, #fbbc04 0 3px, transparent 3.2px);
}

.migration-showcase-page .migration-ads-mark::before,
.migration-showcase-page .migration-ads-mark::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 5px;
  height: 17px;
  border-radius: 999px;
  transform-origin: bottom center;
}

.migration-showcase-page .migration-ads-mark::before {
  left: 6px;
  background: linear-gradient(180deg, #fbbc04 0 34%, #34a853 35% 100%);
  transform: rotate(30deg);
}

.migration-showcase-page .migration-ads-mark::after {
  right: 5px;
  background: #4285f4;
  transform: rotate(-30deg);
}

/* Use the real Google tool icon assets instead of approximated CSS drawings. */
.migration-showcase-page .tool-logo,
.migration-showcase-page .migration-ads-mark {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.migration-showcase-page .tool-logo::before,
.migration-showcase-page .tool-logo::after,
.migration-showcase-page .migration-ads-mark::before,
.migration-showcase-page .migration-ads-mark::after {
  content: none;
}

.migration-showcase-page .tool-logo b {
  display: none;
}

.migration-showcase-page .tool-logo-ga4 {
  background-image: url("tool-ga4-mark.svg");
}

.migration-showcase-page .tool-logo-gtm {
  background-image: url("tool-gtm-icon-crop.png");
}

.migration-showcase-page .tool-logo-ads,
.migration-showcase-page .tool-logo-ads-google,
.migration-showcase-page .migration-ads-mark {
  background-image: url("tool-google-ads-icon-crop.png");
}

/* Website Migration page final layout lock: keep global header/footer/back button visible. */
.migration-showcase-page .page-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
  box-shadow: 0 10px 28px rgba(16, 42, 86, 0.06);
  backdrop-filter: blur(16px);
}

.migration-showcase-page .nav {
  min-height: 78px;
}

.migration-showcase-page .brand,
.migration-showcase-page .footer-brand-mark {
  display: inline-grid;
  grid-template-columns: 24px 1px minmax(0, auto);
  align-items: center;
  column-gap: 14px;
  color: #071846;
  text-decoration: none;
}

.migration-showcase-page .brand-symbol,
.migration-showcase-page .footer-infinity {
  display: inline-block;
  width: 24px;
  height: 14px;
  color: #071846;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 28'%3E%3Cpath d='M24 14C18 7 10 6 6 11C1.5 17 8.5 23 16 20C19 18.8 21.5 16.2 24 14ZM24 14C30 7 38 6 42 11C46.5 17 39.5 23 32 20C29 18.8 26.5 16.2 24 14Z' fill='none' stroke='%23071846' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0;
  line-height: 1;
  transform: none;
}

.migration-showcase-page .brand-separator,
.migration-showcase-page .footer-brand-separator {
  width: 1px;
  height: 43px;
  background: rgba(7, 24, 70, 0.32);
}

.migration-showcase-page .brand-copy,
.migration-showcase-page .footer-brand-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  line-height: 1.05;
}

.migration-showcase-page .brand-copy strong,
.migration-showcase-page .footer-brand-name {
  color: #071846;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.migration-showcase-page .brand-copy > span,
.migration-showcase-page .footer-brand-line {
  color: #5d687d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.migration-showcase-page .case-study-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 34px;
}

.migration-showcase-page .case-back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.migration-showcase-page .case-back-link::before {
  content: "\2190";
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--orange);
  background: #fff6ef;
  border: 1px solid #ffd6b8;
  border-radius: 999px;
  font-size: 1.1em;
}

.migration-showcase-page .case-back-link::after {
  content: "";
  width: 1px;
  height: 40px;
  margin-left: 16px;
  background: rgba(83, 98, 120, 0.34);
}

.migration-showcase-page .case-study-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 360px);
  padding: 14px 28px;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.07);
  border: 1px solid rgba(255, 122, 26, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.migration-showcase-page .case-study-tag::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg width='22' height='20' viewBox='0 0 22 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 17h16M5 14V9h3v5M10 14V5h3v9M15 14V2h3v12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.migration-showcase-page .site-footer {
  display: block;
  background: #ffffff;
  border-top: 1px solid rgba(16, 42, 86, 0.1);
}

@media (max-width: 720px) {
  .migration-showcase-page .brand,
  .migration-showcase-page .footer-brand-mark {
    grid-template-columns: 21px 1px minmax(0, 1fr);
    column-gap: 11px;
  }

  .migration-showcase-page .brand-symbol,
  .migration-showcase-page .footer-infinity {
    width: 21px;
    height: 13px;
  }

  .migration-showcase-page .brand-separator,
  .migration-showcase-page .footer-brand-separator {
    height: 36px;
  }

  .migration-showcase-page .brand-copy strong,
  .migration-showcase-page .footer-brand-name {
    font-size: 18px;
  }

  .migration-showcase-page .brand-copy > span,
  .migration-showcase-page .footer-brand-line {
    font-size: 12px;
  }

  .migration-showcase-page .case-back-link::after {
    display: none;
  }
}

/* Exact redraw for the Website Migration evidence and rebuild blocks. */
.migration-showcase-page .migration-went-wrong-section,
.migration-showcase-page .migration-process-section {
  padding: 34px 0 32px;
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 42, 86, 0.12);
}

.migration-showcase-page main > .migration-went-wrong-section > .container,
.migration-showcase-page main > .migration-process-section > .container {
  width: min(100% - 72px, 1410px);
  max-width: 1410px;
}

.migration-showcase-page .migration-went-wrong-section .migration-evidence-grid,
.migration-showcase-page .migration-process-section .migration-process-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.migration-showcase-page .migration-went-wrong-section .migration-side-copy h2,
.migration-showcase-page .migration-process-section .migration-side-copy h2 {
  margin: 0 0 22px;
  color: #071944;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.18;
  text-transform: uppercase;
}

.migration-showcase-page .migration-went-wrong-section .migration-side-copy h2::after,
.migration-showcase-page .migration-process-section .migration-side-copy h2::after {
  width: 34px;
  height: 2px;
  margin-top: 20px;
  background: #f15a24;
}

.migration-showcase-page .migration-went-wrong-section .migration-side-copy p,
.migration-showcase-page .migration-process-section .migration-side-copy p {
  color: #34435c;
  font-size: 16px;
  line-height: 1.75;
}

.migration-showcase-page .migration-went-wrong-section .migration-screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.migration-showcase-page .migration-went-wrong-section .migration-mini-screen {
  position: relative;
  min-height: 318px;
  margin-top: 34px;
  padding: 0 0 14px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dce5f2;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(16, 42, 86, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.migration-showcase-page .migration-went-wrong-section .migration-mini-screen:hover,
.migration-showcase-page .migration-went-wrong-section .migration-mini-screen:focus-within,
.migration-showcase-page .migration-process-section .migration-process-card:hover,
.migration-showcase-page .migration-process-section .migration-process-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 42, 86, 0.08);
}

.migration-showcase-page .migration-went-wrong-section .migration-mini-screen h3 {
  position: absolute;
  top: -36px;
  right: 0;
  left: 0;
  display: block;
  margin: 0;
  padding: 0;
  color: #f15a24;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.migration-showcase-page .migration-went-wrong-section .migration-screen-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 43px;
  padding: 10px 12px;
  border-bottom: 1px solid #dce5f2;
}

.migration-showcase-page .migration-went-wrong-section .migration-screen-toolbar span,
.migration-showcase-page .migration-went-wrong-section .migration-screen-toolbar small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  color: #102a56;
  background: #ffffff;
  border: 1px solid #dce5f2;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.migration-showcase-page .migration-went-wrong-section .migration-screen-toolbar span::after {
  content: "⌄";
  color: #53637a;
  font-size: 11px;
}

.migration-showcase-page .migration-went-wrong-section .migration-screen-toolbar small i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 26px;
  margin-right: -9px;
  color: #53637a;
  border-left: 1px solid #dce5f2;
  font-style: normal;
}

.migration-showcase-page .migration-went-wrong-section .migration-table {
  display: grid;
  grid-template-columns: 1fr 0.72fr 1.1fr 0.38fr;
  font-size: 9px;
}

.migration-showcase-page .migration-went-wrong-section .migration-table span,
.migration-showcase-page .migration-went-wrong-section .migration-table b,
.migration-showcase-page .migration-went-wrong-section .migration-table em,
.migration-showcase-page .migration-went-wrong-section .migration-table strong {
  min-height: 32px;
  padding: 9px 8px;
  border-bottom: 1px solid rgba(220, 229, 242, 0.78);
  overflow: hidden;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migration-showcase-page .migration-went-wrong-section .migration-table span {
  color: #53637a;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-table b,
.migration-showcase-page .migration-went-wrong-section .migration-table strong {
  color: #102a56;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-table em {
  color: #e6311a;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-table .is-blurred {
  color: transparent;
  text-shadow: 0 0 8px rgba(30, 100, 216, 0.22);
  background: linear-gradient(90deg, rgba(232, 240, 254, 0.28), rgba(232, 240, 254, 0.72), rgba(232, 240, 254, 0.28));
}

.migration-showcase-page .migration-went-wrong-section .migration-screen-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding: 10px 16px 0;
  color: #102a56;
  font-size: 12px;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-mini-screen > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 14px 0;
  color: #e6311a;
  font-size: 13px;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-mini-screen > p svg {
  width: 20px;
  height: 20px;
  color: #e6311a;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-head {
  min-height: 54px;
  padding: 15px 18px;
  border-bottom: 1px solid #dce5f2;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-head strong {
  color: #071944;
  font-size: 18px;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list {
  position: relative;
  display: grid;
  padding: 0 0 8px;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list::before {
  content: "";
  position: absolute;
  top: 70px;
  bottom: 15px;
  left: 34px;
  width: 2px;
  background: #dce5f2;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list span {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 43px;
  padding: 8px 18px;
  background: #ffffff;
  border-bottom: 0;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list span:not(.is-debug-label)::before {
  content: "";
  grid-column: 1;
  justify-self: center;
  width: 11px;
  height: 11px;
  background: #ffffff;
  border: 3px solid #cfd9e8;
  border-radius: 999px;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list span:nth-child(2)::before {
  border-color: #1e64d8;
  box-shadow: 0 0 0 2px rgba(30, 100, 216, 0.12);
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list .is-debug-label {
  min-height: 42px;
  background: #fbfdff;
  border-bottom: 1px solid #dce5f2;
  text-transform: uppercase;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list .is-debug-label small:first-child {
  grid-column: 1;
  color: #102a56;
  text-align: center;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list b {
  grid-column: 2;
  color: #102a56;
  font-size: 12px;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list small {
  grid-column: 3;
  color: #53637a;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.migration-showcase-page .migration-went-wrong-section .migration-debug-list .is-missing b,
.migration-showcase-page .migration-went-wrong-section .migration-debug-list .is-missing small {
  color: #e6311a;
}

.migration-showcase-page .migration-went-wrong-section .migration-gtm-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 100%;
}

.migration-showcase-page .migration-went-wrong-section .migration-gtm-summary {
  display: grid;
  align-content: start;
  border-right: 1px solid #dce5f2;
}

.migration-showcase-page .migration-went-wrong-section .migration-gtm-summary > strong,
.migration-showcase-page .migration-went-wrong-section .migration-tag-list > strong {
  display: block;
  min-height: 42px;
  padding: 13px 14px;
  color: #1e64d8;
  background: #f5f8fc;
  border-bottom: 1px solid #dce5f2;
  font-size: 12px;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-gtm-summary span {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 6px;
  min-height: 39px;
  padding: 9px 9px;
  color: #102a56;
  border-bottom: 1px solid rgba(220, 229, 242, 0.78);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.migration-showcase-page .migration-went-wrong-section .migration-gtm-summary b {
  color: #53637a;
}

.migration-showcase-page .migration-went-wrong-section .migration-tag-list {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 0 12px 12px;
}

.migration-showcase-page .migration-went-wrong-section .migration-tag-list span {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-height: 48px;
  padding: 9px 11px;
  background: #ffffff;
  border: 1px solid #dce5f2;
  border-radius: 7px;
}

.migration-showcase-page .migration-went-wrong-section .migration-tag-list span::before {
  content: "";
  grid-row: span 2;
  width: 9px;
  height: 9px;
  background: #12a150;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(18, 161, 80, 0.12);
}

.migration-showcase-page .migration-went-wrong-section .migration-tag-list span.is-missing::before {
  background: #e6311a;
  box-shadow: 0 0 0 3px rgba(230, 49, 26, 0.12);
}

.migration-showcase-page .migration-went-wrong-section .migration-tag-list b {
  color: #071944;
  font-size: 12px;
  font-weight: 800;
}

.migration-showcase-page .migration-went-wrong-section .migration-tag-list small {
  color: #53637a;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}

.migration-showcase-page .migration-process-section {
  padding-top: 34px;
}

.migration-showcase-page .migration-process-section .migration-process-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.migration-showcase-page .migration-process-section .migration-process-card {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 168px;
  padding: 20px 12px;
  color: #102a56;
  text-align: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dce5f2;
  border-radius: 9px;
  box-shadow: 0 12px 26px rgba(16, 42, 86, 0.05);
}

.migration-showcase-page .migration-process-section .migration-process-card:not(:last-of-type)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -27px;
  z-index: 2;
  color: #071944;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  transform: translate(50%, -50%);
}

.migration-showcase-page .migration-process-section .migration-process-card svg {
  width: 66px;
  height: 66px;
  color: #1e64d8;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon {
  overflow: visible;
  color: #1166d8;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon .icon-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon .icon-fill {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-data .icon-line {
  stroke-width: 4;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-shield .icon-line,
.migration-showcase-page .migration-process-section .migration-process-card .process-icon-link .icon-line,
.migration-showcase-page .migration-process-section .migration-process-card .process-icon-validate .icon-line {
  stroke-width: 4.4;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-validate .icon-dash {
  stroke-dasharray: 4 7;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-validate .icon-circle {
  stroke-dasharray: 118 26;
  stroke-dashoffset: 9;
}

.migration-showcase-page .migration-process-section .migration-process-card strong {
  color: #071944;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.migration-showcase-page .migration-process-section .migration-process-card .tool-logo {
  --tool-logo-size: 66px;
  width: 66px;
  height: 66px;
  margin: 0;
  background-size: contain;
}

.migration-showcase-page .migration-process-section .migration-success-strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  margin: 14px 0 0;
  padding: 14px 18px;
  color: #1e64d8;
  background: #eef5ff;
  border: 1px solid rgba(30, 100, 216, 0.08);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.migration-showcase-page .migration-process-section .migration-success-strip svg {
  width: 24px;
  height: 24px;
  color: #1e64d8;
}

@media (max-width: 1180px) {
  .migration-showcase-page .migration-went-wrong-section .migration-evidence-grid,
  .migration-showcase-page .migration-process-section .migration-process-grid {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-went-wrong-section .migration-screen-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .migration-showcase-page .migration-process-section .migration-process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .migration-showcase-page .migration-process-section .migration-process-card:not(:last-of-type)::after {
    content: none;
  }
}

@media (max-width: 620px) {
  .migration-showcase-page .migration-went-wrong-section,
  .migration-showcase-page .migration-process-section {
    padding: 30px 0;
  }

  .migration-showcase-page .migration-went-wrong-section .migration-side-copy h2,
  .migration-showcase-page .migration-process-section .migration-side-copy h2 {
    font-size: 25px;
  }

  .migration-showcase-page .migration-went-wrong-section .migration-process-flow,
  .migration-showcase-page .migration-process-section .migration-process-flow {
    grid-template-columns: 1fr;
  }
}

/* Final alignment pass for Results, Key Takeaway, and CTA sections. */
.migration-showcase-page main > .migration-showcase-hero > .container,
.migration-showcase-page main > .migration-results-section > .container,
.migration-showcase-page main > .migration-key-section > .container,
.migration-showcase-page main > .migration-bottom-cta > .container {
  width: min(100% - 72px, 1410px);
  max-width: 1410px;
}

.migration-showcase-page .migration-results-section {
  padding: 34px 0 38px;
  background:
    radial-gradient(circle at 0% 72%, rgba(47, 111, 208, 0.055), transparent 22%),
    #ffffff;
  border-bottom: 1px solid rgba(16, 42, 86, 0.12);
}

.migration-showcase-page .migration-results-section .migration-evidence-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.migration-showcase-page .migration-results-section .migration-side-copy h2 {
  margin: 0 0 22px;
  color: #071944;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.18;
  text-transform: uppercase;
}

.migration-showcase-page .migration-results-section .migration-side-copy h2::after {
  width: 34px;
  height: 2px;
  margin-top: 20px;
  background: #f15a24;
}

.migration-showcase-page .migration-results-section .migration-side-copy p {
  color: #34435c;
  font-size: 16px;
  line-height: 1.75;
}

.migration-showcase-page .migration-results-section .migration-screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: stretch;
}

.migration-showcase-page .migration-results-section .migration-mini-screen {
  min-height: 338px;
  margin: 0;
  padding: 0 0 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dce5f2;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(16, 42, 86, 0.055);
}

.migration-showcase-page .migration-results-section .migration-mini-screen h3 {
  position: static;
  display: grid;
  place-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  color: #0b7a3d;
  background: linear-gradient(90deg, #e8f6eb, #f2fbf5);
  border-bottom: 1px solid rgba(13, 140, 69, 0.12);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.migration-showcase-page .migration-results-section .migration-screen-toolbar {
  min-height: 44px;
  padding: 10px 12px;
}

.migration-showcase-page .migration-results-section .migration-screen-toolbar span,
.migration-showcase-page .migration-results-section .migration-screen-toolbar small {
  min-height: 28px;
  padding: 0 12px;
  color: #102a56;
  background: #ffffff;
  border: 1px solid #dce5f2;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
}

.migration-showcase-page .migration-results-section .migration-table {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.56fr 0.45fr;
  font-size: 9px;
}

.migration-showcase-page .migration-results-section .migration-table span,
.migration-showcase-page .migration-results-section .migration-table b,
.migration-showcase-page .migration-results-section .migration-table em,
.migration-showcase-page .migration-results-section .migration-table strong {
  min-height: 32px;
  padding: 9px 8px;
  overflow: hidden;
  border-bottom: 1px solid rgba(220, 229, 242, 0.78);
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migration-showcase-page .migration-results-section .migration-table .is-blurred {
  color: transparent;
  text-shadow: 0 0 8px rgba(30, 100, 216, 0.22);
  background: linear-gradient(90deg, rgba(232, 240, 254, 0.28), rgba(232, 240, 254, 0.72), rgba(232, 240, 254, 0.28));
}

.migration-showcase-page .migration-results-section .migration-table em,
.migration-showcase-page .migration-results-section .migration-tag-list small,
.migration-showcase-page .migration-results-section .migration-debug-list small {
  color: #0b7a3d;
}

.migration-showcase-page .migration-results-section .migration-mini-screen > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 14px 0;
  padding-top: 10px;
  color: #071944;
  border-top: 1px solid rgba(220, 229, 242, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.migration-showcase-page .migration-results-section .migration-realtime {
  padding: 18px 20px 12px;
}

.migration-showcase-page .migration-results-section .migration-realtime strong {
  color: #071944;
  font-size: 42px;
}

.migration-showcase-page .migration-results-section .migration-bars {
  height: 64px;
  margin-top: 14px;
}

.migration-showcase-page .migration-results-section .migration-debug-list.is-compact {
  padding: 0 20px 12px;
}

.migration-showcase-page .migration-results-section .migration-debug-list.is-compact span {
  min-height: 30px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(220, 229, 242, 0.78);
}

.migration-showcase-page .migration-results-section .migration-tag-list {
  gap: 8px;
  padding: 14px 16px 16px;
}

.migration-showcase-page .migration-results-section .migration-tag-list span {
  min-height: 48px;
  padding: 9px 11px;
  background: #ffffff;
  border: 1px solid #dce5f2;
  border-radius: 7px;
}

.migration-showcase-page .migration-results-section .migration-tag-list span::before {
  content: "";
  grid-row: span 2;
  width: 9px;
  height: 9px;
  background: #12a150;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(18, 161, 80, 0.12);
}

.migration-showcase-page .migration-key-section {
  padding: 34px 0 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.86)),
    #ffffff;
  border-bottom: 1px solid rgba(16, 42, 86, 0.12);
}

.migration-showcase-page .migration-key-grid {
  display: grid;
  grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.migration-showcase-page .migration-key-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
  min-height: 205px;
  padding: 28px 30px;
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(16, 42, 86, 0.055);
}

.migration-showcase-page .migration-key-card::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  width: 30px;
  height: 30px;
  background: #f5f9ff;
  border-top: 1px solid rgba(16, 42, 86, 0.08);
  border-right: 1px solid rgba(16, 42, 86, 0.08);
  border-radius: 3px;
  transform: translateY(-50%) rotate(45deg);
}

.migration-showcase-page .migration-key-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0;
  color: #ffffff;
  background: linear-gradient(180deg, #2d73e6, #135bd0);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(30, 100, 216, 0.2);
}

.migration-showcase-page .migration-key-card svg {
  width: 34px;
  height: 34px;
}

.migration-showcase-page .migration-key-card h2 {
  margin: 4px 0 0;
  color: #071944;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-transform: uppercase;
}

.migration-showcase-page .migration-key-card p {
  grid-column: 2;
  margin: 0;
  color: #34435c;
  font-size: 15px;
  line-height: 1.58;
}

.migration-showcase-page .migration-benefit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.migration-showcase-page .migration-benefit-row div {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 160px;
  padding: 20px 24px;
  text-align: center;
  border-left: 1px solid rgba(16, 42, 86, 0.14);
  transition: transform 0.18s ease, color 0.18s ease;
}

.migration-showcase-page .migration-benefit-row div:first-child {
  border-left: 0;
}

.migration-showcase-page .migration-benefit-row div:hover {
  transform: translateY(-2px);
}

.migration-showcase-page .migration-benefit-row svg {
  width: 58px;
  height: 58px;
  color: #135bd0;
}

.migration-showcase-page .migration-benefit-row strong {
  max-width: 170px;
  color: #071944;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.migration-showcase-page .migration-bottom-cta {
  padding: 24px 0 38px;
}

@media (max-width: 1180px) {
  .migration-showcase-page .migration-results-section .migration-evidence-grid,
  .migration-showcase-page .migration-key-grid {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-results-section .migration-screen-grid {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-key-card::after {
    content: none;
  }
}

@media (max-width: 720px) {
  .migration-showcase-page main > .migration-results-section > .container,
  .migration-showcase-page main > .migration-showcase-hero > .container,
  .migration-showcase-page main > .migration-key-section > .container,
  .migration-showcase-page main > .migration-bottom-cta > .container {
    width: min(100% - 36px, 1410px);
  }

  .migration-showcase-page .migration-key-card {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-key-card span,
  .migration-showcase-page .migration-key-card p {
    grid-column: auto;
  }

  .migration-showcase-page .migration-benefit-row {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-benefit-row div {
    border-left: 0;
    border-top: 1px solid rgba(16, 42, 86, 0.12);
  }

  .migration-showcase-page .migration-benefit-row div:first-child {
    border-top: 0;
  }
}

/* Website migration hero polish: richer screen details, shadow, and restrained motion. */
.migration-showcase-page .migration-dashboard-photo {
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 12px;
  box-shadow:
    0 40px 96px rgba(7, 24, 70, 0.22),
    0 18px 44px rgba(7, 24, 70, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.migration-showcase-page .migration-dashboard-photo::before {
  filter: blur(9px) saturate(1.12);
  opacity: 0.95;
}

.migration-showcase-page .migration-dashboard-photo::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 22% 52%, rgba(255, 255, 255, 0.54), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 24, 70, 0.06));
}

.migration-showcase-page .migration-dashboard-photo:hover {
  transform: translateY(-4px);
  box-shadow:
    0 52px 118px rgba(7, 24, 70, 0.26),
    0 24px 54px rgba(7, 24, 70, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.migration-showcase-page .migration-laptop-screen {
  background: #ffffff;
  box-shadow:
    0 34px 72px rgba(7, 24, 70, 0.32),
    0 14px 30px rgba(7, 24, 70, 0.18);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.migration-showcase-page .migration-dashboard-photo:hover .migration-laptop-screen {
  transform: translate3d(0, -4px, 0) scale(1.01);
}

.migration-showcase-page .migration-screen-top {
  gap: 8px;
  background: linear-gradient(180deg, #2f3847 0%, #1d2634 100%);
}

.migration-showcase-page .migration-screen-top small {
  color: rgba(247, 251, 255, 0.82);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.migration-showcase-page .migration-user-dot {
  width: 9px;
  height: 9px;
  background: #ff6d1a;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 109, 26, 0.18);
}

.migration-showcase-page .migration-dashboard-body aside {
  gap: 4px;
  background: #f5f8fd;
}

.migration-showcase-page .migration-dashboard-body aside span {
  padding: 5px 7px;
  font-size: 8.5px;
  line-height: 1.1;
}

.migration-showcase-page .migration-dashboard-body aside .is-active {
  color: #1a5fd1;
  background: #e8f0fe;
}

.migration-showcase-page .migration-account-head strong {
  color: #071846;
  font-size: 12.5px;
}

.migration-showcase-page .migration-metric-row {
  box-shadow: 0 8px 18px rgba(16, 42, 86, 0.06);
}

.migration-showcase-page .migration-metric-row span {
  position: relative;
}

.migration-showcase-page .migration-metric-row .is-blue {
  background: linear-gradient(135deg, #1a73e8 0%, #1d5fc8 100%);
}

.migration-showcase-page .migration-metric-row .is-red {
  background: linear-gradient(135deg, #e94235 0%, #cf271b 100%);
}

.migration-showcase-page .migration-metric-row span small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
}

.migration-showcase-page .migration-metric-row .is-blurred-card strong {
  color: transparent;
  text-shadow: 0 0 7px rgba(16, 42, 86, 0.28);
}

.migration-showcase-page .migration-screen-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 8px;
}

.migration-showcase-page .migration-screen-status-row span {
  padding: 5px 7px;
  color: #53637a;
  background: #f7faff;
  border: 1px solid #e1e8f2;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}

.migration-showcase-page .migration-screen-status-row .is-danger {
  color: #d93025;
  background: #fff0ed;
  border-color: rgba(217, 48, 37, 0.16);
}

.migration-showcase-page .migration-dashboard-panel {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 20px rgba(16, 42, 86, 0.05);
}

.migration-showcase-page .migration-account-table .is-blurred {
  color: transparent;
  text-shadow: 0 0 7px rgba(30, 100, 216, 0.24);
  background: linear-gradient(90deg, rgba(232, 240, 254, 0.3), rgba(232, 240, 254, 0.82), rgba(232, 240, 254, 0.3));
  border-radius: 4px;
}

.migration-showcase-page .migration-warning-callout {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 35, 86, 0.98) 0%, rgba(7, 24, 70, 0.98) 100%);
  border: 1px solid rgba(255, 122, 26, 0.16);
  border-radius: 10px;
  box-shadow:
    0 30px 58px rgba(7, 24, 70, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.migration-showcase-page .migration-dashboard-photo:hover .migration-warning-callout {
  transform: translate3d(-4px, -4px, 0);
  box-shadow:
    0 36px 70px rgba(7, 24, 70, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.migration-showcase-page .migration-warning-callout svg {
  color: #ff7a1a;
  filter: drop-shadow(0 8px 14px rgba(255, 122, 26, 0.18));
}

.migration-showcase-page .migration-warning-callout p {
  display: grid;
  gap: 3px;
  font-size: 13.5px;
  line-height: 1.32;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.migration-showcase-page .migration-warning-callout strong {
  color: #ffffff;
  font-weight: 850;
}

.migration-showcase-page .migration-line-chart polyline {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: migration-line-draw 1.35s ease forwards;
}

.migration-showcase-page .migration-line-chart .is-orange {
  animation-delay: 0.16s;
}

@keyframes migration-line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 720px) {
  .migration-showcase-page .migration-showcase-hero-grid {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-dashboard-hero {
    width: 100%;
    min-width: 0;
  }

  .migration-showcase-page .migration-dashboard-photo {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 14px;
  }

  .migration-showcase-page .migration-laptop-screen {
    flex: 0 1 100%;
    width: 100%;
    max-width: 100%;
    border-width: 7px;
    border-bottom-width: 12px;
  }

  .migration-showcase-page .migration-dashboard-body {
    grid-template-columns: 1fr;
    min-height: 250px;
  }

  .migration-showcase-page .migration-dashboard-main {
    padding: 10px;
  }

  .migration-showcase-page .migration-screen-top small:nth-of-type(n + 3),
  .migration-showcase-page .migration-user-dot {
    display: none;
  }

  .migration-showcase-page .migration-dashboard-photo {
    box-shadow: 0 26px 62px rgba(7, 24, 70, 0.18);
  }

  .migration-showcase-page .migration-screen-status-row span {
    font-size: 7.5px;
  }

  .migration-showcase-page .migration-warning-callout {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .migration-showcase-page .migration-dashboard-photo,
  .migration-showcase-page .migration-laptop-screen,
  .migration-showcase-page .migration-warning-callout,
  .migration-showcase-page .migration-line-chart polyline {
    animation: none;
    transition: none;
  }

  .migration-showcase-page .migration-line-chart polyline {
    stroke-dashoffset: 0;
  }
}

/* Website migration hero copy spacing: add more air between text groups. */
.migration-showcase-page .migration-showcase-hero-grid {
  align-items: start;
}

.migration-showcase-page .migration-dashboard-hero {
  align-self: start;
}

.migration-showcase-page .migration-kicker {
  margin-bottom: clamp(26px, 3vw, 34px);
}

.migration-showcase-page .migration-showcase-copy h1 {
  line-height: 1.12;
}

.migration-showcase-page .migration-showcase-copy h1 span,
.migration-showcase-page .migration-showcase-copy h1 strong {
  margin-top: 0.04em;
}

.migration-showcase-page .migration-showcase-copy > p:not(.migration-kicker) {
  max-width: 590px;
  margin: clamp(30px, 3vw, 38px) 0 clamp(30px, 3vw, 38px);
  line-height: 1.78;
}

.migration-showcase-page .migration-tool-chips {
  gap: 12px;
  margin-bottom: 0;
}

.migration-showcase-page .migration-tool-chips span {
  padding-block: 13px;
}

.migration-showcase-page .migration-meta-line {
  gap: 14px 24px;
  margin-top: clamp(26px, 2.6vw, 34px);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .migration-showcase-page .migration-kicker {
    margin-bottom: 22px;
  }

  .migration-showcase-page .migration-showcase-copy h1 {
    line-height: 1.11;
  }

  .migration-showcase-page .migration-showcase-copy > p:not(.migration-kicker) {
    margin: 26px 0 28px;
    line-height: 1.72;
  }

  .migration-showcase-page .migration-tool-chips {
    gap: 10px;
  }

  .migration-showcase-page .migration-meta-line {
    margin-top: 24px;
    gap: 10px 18px;
  }
}

/* Website migration page rhythm: give major sections clearer breathing room. */
.migration-showcase-page .migration-showcase-hero {
  padding-bottom: clamp(72px, 7vw, 112px);
}

.migration-showcase-page .migration-went-wrong-section,
.migration-showcase-page .migration-process-section,
.migration-showcase-page .migration-results-section,
.migration-showcase-page .migration-key-section {
  padding-top: clamp(66px, 6.5vw, 96px);
  padding-bottom: clamp(66px, 6.5vw, 96px);
}

.migration-showcase-page .migration-bottom-cta {
  padding-top: clamp(56px, 5.5vw, 78px);
  padding-bottom: clamp(72px, 7vw, 104px);
}

@media (min-width: 1181px) {
  .migration-showcase-page .case-study-topline {
    margin-bottom: clamp(66px, 5.2vw, 82px);
  }

  .migration-showcase-page .migration-showcase-copy {
    position: relative;
  }

  .migration-showcase-page .migration-kicker {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    transform: translateY(calc(-100% - 18px));
  }

  .migration-showcase-page .migration-showcase-copy h1 {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .migration-showcase-page .migration-showcase-hero {
    padding-bottom: 58px;
  }

  .migration-showcase-page .migration-went-wrong-section,
  .migration-showcase-page .migration-process-section,
  .migration-showcase-page .migration-results-section,
  .migration-showcase-page .migration-key-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .migration-showcase-page .migration-bottom-cta {
    padding-top: 48px;
    padding-bottom: 64px;
  }
}

/* Website migration hero account redraw: more realistic restricted Google Ads view. */
.migration-showcase-page .migration-dashboard-photo {
  min-height: clamp(420px, 31vw, 500px);
  padding: clamp(20px, 2.1vw, 30px);
  background: transparent;
  box-shadow:
    0 42px 110px rgba(6, 25, 74, 0.2),
    0 18px 48px rgba(6, 25, 74, 0.12);
}

.migration-showcase-page .migration-dashboard-photo::before {
  inset: -24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.04) 58%),
    url("case-photo-website-migration.png") 58% 54% / cover;
  filter: blur(8px) saturate(1.08) contrast(1.02);
  transform: scale(1.06);
}

.migration-showcase-page .migration-dashboard-photo::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08) 54%, rgba(255, 255, 255, 0.16)),
    radial-gradient(circle at 18% 48%, rgba(255, 255, 255, 0.66), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(33, 103, 216, 0.1), transparent 32%);
}

.migration-showcase-page .migration-laptop-screen {
  width: min(100%, 650px);
  border-color: #111722;
  border-width: 10px;
  border-bottom-width: 20px;
  border-radius: 14px;
  box-shadow:
    0 36px 88px rgba(7, 24, 70, 0.34),
    0 16px 38px rgba(7, 24, 70, 0.2);
}

.migration-showcase-page .migration-screen-top {
  min-height: 38px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #303946 0%, #1d2634 100%);
  font-family: Arial, sans-serif;
}

.migration-showcase-page .migration-screen-top strong {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0;
}

.migration-showcase-page .migration-screen-top small {
  position: relative;
  padding-top: 12px;
  min-width: 30px;
  color: rgba(248, 251, 255, 0.82);
  font-size: 7.5px;
  text-align: center;
}

.migration-showcase-page .migration-screen-top small::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: 0.75;
}

.migration-showcase-page .migration-screen-top .migration-user-dot {
  min-width: 11px;
  padding: 0;
}

.migration-showcase-page .migration-screen-top .migration-user-dot::before {
  display: none;
}

.migration-showcase-page .migration-dashboard-body {
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 320px;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

.migration-showcase-page .migration-dashboard-body aside {
  padding: 12px 8px;
  background: linear-gradient(180deg, #f5f8fd 0%, #eef3fb 100%);
  border-right: 1px solid #dfe7f2;
}

.migration-showcase-page .migration-dashboard-body aside span {
  padding: 6px 8px;
  color: #526174;
  font-size: 8.5px;
  font-weight: 700;
  border-radius: 7px;
}

.migration-showcase-page .migration-dashboard-main {
  padding: 13px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.migration-showcase-page .migration-account-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.migration-showcase-page .migration-account-head small {
  color: #4c5c73;
  font-size: 8px;
  letter-spacing: 0.03em;
}

.migration-showcase-page .migration-account-head strong {
  color: #172b4d;
  font-size: 13px;
}

.migration-showcase-page .migration-account-head button {
  min-height: 24px;
  padding: 0 10px;
  background: #1a73e8;
  box-shadow: 0 6px 12px rgba(26, 115, 232, 0.2);
}

.migration-showcase-page .migration-date-range {
  padding: 7px 9px;
  color: #4a5a70;
  background: #ffffff;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.migration-showcase-page .migration-restriction-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 10px;
  color: #5f260f;
  background: linear-gradient(90deg, #fff3ec 0%, #fff8f4 100%);
  border: 1px solid rgba(217, 77, 35, 0.22);
  border-radius: 8px;
  font-size: 8px;
  line-height: 1.25;
}

.migration-showcase-page .migration-restriction-banner strong {
  color: #d93025;
  font-size: 8.5px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.migration-showcase-page .migration-metric-row {
  grid-template-columns: 1.05fr 1.1fr 0.92fr 0.92fr;
  margin-bottom: 8px;
  border-color: #d9e3f0;
  border-radius: 7px;
}

.migration-showcase-page .migration-metric-row span {
  min-height: 58px;
  padding: 8px 9px;
  font-size: 9px;
  line-height: 1.18;
}

.migration-showcase-page .migration-metric-row strong {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1;
}

.migration-showcase-page .migration-metric-row small {
  margin-top: 5px;
  font-size: 6.8px;
  letter-spacing: 0;
}

.migration-showcase-page .migration-metric-row .is-blurred {
  color: transparent;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.72);
}

.migration-showcase-page .migration-metric-row .is-blurred-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.migration-showcase-page .migration-metric-row .is-blurred-card small {
  color: #738197;
}

.migration-showcase-page .migration-screen-status-row {
  gap: 5px;
  margin: 0 0 8px;
}

.migration-showcase-page .migration-screen-status-row span {
  padding: 5px 7px;
  font-size: 7.4px;
  border-radius: 999px;
}

.migration-showcase-page .migration-dashboard-panel {
  padding: 8px 9px 9px;
  border-color: #dde6f2;
  border-radius: 9px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.migration-showcase-page .migration-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 5px;
  color: #172b4d;
}

.migration-showcase-page .migration-chart-head strong {
  font-size: 9px;
  font-weight: 900;
}

.migration-showcase-page .migration-chart-head small {
  color: #6c7c94;
  font-size: 7.5px;
  font-weight: 800;
  text-align: right;
}

.migration-showcase-page .migration-line-chart svg {
  min-height: 96px;
}

.migration-showcase-page .migration-line-chart line {
  stroke: #e6edf6;
}

.migration-showcase-page .migration-line-chart polyline {
  stroke-width: 3.1;
}

.migration-showcase-page .migration-line-chart .is-orange {
  stroke: #ea4335;
  stroke-width: 2.7;
}

.migration-showcase-page .migration-account-table.is-account-snapshot {
  grid-template-columns: minmax(0, 1.25fr) 0.72fr 0.62fr 0.42fr;
  gap: 5px 7px;
  margin-top: 6px;
  padding-top: 7px;
  color: #253752;
  font-size: 7.8px;
}

.migration-showcase-page .migration-account-table.is-account-snapshot span {
  color: #6d7c91;
  font-size: 7.4px;
  letter-spacing: 0.01em;
}

.migration-showcase-page .migration-account-table.is-account-snapshot b,
.migration-showcase-page .migration-account-table.is-account-snapshot em,
.migration-showcase-page .migration-account-table.is-account-snapshot strong {
  min-width: 0;
}

.migration-showcase-page .migration-account-table.is-account-snapshot em {
  color: #5f6f84;
}

.migration-showcase-page .migration-account-table.is-account-snapshot strong {
  color: #d93025;
}

.migration-showcase-page .migration-account-table.is-account-snapshot .is-blurred {
  color: transparent;
  text-shadow: 0 0 7px rgba(30, 100, 216, 0.3);
  background: linear-gradient(90deg, rgba(235, 242, 253, 0.18), rgba(227, 238, 255, 0.86), rgba(235, 242, 253, 0.18));
}

.migration-showcase-page .migration-warning-callout {
  width: min(345px, calc(100% - 40px));
  padding: 18px 20px;
  grid-template-columns: 48px minmax(0, 1fr);
  background: linear-gradient(135deg, #08245d 0%, #06163d 100%);
  border-color: rgba(255, 122, 26, 0.24);
}

.migration-showcase-page .migration-warning-callout p {
  gap: 4px;
  font-size: 14px;
  line-height: 1.28;
}

@media (max-width: 980px) {
  .migration-showcase-page .migration-dashboard-body {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .migration-showcase-page .migration-account-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .migration-showcase-page .migration-date-range {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .migration-showcase-page .migration-dashboard-photo {
    min-height: 0;
    padding: 14px;
  }

  .migration-showcase-page .migration-dashboard-body {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-dashboard-body aside {
    display: flex;
    overflow-x: auto;
    padding: 9px;
    border-right: 0;
    border-bottom: 1px solid #dfe7f2;
  }

  .migration-showcase-page .migration-dashboard-body aside span {
    flex: 0 0 auto;
  }

  .migration-showcase-page .migration-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .migration-showcase-page .migration-account-table.is-account-snapshot {
    grid-template-columns: minmax(0, 1fr) 0.58fr 0.48fr;
  }

  .migration-showcase-page .migration-account-table.is-account-snapshot span:nth-child(3),
  .migration-showcase-page .migration-account-table.is-account-snapshot b:nth-child(4n + 3) {
    display: none;
  }

  .migration-showcase-page .migration-restriction-banner {
    grid-template-columns: 1fr;
  }
}

/* Website migration process section refinement. */
.migration-showcase-page .migration-process-section,
.migration-showcase-page .migration-process-section p,
.migration-showcase-page .migration-process-section strong,
.migration-showcase-page .migration-process-section span {
  font-family: var(--font-main);
}

.migration-showcase-page .migration-process-section .migration-process-grid {
  align-items: center;
}

.migration-showcase-page .migration-process-section .migration-process-flow {
  grid-template-columns: repeat(6, minmax(116px, 1fr));
  gap: 24px;
}

.migration-showcase-page .migration-process-section .migration-process-card {
  min-height: 166px;
  padding: 22px 12px 20px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 38%),
    #ffffff;
  border-color: rgba(36, 96, 184, 0.16);
  border-radius: 12px;
  box-shadow:
    0 18px 38px rgba(16, 42, 86, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.migration-showcase-page .migration-process-section .migration-process-card:hover {
  border-color: rgba(255, 108, 31, 0.28);
  box-shadow:
    0 24px 48px rgba(16, 42, 86, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.migration-showcase-page .migration-process-section .migration-process-card:not(:last-of-type)::after {
  content: "";
  top: 50%;
  right: -24px;
  width: 24px;
  height: 14px;
  background:
    linear-gradient(45deg, transparent 45%, #0b1f4f 47% 57%, transparent 59%) right 1px center / 10px 10px no-repeat,
    linear-gradient(-45deg, transparent 45%, #0b1f4f 47% 57%, transparent 59%) right 1px center / 10px 10px no-repeat,
    linear-gradient(#0b1f4f, #0b1f4f) left center / calc(100% - 7px) 2px no-repeat;
  opacity: 0.82;
  transform: translateY(-50%);
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon {
  width: 64px;
  height: 64px;
  color: #1767d9;
  filter: drop-shadow(0 10px 16px rgba(30, 100, 216, 0.16));
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-link .icon-line,
.migration-showcase-page .migration-process-section .migration-process-card .process-icon-validate .icon-line {
  stroke-width: 4;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-link .icon-dot {
  fill: currentColor;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-validate .icon-dash {
  stroke-dasharray: 6 8;
  stroke-dashoffset: 1;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-validate .icon-circle {
  stroke-dasharray: 118 28;
  stroke-dashoffset: 8;
}

.migration-showcase-page .migration-process-section .migration-process-card .process-icon-validate .icon-spark {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
}

.migration-showcase-page .migration-process-section .migration-process-card strong {
  max-width: 150px;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 850;
  letter-spacing: 0;
}

.migration-showcase-page .migration-process-section .migration-success-strip {
  margin-top: 18px;
  background: linear-gradient(90deg, rgba(237, 245, 255, 0.96), rgba(247, 251, 255, 0.96));
  border-color: rgba(30, 100, 216, 0.12);
  box-shadow: 0 14px 28px rgba(16, 42, 86, 0.05);
  font-family: var(--font-main);
}

@media (max-width: 1180px) {
  .migration-showcase-page .migration-process-section .migration-process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .migration-showcase-page .migration-process-section .migration-process-card:not(:last-of-type)::after {
    content: none;
  }
}

@media (max-width: 720px) {
  .migration-showcase-page .migration-process-section .migration-process-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .migration-showcase-page .migration-process-section .migration-process-card {
    min-height: 142px;
  }
}

/* Website migration project outcome redraw. */
.migration-showcase-page .migration-key-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(80px, 7vw, 112px);
  padding-bottom: clamp(82px, 7vw, 118px);
  background:
    radial-gradient(circle at 18% 20%, rgba(47, 111, 208, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-top: 1px solid rgba(16, 42, 86, 0.08);
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
}

.migration-showcase-page .migration-key-grid {
  display: grid;
  grid-template-columns: minmax(360px, 500px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.migration-showcase-page .migration-key-card {
  display: block;
  min-height: 500px;
  padding: clamp(42px, 4vw, 58px);
  color: #071944;
  background:
    radial-gradient(circle at 8% 100%, rgba(47, 111, 208, 0.08), transparent 26%),
    linear-gradient(135deg, #f5f9ff 0%, #ffffff 62%);
  border: 1px solid rgba(47, 111, 208, 0.18);
  border-radius: 14px;
  box-shadow:
    0 28px 70px rgba(16, 42, 86, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.migration-showcase-page .migration-key-card::after {
  content: none;
}

.migration-showcase-page .migration-outcome-label {
  margin: 0 0 42px;
  color: #2f6fd0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.migration-showcase-page .migration-key-card h2 {
  max-width: 430px;
  margin: 0;
  color: #071944;
  font-size: clamp(30px, 2.45vw, 36px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.38;
  text-transform: none;
}

.migration-showcase-page .migration-key-card h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 3px;
  margin: 36px 0 38px;
  background: #2f6fd0;
  border-radius: 999px;
}

.migration-showcase-page .migration-key-card p:not(.migration-outcome-label) {
  max-width: 420px;
  margin: 0;
  color: #40516c;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.migration-showcase-page .migration-outcome-dots {
  display: block;
  width: 104px;
  height: 86px;
  margin-top: 48px;
  background-image: radial-gradient(circle, rgba(47, 111, 208, 0.22) 2px, transparent 2.5px);
  background-size: 15px 15px;
}

.migration-showcase-page .migration-benefit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.migration-showcase-page .migration-benefit-row div {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  min-height: 430px;
  padding: 42px 34px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 253, 255, 0.99) 100%);
  border: 1px solid rgba(16, 42, 86, 0.08);
  border-radius: 12px;
  box-shadow:
    0 22px 50px rgba(16, 42, 86, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.migration-showcase-page .migration-benefit-row div:first-child {
  border-left: 1px solid rgba(16, 42, 86, 0.08);
}

.migration-showcase-page .migration-benefit-row div:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 111, 208, 0.24);
  box-shadow:
    0 30px 64px rgba(16, 42, 86, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.migration-showcase-page .migration-benefit-row svg {
  width: 72px;
  height: 72px;
  color: #1767d9;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.migration-showcase-page .migration-benefit-row h3 {
  max-width: 210px;
  margin: 0;
  color: #071944;
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.34;
}

.migration-showcase-page .migration-benefit-row div > span {
  display: block;
  width: 46px;
  height: 3px;
  background: #1767d9;
  border-radius: 999px;
}

.migration-showcase-page .migration-benefit-row p {
  max-width: 220px;
  margin: 0;
  color: #4c5b73;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.62;
}

.migration-showcase-page .migration-outcome-quote {
  position: relative;
  grid-column: 2;
  margin: 24px 0 0;
  padding-top: 28px;
  color: #40516c;
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.migration-showcase-page .migration-outcome-quote::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(47, 111, 208, 0.18), rgba(47, 111, 208, 0.18)) left center / calc(50% - 42px) 1px no-repeat,
    linear-gradient(90deg, rgba(47, 111, 208, 0.18), rgba(47, 111, 208, 0.18)) right center / calc(50% - 42px) 1px no-repeat;
}

.migration-showcase-page .migration-outcome-quote::after {
  content: "“";
  position: absolute;
  top: -2px;
  left: 50%;
  color: #1767d9;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
}

@media (max-width: 1180px) {
  .migration-showcase-page .migration-key-grid {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-key-card {
    min-height: 0;
  }

  .migration-showcase-page .migration-benefit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .migration-showcase-page .migration-benefit-row div {
    min-height: 330px;
  }

  .migration-showcase-page .migration-outcome-quote {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .migration-showcase-page .migration-key-card {
    padding: 32px 26px;
  }

  .migration-showcase-page .migration-outcome-label {
    margin-bottom: 28px;
  }

  .migration-showcase-page .migration-key-card h2::after {
    margin: 26px 0 28px;
  }

  .migration-showcase-page .migration-key-card p:not(.migration-outcome-label) {
    font-size: 16px;
  }

  .migration-showcase-page .migration-benefit-row {
    grid-template-columns: 1fr;
  }

  .migration-showcase-page .migration-benefit-row div {
    min-height: 280px;
    padding: 34px 28px;
  }

  .migration-showcase-page .migration-outcome-quote {
    font-size: 16px;
  }
}

/* Campaign Reach case study redesign. */
.campaign-reach-page {
  color: #102044;
  background:
    radial-gradient(circle at 88% 8%, rgba(47, 111, 208, 0.12), transparent 28%),
    radial-gradient(circle at 8% 30%, rgba(224, 111, 32, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 46%, #ffffff 100%);
}

.campaign-reach-page main {
  overflow: hidden;
  background:
    linear-gradient(rgba(47, 111, 208, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 208, 0.04) 1px, transparent 1px);
  background-size: auto;
}

.campaign-reach-page main > section::after {
  content: none;
  display: none;
}

.campaign-reach-page .page-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.campaign-reach-hero {
  position: relative;
  padding: clamp(46px, 5vw, 78px) 0 clamp(54px, 6vw, 92px);
}

.campaign-reach-hero::before,
.campaign-results-section::before {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0.42;
}

.campaign-reach-hero::before {
  right: max(-120px, -8vw);
  top: 98px;
  width: clamp(280px, 32vw, 520px);
  height: clamp(280px, 32vw, 520px);
  border: 1px solid rgba(47, 111, 208, 0.18);
  box-shadow: inset 0 0 70px rgba(47, 111, 208, 0.06);
}

.campaign-reach-page .case-study-topline {
  margin-bottom: clamp(32px, 3.8vw, 56px);
}

.campaign-reach-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.campaign-reach-copy {
  max-width: 630px;
}

.campaign-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 0 0 22px;
  color: #1767d9;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.campaign-kicker span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 3px 2px;
  background: currentColor;
  border-radius: 999px;
}

.campaign-reach-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #071846;
  font-size: clamp(48px, 5.1vw, 82px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
}

.campaign-reach-copy h1 span {
  color: var(--button-orange, #d96f25);
}

.campaign-reach-copy > p:not(.campaign-kicker) {
  max-width: 560px;
  margin: 28px 0 0;
  color: #43516a;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1.66;
}

.campaign-meta-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.campaign-meta-chips span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  min-width: 0;
  color: #102044;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.28;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.campaign-meta-chips svg,
.campaign-meta-chips img {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
  color: #1767d9;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.campaign-meta-chips span:nth-child(2) img {
  width: 38px;
  height: 38px;
}

.campaign-inline-cta {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 44px;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.94)),
    linear-gradient(135deg, rgba(47, 111, 208, 0.12), rgba(224, 111, 32, 0.16));
  border: 1px solid rgba(47, 111, 208, 0.13);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(16, 42, 86, 0.08);
}

.campaign-inline-cta > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #1767d9;
  background: rgba(47, 111, 208, 0.08);
  border-radius: 999px;
}

.campaign-inline-cta svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.campaign-inline-cta h2 {
  margin: 0 0 6px;
  color: #071846;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.campaign-inline-cta p {
  margin: 0;
  color: #485872;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.campaign-inline-cta .button {
  min-height: 48px;
  padding: 0 24px;
  white-space: nowrap;
}

.campaign-ads-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #102044;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(47, 111, 208, 0.14), rgba(224, 111, 32, 0.12)) border-box;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow:
    0 34px 90px rgba(16, 42, 86, 0.15),
    0 10px 24px rgba(16, 42, 86, 0.06);
  transform: translateZ(0);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.campaign-ads-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 42px 104px rgba(16, 42, 86, 0.18),
    0 16px 32px rgba(16, 42, 86, 0.08);
}

.campaign-ads-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(224, 111, 32, 0.08), transparent 62%);
  pointer-events: none;
}

.campaign-ads-topbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 68px;
  padding: 14px 22px;
  background: rgba(249, 252, 255, 0.96);
  border-bottom: 1px solid rgba(16, 42, 86, 0.1);
}

.campaign-ads-topbar img {
  width: 132px;
  height: auto;
}

.campaign-ads-topbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  color: #7a8699;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.campaign-ads-topbar label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.campaign-topbar-actions {
  display: flex;
  gap: 18px;
  color: #516077;
  font-size: 11px;
  font-weight: 600;
}

.campaign-ads-layout {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 472px;
}

.campaign-ads-sidebar {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 26px 18px;
  background: #f8fbff;
  border-right: 1px solid rgba(16, 42, 86, 0.08);
}

.campaign-ads-sidebar span {
  display: block;
  padding: 10px 12px;
  color: #536278;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}

.campaign-ads-sidebar .is-active {
  color: #1767d9;
  background: rgba(47, 111, 208, 0.1);
}

.campaign-ads-main {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.campaign-ads-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.campaign-ads-head h2 {
  margin: 0;
  color: #071846;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.campaign-ads-head span,
.campaign-ads-head button {
  color: #526174;
  font-size: 12px;
  font-weight: 600;
}

.campaign-ads-head button {
  padding: 9px 14px;
  background: #fff;
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 8px;
}

.campaign-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.campaign-kpi-grid article {
  display: grid;
  gap: 10px;
  min-height: 112px;
  padding: 18px 14px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(16, 42, 86, 0.05);
}

.campaign-kpi-grid span {
  color: #526174;
  font-size: 12px;
  font-weight: 700;
}

.campaign-kpi-grid strong {
  color: #071846;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.campaign-kpi-grid small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.campaign-kpi-grid small::before {
  font-size: 13px;
  line-height: 1;
}

.campaign-kpi-grid .is-down {
  color: #e54835;
}

.campaign-kpi-grid .is-down::before {
  content: "\2193";
}

.campaign-kpi-grid .is-up {
  color: #15803d;
}

.campaign-kpi-grid .is-up::before {
  content: "\2191";
}

.campaign-reach-page .is-blurred {
  display: inline-block;
  color: transparent !important;
  text-shadow: 0 0 8px rgba(74, 91, 116, 0.72);
  user-select: none;
}

.campaign-chart-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 22px;
  align-items: stretch;
}

.campaign-chart-area > svg,
.campaign-results-chart svg {
  width: 100%;
  min-height: 252px;
}

.campaign-chart-area .grid-line,
.campaign-results-chart .grid-line,
.campaign-chart-area .axis,
.campaign-results-chart .axis {
  fill: none;
  stroke: rgba(16, 42, 86, 0.1);
  stroke-width: 1.5;
}

.campaign-chart-area .axis,
.campaign-results-chart .axis {
  stroke: rgba(16, 42, 86, 0.22);
}

.campaign-chart-area .chart-line,
.campaign-results-chart .chart-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: campaign-line-draw 1.15s ease forwards;
}

.campaign-chart-area .chart-line-blue,
.campaign-results-chart .chart-line-blue {
  stroke: #1767d9;
}

.campaign-chart-area .chart-line-red,
.campaign-results-chart .chart-line-red {
  stroke: #ef3d2f;
  animation-delay: 0.16s;
}

.campaign-chart-area .chart-dots circle {
  fill: #1767d9;
}

.campaign-chart-area .chart-labels text,
.campaign-results-chart .chart-labels text {
  fill: #526174;
  font-size: 13px;
  font-weight: 600;
}

.campaign-reach-alert {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px 20px;
  color: #102044;
  background: linear-gradient(145deg, #fff5ef, #fffefe 72%);
  border: 1px solid rgba(224, 111, 32, 0.14);
  border-radius: 12px;
}

.campaign-reach-alert svg {
  width: 34px;
  height: 34px;
  color: #e54835;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: campaign-soft-pulse 2.4s ease-in-out infinite;
}

.campaign-reach-alert h3 {
  margin: 0;
  color: #071846;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.32;
}

.campaign-reach-alert p {
  margin: 0;
  color: #43516a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.campaign-reach-alert span {
  color: #1767d9;
  font-size: 13px;
  font-weight: 700;
}

.campaign-context-section,
.campaign-changes-section,
.campaign-results-section,
.campaign-insight-section,
.campaign-bottom-cta {
  position: relative;
  padding: clamp(34px, 4.8vw, 68px) 0;
}

.campaign-context-section {
  padding-top: clamp(18px, 2.4vw, 34px);
}

.campaign-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 14px;
  box-shadow: 0 26px 70px rgba(16, 42, 86, 0.08);
}

.campaign-info-card {
  position: relative;
  min-height: 390px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.72);
}

.campaign-info-card + .campaign-info-card {
  border-left: 1px solid rgba(16, 42, 86, 0.09);
}

.campaign-step {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f6fd0, #1767d9);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(47, 111, 208, 0.22);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.campaign-info-card h2,
.campaign-section-heading h2,
.campaign-insight-card h2,
.campaign-related-card h2,
.campaign-bottom-cta h2 {
  margin: 0;
  color: #071846;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.22;
}

.campaign-info-card h2 {
  display: inline;
  font-size: clamp(22px, 1.7vw, 28px);
}

.campaign-info-card p {
  margin: 24px 0 0;
  color: #43516a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.66;
}

.campaign-context-list {
  display: grid;
  gap: 19px;
  margin: 26px 0 0;
}

.campaign-context-list div {
  position: relative;
  padding-left: 34px;
}

.campaign-context-list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  color: #1767d9;
  border: 1.8px solid currentColor;
  border-radius: 6px;
}

.campaign-context-list dt {
  margin: 0 0 5px;
  color: #1767d9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.campaign-context-list dd {
  margin: 0;
  color: #102044;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.campaign-issue-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.campaign-issue-list li {
  position: relative;
  padding-left: 32px;
  color: #28384f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.campaign-issue-list li::before {
  content: "\00d7";
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #ef3d2f;
  border: 1.6px solid rgba(239, 61, 47, 0.7);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.campaign-section-card {
  padding: clamp(30px, 3.4vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(16, 42, 86, 0.08);
}

.campaign-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 850px;
  margin-bottom: 32px;
}

.campaign-section-heading h2 {
  font-size: clamp(25px, 2vw, 32px);
}

.campaign-section-heading p {
  margin: 10px 0 0;
  color: #43516a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.62;
}

.campaign-changes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(310px, 0.66fr);
  gap: 36px;
  align-items: stretch;
}

.campaign-change-map {
  display: grid;
  gap: 12px;
}

.campaign-change-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.campaign-change-head {
  color: #e06f20;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-change-row strong,
.campaign-change-row p {
  min-height: 72px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 10px;
}

.campaign-change-row strong {
  display: flex;
  align-items: center;
  color: #071846;
  background: #f8fbff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.campaign-change-row p {
  color: #102044;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.48;
}

.campaign-change-row p span {
  color: #526174;
  font-size: 13px;
  font-weight: 500;
}

.campaign-change-row i {
  display: grid;
  place-items: center;
  color: #526174;
  font-style: normal;
  font-size: 20px;
}

.campaign-search-table {
  padding: 28px;
  background: linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 12px;
}

.campaign-search-table h3 {
  margin: 0 0 22px;
  color: #071846;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.campaign-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 64px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
  color: #33445d;
  font-size: 14px;
  font-weight: 500;
}

.campaign-table-head {
  color: #071846;
  font-size: 13px;
  font-weight: 700;
}

.campaign-table-row .is-positive {
  color: #15803d;
  font-weight: 700;
}

.campaign-table-row .is-positive::before {
  content: "\2192";
  margin-right: 10px;
  color: #7d8aa1;
}

.campaign-success-note {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 26px 0 0;
  padding: 18px 20px;
  color: #1f6b36;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(34, 197, 94, 0.12);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.campaign-success-note svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.campaign-results-section::before {
  left: -72px;
  top: 120px;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(circle, rgba(47, 111, 208, 0.18) 2px, transparent 2.4px);
  background-size: 16px 16px;
}

.campaign-results-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.74fr) minmax(360px, 1.25fr) minmax(230px, 0.62fr);
  gap: 34px;
  align-items: stretch;
}

.campaign-result-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.campaign-result-metrics article {
  display: grid;
  gap: 10px;
  min-height: 94px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.campaign-result-metrics article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16, 42, 86, 0.1);
}

.campaign-result-metrics span {
  color: #526174;
  font-size: 13px;
  font-weight: 600;
}

.campaign-result-metrics strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #15803d;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.campaign-result-metrics strong::before {
  content: "\2191";
  font-size: 16px;
}

.campaign-result-metrics article:nth-child(5) strong::before {
  content: "\2193";
}

.campaign-results-chart {
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 12px;
}

.campaign-chart-legend {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  margin-bottom: 8px;
  color: #526174;
  font-size: 13px;
  font-weight: 700;
}

.campaign-chart-legend span::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 999px;
}

.campaign-chart-legend .before::before {
  background: #ef3d2f;
}

.campaign-chart-legend .after::before {
  background: #1767d9;
}

.campaign-key-outcome {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 30px;
  color: #102044;
  background: linear-gradient(145deg, #fff7f1, #ffffff 74%);
  border: 1px solid rgba(224, 111, 32, 0.12);
  border-radius: 12px;
}

.campaign-key-outcome svg {
  width: 46px;
  height: 46px;
  color: #e06f20;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.campaign-key-outcome h3 {
  margin: 0;
  color: #071846;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.campaign-key-outcome p {
  margin: 0;
  color: #43516a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.66;
}

.campaign-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 26px;
}

.campaign-insight-card,
.campaign-related-card,
.campaign-bottom-cta-grid {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(16, 42, 86, 0.07);
}

.campaign-insight-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px 40px;
}

.campaign-insight-card > span {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  color: #1767d9;
  background: radial-gradient(circle, rgba(47, 111, 208, 0.18) 0 42%, transparent 43%);
  border: 1px solid rgba(47, 111, 208, 0.13);
  border-radius: 999px;
}

.campaign-insight-card svg,
.campaign-related-services svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.campaign-insight-card h2,
.campaign-related-card h2 {
  font-size: clamp(24px, 1.8vw, 30px);
}

.campaign-insight-card p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #43516a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.68;
}

.campaign-related-card {
  padding: 34px 36px;
}

.campaign-related-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.campaign-related-services span {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 100px;
  color: #102044;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
}

.campaign-related-services svg,
.campaign-related-services img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  color: #1767d9;
}

.campaign-related-card > a {
  display: inline-flex;
  margin-top: 18px;
  color: #1767d9;
  font-size: 14px;
  font-weight: 700;
}

.campaign-bottom-cta {
  padding-bottom: clamp(64px, 7vw, 110px);
}

.campaign-bottom-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 3.2vw, 46px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 241, 0.94)),
    radial-gradient(circle at 14% 50%, rgba(47, 111, 208, 0.12), transparent 30%);
}

.campaign-bottom-cta h2 {
  font-size: clamp(28px, 2.2vw, 36px);
}

.campaign-bottom-cta p {
  max-width: 660px;
  margin: 10px 0 0;
  color: #43516a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.62;
}

.campaign-bottom-cta .button {
  min-height: 54px;
  padding: 0 28px;
  white-space: nowrap;
}

@keyframes campaign-line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes campaign-soft-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.78;
  }
}

@media (max-width: 1120px) {
  .campaign-reach-hero-grid {
    grid-template-columns: 1fr;
  }

  .campaign-reach-copy {
    max-width: 780px;
  }

  .campaign-reach-copy h1,
  .campaign-reach-copy > p:not(.campaign-kicker) {
    max-width: 760px;
  }

  .campaign-ads-card {
    max-width: 980px;
  }

  .campaign-results-grid,
  .campaign-changes-grid,
  .campaign-insight-grid {
    grid-template-columns: 1fr;
  }

  .campaign-related-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .campaign-meta-chips,
  .campaign-three-grid,
  .campaign-result-metrics {
    grid-template-columns: 1fr;
  }

  .campaign-three-grid {
    overflow: hidden;
  }

  .campaign-info-card {
    min-height: 0;
  }

  .campaign-info-card + .campaign-info-card {
    border-top: 1px solid rgba(16, 42, 86, 0.09);
    border-left: 0;
  }

  .campaign-ads-layout {
    grid-template-columns: 1fr;
  }

  .campaign-ads-sidebar {
    display: flex;
    overflow-x: auto;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 42, 86, 0.08);
  }

  .campaign-ads-sidebar span {
    flex: 0 0 auto;
  }

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

  .campaign-chart-area {
    grid-template-columns: 1fr;
  }

  .campaign-change-row {
    grid-template-columns: 1fr;
  }

  .campaign-change-head,
  .campaign-change-row i {
    display: none;
  }

  .campaign-change-row {
    padding: 16px;
    background: rgba(248, 251, 255, 0.86);
    border: 1px solid rgba(16, 42, 86, 0.08);
    border-radius: 12px;
  }

  .campaign-change-row strong,
  .campaign-change-row p {
    min-height: 0;
  }

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

  .campaign-insight-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .campaign-reach-hero {
    padding-top: 34px;
  }

  .campaign-reach-copy h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .campaign-inline-cta,
  .campaign-bottom-cta-grid {
    grid-template-columns: 1fr;
  }

  .campaign-inline-cta .button,
  .campaign-bottom-cta .button {
    width: 100%;
  }

  .campaign-ads-topbar {
    grid-template-columns: 1fr;
  }

  .campaign-topbar-actions {
    display: none;
  }

  .campaign-ads-main,
  .campaign-info-card,
  .campaign-section-card,
  .campaign-insight-card,
  .campaign-related-card {
    padding: 24px;
  }

  .campaign-ads-head,
  .campaign-kpi-grid,
  .campaign-table-row {
    grid-template-columns: 1fr;
  }

  .campaign-chart-area > svg,
  .campaign-results-chart svg {
    min-height: 210px;
  }

  .campaign-table-row {
    gap: 6px;
  }

  .campaign-insight-card > span {
    width: 94px;
    height: 94px;
  }

  .campaign-related-services {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-ads-card,
  .campaign-result-metrics article,
  .campaign-chart-area .chart-line,
  .campaign-results-chart .chart-line,
  .campaign-reach-alert svg {
    animation: none;
    transition: none;
  }

  .campaign-chart-area .chart-line,
  .campaign-results-chart .chart-line {
    stroke-dashoffset: 0;
  }
}

/* Campaign Reach premium refinement: quieter background, clearer hierarchy, realistic case flow. */
.campaign-reach-page {
  background:
    radial-gradient(circle at 84% 14%, rgba(47, 111, 208, 0.1), transparent 30%),
    radial-gradient(circle at 9% 44%, rgba(224, 111, 32, 0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 48%, #ffffff 100%);
}

.campaign-reach-page main {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.82) 0%, rgba(255, 255, 255, 0.98) 42%, rgba(248, 251, 255, 0.72) 100%);
}

.campaign-reach-page main::before,
.campaign-reach-page main > section::before,
.campaign-reach-page main > section::after {
  content: none;
  display: none;
  background: none;
  animation: none;
}

.campaign-reach-page .case-study-topline {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.campaign-reach-hero {
  padding: clamp(34px, 4vw, 56px) 0 clamp(46px, 5vw, 72px);
}

.campaign-reach-hero::before,
.campaign-results-section::before {
  opacity: 0.2;
}

.campaign-reach-hero-grid {
  grid-template-columns: minmax(360px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(34px, 4vw, 62px);
  align-items: start;
}

.campaign-reach-copy h1 {
  max-width: 520px;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.12;
}

.campaign-reach-copy > p:not(.campaign-kicker) {
  max-width: 555px;
  margin-top: 24px;
  font-size: clamp(17px, 1.28vw, 20px);
  line-height: 1.72;
}

.campaign-meta-chips {
  gap: 14px;
  margin-top: 32px;
}

.campaign-meta-chips span {
  min-height: 58px;
  padding: 8px 0;
  font-size: 13px;
}

.campaign-inline-cta {
  grid-template-columns: 48px minmax(0, 1fr);
  margin-top: 32px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.96)),
    radial-gradient(circle at 12% 24%, rgba(47, 111, 208, 0.1), transparent 36%);
  border-color: rgba(47, 111, 208, 0.12);
  box-shadow: 0 18px 42px rgba(16, 42, 86, 0.07);
}

.campaign-inline-cta h2 {
  font-size: 17px;
}

.campaign-inline-cta p {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.65;
}

.campaign-ads-card {
  box-shadow:
    0 30px 76px rgba(16, 42, 86, 0.13),
    0 10px 24px rgba(16, 42, 86, 0.05);
}

.campaign-context-section,
.campaign-changes-section,
.campaign-results-section,
.campaign-insight-section,
.campaign-bottom-cta {
  padding: clamp(44px, 5.4vw, 82px) 0;
}

.campaign-context-section {
  padding-top: clamp(24px, 3vw, 44px);
}

.campaign-three-grid {
  gap: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.campaign-info-card {
  overflow: hidden;
  min-height: 370px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 14px;
  box-shadow: 0 22px 58px rgba(16, 42, 86, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.campaign-info-card::after {
  content: "";
  position: absolute;
  right: -52px;
  top: -52px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(47, 111, 208, 0.1), transparent 68%);
  pointer-events: none;
}

.campaign-info-card:nth-child(2)::after {
  background: radial-gradient(circle, rgba(224, 111, 32, 0.12), transparent 68%);
}

.campaign-info-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(239, 61, 47, 0.09), transparent 68%);
}

.campaign-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 111, 208, 0.18);
  box-shadow: 0 30px 70px rgba(16, 42, 86, 0.1);
}

.campaign-info-card + .campaign-info-card {
  border-left: 1px solid rgba(16, 42, 86, 0.09);
}

.campaign-context-list div::before {
  background: rgba(47, 111, 208, 0.05);
}

.campaign-section-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 253, 255, 0.98) 100%);
  box-shadow: 0 28px 76px rgba(16, 42, 86, 0.08);
}

.campaign-section-heading {
  max-width: 980px;
}

.campaign-section-heading h2 {
  font-size: clamp(27px, 2.1vw, 34px);
}

.campaign-change-row strong {
  position: relative;
  padding-left: 54px;
}

.campaign-change-row strong::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  color: #1767d9;
  background: currentColor;
  transform: translateY(-50%);
  mask: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 16h14M6 13V9h3v4M10 13V5h3v8M14 13V7h3v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.campaign-change-row:nth-child(3) strong::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 11h12M8 6h6M7 16h8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='5' cy='11' r='2' fill='black'/%3E%3Ccircle cx='14' cy='6' r='2' fill='black'/%3E%3Ccircle cx='15' cy='16' r='2' fill='black'/%3E%3C/svg%3E");
}

.campaign-change-row:nth-child(4) strong::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 19s6-5 6-10A6 6 0 0 0 5 9c0 5 6 10 6 10Z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='11' cy='9' r='2' fill='black'/%3E%3C/svg%3E");
}

.campaign-change-row:nth-child(5) strong::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 17V5M4 17h14M8 14l3-4 3 2 4-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.campaign-results-context {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -8px 0 28px 40px;
}

.campaign-results-context span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  color: #40516c;
  background: #f5f8fd;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.campaign-results-context span:first-child {
  color: #1767d9;
  background: rgba(47, 111, 208, 0.08);
  border-color: rgba(47, 111, 208, 0.12);
}

.campaign-result-metrics {
  gap: 14px;
}

.campaign-result-metrics article {
  min-height: 118px;
  padding: 18px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(47, 111, 208, 0.12), rgba(21, 128, 61, 0.12)) border-box;
  border: 1px solid transparent;
}

.campaign-result-metrics span {
  color: #3e5069;
  font-size: 12px;
  line-height: 1.25;
}

.campaign-result-metrics strong {
  color: #14723a;
  font-size: 18px;
}

.campaign-result-metrics small {
  color: #607089;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.campaign-results-chart {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.campaign-results-chart::before {
  content: "Search visibility trend";
  position: absolute;
  left: 24px;
  top: 22px;
  color: #071846;
  font-size: 15px;
  font-weight: 700;
}

.campaign-chart-legend {
  margin-bottom: 18px;
  padding-left: 190px;
}

.campaign-results-chart .campaign-change-zone {
  stroke: rgba(224, 111, 32, 0.42);
  stroke-width: 2;
  stroke-dasharray: 5 7;
}

.campaign-chart-points circle {
  fill: #1767d9;
  stroke: #ffffff;
  stroke-width: 2.5;
  filter: drop-shadow(0 4px 8px rgba(47, 111, 208, 0.28));
}

.campaign-chart-note rect {
  fill: rgba(255, 247, 241, 0.98);
  stroke: rgba(224, 111, 32, 0.2);
}

.campaign-chart-note text {
  fill: #d95f18;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.campaign-chart-footnote {
  margin-top: 14px;
  padding: 14px 16px;
  color: #40516c;
  background: rgba(47, 111, 208, 0.06);
  border: 1px solid rgba(47, 111, 208, 0.09);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.campaign-key-outcome {
  background:
    linear-gradient(145deg, rgba(255, 247, 241, 0.96), rgba(255, 255, 255, 0.98) 72%);
  box-shadow: 0 18px 40px rgba(224, 111, 32, 0.08);
}

.campaign-insight-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: stretch;
}

.campaign-insight-card {
  position: relative;
  overflow: hidden;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: start;
  padding: clamp(34px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(7, 24, 70, 0.96), rgba(17, 55, 112, 0.94)),
    radial-gradient(circle at 86% 18%, rgba(47, 111, 208, 0.32), transparent 38%);
  border: 0;
  box-shadow: 0 30px 80px rgba(7, 24, 70, 0.18);
}

.campaign-insight-card::after {
  content: "";
  position: absolute;
  right: -88px;
  bottom: -98px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.campaign-insight-card > span {
  width: 68px;
  height: 68px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.campaign-insight-card svg {
  width: 36px;
  height: 36px;
}

.campaign-insight-card h2 {
  color: #ffffff;
}

.campaign-insight-card p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
}

.campaign-insight-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.campaign-insight-proof span {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.campaign-insight-proof strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-related-card {
  background: #ffffff;
}

.campaign-bottom-cta-grid {
  grid-template-columns: minmax(290px, 0.72fr) minmax(360px, 1fr) auto;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  padding: clamp(26px, 3.2vw, 42px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 255, 0.96)),
    radial-gradient(circle at 88% 12%, rgba(224, 111, 32, 0.12), transparent 34%);
}

.campaign-bottom-mail-visual {
  min-height: 260px;
  padding: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.76)),
    url("case-photo-campaign-reach.png") center / cover;
  border: 1px solid rgba(16, 42, 86, 0.08);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.campaign-mail-window {
  max-width: 360px;
  margin-left: auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(16, 42, 86, 0.16);
  backdrop-filter: blur(8px);
}

.campaign-mail-top {
  display: grid;
  grid-template-columns: repeat(3, 8px) minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 14px 16px;
  background: #f7faff;
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
}

.campaign-mail-top span {
  width: 8px;
  height: 8px;
  background: #ff7a1a;
  border-radius: 999px;
}

.campaign-mail-top span:nth-child(2) {
  background: #fbbc04;
}

.campaign-mail-top span:nth-child(3) {
  background: #2f6fd0;
}

.campaign-mail-top strong {
  margin-left: 8px;
  color: #071846;
  font-size: 13px;
  font-weight: 700;
}

.campaign-mail-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.campaign-mail-list article {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.08);
  border-radius: 10px;
  animation: campaignMailLift 4.5s ease-in-out infinite;
}

.campaign-mail-list article:nth-child(2) {
  animation-delay: 0.45s;
}

.campaign-mail-list article:nth-child(3) {
  animation-delay: 0.9s;
}

.campaign-mail-list span {
  color: #1767d9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.campaign-mail-list strong {
  color: #071846;
  font-size: 13px;
  font-weight: 700;
}

.campaign-mail-list small {
  color: #607089;
  font-size: 12px;
  font-weight: 500;
}

.campaign-bottom-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #e06f20;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-bottom-cta-copy h2 {
  max-width: 540px;
  font-size: clamp(30px, 2.4vw, 40px);
  line-height: 1.14;
}

.campaign-bottom-cta-copy p {
  max-width: 620px;
}

.campaign-bottom-cta .button {
  min-height: 58px;
  padding: 0 30px;
}

@keyframes campaignMailLift {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: none;
  }
  45% {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(16, 42, 86, 0.1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .campaign-info-card,
  .campaign-section-card,
  .campaign-insight-card,
  .campaign-related-card,
  .campaign-bottom-cta-grid {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  }

  .campaign-section-card:hover,
  .campaign-insight-card:hover,
  .campaign-related-card:hover,
  .campaign-bottom-cta-grid:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 1180px) {
  .campaign-reach-hero-grid,
  .campaign-bottom-cta-grid {
    grid-template-columns: 1fr;
  }

  .campaign-bottom-cta .button {
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .campaign-info-card + .campaign-info-card {
    border-left: 1px solid rgba(16, 42, 86, 0.09);
  }

  .campaign-results-context {
    margin-left: 0;
  }

  .campaign-insight-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .campaign-reach-copy h1 {
    font-size: clamp(36px, 9.6vw, 48px);
  }

  .campaign-chart-legend {
    justify-content: flex-start;
    padding-left: 0;
    padding-top: 26px;
  }

  .campaign-bottom-mail-visual {
    min-height: 230px;
    padding: 16px;
  }

  .campaign-mail-window {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-mail-list article {
    animation: none;
  }
}

/* Website Migration bottom CTA redesign. */
.migration-showcase-page .migration-bottom-cta {
  padding: clamp(58px, 6vw, 92px) 0 clamp(70px, 7vw, 108px);
  background: transparent;
}

.migration-showcase-page .migration-bottom-cta-grid {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 330px minmax(520px, 1fr) 280px;
  gap: clamp(22px, 2vw, 28px);
  align-items: center;
  min-height: 330px;
  padding: 0 clamp(30px, 4vw, 58px) 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 54%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(47, 111, 208, 0.16);
  border-radius: 18px;
  box-shadow:
    0 30px 72px rgba(16, 42, 86, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.migration-showcase-page .migration-bottom-cta-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 34%, #ffffff 63%),
    radial-gradient(circle at 68% 18%, rgba(47, 111, 208, 0.08), transparent 36%);
  pointer-events: none;
}

.migration-showcase-page .migration-bottom-cta-photo {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px 0 0 18px;
}

.migration-showcase-page .migration-bottom-cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 54%, #ffffff 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(7, 24, 70, 0.08));
  pointer-events: none;
}

.migration-showcase-page .migration-bottom-cta-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: 34% center;
  transform: scale(1.02);
  filter: saturate(0.98) contrast(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.migration-showcase-page .migration-bottom-cta-grid:hover .migration-bottom-cta-photo img {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.04);
}

.migration-showcase-page .migration-bottom-cta-copy,
.migration-showcase-page .migration-bottom-cta-action {
  position: relative;
  z-index: 1;
}

.migration-showcase-page .migration-bottom-cta-copy {
  padding: clamp(40px, 4.6vw, 66px) 0;
}

.migration-showcase-page .migration-bottom-cta h2 {
  margin: 0;
  color: #071846;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.migration-showcase-page .migration-bottom-cta-copy > p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #40516c;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
  line-height: 1.64;
}

.migration-showcase-page .migration-bottom-cta-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(38px, 4vw, 58px);
}

.migration-showcase-page .migration-bottom-cta-benefits span {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: center;
  min-width: 0;
  padding: 0 12px;
  border-right: 1px solid rgba(47, 111, 208, 0.16);
}

.migration-showcase-page .migration-bottom-cta-benefits span:first-child {
  padding-left: 0;
}

.migration-showcase-page .migration-bottom-cta-benefits span:last-child {
  border-right: 0;
  padding-right: 0;
}

.migration-showcase-page .migration-bottom-cta-benefits i {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #1767d9;
  background: rgba(47, 111, 208, 0.08);
  border-radius: 999px;
  font-style: normal;
}

.migration-showcase-page .migration-bottom-cta-benefits i.is-orange {
  color: #e06f20;
  background: rgba(224, 111, 32, 0.1);
}

.migration-showcase-page .migration-bottom-cta-benefits svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.migration-showcase-page .migration-bottom-cta-benefits strong {
  color: #071846;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.migration-showcase-page .migration-bottom-cta-benefits small {
  color: #526174;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.migration-showcase-page .migration-bottom-cta-action {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding-right: clamp(8px, 1vw, 18px);
}

.migration-showcase-page .migration-bottom-cta-action .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 285px);
  min-height: 86px;
  padding: 18px 28px;
  color: #ffffff;
  text-align: center;
  white-space: normal;
  background: linear-gradient(180deg, #ff791a 0%, #ef4d08 100%);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 22px 44px rgba(244, 96, 12, 0.26);
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 700;
  line-height: 1.35;
}

.migration-showcase-page .migration-bottom-cta-action .button:hover,
.migration-showcase-page .migration-bottom-cta-action .button:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, #ff8530 0%, #dc4505 100%);
  transform: translateY(-3px);
  box-shadow: 0 28px 58px rgba(244, 96, 12, 0.32);
}

.migration-showcase-page .migration-bottom-cta-action p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #40516c;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.migration-showcase-page .migration-bottom-cta-action p span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ff791a;
}

.migration-showcase-page .migration-bottom-cta-action p svg {
  width: 24px;
  height: 24px;
  fill: #ff791a;
  stroke: #ffffff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .migration-showcase-page .migration-bottom-cta-grid {
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
    padding-right: clamp(28px, 4vw, 46px);
  }

  .migration-showcase-page .migration-bottom-cta-action {
    grid-column: 2;
    justify-items: start;
    padding: 0 0 clamp(34px, 4vw, 48px);
  }
}

@media (max-width: 860px) {
  .migration-showcase-page .migration-bottom-cta-grid {
    grid-template-columns: 1fr;
    padding: 0 24px 32px;
  }

  .migration-showcase-page .migration-bottom-cta-photo {
    min-height: 260px;
    margin: 0 -24px;
    border-radius: 18px 18px 0 0;
  }

  .migration-showcase-page .migration-bottom-cta-photo img {
    min-height: 260px;
  }

  .migration-showcase-page .migration-bottom-cta-photo::after {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.92) 100%);
  }

  .migration-showcase-page .migration-bottom-cta-copy {
    padding: 8px 0 0;
  }

  .migration-showcase-page .migration-bottom-cta-benefits {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .migration-showcase-page .migration-bottom-cta-benefits span {
    padding: 0;
    border-right: 0;
  }

  .migration-showcase-page .migration-bottom-cta-action {
    grid-column: auto;
    justify-items: stretch;
    padding: 0;
  }

  .migration-showcase-page .migration-bottom-cta-action .button {
    width: 100%;
    min-height: 68px;
  }

  .migration-showcase-page .migration-bottom-cta-action p {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .migration-showcase-page .migration-bottom-cta-photo img,
  .migration-showcase-page .migration-bottom-cta-action .button {
    transition: none;
  }
}

/* Site typography consistency: keep copy lighter and headings unified. */
:where(body, button, input, textarea, select) {
  font-family: var(--font-main) !important;
}

:where(main, header, footer, .lead-form-modal) :where(p, li, a, button, input, textarea, select, label, small, span) {
  font-family: var(--font-main) !important;
}

:where(main, header, footer, .lead-form-modal) :where(p, li, small, label) {
  font-weight: 500 !important;
}

:where(main, header, footer, .lead-form-modal) :where(strong, b) {
  font-weight: 700 !important;
}

:where(main, header, footer, .lead-form-modal) :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-main) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.migration-showcase-page .migration-showcase-copy h1,
.migration-showcase-page .migration-showcase-copy h1 span,
.migration-showcase-page .migration-showcase-copy h1 strong,
.migration-showcase-page .migration-key-card h2,
.migration-showcase-page .migration-benefit-row h3,
.migration-showcase-page .migration-process-section .migration-process-card strong {
  font-weight: 700 !important;
}

.migration-showcase-page .migration-outcome-label,
.migration-showcase-page .case-study-tag,
.migration-showcase-page .migration-mini-screen h3,
.migration-showcase-page .migration-screen-status-row span,
.migration-showcase-page .migration-restriction-banner strong {
  font-weight: 700 !important;
}

.migration-showcase-page .migration-key-card p:not(.migration-outcome-label),
.migration-showcase-page .migration-benefit-row p,
.migration-showcase-page .migration-side-copy p,
.migration-showcase-page .migration-showcase-copy > p:not(.migration-kicker) {
  font-weight: 500 !important;
}

/* Lead Sources attribution case study redesign. */
.attribution-case-page {
  color: #102044;
  background:
    radial-gradient(circle at 88% 10%, rgba(47, 111, 208, 0.12), transparent 30%),
    radial-gradient(circle at 8% 44%, rgba(224, 111, 32, 0.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 48%, #ffffff 100%);
}

.attribution-case-page main {
  overflow: hidden;
}

.attribution-hero,
.attribution-section {
  position: relative;
  padding: clamp(36px, 4.4vw, 64px) 0;
}

.attribution-hero {
  padding-top: clamp(34px, 4vw, 56px);
}

.attribution-case-page .case-study-topline {
  margin-bottom: clamp(22px, 2.4vw, 34px);
}

.attribution-hero-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.attribution-hero-copy {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 4px 0 8px;
}

.attribution-hero-copy h1 {
  max-width: 680px;
  margin: 0;
  color: #071846;
  font-size: clamp(46px, 4.6vw, 70px);
  line-height: 1.08;
}

.attribution-hero-copy h1 span {
  color: #e06f20;
}

.attribution-hero-copy > p:not(.campaign-kicker) {
  max-width: 660px;
  margin: 22px 0 0;
  color: #43516a;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.72;
}

.attribution-proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.attribution-proof-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  color: #102044;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 12px 30px rgba(16, 42, 86, 0.06);
}

.attribution-proof-row img,
.attribution-proof-row svg {
  width: 30px;
  height: 30px;
  object-fit: contain;
  color: #1767d9;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.attribution-visual {
  position: relative;
  min-height: 520px;
  border-radius: 18px;
}

.attribution-visual > img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid rgba(16, 42, 86, 0.11);
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(16, 42, 86, 0.15);
}

.attribution-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 40%),
    linear-gradient(180deg, transparent 52%, rgba(7, 24, 70, 0.22));
  pointer-events: none;
}

.attribution-path-card,
.attribution-status-card {
  position: absolute;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(16, 42, 86, 0.16);
  backdrop-filter: blur(12px);
}

.attribution-path-card {
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
}

.attribution-path-card > span {
  display: block;
  margin-bottom: 14px;
  color: #e06f20;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.attribution-path-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.attribution-path-card b {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  color: #071846;
  background: #f7fbff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 10px;
  font-size: 13px;
}

.attribution-path-card i {
  color: #1767d9;
  font-style: normal;
  font-weight: 700;
}

.attribution-path-card p {
  margin: 14px 0 0;
  color: #526174;
  font-size: 14px;
  line-height: 1.5;
}

.attribution-status-card {
  top: 24px;
  right: 24px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 14px;
  align-items: center;
  padding: 16px 18px;
}

.attribution-status-card strong {
  color: #071846;
  font-size: 13px;
}

.attribution-status-card span {
  color: #e54835;
  font-size: 13px;
  font-weight: 700;
}

.attribution-status-card .is-good {
  color: #15803d;
}

.attribution-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.attribution-summary-grid article,
.attribution-story-card,
.attribution-before-after > div,
.attribution-results-card,
.attribution-cta-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 14px;
  box-shadow: 0 24px 66px rgba(16, 42, 86, 0.08);
}

.attribution-summary-grid article {
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.attribution-summary-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 76px rgba(16, 42, 86, 0.11);
}

.attribution-summary-grid h2,
.attribution-story-card h2,
.attribution-before-after h2,
.attribution-results-card h2,
.attribution-cta-card h2 {
  margin: 0;
  color: #071846;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.18;
}

.attribution-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.attribution-section-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #1767d9;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 245, 255, 0.94));
  border: 1px solid rgba(47, 111, 208, 0.16);
  border-radius: 14px;
}

.attribution-section-icon.is-orange {
  color: #e06f20;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 243, 234, 0.95));
  border-color: rgba(224, 111, 32, 0.18);
}

.attribution-section-icon.is-green {
  color: #15803d;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 253, 245, 0.96));
  border-color: rgba(21, 128, 61, 0.16);
}

.attribution-section-icon svg,
.attribution-mini-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.attribution-summary-grid p,
.attribution-story-card p,
.attribution-results-card p,
.attribution-cta-card p {
  margin: 14px 0 0;
  color: #43516a;
  font-size: 16px;
  line-height: 1.66;
}

.attribution-summary-grid dl,
.attribution-summary-grid ul,
.attribution-before-after ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.attribution-summary-grid dl div {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 14px 16px;
  background: rgba(247, 251, 255, 0.76);
  border: 1px solid rgba(16, 42, 86, 0.07);
  border-radius: 12px;
}

.attribution-summary-grid dt {
  color: #1767d9;
  font-size: 13px;
  font-weight: 700;
}

.attribution-summary-grid dd {
  margin: 4px 0 0;
  color: #102044;
  font-size: 15px;
}

.attribution-summary-grid li,
.attribution-before-after li {
  position: relative;
  min-height: 28px;
  padding-left: 40px;
  color: #2d3e56;
  font-size: 15px;
  line-height: 1.5;
}

.attribution-summary-grid li::before,
.attribution-before-after li::before {
  content: "x";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ef3d2f;
  background: rgba(239, 61, 47, 0.06);
  border: 1px solid rgba(239, 61, 47, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.attribution-summary-grid .is-positive li::before,
.attribution-before-after .is-positive li::before {
  content: "";
  color: #15803d;
  border-color: rgba(21, 128, 61, 0.7);
  background:
    linear-gradient(45deg, transparent 46%, currentColor 47% 57%, transparent 58%) 7px 11px / 7px 7px no-repeat,
    linear-gradient(135deg, transparent 44%, currentColor 45% 56%, transparent 57%) 11px 9px / 8px 8px no-repeat,
    rgba(21, 128, 61, 0.06);
}

.attribution-story-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  gap: clamp(30px, 4.4vw, 64px);
  align-items: start;
  padding: clamp(34px, 4vw, 54px);
}

.attribution-story-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}

.attribution-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.attribution-flow article {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 178px;
  padding: 24px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 42, 86, 0.08);
  border-radius: 12px;
  transition: transform 0.22s ease;
}

.attribution-flow article:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(23, 103, 217, 0.34), rgba(224, 111, 32, 0.34));
}

.attribution-flow article:hover {
  transform: translateY(-4px);
}

.attribution-flow img,
.attribution-flow svg {
  width: 42px;
  height: 42px;
  object-fit: contain;
  color: #1767d9;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.attribution-flow span {
  color: #071846;
  font-size: 15px;
  font-weight: 700;
}

.attribution-flow small {
  color: #526174;
  font-size: 12px;
  line-height: 1.35;
}

.attribution-flow i {
  display: none;
}

.attribution-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.attribution-before-after > div {
  padding: clamp(30px, 3.4vw, 44px);
}

.attribution-results-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.38fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding: clamp(34px, 4vw, 54px);
}

.attribution-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.attribution-result-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 14px;
  align-items: start;
  min-height: 118px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 12px;
}

.attribution-result-grid strong {
  display: block;
  color: #071846;
  font-size: 17px;
  line-height: 1.25;
}

.attribution-result-grid span {
  display: block;
  margin-top: 10px;
  color: #526174;
  font-size: 14px;
  line-height: 1.45;
}

.attribution-result-grid .attribution-mini-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  color: #1767d9;
  background: rgba(237, 245, 255, 0.86);
  border: 1px solid rgba(47, 111, 208, 0.12);
  border-radius: 12px;
}

.attribution-result-grid article:nth-child(even) .attribution-mini-icon {
  color: #e06f20;
  background: rgba(255, 243, 234, 0.9);
  border-color: rgba(224, 111, 32, 0.14);
}

.attribution-bottom-cta {
  padding-bottom: clamp(42px, 5vw, 76px);
}

.attribution-cta-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr) auto;
  gap: clamp(22px, 3.4vw, 42px);
  align-items: center;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(16, 42, 86, 0.08);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.attribution-cta-photo {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 230px;
  margin: 0;
  border-radius: 14px;
}

.attribution-cta-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 0.36s ease;
}

.attribution-cta-card:hover .attribution-cta-photo img {
  transform: scale(1.08);
}

.attribution-cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 70, 0.22), transparent 58%),
    linear-gradient(180deg, transparent 48%, rgba(7, 24, 70, 0.25));
  pointer-events: none;
}

.attribution-cta-copy {
  min-width: 0;
}

.attribution-cta-card .button {
  min-height: 56px;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .attribution-hero-grid,
  .attribution-story-card,
  .attribution-results-card,
  .attribution-cta-card {
    grid-template-columns: 1fr;
  }

  .attribution-hero-copy {
    min-height: auto;
    padding: 0;
  }

  .attribution-proof-row {
    margin-top: 28px;
  }

  .attribution-hero-copy h1,
  .attribution-hero-copy > p:not(.campaign-kicker) {
    max-width: 820px;
  }
}

@media (max-width: 900px) {
  .attribution-proof-row,
  .attribution-summary-grid,
  .attribution-before-after,
  .attribution-result-grid {
    grid-template-columns: 1fr;
  }

  .attribution-flow {
    grid-template-columns: 1fr;
  }

  .attribution-flow article:not(:last-of-type)::after {
    display: none;
  }

  .attribution-flow i {
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .attribution-hero-copy h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .attribution-visual,
  .attribution-visual > img {
    min-height: 0;
    height: 430px;
  }

  .attribution-status-card {
    left: 18px;
    right: 18px;
  }

  .attribution-path-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .attribution-cta-card .button,
  .attribution-hero-actions .button {
    width: 100%;
  }
}

/* Smart Bidding case study redesign refinements. */
.smart-bidding-page .campaign-reach-copy h1 {
  max-width: 580px;
  font-size: clamp(44px, 4.6vw, 70px);
}

.smart-bidding-page .campaign-reach-copy > p:not(.campaign-kicker) {
  max-width: 600px;
}

.smart-hero-cta {
  grid-template-columns: auto minmax(0, 1fr);
}

.smart-hero-cta > span {
  display: none;
}

.smart-hero-cta .button {
  min-height: 52px;
}

.smart-hero-cta p {
  max-width: 240px;
  margin: 0;
}

.smart-dashboard .campaign-ads-layout {
  min-height: 494px;
}

.smart-kpi-grid strong {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.08;
}

.smart-kpi-grid article:nth-child(5) strong {
  font-size: 18px;
}

.smart-chart-legend text {
  fill: #526174;
  font-size: 13px;
  font-weight: 700;
}

.smart-found-card {
  overflow-x: auto;
}

.smart-finding-table {
  min-width: 620px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 12px;
}

.smart-finding-table > div {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1fr;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
}

.smart-finding-table > div:last-child {
  border-bottom: 0;
}

.smart-finding-table strong {
  color: #071846;
  font-size: 12px;
  line-height: 1.35;
}

.smart-finding-table span {
  color: #43516a;
  font-size: 12px;
  line-height: 1.45;
}

.smart-finding-table span:first-child {
  color: #071846;
  font-weight: 700;
}

.smart-strategy-card {
  overflow: hidden;
}

.smart-strategy-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.smart-strategy-flow article {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-height: 156px;
  padding: 24px 18px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.smart-strategy-flow article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(16, 42, 86, 0.09);
}

.smart-strategy-flow svg {
  width: 54px;
  height: 54px;
  color: #1767d9;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.smart-strategy-flow span {
  max-width: 150px;
  color: #102044;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.smart-strategy-flow i {
  color: #1767d9;
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
}

.smart-solved-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 34px;
}

.smart-action-list {
  display: grid;
  gap: 12px;
}

.smart-action-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 10px;
}

.smart-action-list strong {
  position: relative;
  padding-left: 28px;
  color: #071846;
  font-size: 14px;
  line-height: 1.35;
}

.smart-action-list strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  color: #15803d;
  border: 1.6px solid currentColor;
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent 47%, currentColor 48% 58%, transparent 59%) 5px 8px / 6px 6px no-repeat,
    linear-gradient(135deg, transparent 43%, currentColor 44% 56%, transparent 57%) 9px 7px / 7px 7px no-repeat;
}

.smart-action-list p {
  margin: 0;
  color: #43516a;
  font-size: 14px;
  line-height: 1.5;
}

.smart-before-after {
  padding: 28px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 12px;
}

.smart-before-after h3 {
  margin: 0 0 22px;
  color: #071846;
  font-size: 22px;
  line-height: 1.25;
}

.smart-table-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) repeat(3, minmax(88px, 0.72fr));
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
  color: #43516a;
  font-size: 14px;
}

.smart-table-row:last-child {
  border-bottom: 0;
}

.smart-table-head {
  color: #071846;
  font-size: 13px;
  font-weight: 700;
}

.smart-table-row strong {
  color: #15803d;
}

.smart-table-row .is-down-good {
  color: #15803d;
}

.smart-results-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.smart-results-grid article {
  display: grid;
  gap: 9px;
  min-height: 128px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.smart-results-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(16, 42, 86, 0.09);
}

.smart-results-grid span {
  color: #526174;
  font-size: 13px;
}

.smart-results-grid strong {
  color: #071846;
  font-size: 26px;
  line-height: 1.12;
}

.smart-results-grid small {
  color: #15803d;
  font-size: 13px;
  font-weight: 700;
}

.smart-status-card {
  background: linear-gradient(145deg, rgba(230, 247, 237, 0.9), #ffffff) !important;
  border-color: rgba(21, 128, 61, 0.16) !important;
}

.smart-status-card strong {
  color: #15803d;
  font-size: 18px;
}

.smart-key-takeaway {
  background:
    linear-gradient(135deg, rgba(245, 249, 255, 0.98), rgba(255, 255, 255, 0.98)) !important;
  border: 1px solid rgba(47, 111, 208, 0.1);
  color: #102044;
}

.smart-key-takeaway h2 {
  color: #071846;
}

.smart-key-takeaway p {
  color: #43516a;
}

.smart-related-services a:not(.footer-link-arrow) {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 100px;
  color: #102044;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
}

@media (max-width: 1180px) {
  .smart-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smart-solved-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .smart-strategy-flow {
    grid-template-columns: 1fr;
  }

  .smart-strategy-flow i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .smart-action-list article,
  .smart-table-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .smart-bidding-page .campaign-reach-copy h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

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

  .smart-hero-cta .button {
    width: 100%;
  }

  .smart-results-grid {
    grid-template-columns: 1fr;
  }

  .smart-before-after {
    overflow-x: auto;
  }
}

/* Smart Bidding final polish: no scrollbars, lighter cards, richer logic. */
.smart-bidding-page {
  --smart-blue: #1f6fe5;
  --smart-blue-soft: rgba(31, 111, 229, 0.1);
  --smart-orange: #e86f1e;
  --smart-orange-soft: rgba(232, 111, 30, 0.1);
  --smart-green: #15803d;
  --smart-green-soft: rgba(21, 128, 61, 0.1);
  --smart-red: #e54835;
  --smart-red-soft: rgba(229, 72, 53, 0.1);
}

.smart-bidding-page main {
  overflow-x: hidden;
}

.smart-bidding-page .campaign-ads-card,
.smart-bidding-page .campaign-kpi-grid article,
.smart-bidding-page .campaign-info-card,
.smart-bidding-page .campaign-section-card,
.smart-bidding-page .smart-strategy-flow article,
.smart-bidding-page .smart-action-list article,
.smart-bidding-page .smart-before-after,
.smart-bidding-page .smart-results-grid article,
.smart-bidding-page .campaign-insight-card,
.smart-bidding-page .campaign-related-card,
.smart-bidding-page .campaign-bottom-cta-grid,
.smart-bidding-page .lead-form-panel {
  box-shadow: none !important;
}

.smart-bidding-page .campaign-ads-card:hover,
.smart-bidding-page .campaign-info-card:hover,
.smart-bidding-page .campaign-section-card:hover,
.smart-bidding-page .campaign-insight-card:hover,
.smart-bidding-page .campaign-related-card:hover,
.smart-bidding-page .campaign-bottom-cta-grid:hover,
.smart-bidding-page .smart-strategy-flow article:hover,
.smart-bidding-page .smart-results-grid article:hover {
  box-shadow: none !important;
}

.smart-bidding-page .campaign-reach-hero {
  padding-top: clamp(42px, 4.8vw, 68px);
  padding-bottom: clamp(46px, 5.4vw, 72px);
}

.smart-bidding-page .campaign-reach-hero-grid {
  align-items: center;
}

.smart-bidding-page .campaign-reach-copy h1 {
  max-width: 570px;
  font-size: clamp(38px, 3.45vw, 52px);
  line-height: 1.12;
}

.smart-bidding-page .campaign-reach-copy > p:not(.campaign-kicker) {
  max-width: 540px;
  margin-top: 18px;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
}

.smart-bidding-page .campaign-reach-hero-grid {
  grid-template-columns: minmax(340px, 0.76fr) minmax(520px, 1.14fr);
  gap: clamp(28px, 3.6vw, 52px);
}

.smart-bidding-page .campaign-reach-copy {
  max-width: 560px;
}

.smart-bidding-page .campaign-kicker {
  margin-bottom: 18px;
}

.smart-bidding-page .campaign-meta-chips {
  gap: 12px;
  margin-top: 22px;
}

.smart-bidding-page .campaign-meta-chips span {
  min-height: 52px;
  font-size: 12px;
}

.smart-bidding-page .campaign-meta-chips svg,
.smart-bidding-page .campaign-meta-chips img {
  width: 30px;
  height: 30px;
}

.smart-bidding-page .campaign-meta-chips span:nth-child(2) img {
  width: 34px;
  height: 34px;
}

.smart-bidding-page .smart-readiness-strip {
  margin-top: 18px;
}

.smart-bidding-page .smart-readiness-strip span {
  min-height: 50px;
  padding: 9px 11px;
  font-size: 12px;
}

.smart-bidding-page .smart-readiness-strip svg {
  width: 30px;
  height: 30px;
  padding: 6px;
}

.smart-bidding-page .smart-dashboard {
  max-width: 720px;
  justify-self: end;
}

.smart-bidding-page .smart-dashboard .campaign-ads-topbar {
  grid-template-columns: 132px minmax(190px, 1fr) auto;
  gap: 12px;
  min-height: 54px;
  padding: 9px 14px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-topbar img {
  width: 118px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-topbar label {
  height: 34px;
  padding: 0 13px;
  font-size: 12px;
}

.smart-bidding-page .smart-dashboard .campaign-topbar-actions {
  gap: 12px;
  font-size: 10px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-layout {
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 382px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-sidebar {
  gap: 4px;
  padding: 18px 12px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-sidebar span {
  padding: 7px 9px;
  font-size: 10px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-main {
  padding: 18px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-head {
  gap: 10px;
  margin-bottom: 16px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-head h2 {
  font-size: 18px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-head span,
.smart-bidding-page .smart-dashboard .campaign-ads-head button {
  font-size: 11px;
}

.smart-bidding-page .smart-dashboard .campaign-ads-head button {
  padding: 8px 12px;
}

.smart-bidding-page .smart-dashboard .smart-kpi-grid {
  grid-template-columns: repeat(5, minmax(76px, 1fr));
  gap: 8px;
}

.smart-bidding-page .smart-dashboard .campaign-kpi-grid article {
  min-height: 104px;
  padding: 12px 10px;
  align-content: start;
  gap: 7px;
}

.smart-bidding-page .smart-dashboard .campaign-kpi-grid span {
  font-size: 11px;
  line-height: 1.25;
}

.smart-bidding-page .smart-dashboard .smart-kpi-grid strong {
  font-size: 21px;
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
}

.smart-bidding-page .smart-dashboard .smart-kpi-grid article:nth-child(2) strong {
  font-size: 18px;
}

.smart-bidding-page .smart-dashboard .smart-kpi-grid article:nth-child(4) strong,
.smart-bidding-page .smart-dashboard .smart-kpi-grid article:nth-child(5) strong {
  font-size: 15px;
  line-height: 1.18;
  white-space: normal;
}

.smart-bidding-page .smart-dashboard .campaign-kpi-grid small {
  font-size: 10px;
  line-height: 1.35;
}

.smart-bidding-page .smart-dashboard .campaign-chart-area {
  grid-template-columns: minmax(0, 1fr) minmax(136px, 0.34fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.smart-bidding-page .smart-dashboard .campaign-chart-area > svg {
  height: 178px;
  min-height: 0;
  align-self: start;
}

.smart-bidding-page .smart-dashboard .campaign-reach-alert {
  min-height: 178px;
  padding: 18px 15px;
  align-self: start;
}

.smart-bidding-page .smart-dashboard .campaign-reach-alert svg {
  width: 34px;
  height: 34px;
}

.smart-bidding-page .smart-dashboard .campaign-reach-alert h3 {
  font-size: 16px;
}

.smart-bidding-page .smart-dashboard .campaign-reach-alert p {
  font-size: 12px;
  line-height: 1.42;
}

.smart-readiness-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.smart-readiness-strip span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 12px 14px;
  color: #102044;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.smart-readiness-strip span:nth-child(2) {
  background: linear-gradient(135deg, #ffffff, rgba(232, 111, 30, 0.055));
}

.smart-readiness-strip svg {
  width: 34px;
  height: 34px;
  color: var(--smart-blue);
  padding: 7px;
  background: var(--smart-blue-soft);
  border-radius: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.smart-readiness-strip span:nth-child(2) svg {
  color: var(--smart-orange);
  background: var(--smart-orange-soft);
}

.smart-readiness-strip span:nth-child(3) svg {
  color: var(--smart-green);
  background: var(--smart-green-soft);
}

.smart-bidding-page .campaign-ads-card {
  border-color: rgba(31, 111, 229, 0.16);
}

.smart-bidding-page .campaign-ads-card::after {
  content: none;
  display: none;
}

.smart-bidding-page .campaign-ads-card:hover {
  transform: translateY(-3px);
}

.smart-bidding-page .campaign-kpi-grid article {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  min-width: 0;
  overflow: hidden;
}

.smart-bidding-page .campaign-kpi-grid article > * {
  min-width: 0;
}

.smart-bidding-page .smart-kpi-grid strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.smart-bidding-page .smart-kpi-grid article:nth-child(5) strong {
  font-size: 14px;
  line-height: 1.18;
}

.smart-bidding-page .campaign-kpi-grid article:nth-child(1),
.smart-bidding-page .campaign-kpi-grid article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, rgba(229, 72, 53, 0.055));
}

.smart-bidding-page .campaign-reach-alert {
  background: linear-gradient(145deg, rgba(229, 72, 53, 0.08), #ffffff 72%);
}

.smart-bidding-page .campaign-three-grid {
  gap: 22px;
}

.smart-bidding-page .campaign-info-card {
  min-height: 0;
  padding: clamp(28px, 3vw, 40px);
  background: #ffffff;
  border-color: rgba(16, 42, 86, 0.1);
}

.smart-bidding-page .campaign-info-card + .campaign-info-card {
  border-left: 1px solid rgba(16, 42, 86, 0.1);
}

.smart-bidding-page .campaign-info-card::after {
  right: 18px;
  top: 18px;
  width: 74px;
  height: 74px;
  opacity: 0.38;
}

.smart-bidding-page .campaign-step {
  box-shadow: none;
  background: var(--smart-blue);
}

.smart-bidding-page .campaign-info-card:nth-child(2) .campaign-step,
.smart-bidding-page .campaign-section-card:nth-child(2) .campaign-step {
  background: var(--smart-orange);
}

.smart-bidding-page .campaign-context-list {
  gap: 17px;
}

.smart-bidding-page .campaign-context-list div {
  min-height: 58px;
  padding-left: 52px;
}

.smart-bidding-page .campaign-context-list div::before {
  width: 36px;
  height: 36px;
  top: 1px;
  color: var(--smart-blue);
  background: currentColor;
  border: 0;
  border-radius: 11px;
  opacity: 1;
  mask: center / 23px 23px no-repeat;
  -webkit-mask: center / 23px 23px no-repeat;
}

.smart-bidding-page .campaign-context-list div:nth-child(1)::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19V9l8-5 8 5v10M8 19v-6h8v6M6 11h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19V9l8-5 8 5v10M8 19v-6h8v6M6 11h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.smart-bidding-page .campaign-context-list div:nth-child(2)::before {
  color: var(--smart-orange);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.smart-bidding-page .campaign-context-list div:nth-child(3)::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 12 5 5L20 7M4 7h8M4 17h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 12 5 5L20 7M4 7h8M4 17h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.smart-bidding-page .campaign-context-list div:nth-child(4)::before {
  color: var(--smart-green);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3v18M17 7c-.8-1.1-2.1-1.7-4-1.7-2.2 0-3.8 1.1-3.8 2.7 0 4 8.3 2.1 8.3 6.4 0 1.8-1.6 3-4.2 3-2 0-3.6-.7-4.6-2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3v18M17 7c-.8-1.1-2.1-1.7-4-1.7-2.2 0-3.8 1.1-3.8 2.7 0 4 8.3 2.1 8.3 6.4 0 1.8-1.6 3-4.2 3-2 0-3.6-.7-4.6-2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.smart-bidding-page .campaign-issue-list li::before {
  background: var(--smart-red-soft);
}

.smart-found-card {
  overflow: hidden;
}

.smart-finding-table {
  display: none;
}

.smart-finding-cards {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.smart-finding-cards article {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 13px 14px 13px 46px;
  background: linear-gradient(135deg, #ffffff, #fbfdff);
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 12px;
}

.smart-finding-cards article::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 20px;
  height: 20px;
  color: var(--smart-orange);
  background: currentColor;
  border-radius: 6px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14M12 5v14' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 17px 17px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14M12 5v14' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 17px 17px no-repeat;
}

.smart-finding-cards span {
  color: var(--smart-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.smart-finding-cards strong {
  min-width: 0;
  color: #071846;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.32;
}

.smart-finding-cards p {
  margin: 0;
  color: #526174;
  font-size: 12px;
  line-height: 1.45;
}

.smart-bidding-page .campaign-section-card {
  background: #ffffff;
  border-color: rgba(16, 42, 86, 0.1);
}

.smart-strategy-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.smart-strategy-flow {
  gap: 12px;
}

.smart-strategy-flow article {
  min-height: 170px;
  padding: 24px 16px;
  background: linear-gradient(180deg, #ffffff, rgba(31, 111, 229, 0.035));
  border-color: rgba(31, 111, 229, 0.13);
}

.smart-strategy-flow article:nth-of-type(2) {
  background: linear-gradient(180deg, #ffffff, rgba(232, 111, 30, 0.045));
  border-color: rgba(232, 111, 30, 0.13);
}

.smart-strategy-flow article:nth-of-type(3) {
  background: linear-gradient(180deg, #ffffff, rgba(31, 111, 229, 0.045));
}

.smart-strategy-flow article:nth-of-type(4) {
  background: linear-gradient(180deg, #ffffff, rgba(21, 128, 61, 0.055));
  border-color: rgba(21, 128, 61, 0.13);
}

.smart-strategy-flow article:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 111, 229, 0.26);
}

.smart-strategy-flow svg {
  width: 58px;
  height: 58px;
  padding: 12px;
  color: var(--smart-blue);
  background: var(--smart-blue-soft);
  border-radius: 18px;
}

.smart-strategy-flow article:nth-of-type(2) svg {
  color: var(--smart-orange);
  background: var(--smart-orange-soft);
}

.smart-strategy-flow article:nth-of-type(4) svg {
  color: var(--smart-green);
  background: var(--smart-green-soft);
}

.smart-strategy-flow i {
  color: #9aa8bc;
  font-size: 22px;
}

.smart-action-list article {
  background: #fbfdff;
  border-color: rgba(16, 42, 86, 0.08);
}

.smart-action-list article:nth-child(even) {
  background: #fffaf6;
  border-color: rgba(232, 111, 30, 0.12);
}

.smart-before-after {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  overflow: hidden;
}

.smart-results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.smart-results-grid article {
  min-height: 132px;
  background: #ffffff;
  border-color: rgba(16, 42, 86, 0.1);
}

.smart-results-grid article:nth-child(1),
.smart-results-grid article:nth-child(3),
.smart-results-grid article:nth-child(5) {
  background: linear-gradient(145deg, #ffffff, rgba(31, 111, 229, 0.055));
}

.smart-results-grid article:nth-child(2) {
  background: linear-gradient(145deg, #ffffff, rgba(21, 128, 61, 0.06));
}

.smart-results-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 111, 229, 0.2);
}

.smart-results-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 22px;
  margin-top: 28px;
}

.smart-results-chart,
.smart-results-note {
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.1);
  border-radius: 14px;
}

.smart-results-chart {
  padding: 22px;
}

.smart-chart-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-bottom: 12px;
}

.smart-chart-head h3 {
  flex: 1 1 320px;
  margin: 0;
  color: #071846;
  font-size: 18px;
  line-height: 1.25;
}

.smart-chart-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #526174;
  font-size: 13px;
  font-weight: 700;
}

.smart-chart-head i {
  width: 24px;
  height: 3px;
  background: var(--smart-red);
  border-radius: 999px;
}

.smart-chart-head span:last-child i {
  background: var(--smart-blue);
}

.smart-results-chart svg {
  width: 100%;
  min-height: 250px;
}

.smart-results-chart .grid-line,
.smart-results-chart .axis {
  fill: none;
  stroke: rgba(16, 42, 86, 0.1);
  stroke-width: 1.4;
}

.smart-results-chart .axis {
  stroke: rgba(16, 42, 86, 0.2);
}

.smart-results-chart .line-before,
.smart-results-chart .line-after {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: campaign-line-draw 1.05s ease forwards;
}

.smart-results-chart .line-before {
  stroke: var(--smart-red);
  opacity: 0.78;
}

.smart-results-chart .line-after {
  stroke: var(--smart-blue);
  animation-delay: 0.12s;
}

.smart-area-dots circle {
  fill: var(--smart-blue);
  stroke: #ffffff;
  stroke-width: 3;
}

.smart-results-note {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(31, 111, 229, 0.07), #ffffff);
}

.smart-results-note span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--smart-blue);
  background: var(--smart-blue-soft);
  border-radius: 16px;
}

.smart-results-note svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.smart-results-note h3 {
  margin: 0;
  color: #071846;
  font-size: 21px;
  line-height: 1.24;
}

.smart-results-note p {
  margin: 0;
  color: #43516a;
  font-size: 15px;
  line-height: 1.62;
}

.smart-bidding-page .campaign-bottom-cta-grid {
  grid-template-columns: minmax(290px, 0.5fr) minmax(360px, 1fr) auto;
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
  padding: 0 clamp(26px, 3.5vw, 44px) 0 0;
  overflow: hidden;
  background: #ffffff;
  border-color: rgba(31, 111, 229, 0.14);
}

.smart-bottom-photo {
  height: 100%;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px 0 0 14px;
}

.smart-bottom-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  transition: transform 0.45s ease;
}

.smart-bidding-page .campaign-bottom-cta-grid:hover .smart-bottom-photo img {
  transform: scale(1.045);
}

.smart-bottom-copy {
  padding: clamp(34px, 4vw, 54px) 0;
}

.smart-bottom-copy h2 {
  max-width: 620px;
  font-size: clamp(32px, 2.6vw, 46px);
  line-height: 1.12;
}

.smart-bottom-copy p {
  max-width: 690px;
  margin-top: 18px;
  font-size: clamp(16px, 1.2vw, 18px);
}

.smart-bottom-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.smart-bottom-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  color: #102044;
  background: #f6f9fe;
  border: 1px solid rgba(16, 42, 86, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.smart-bidding-page .campaign-bottom-cta .button {
  justify-self: end;
  min-height: 58px;
  white-space: normal;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .smart-readiness-strip span,
  .smart-finding-cards article,
  .smart-results-grid article,
  .smart-results-note {
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  }

  .smart-readiness-strip span:hover,
  .smart-finding-cards article:hover,
  .smart-results-grid article:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 1180px) {
  .smart-bidding-page .campaign-bottom-cta-grid,
  .smart-results-story {
    grid-template-columns: 1fr;
  }

  .smart-bidding-page .campaign-bottom-cta-grid {
    padding: 0;
  }

  .smart-bottom-photo {
    border-radius: 14px 14px 0 0;
  }

  .smart-bottom-copy,
  .smart-bidding-page .campaign-bottom-cta .button {
    margin-inline: clamp(24px, 4vw, 44px);
  }

  .smart-bidding-page .campaign-bottom-cta .button {
    justify-self: start;
    margin-bottom: clamp(28px, 4vw, 44px);
  }
}

@media (max-width: 980px) {
  .smart-bidding-page .campaign-reach-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .smart-bidding-page .smart-dashboard {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .smart-bidding-page .smart-dashboard .campaign-ads-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .smart-readiness-strip,
  .smart-bidding-page .campaign-three-grid,
  .smart-results-grid {
    grid-template-columns: 1fr;
  }

  .smart-bidding-page .campaign-info-card + .campaign-info-card {
    border-left: 1px solid rgba(16, 42, 86, 0.1);
  }
}

@media (max-width: 720px) {
  .smart-bidding-page .campaign-reach-copy h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .smart-bidding-page .campaign-reach-copy > p:not(.campaign-kicker) {
    font-size: 16px;
  }

  .smart-bidding-page .campaign-meta-chips {
    grid-template-columns: 1fr;
  }

  .smart-bidding-page .smart-dashboard .campaign-ads-topbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .smart-bidding-page .smart-dashboard .campaign-ads-topbar img {
    width: 116px;
  }

  .smart-bidding-page .smart-dashboard .campaign-ads-topbar label {
    width: 100%;
  }

  .smart-bidding-page .smart-dashboard .campaign-topbar-actions {
    display: none;
  }

  .smart-bidding-page .smart-dashboard .campaign-ads-main {
    padding: 18px;
  }

  .smart-bidding-page .smart-dashboard .campaign-ads-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .smart-bidding-page .smart-dashboard .smart-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smart-bidding-page .smart-dashboard .campaign-kpi-grid article {
    min-height: 96px;
    padding: 13px 12px;
  }

  .smart-bidding-page .smart-dashboard .smart-kpi-grid strong,
  .smart-bidding-page .smart-dashboard .smart-kpi-grid article:nth-child(2) strong {
    font-size: 20px;
  }

  .smart-bidding-page .smart-dashboard .smart-kpi-grid article:nth-child(4) strong,
  .smart-bidding-page .smart-dashboard .smart-kpi-grid article:nth-child(5) strong {
    font-size: 16px;
  }

  .smart-bidding-page .smart-dashboard .campaign-chart-area {
    grid-template-columns: 1fr;
  }

  .smart-bidding-page .smart-dashboard .campaign-chart-area > svg {
    height: 190px;
  }

  .smart-bidding-page .smart-dashboard .campaign-reach-alert {
    min-height: 0;
    padding: 18px;
  }

  .smart-bidding-page .campaign-ads-sidebar {
    display: none;
  }

  .smart-bidding-page .campaign-ads-sidebar span {
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .smart-readiness-strip span {
    min-height: 58px;
  }

  .smart-bidding-page .campaign-info-card,
  .smart-bidding-page .campaign-section-card,
  .smart-bidding-page .campaign-insight-card,
  .smart-bidding-page .campaign-related-card {
    padding: 22px;
  }

  .smart-finding-cards article {
    padding-left: 42px;
  }

  .smart-strategy-flow article {
    min-height: 138px;
  }

  .smart-results-chart {
    padding: 16px;
  }

  .smart-results-chart svg {
    min-height: 220px;
  }

  .smart-bottom-photo,
  .smart-bottom-photo img {
    min-height: 220px;
  }

  .smart-bottom-copy,
  .smart-bidding-page .campaign-bottom-cta .button {
    margin-inline: 22px;
  }

  .smart-bidding-page .campaign-bottom-cta .button {
    width: auto;
    justify-self: stretch;
  }
}

/* New Account Before A Major Event case study. */
.launch-case-page {
  color: #102044;
  background:
    radial-gradient(circle at 88% 8%, rgba(47, 111, 208, 0.1), transparent 30%),
    radial-gradient(circle at 10% 38%, rgba(224, 111, 32, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 48%, #ffffff 100%);
}

.launch-case-page main {
  overflow: hidden;
}

.launch-hero,
.launch-section {
  position: relative;
  padding: clamp(40px, 5vw, 78px) 0;
}

.launch-hero {
  padding-top: clamp(34px, 4vw, 58px);
}

.launch-case-page .case-study-topline {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.launch-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 0.94fr) minmax(420px, 0.9fr);
  gap: clamp(30px, 4.5vw, 66px);
  align-items: stretch;
  min-height: 390px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.18) 68%, rgba(255, 255, 255, 0.06) 100%),
    radial-gradient(circle at 12% 20%, rgba(224, 111, 32, 0.1), transparent 28%);
  border: 1px solid rgba(16, 42, 86, 0.08);
  border-radius: 22px;
}

.launch-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
}

.launch-hero-copy h1 {
  max-width: 700px;
  margin: 0;
  color: #071846;
  font-size: clamp(42px, 4.3vw, 68px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
}

.launch-hero-copy h1 span {
  color: var(--button-orange, #d96f25);
}

.launch-hero-copy > p:not(.campaign-kicker) {
  max-width: 560px;
  margin: 26px 0 0;
  color: #43516a;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 400;
  line-height: 1.66;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.launch-hero-media {
  position: absolute;
  inset: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px) auto;
  width: 52%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(16, 42, 86, 0.14);
}

.launch-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.34) 34%, rgba(255, 255, 255, 0.08) 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 24, 70, 0.16));
}

.launch-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.02);
}

.launch-photo-badges {
  position: absolute;
  z-index: 2;
  top: clamp(14px, 2vw, 22px);
  right: clamp(14px, 2vw, 22px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(88%, 460px);
}

.launch-photo-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  color: #0b2a66;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.launch-photo-badges span:nth-child(2) {
  color: var(--button-orange, #d96f25);
  border-color: rgba(224, 111, 32, 0.26);
}

.launch-client-goal {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 2.2vw, 24px);
  bottom: clamp(16px, 2.2vw, 24px);
  width: min(380px, calc(100% - 32px));
  padding: clamp(14px, 1.8vw, 18px);
  color: #102044;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(16, 42, 86, 0.12);
  backdrop-filter: blur(14px);
}

.launch-client-goal strong {
  display: block;
  margin-bottom: 8px;
  color: var(--button-orange, #d96f25);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.launch-client-goal ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-client-goal li {
  position: relative;
  padding-left: 16px;
  color: #27364f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.launch-client-goal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  background: var(--button-orange, #d96f25);
  border-radius: 999px;
}

.launch-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 22px;
  margin-top: 24px;
}

.launch-snapshot-card,
.launch-support-card,
.launch-process-card,
.launch-takeaway-card,
.launch-services-card,
.launch-cta-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 42, 86, 0.09);
  border-radius: 14px;
  box-shadow: 0 24px 66px rgba(16, 42, 86, 0.08);
}

.launch-snapshot-card {
  padding: clamp(28px, 3.3vw, 42px);
}

.launch-snapshot-card h2,
.launch-support-card h2,
.launch-process-card h2,
.launch-takeaway-card h2,
.launch-services-card h2,
.launch-cta-card h2 {
  margin: 0;
  color: #071846;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
}

.launch-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid rgba(16, 42, 86, 0.08);
}

.launch-snapshot-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  min-height: 128px;
  padding: 22px 20px 20px 0;
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
}

.launch-snapshot-grid article:nth-child(even) {
  padding-left: 24px;
}

.launch-snapshot-grid article:nth-child(odd) {
  border-right: 1px solid rgba(16, 42, 86, 0.08);
}

.launch-snapshot-grid article > span,
.launch-support-icon,
.launch-process-icon,
.launch-services-card li span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #1767d9;
  background: rgba(237, 245, 255, 0.92);
  border: 1px solid rgba(47, 111, 208, 0.12);
  border-radius: 14px;
}

.launch-snapshot-grid svg,
.launch-support-icon svg,
.launch-process-icon svg,
.launch-services-card svg,
.launch-card-illustration svg,
.launch-cta-card svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-snapshot-grid strong {
  display: block;
  color: #d96f25;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.launch-snapshot-grid p {
  margin: 8px 0 0;
  color: #102044;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.launch-support-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(28px, 3vw, 36px);
}

.launch-label {
  display: block;
  margin-top: 18px;
  color: #d96f25;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.launch-support-card h2 {
  max-width: 280px;
  margin-top: 10px;
}

.launch-support-card p {
  max-width: 290px;
  margin: 14px 0 0;
  color: #43516a;
  font-size: 16px;
  line-height: 1.6;
}

.launch-card-illustration {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin-top: auto;
  color: #1767d9;
}

.launch-card-illustration svg {
  width: min(100%, 260px);
  height: auto;
  color: #1767d9;
}

.launch-card-illustration rect {
  fill: rgba(237, 245, 255, 0.8);
  stroke: rgba(47, 111, 208, 0.28);
}

.launch-card-illustration path,
.launch-card-illustration circle {
  fill: none;
  stroke: currentColor;
}

.launch-card-illustration circle:nth-of-type(3) {
  fill: #d96f25;
  stroke: #d96f25;
}

.launch-process-card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
}

.launch-process-card article {
  position: relative;
  min-height: 330px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 42, 86, 0.07);
  border-radius: 12px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.launch-process-card article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -15px;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 111, 208, 0.38), rgba(224, 111, 32, 0.42));
}

.launch-process-card article:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 111, 32, 0.18);
}

.launch-process-card small {
  display: block;
  margin-top: 18px;
  color: #d96f25;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.launch-process-card h2 {
  margin-top: 10px;
  font-size: clamp(20px, 1.5vw, 25px);
}

.launch-process-card p,
.launch-process-card li {
  color: #43516a;
  font-size: 14px;
  line-height: 1.58;
}

.launch-process-card p {
  margin: 18px 0 0;
}

.launch-process-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.launch-process-card li {
  position: relative;
  padding-left: 16px;
}

.launch-process-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 5px;
  height: 5px;
  background: #d96f25;
  border-radius: 999px;
}

.launch-takeaway-section {
  padding-top: clamp(24px, 3.6vw, 56px);
}

.launch-takeaway-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
}

.launch-takeaway-card,
.launch-services-card {
  padding: clamp(28px, 3.4vw, 42px);
}

.launch-title-marker {
  display: inline-block;
  width: 3px;
  height: 26px;
  margin-right: 14px;
  background: #d96f25;
  border-radius: 999px;
  vertical-align: -5px;
}

.launch-takeaway-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.launch-takeaway-card > div {
  grid-column: 1 / -1;
}

.launch-takeaway-card figure {
  margin: 0;
}

.launch-takeaway-card img {
  display: block;
  width: min(100%, 260px);
  height: auto;
}

.launch-takeaway-card p {
  max-width: 560px;
  margin: 0;
  color: #43516a;
  font-size: 16px;
  line-height: 1.68;
}

.launch-services-card ul {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.launch-services-card li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  color: #102044;
  border-top: 1px solid rgba(16, 42, 86, 0.08);
  font-size: 15px;
  font-weight: 700;
}

.launch-services-card li span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.launch-services-card li:nth-child(even) span {
  color: #d96f25;
  background: rgba(255, 243, 234, 0.9);
  border-color: rgba(224, 111, 32, 0.16);
}

.launch-bottom-cta {
  padding-top: clamp(24px, 3.8vw, 58px);
  padding-bottom: clamp(54px, 6vw, 92px);
}

.launch-cta-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr) auto;
  gap: clamp(24px, 3.8vw, 54px);
  align-items: center;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.9)),
    radial-gradient(circle at 18% 50%, rgba(47, 111, 208, 0.13), transparent 28%);
}

.launch-cta-card figure {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

.launch-cta-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.8)),
    linear-gradient(180deg, transparent 54%, rgba(7, 24, 70, 0.2));
}

.launch-cta-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 0.36s ease;
}

.launch-cta-card:hover img {
  transform: scale(1.08);
}

.launch-cta-card p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #43516a;
  font-size: 17px;
  line-height: 1.66;
}

.launch-cta-card .button {
  min-height: 56px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .launch-overview-grid,
  .launch-takeaway-grid,
  .launch-cta-card {
    grid-template-columns: 1fr;
  }

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

  .launch-process-card article {
    min-height: 0;
  }

  .launch-process-card article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .launch-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
  }

  .launch-hero-copy {
    padding: 30px;
  }

  .launch-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 340px;
    border: 0;
    border-top: 1px solid rgba(16, 42, 86, 0.1);
    border-radius: 0 0 22px 22px;
    box-shadow: none;
  }

  .launch-hero-media img {
    min-height: 340px;
  }

  .launch-hero-media::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(7, 24, 70, 0.22));
  }

  .launch-snapshot-grid,
  .launch-process-card,
  .launch-takeaway-card {
    grid-template-columns: 1fr;
  }

  .launch-snapshot-grid article,
  .launch-snapshot-grid article:nth-child(even) {
    padding-left: 0;
  }

  .launch-snapshot-grid article:nth-child(odd) {
    border-right: 0;
  }

  .launch-takeaway-card > div {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .launch-hero-copy {
    padding: 24px;
  }

  .launch-hero-copy h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .launch-hero-media,
  .launch-hero-media img {
    min-height: 360px;
  }

  .launch-photo-badges {
    top: 14px;
    right: 14px;
    left: 14px;
    justify-content: flex-start;
    gap: 6px;
    max-width: none;
  }

  .launch-photo-badges span {
    min-height: 28px;
    padding: 6px 9px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .launch-client-goal {
    left: 14px;
    right: auto;
    bottom: 14px;
    width: clamp(220px, 58%, 340px);
    padding: 14px;
  }

  .launch-client-goal li {
    font-size: 12px;
  }

  .launch-snapshot-card,
  .launch-support-card,
  .launch-process-card,
  .launch-takeaway-card,
  .launch-services-card,
  .launch-cta-card {
    padding: 22px;
  }

  .launch-cta-card .button {
    width: 100%;
  }
}

/* Final clean-background pass: remove decorative grids, dots, waves, shadows, and large frames. */
html,
body,
body.case-index-page,
body.case-detail-page,
body.case-detail-page main,
body.case-index-page main,
body.case-detail-page main > section,
body.case-index-page main > section,
.case-more-section,
.attribution-hero,
.attribution-section,
.migration-showcase-hero,
.migration-showcase-section,
.campaign-context-section,
.campaign-changes-section,
.campaign-results-section,
.campaign-insight-section,
.launch-hero,
.launch-section,
.launch-takeaway-section {
  background: #ffffff !important;
  background-image: none !important;
}

body.case-index-page::before,
body.case-index-page::after,
body.case-detail-page::before,
body.case-detail-page::after,
body.case-index-page main::before,
body.case-index-page main::after,
body.case-detail-page main::before,
body.case-detail-page main::after,
body.case-index-page main > section::before,
body.case-index-page main > section::after,
body.case-detail-page main > section::before,
body.case-detail-page main > section::after,
.case-index-hero::before,
.case-index-hero::after,
.attribution-hero::before,
.attribution-hero::after,
.attribution-section::before,
.attribution-section::after,
.migration-showcase-hero::before,
.migration-showcase-hero::after,
.migration-showcase-section::before,
.migration-showcase-section::after,
.campaign-reach-hero::before,
.campaign-reach-hero::after,
.campaign-context-section::before,
.campaign-context-section::after,
.campaign-changes-section::before,
.campaign-changes-section::after,
.campaign-results-section::before,
.campaign-results-section::after,
.campaign-insight-section::before,
.campaign-insight-section::after,
.launch-hero::before,
.launch-hero::after,
.launch-section::before,
.launch-section::after,
.launch-takeaway-section::before,
.launch-takeaway-section::after,
.case-more-section::before,
.case-more-section::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

body.case-index-page .section-watermark,
body.case-detail-page .section-watermark,
body.case-index-page [class*="watermark"],
body.case-detail-page [class*="watermark"],
.smart-area-dots,
.chart-dots,
.migration-outcome-dots,
.migration-user-dot,
.icon-dot {
  display: none !important;
}

.chart-line,
.chart-line-blue,
.chart-line-red,
.migration-line-chart,
.migration-meta-line,
.grid-line,
.line-before,
.line-after {
  display: none !important;
}

body.case-index-page :is([class*="-card"], [class*="-panel"], [class*="-shell"], .case-more-inner),
body.case-detail-page :is([class*="-card"], [class*="-panel"], [class*="-shell"], .case-more-inner, .attribution-summary-grid article, .attribution-before-after > div) {
  box-shadow: none !important;
}

body.case-index-page :is(.case-index-help-card, .case-card, [class*="-card"], [class*="-panel"], [class*="-shell"], .case-more-inner),
body.case-detail-page :is(.case-more-inner, .attribution-summary-grid article, .attribution-story-card, .attribution-before-after > div, .attribution-results-card, .attribution-cta-card, .migration-dashboard-panel, .migration-process-card, .migration-key-card, .campaign-section-card, .campaign-info-card, .campaign-ads-card, .campaign-related-card, .campaign-insight-card, .smart-strategy-card, .smart-found-card, .smart-status-card, .smart-key-takeaway, .launch-hero-shell, .launch-snapshot-card, .launch-support-card, .launch-process-card, .launch-takeaway-card, .launch-services-card, .launch-cta-card) {
  border-color: transparent !important;
}

body.case-index-page :is([class*="-card"], [class*="-panel"], [class*="-shell"]),
body.case-detail-page :is([class*="-card"], [class*="-panel"], [class*="-shell"]) {
  background-color: #ffffff !important;
}

body.case-index-page img,
body.case-detail-page img {
  box-shadow: none !important;
}

/* Site-wide plain-background override requested for the case-study system. */
html body.case-index-page,
html body.case-detail-page,
html body.case-index-page main,
html body.case-detail-page main,
html body.case-index-page main > section,
html body.case-detail-page main > section,
html body.case-index-page .case-index-hero,
html body.case-index-page .case-index-section,
html body.case-detail-page .case-more-section,
html body.case-detail-page .attribution-hero,
html body.case-detail-page .attribution-section,
html body.case-detail-page .migration-showcase-hero,
html body.case-detail-page .migration-showcase-section,
html body.case-detail-page .campaign-reach-hero,
html body.case-detail-page .campaign-context-section,
html body.case-detail-page .campaign-changes-section,
html body.case-detail-page .campaign-results-section,
html body.case-detail-page .campaign-insight-section,
html body.case-detail-page .launch-hero,
html body.case-detail-page .launch-section {
  background: #ffffff !important;
  background-image: none !important;
}

html body.case-index-page main > section::before,
html body.case-index-page main > section::after,
html body.case-detail-page main > section::before,
html body.case-detail-page main > section::after,
html body.case-index-page .case-index-hero::before,
html body.case-index-page .case-index-hero::after,
html body.case-index-page .case-index-section::before,
html body.case-index-page .case-index-section::after,
html body.case-detail-page .case-more-section::before,
html body.case-detail-page .case-more-section::after,
html body.case-detail-page .attribution-hero::before,
html body.case-detail-page .attribution-hero::after,
html body.case-detail-page .attribution-section::before,
html body.case-detail-page .attribution-section::after,
html body.case-detail-page .migration-showcase-hero::before,
html body.case-detail-page .migration-showcase-hero::after,
html body.case-detail-page .migration-showcase-section::before,
html body.case-detail-page .migration-showcase-section::after,
html body.case-detail-page .campaign-reach-hero::before,
html body.case-detail-page .campaign-reach-hero::after,
html body.case-detail-page .campaign-context-section::before,
html body.case-detail-page .campaign-context-section::after,
html body.case-detail-page .campaign-changes-section::before,
html body.case-detail-page .campaign-changes-section::after,
html body.case-detail-page .campaign-results-section::before,
html body.case-detail-page .campaign-results-section::after,
html body.case-detail-page .campaign-insight-section::before,
html body.case-detail-page .campaign-insight-section::after,
html body.case-detail-page .launch-hero::before,
html body.case-detail-page .launch-hero::after,
html body.case-detail-page .launch-section::before,
html body.case-detail-page .launch-section::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: none !important;
  background-image: none !important;
}

html body.case-index-page :is(.section-watermark, [class*="watermark"], [class*="dot"], [class*="wave"], [class*="grid-line"]),
html body.case-detail-page :is(.section-watermark, [class*="watermark"], [class*="dot"], [class*="wave"], [class*="grid-line"]),
html body.case-detail-page :is(.chart-dots, .smart-area-dots, .migration-outcome-dots, .migration-user-dot, .icon-dot) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

html body.case-detail-page :is(.chart-line, .chart-line-blue, .chart-line-red, .line-before, .line-after),
html body.case-detail-page :is(.migration-line-chart, .campaign-chart-area svg .chart-line, .campaign-results-chart svg .chart-line, .smart-results-chart svg .line-before, .smart-results-chart svg .line-after) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  stroke: transparent !important;
}

html body.case-index-page :is([class*="-card"], [class*="-panel"], [class*="-shell"], .case-more-inner),
html body.case-detail-page :is([class*="-card"], [class*="-panel"], [class*="-shell"], .case-more-inner),
html body.case-detail-page :is(.launch-snapshot-card, .launch-support-card, .launch-process-card, .launch-takeaway-card, .launch-services-card, .launch-cta-card) {
  box-shadow: none !important;
}

html body.case-index-page :is(.case-index-help-card, .case-index-card, [class*="-card"], [class*="-panel"], [class*="-shell"], .case-more-inner),
html body.case-detail-page :is(.case-more-inner, .attribution-summary-grid article, .attribution-story-card, .attribution-before-after > div, .attribution-results-card, .attribution-cta-card, .migration-dashboard-panel, .migration-process-card, .migration-key-card, .campaign-section-card, .campaign-info-card, .campaign-ads-card, .campaign-related-card, .campaign-insight-card, .smart-strategy-card, .smart-found-card, .smart-status-card, .smart-key-takeaway, .launch-hero-shell, .launch-snapshot-card, .launch-support-card, .launch-process-card, .launch-takeaway-card, .launch-services-card, .launch-cta-card) {
  border-color: transparent !important;
}

html body.case-index-page .lead-form-panel,
html body.case-detail-page .lead-form-panel,
html body.case-index-page .contact-widget-panel,
html body.case-detail-page .contact-widget-panel {
  box-shadow: none !important;
}

/* Website Migration: zoomable screens, polished outcome block, and compact CTA. */
html body.case-detail-page.migration-showcase-page.migration-lightbox-open {
  overflow: hidden;
}

html body.case-detail-page.migration-showcase-page .migration-zoomable {
  cursor: zoom-in;
}

html body.case-detail-page.migration-showcase-page .migration-zoomable:focus-visible {
  outline: 3px solid rgba(224, 111, 32, 0.45);
  outline-offset: 5px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 40px);
  background: rgba(7, 24, 70, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-close {
  position: fixed;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #071846;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.16);
  border-radius: 999px;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage {
  width: min(1120px, calc(100vw - 44px));
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding: clamp(16px, 2vw, 26px);
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.18);
  border-radius: 16px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-dashboard-photo {
  width: min(1040px, 100%);
  min-height: 560px;
  margin: 0 auto;
  cursor: default;
  transform: none !important;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-laptop-screen {
  width: min(920px, 100%);
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-screen-top {
  font-size: 12px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-screen-top small,
html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-dashboard-body aside span {
  font-size: 11px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-account-head strong {
  font-size: 16px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-metric-row span {
  min-height: 68px;
  font-size: 13px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-metric-row strong {
  font-size: 18px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-screen-status-row span,
html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-chart-head small,
html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-account-table.is-account-snapshot {
  font-size: 11px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-warning-callout {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(430px, 100%);
  margin: 18px 0 0 auto;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-mini-screen {
  width: min(920px, 100%);
  min-height: 0;
  margin: 0 auto;
  cursor: default;
  border-color: rgba(16, 42, 86, 0.16) !important;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-mini-screen h3 {
  min-height: 58px;
  font-size: 16px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-table {
  font-size: 13px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-table span,
html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-table b,
html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-table em,
html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-table strong {
  min-height: 42px;
  padding: 12px 14px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-debug-list,
html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-tag-list {
  font-size: 14px;
}

html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-tag-list span {
  min-height: 62px;
}

html body.case-detail-page.migration-showcase-page .migration-key-section {
  padding-top: clamp(56px, 5vw, 78px);
  padding-bottom: clamp(58px, 5vw, 82px);
  background: #ffffff !important;
}

html body.case-detail-page.migration-showcase-page .migration-key-grid {
  grid-template-columns: minmax(330px, 430px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 38px);
  align-items: stretch;
}

html body.case-detail-page.migration-showcase-page .migration-key-card {
  display: flex;
  min-height: 100%;
  padding: clamp(30px, 3.2vw, 42px);
  flex-direction: column;
  justify-content: center;
  background: #ffffff !important;
  border: 1px solid rgba(16, 42, 86, 0.12) !important;
  border-left: 4px solid #e06f20 !important;
  border-radius: 12px;
  box-shadow: none !important;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-label {
  margin: 0 0 18px;
  color: #e06f20;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

html body.case-detail-page.migration-showcase-page .migration-key-card h2 {
  max-width: 100%;
  margin: 0;
  color: #071846;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 800;
  line-height: 1.18;
}

html body.case-detail-page.migration-showcase-page .migration-key-card h2::after {
  width: 58px;
  height: 3px;
  margin: 24px 0 24px;
  background: #e06f20;
}

html body.case-detail-page.migration-showcase-page .migration-key-card p:not(.migration-outcome-label) {
  max-width: 100%;
  color: #40516c;
  font-size: 16px;
  line-height: 1.7;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-proof span {
  display: grid;
  gap: 3px;
  min-height: 74px;
  margin: 0;
  padding: 13px 10px;
  color: #071846;
  background: #fff8f2;
  border: 1px solid rgba(224, 111, 32, 0.18);
  border-radius: 10px;
  text-align: center;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-proof span:nth-child(2) {
  background: #f6f9ff;
  border-color: rgba(47, 111, 208, 0.16);
}

html body.case-detail-page.migration-showcase-page .migration-outcome-proof strong {
  color: #e06f20;
  font-size: 24px;
  line-height: 1;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-proof span:nth-child(2) strong {
  color: #1767d9;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-proof small {
  color: #526174;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-row div {
  align-content: start;
  justify-items: center;
  gap: 14px;
  min-height: 0;
  padding: 26px 18px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.11) !important;
  border-radius: 12px;
  box-shadow: none !important;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-icon {
  display: grid !important;
  place-items: center;
  width: 62px !important;
  height: 62px !important;
  margin: 0 !important;
  color: #1767d9;
  background: #f2f7ff !important;
  border: 1px solid rgba(47, 111, 208, 0.16);
  border-radius: 16px !important;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-icon.is-orange {
  color: #e06f20;
  background: #fff5ed !important;
  border-color: rgba(224, 111, 32, 0.18);
}

html body.case-detail-page.migration-showcase-page .migration-benefit-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 3.2;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-row h3 {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #071846;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.22;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-row p {
  max-width: 210px;
  margin: 0;
  color: #526174;
  font-size: 14px;
  line-height: 1.55;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-quote {
  margin-top: 18px;
  color: #40516c;
  font-size: 16px;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta {
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 5vw, 72px);
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-grid {
  grid-template-columns: 280px minmax(420px, 1fr) 230px;
  min-height: 270px;
  border-radius: 14px;
  box-shadow: none !important;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-photo,
html body.case-detail-page.migration-showcase-page .migration-bottom-cta-photo img {
  min-height: 270px;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-copy {
  padding: 34px 0;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta h2 {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.12;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-copy > p {
  max-width: 560px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.58;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-benefits {
  margin-top: 28px;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-benefits strong {
  font-size: 14px;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-benefits small {
  font-size: 13px;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-action {
  gap: 16px;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-action .button {
  width: min(100%, 220px);
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}

html body.case-detail-page.migration-showcase-page .migration-bottom-cta-action p {
  gap: 8px;
  font-size: 14px;
}

@media (max-width: 1180px) {
  html body.case-detail-page.migration-showcase-page .migration-key-grid,
  html body.case-detail-page.migration-showcase-page .migration-bottom-cta-grid {
    grid-template-columns: 1fr;
  }

  html body.case-detail-page.migration-showcase-page .migration-benefit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body.case-detail-page.migration-showcase-page .migration-bottom-cta-action {
    grid-column: auto;
    justify-items: start;
    padding-bottom: 28px;
  }
}

@media (max-width: 720px) {
  html body.case-detail-page.migration-showcase-page .migration-lightbox-stage {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 78px);
    padding: 12px;
  }

  html body.case-detail-page.migration-showcase-page .migration-lightbox-stage .migration-dashboard-photo {
    min-height: 0;
  }

  html body.case-detail-page.migration-showcase-page .migration-outcome-proof,
  html body.case-detail-page.migration-showcase-page .migration-benefit-row {
    grid-template-columns: 1fr;
  }

  html body.case-detail-page.migration-showcase-page .migration-benefit-row h3 {
    min-height: 0;
  }

  html body.case-detail-page.migration-showcase-page .migration-bottom-cta-grid {
    padding: 0 22px 28px;
  }

  html body.case-detail-page.migration-showcase-page .migration-bottom-cta-photo,
  html body.case-detail-page.migration-showcase-page .migration-bottom-cta-photo img {
    min-height: 230px;
  }

  html body.case-detail-page.migration-showcase-page .migration-bottom-cta-action .button {
    width: 100%;
  }
}

/* Website Migration final hero/process alignment polish. */
html body.case-detail-page.migration-showcase-page .migration-showcase-hero {
  background: #ffffff !important;
}

html body.case-detail-page.migration-showcase-page .migration-showcase-hero-grid {
  align-items: stretch;
  gap: clamp(34px, 4vw, 58px);
}

html body.case-detail-page.migration-showcase-page .migration-showcase-copy {
  display: flex;
  flex-direction: column;
  min-height: clamp(460px, 35vw, 540px);
  padding-top: clamp(4px, 0.8vw, 12px);
}

html body.case-detail-page.migration-showcase-page .migration-showcase-copy .migration-kicker {
  display: none !important;
}

html body.case-detail-page.migration-showcase-page .migration-showcase-copy h1 {
  max-width: 680px;
  color: #071846;
  font-size: clamp(40px, 3.75vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0 !important;
}

html body.case-detail-page.migration-showcase-page .migration-showcase-copy h1 span {
  color: #d96f25;
}

html body.case-detail-page.migration-showcase-page .migration-showcase-copy h1 strong {
  color: #214f9a;
  font-weight: 800;
}

html body.case-detail-page.migration-showcase-page .migration-showcase-copy > p:not(.migration-kicker) {
  max-width: 650px;
  margin-top: clamp(20px, 2.3vw, 30px);
  color: #465773;
  font-size: clamp(17px, 1.18vw, 20px);
  font-weight: 500;
  line-height: 1.62;
}

html body.case-detail-page.migration-showcase-page .migration-dashboard-hero {
  align-self: stretch;
  min-height: clamp(460px, 35vw, 540px);
}

html body.case-detail-page.migration-showcase-page .migration-dashboard-photo {
  height: 100%;
  min-height: clamp(460px, 35vw, 540px);
  border: 1px solid rgba(16, 42, 86, 0.12) !important;
  border-radius: 14px;
}

html body.case-detail-page.migration-showcase-page .migration-warning-callout {
  color: #071846;
  background: linear-gradient(135deg, rgba(255, 248, 242, 0.97), rgba(255, 255, 255, 0.97)) !important;
  border: 1px solid rgba(224, 111, 32, 0.28) !important;
}

html body.case-detail-page.migration-showcase-page .migration-warning-callout p,
html body.case-detail-page.migration-showcase-page .migration-warning-callout strong {
  color: #071846 !important;
}

html body.case-detail-page.migration-showcase-page .migration-warning-callout svg {
  color: #e06f20;
  stroke: currentColor;
}

html body.case-detail-page.migration-showcase-page .migration-tool-chips {
  margin-top: clamp(24px, 2.6vw, 34px);
}

html body.case-detail-page.migration-showcase-page .migration-meta-line {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 16px;
  align-items: stretch;
  width: min(100%, 760px);
  margin-top: auto !important;
  padding-top: clamp(20px, 2.4vw, 30px);
}

html body.case-detail-page.migration-showcase-page .migration-meta-line span {
  position: relative;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 5px 14px;
  align-items: center;
  min-height: 78px;
  height: 100%;
  padding: 14px 18px;
  color: #071846;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 86, 0.12);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  overflow: hidden;
}

html body.case-detail-page.migration-showcase-page .migration-meta-line span::before,
html body.case-detail-page.migration-showcase-page .migration-meta-line span:first-child::before,
html body.case-detail-page.migration-showcase-page .migration-meta-line span + span::before {
  content: none !important;
  display: none !important;
}

html body.case-detail-page.migration-showcase-page .migration-meta-icon {
  grid-row: span 2;
  display: block !important;
  justify-self: center;
  width: 31px;
  height: 31px;
  color: #e06f20;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

html body.case-detail-page.migration-showcase-page .migration-meta-line strong {
  color: #e06f20;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html body.case-detail-page.migration-showcase-page .migration-meta-line em {
  display: block;
  min-width: 0;
  color: #071846;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.26;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

html body.case-detail-page.migration-showcase-page .migration-process-section {
  padding-top: clamp(64px, 6vw, 92px);
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-grid {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: clamp(30px, 3.8vw, 54px);
  align-items: start;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-side-copy {
  max-width: 300px;
  padding-top: 4px;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-side-copy h2 {
  max-width: none;
  color: #071846;
  font-size: clamp(27px, 2vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0 !important;
  text-transform: none;
  white-space: nowrap;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-side-copy h2::after {
  width: 42px;
  height: 3px;
  margin: 18px 0 24px;
  background: #e06f20;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-side-copy p {
  color: #465773;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-flow {
  grid-template-columns: repeat(6, minmax(112px, 1fr));
  gap: clamp(16px, 1.35vw, 24px);
  align-items: stretch;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card {
  min-height: 150px;
  padding: 20px 12px 18px;
  border: 1px solid rgba(16, 42, 86, 0.12) !important;
  border-radius: 12px;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card:not(:last-of-type)::after {
  content: "→" !important;
  position: absolute;
  top: 50%;
  right: -14px;
  z-index: 2;
  width: auto;
  height: auto;
  color: #e06f20;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transform: translate(50%, -50%);
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card .process-icon,
html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card .tool-logo {
  width: 58px !important;
  height: 58px !important;
  margin-bottom: 14px;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card .process-icon {
  display: block !important;
  overflow: visible;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card .process-icon .icon-line {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card .process-icon .icon-fill,
html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card .process-icon .icon-dot,
html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card .process-icon .icon-spark {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  fill: currentColor;
  stroke: currentColor;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card strong {
  max-width: 130px;
  color: #071846;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
}

html body.case-detail-page.migration-showcase-page .migration-process-section .migration-success-strip {
  margin-top: 26px;
  min-height: 58px;
  color: #1f5ec8;
  background: #f6f9ff !important;
  border: 1px solid rgba(47, 111, 208, 0.14) !important;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  html body.case-detail-page.migration-showcase-page .migration-showcase-hero-grid {
    align-items: start;
  }

  html body.case-detail-page.migration-showcase-page .migration-showcase-copy,
  html body.case-detail-page.migration-showcase-page .migration-dashboard-hero,
  html body.case-detail-page.migration-showcase-page .migration-dashboard-photo {
    min-height: 0;
  }

  html body.case-detail-page.migration-showcase-page .migration-meta-line {
    margin-top: 0 !important;
  }

  html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-grid {
    grid-template-columns: 1fr;
  }

  html body.case-detail-page.migration-showcase-page .migration-process-section .migration-side-copy {
    max-width: 620px;
  }

  html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-card:not(:last-of-type)::after {
    content: none !important;
  }
}

@media (max-width: 720px) {
  html body.case-detail-page.migration-showcase-page .migration-showcase-copy h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  html body.case-detail-page.migration-showcase-page .migration-showcase-copy > p:not(.migration-kicker) {
    font-size: 17px;
  }

  html body.case-detail-page.migration-showcase-page .migration-tool-chips,
  html body.case-detail-page.migration-showcase-page .migration-meta-line,
  html body.case-detail-page.migration-showcase-page .migration-process-section .migration-process-flow {
    grid-template-columns: 1fr;
  }

  html body.case-detail-page.migration-showcase-page .migration-process-section .migration-side-copy h2 {
    white-space: normal;
  }
}

/* Case Studies hero balance: tighten existing content without adding elements. */
html body.case-index-page .case-index-hero {
  padding-top: clamp(20px, 2.2vw, 32px);
  padding-bottom: clamp(22px, 2.7vw, 36px);
}

html body.case-index-page .case-index-hero-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 4vw, 58px);
  align-items: start;
}

html body.case-index-page .case-index-hero-copy {
  max-width: 100%;
  padding-top: 0;
}

html body.case-index-page .case-index-title {
  margin-bottom: 0;
  font-size: clamp(42px, 4.45vw, 64px);
  line-height: 1.06;
  animation: caseHeroFadeUp 0.64s ease both;
}

html body.case-index-page .case-index-lead {
  max-width: 720px;
  margin-top: clamp(22px, 2.3vw, 30px);
  margin-bottom: 0;
  animation: caseHeroFadeUp 0.68s ease 0.08s both;
}

html body.case-index-page .case-tags {
  max-width: 700px;
  margin-top: clamp(26px, 2.7vw, 36px);
  animation: caseHeroFadeUp 0.68s ease 0.16s both;
}

html body.case-index-page .case-index-help-card {
  width: 100%;
  transform: translateY(-12px);
  animation: caseHeroFadeRight 0.72s ease 0.12s both;
}

html body.case-index-page .case-index-help-list {
  gap: 22px;
}

html body.case-index-page .case-index-help-item {
  gap: 16px;
}

@keyframes caseHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes caseHeroFadeRight {
  from {
    opacity: 0;
    transform: translate(18px, -12px);
  }

  to {
    opacity: 1;
    transform: translate(0, -12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.case-index-page .case-index-title,
  html body.case-index-page .case-index-lead,
  html body.case-index-page .case-tags,
  html body.case-index-page .case-index-help-card {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  html body.case-index-page .case-index-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  html body.case-index-page .case-index-lead,
  html body.case-index-page .case-tags {
    max-width: 100%;
  }

  html body.case-index-page .case-index-help-card {
    transform: none;
    animation-name: caseHeroFadeUp;
  }
}

@media (max-width: 640px) {
  html body.case-index-page .case-index-lead {
    margin-top: 22px;
  }

  html body.case-index-page .case-tags {
    margin-top: 34px;
  }
}

/* Website Migration: keep the project outcome compact and content-led. */
html body.case-detail-page.migration-showcase-page .migration-key-grid {
  align-items: stretch;
}

html body.case-detail-page.migration-showcase-page .migration-key-card {
  min-height: 0;
  height: auto;
  padding: clamp(28px, 2.6vw, 36px);
  justify-content: flex-start;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-label {
  margin-bottom: 14px;
}

html body.case-detail-page.migration-showcase-page .migration-key-card h2 {
  font-size: clamp(28px, 2.15vw, 34px);
  line-height: 1.12;
}

html body.case-detail-page.migration-showcase-page .migration-key-card h2::after {
  margin: 18px 0 20px;
}

html body.case-detail-page.migration-showcase-page .migration-key-card p:not(.migration-outcome-label) {
  font-size: 15px;
  line-height: 1.58;
}

html body.case-detail-page.migration-showcase-page .migration-outcome-proof {
  margin-top: 20px;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-row {
  align-self: stretch;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-row > div {
  min-height: 0;
  height: auto;
  padding: 24px 16px;
  align-content: start;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-row h3 {
  min-height: 50px;
  font-size: 16px;
}

html body.case-detail-page.migration-showcase-page .migration-benefit-row p {
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  html body.case-detail-page.migration-showcase-page .migration-key-card {
    width: 100%;
  }
}

@media (max-width: 720px) {
  html body.case-detail-page.migration-showcase-page .migration-key-card {
    padding: 26px 22px;
  }

  html body.case-detail-page.migration-showcase-page .migration-benefit-row h3 {
    min-height: 0;
  }
}

