/* =========================================================
   Marketing pages — open layout, strong type, fewer boxes
   ========================================================= */

.page-body {
  background:
    radial-gradient(900px 420px at 8% -5%, rgba(0, 161, 255, 0.12), transparent 55%),
    radial-gradient(800px 400px at 92% 6%, rgba(167, 139, 250, 0.14), transparent 50%),
    radial-gradient(700px 380px at 40% 100%, rgba(251, 113, 133, 0.08), transparent 55%),
    radial-gradient(600px 320px at 70% 40%, rgba(52, 211, 153, 0.06), transparent 50%),
    #03050c;
  color: var(--text, #f4f7ff);
  min-height: 100vh;
}

.page-main {
  padding: 0 0 3rem;
  /* Continuous dark stage so section washes merge cleanly */
  background: #03050c;
}

/* ---------- Hero: text-only stays content-width ---------- */
.page-hero {
  position: relative;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto 2.5rem;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: transparent;
  box-shadow: none;
  overflow: visible;
  min-height: 0;
  display: block;
}

/* ---------- Full-width photographic hero (all marketing / CMS pages) ---------- */
.page-hero.has-media {
  width: 100%;
  max-width: none;
  min-height: clamp(360px, 52vw, 580px);
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: none;
  background: #05080f;
  isolation: isolate;
}
/* Long soft dissolve from photo hero into the colour river below */
.page-hero.has-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(55%, 280px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(3, 5, 12, 0.15) 28%,
    rgba(3, 5, 12, 0.55) 62%,
    rgba(3, 5, 12, 0.92) 88%,
    #03050c 100%);
}
.page-hero.has-media .page-hero-inner {
  position: relative;
  z-index: 1;
  /* Left-align text block with site content edge (not centred on the photo) */
  width: min(40rem, calc(100% - 2rem));
  max-width: min(40rem, calc(100% - 2rem));
  margin: 0 auto 0 max(1rem, calc((100% - 1180px) / 2));
  padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(2.2rem, 5vw, 3.4rem);
  text-align: left;
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: saturate(1.08) contrast(1.06) brightness(0.72);
  transform: scale(1.02);
}
.page-hero-media-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg,
      rgba(3, 5, 12, 0.92) 0%,
      rgba(3, 5, 12, 0.78) 34%,
      rgba(3, 5, 12, 0.42) 62%,
      rgba(3, 5, 12, 0.55) 100%),
    linear-gradient(180deg,
      rgba(3, 5, 12, 0.25) 0%,
      transparent 38%,
      rgba(3, 5, 12, 0.72) 100%),
    radial-gradient(700px 280px at 12% 90%, rgba(0, 161, 255, 0.16), transparent 60%);
}
.page-hero.has-media .page-crumb {
  color: #9aa8c7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.page-hero.has-media .page-crumb a {
  color: #dbe7ff;
}
.page-hero.has-media .page-crumb a:hover {
  color: #7dd3fc;
}
.page-hero.has-media .eyebrow {
  text-shadow: 0 0 28px rgba(56, 189, 248, 0.35), 0 2px 10px rgba(0, 0, 0, 0.5);
}
.page-hero.has-media h1 {
  filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.55));
}
.page-hero.has-media .page-hero-lead {
  color: #e2eaf8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.page-hero.has-media .page-hero-actions .btn-ghost {
  background: rgba(3, 5, 12, 0.35);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  padding: 0;
}
.page-crumb {
  font-size: 0.8rem;
  color: #6b7a99;
  margin: 0 0 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  letter-spacing: 0.01em;
}
.page-crumb a {
  color: #9aa8c7;
  text-decoration: none;
}
.page-crumb a:hover { color: #67e8f9; }

.page-hero .eyebrow {
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 3.9rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 0 1.2rem;
  max-width: 15ch;
  font-weight: 800;
  background: linear-gradient(125deg, #ffffff 0%, #e8f1ff 30%, #c4b5fd 55%, #67e8f9 78%, #00a1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero h1 .grad {
  display: inline;
  background: linear-gradient(115deg, #fde68a 0%, #fb7185 35%, #a78bfa 65%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-lead {
  color: #c4d0e8;
  font-size: clamp(1.12rem, 2.2vw, 1.28rem);
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 0 1.75rem;
  font-weight: 450;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Stats bar: full-bleed strip under photo hero ---------- */
.page-stats {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  isolation: isolate;
  overflow: visible;
  border: 0;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(8, 14, 28, 0.75) 18%,
      rgba(8, 14, 28, 0.88) 50%,
      rgba(8, 14, 28, 0.7) 82%,
      transparent 100%);
  box-shadow: none;
}
.page-stats::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 161, 255, 0.4) 20%,
    rgba(167, 139, 250, 0.45) 50%,
    rgba(52, 211, 153, 0.35) 80%,
    transparent 100%
  );
}
.page-stats::after {
  content: "";
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 140px at 12% 50%, rgba(0, 161, 255, 0.1), transparent 72%),
    radial-gradient(480px 140px at 88% 50%, rgba(167, 139, 250, 0.08), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.page-stats-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    clamp(1.15rem, 2.4vw, 1.55rem)
    max(1rem, calc((100% - 1180px) / 2));
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
.page-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.65rem clamp(0.85rem, 2.2vw, 1.75rem);
  text-align: left;
}
.page-stat + .page-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(148, 163, 184, 0.28) 20%,
    rgba(148, 163, 184, 0.28) 80%,
    transparent
  );
}
.page-stat strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.045em;
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(120deg, #ffffff 0%, #e8f1ff 28%, #67e8f9 58%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  filter: drop-shadow(0 8px 20px rgba(0, 161, 255, 0.12));
}
.page-stat span {
  display: block;
  color: #a8b6d1;
  font-size: clamp(0.84rem, 1.35vw, 0.95rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 18ch;
}

/* ---------- Section heads: bigger, airier type ---------- */
.page-section {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto 3.5rem;
}
.page-section-head {
  max-width: 38rem;
  margin-bottom: 1.85rem;
}
.page-section-head .eyebrow {
  margin-bottom: 0.65rem;
}
.page-section-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.85rem;
  line-height: 1.08;
  font-weight: 800;
}
.page-section-head p {
  margin: 0;
  color: #b0bdd6;
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  font-weight: 450;
}

.page-intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.75rem 3rem;
  align-items: start;
}
.page-prose p {
  margin: 0 0 1.15rem;
  color: #c4d0e8;
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 450;
}
.page-prose p:last-child { margin-bottom: 0; }
.page-prose p:first-child {
  font-size: 1.18rem;
  color: #dce5f5;
  line-height: 1.7;
}

/* ---------- Why / outcomes: open text columns ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  column-gap: 2.5rem;
}
.why-card {
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: transparent;
  padding: 1.35rem 0 1.45rem;
  box-shadow: none;
  transition: none;
}
.why-card:hover {
  border-color: rgba(148, 163, 184, 0.18);
  transform: none;
}
.why-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #f4f7ff;
}
.why-card p {
  margin: 0;
  color: #9aa8c7;
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 450;
  max-width: 42ch;
}

/* Mid CTA: soft band, not a heavy box */
.page-mid-cta {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto 3.5rem;
}
.page-mid-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.5rem 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(103, 232, 249, 0.18);
  border-bottom: 1px solid rgba(103, 232, 249, 0.12);
  background: transparent;
  box-shadow: none;
}
.page-mid-cta-inner h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  letter-spacing: -0.03em;
  max-width: 20ch;
  font-weight: 750;
}
.page-mid-cta-inner p {
  margin: 0;
  color: #a8b6d0;
  max-width: 40ch;
  font-size: 1.02rem;
  line-height: 1.55;
}

/* ---------- Services hub showcase (image cards) ---------- */
.service-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 0;
  background: transparent;
}
.service-card-media {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  line-height: 0;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(1.08) contrast(1.04);
}
.service-card:hover .service-card-media img {
  transform: scale(1.07);
}
.service-card-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 5, 12, 0.35) 100%);
}
.service-card-body {
  padding: 0 0.1rem;
}
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.03em;
  font-weight: 750;
  line-height: 1.2;
}
.service-card h3 a {
  color: #f4f7ff;
  text-decoration: none;
}
.service-card h3 a:hover {
  color: #67e8f9;
}
.service-card p {
  margin: 0 0 0.75rem;
  color: #aebbd4;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 450;
  max-width: 48ch;
}
.service-card ul {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  color: #9aa8c7;
  font-size: 0.92rem;
  line-height: 1.55;
}
.service-card li {
  margin: 0.25rem 0;
  padding-left: 0.95rem;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #67e8f9, #2563ff);
}
.service-card-more {
  margin: 0.35rem 0 0;
}
.service-card-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.86rem;
  color: #041018 !important;
  text-decoration: none !important;
  background: linear-gradient(120deg, #33b4ff 0%, #00a1ff 45%, #0077cc 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 22px rgba(0, 161, 255, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.service-card-more a:hover {
  color: #020617 !important;
  transform: translateY(-1px);
  background: linear-gradient(120deg, #7dd3fc 0%, #33b4ff 45%, #00a1ff 100%);
  box-shadow: 0 12px 28px rgba(0, 161, 255, 0.4);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
}

/* Page CTAs share global button language */
.page-hero-actions .btn,
.page-cta-actions .btn,
.page-mid-cta-inner .btn {
  min-height: 48px;
  font-weight: 750;
}
.page-hero-actions .btn-primary,
.page-cta-actions .btn-primary {
  background: linear-gradient(120deg, #33b4ff 0%, #00a1ff 45%, #0077cc 100%);
  color: #041018;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(0, 161, 255, 0.35);
}
.page-hero-actions .btn-ghost,
.page-cta-actions .btn-ghost {
  border: 1.5px solid rgba(0, 161, 255, 0.4);
  color: #f4f7ff;
  background: rgba(0, 161, 255, 0.06);
}
.page-hero-actions .btn-ghost:hover,
.page-cta-actions .btn-ghost:hover {
  border-color: #00a1ff;
  background: rgba(0, 161, 255, 0.14);
  color: #fff;
}
.page-section-head .eyebrow,
.page-hero .eyebrow {
  color: #00a1ff;
}
@media (max-width: 800px) {
  .service-showcase {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Includes: list rhythm, light separators */
.include-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 52rem;
}
.include-card {
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: transparent;
  padding: 1.5rem 0 1.55rem;
  box-shadow: none;
  transition: none;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1rem;
  align-items: start;
}
.include-card:hover {
  border-color: rgba(148, 163, 184, 0.16);
  transform: none;
  box-shadow: none;
}
.include-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #67e8f9;
  background: transparent;
  margin: 0.2rem 0 0;
  grid-row: 1 / span 4;
}
.include-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #f8fafc;
}
.include-card p {
  margin: 0 0 0.7rem;
  color: #a8b6d0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 450;
  max-width: 48ch;
}
.include-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #9aa8c7;
  font-size: 0.95rem;
  line-height: 1.65;
}
.include-card li {
  margin: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}
.include-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #67e8f9, #2563ff);
}
.include-more {
  margin: 0.85rem 0 0;
  font-weight: 700;
  font-size: 0.92rem;
  grid-column: 2;
}
.include-more a {
  color: #67e8f9;
  text-decoration: none;
  border-bottom: 1px solid rgba(103, 232, 249, 0.35);
  padding-bottom: 1px;
}
.include-more a:hover {
  color: #a5f3fc;
  border-bottom-color: rgba(165, 243, 252, 0.6);
}

/* Process: numbered editorial list */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 48rem;
  counter-reset: step;
}
.process-step-card {
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: transparent;
  padding: 1.4rem 0 1.5rem;
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: 1rem;
}
.process-step-card strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #67e8f9;
  margin: 0.15rem 0 0;
  font-weight: 800;
}
.process-step-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.process-step-card p {
  margin: 0;
  color: #a8b6d0;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 450;
  max-width: 46ch;
}

/* Fit split: open columns */
.page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
}
.page-panel {
  border-radius: 0;
  border: 0;
  padding: 0;
  background: transparent;
}
.page-panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.page-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #b6c3de;
  line-height: 1.6;
  font-size: 0.98rem;
}
.page-panel li {
  margin: 0.55rem 0;
  padding-left: 1.15rem;
  position: relative;
}
.page-panel-yes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #34d399;
}
.page-panel-no li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #fb7185;
}
.page-panel-yes { border-color: transparent; }
.page-panel-no { border-color: transparent; }

/* FAQ: text disclosure, soft rules */
.page-faq details {
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: transparent;
  margin: 0;
  padding: 0;
}
.page-faq details:last-child {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.page-faq summary {
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  list-style: none;
  color: #f1f5f9;
}
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary:hover { color: #67e8f9; }
.page-faq .faq-a {
  margin: 0;
  padding: 0 0 1.2rem;
  color: #a8b6d0;
  line-height: 1.7;
  font-size: 1.02rem;
  max-width: 52ch;
  font-weight: 450;
}

/* Related: text links */
/* ---------- Related / interlink grids (tools + marketing) ---------- */
.site-interlink {
  /* Full-bleed band already from premium-home; keep content readable */
}
.site-interlink-head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}
.site-interlink-head .section-lead,
.site-interlink .page-section-head .section-lead {
  margin: 0;
  color: #a8b6d1;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.6;
  max-width: 38rem;
}

.site-interlink-groups {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.site-interlink-group-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--section-accent, #67e8f9) 85%, #fff);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0.85rem;
  max-width: none;
  width: 100%;
}

.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-height: 100%;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(165deg, rgba(17, 26, 48, 0.92), rgba(8, 12, 24, 0.88));
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition:
    border-color 0.2s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.2s ease;
  overflow: hidden;
}
.related-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--section-accent, #00a1ff) 80%, #fff),
    color-mix(in srgb, var(--section-accent, #00a1ff) 40%, transparent)
  );
  opacity: 0.85;
}
.related-card:hover {
  border-color: color-mix(in srgb, var(--section-accent, #00a1ff) 42%, rgba(148, 163, 184, 0.2));
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px color-mix(in srgb, var(--section-accent, #00a1ff) 18%, transparent);
  background:
    linear-gradient(165deg,
      color-mix(in srgb, var(--section-accent, #00a1ff) 12%, rgba(17, 26, 48, 0.95)),
      rgba(8, 12, 24, 0.92));
}

.related-card-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--section-accent, #67e8f9) 90%, #fff);
  background: color-mix(in srgb, var(--section-accent, #00a1ff) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--section-accent, #00a1ff) 28%, transparent);
}

.related-card--tools {
  --card-accent: #22d3ee;
}
.related-card--tools .related-card-chip,
.related-card--tools::before {
  --section-accent: #22d3ee;
}
.related-card--services {
  --card-accent: #a78bfa;
}
.related-card--services .related-card-chip,
.related-card--services::before {
  --section-accent: #a78bfa;
}
.related-card--site .related-card-chip,
.related-card--content .related-card-chip,
.related-card--site::before,
.related-card--content::before {
  --section-accent: #34d399;
}

.related-card-title,
.related-card strong,
.related-card strong.related-card-title {
  display: block;
  color: #f4f7ff;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0.15rem 0 0;
}
.related-card:hover .related-card-title,
.related-card:hover strong {
  color: #fff;
}

.related-card-desc,
.related-card span.related-card-desc,
.related-card span:not(.related-card-chip):not(.related-card-go) {
  display: block;
  color: #9aa8c7;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  flex: 1 1 auto;
}

.related-card-go,
.related-card em {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.45rem;
  font-style: normal;
  font-weight: 750;
  font-size: 0.86rem;
  color: color-mix(in srgb, var(--section-accent, #67e8f9) 90%, #fff);
  letter-spacing: 0.01em;
}
.related-card:hover .related-card-go,
.related-card:hover em {
  gap: 0.45rem;
  color: #fff;
}

/* Tools pages: ensure interlink sits full-bleed with good padding */
.tools-body .site-interlink.page-section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(1rem, calc((100% - 1180px) / 2));
  padding-right: max(1rem, calc((100% - 1180px) / 2));
  box-sizing: border-box;
}

/* Bottom CTA */
.page-cta-band {
  width: min(100% - 2rem, 1180px);
  margin: 1rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2rem 0 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: transparent;
}
.page-cta-band h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 750;
  max-width: 16ch;
}
.page-cta-band p {
  margin: 0;
  color: #9aa8c7;
  max-width: 36ch;
  font-size: 1.02rem;
  line-height: 1.55;
}
.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 960px) {
  .page-intro-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .why-grid { grid-template-columns: 1fr; }
  .page-split { grid-template-columns: 1fr; gap: 2rem; }
  .related-grid { grid-template-columns: 1fr; }
  .site-interlink .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  }
  .page-stats-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }
  .page-stat {
    align-items: center;
    text-align: center;
    padding: 0.45rem 0.4rem;
  }
  .page-stat + .page-stat::before {
    top: 12%;
    bottom: 12%;
  }
  .page-stat strong {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
  }
  .page-stat span {
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.3;
  }
}
@media (max-width: 420px) {
  .page-stats-inner {
    grid-template-columns: 1fr;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .page-stat {
    align-items: flex-start;
    text-align: left;
    padding: 0.75rem 0.1rem;
  }
  .page-stat + .page-stat::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(148, 163, 184, 0.28) 15%,
      rgba(148, 163, 184, 0.28) 85%,
      transparent
    );
  }
}
@media (max-width: 640px) {
  .page-hero.has-media {
    min-height: clamp(300px, 78vw, 420px);
    margin-bottom: 0;
    border-radius: 0;
  }
  .page-hero-media img { object-position: 68% center; }
  .page-hero-inner { padding: 0; }
  .page-hero.has-media .page-hero-inner {
    padding: 1.5rem 0 1.65rem;
    width: calc(100% - 2rem);
    max-width: none;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .page-hero.has-media h1 { max-width: none; }
  .include-card { grid-template-columns: 2rem 1fr; }
  .page-mid-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-media img {
    transition: none;
    transform: none;
  }
}
