/* =====================================================================
   BigHammer.ai - homepage styles
   Fluid, responsive layout based on the Figma desktop design.
   Sections: tokens · base · buttons · header · hero · ai band · lock-in ·
   help · reasons · tco · voices · faq · insights · get-started · footer ·
   reveal · responsive
   ===================================================================== */

/* ----------------------------- Fonts ------------------------------ */
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ----------------------------- Tokens ----------------------------- */
:root {
  --bg: #ffffff;
  --ink: #0d0d14;          /* brand near-black */
  --ink-2: #141414;        /* body headings */
  --ink-3: #1c1c1c;
  --muted: rgba(20, 20, 20, 0.8);
  --on-dark: rgba(255, 255, 255, 0.85);

  --yellow: #fcff00;       /* primary CTA */
  --green: #b7ff6e;        /* accent / secondary CTA */
  --pink: #fe0079;         /* accent headings */
  --purple: #5600ef;       /* get-started + footer accent */
  --blue: #54baef;         /* quote marks */
  --blue-bright: #094afa;  /* "build + operate" / data-context accents */

  --line: #ebebeb;
  --field: #f0f4fa;
  --grey: #e8e8e8;
  --grey-soft: #eef0f2;

  --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  /* Axiforma and Geist are licensed; Sora is the free fallback until they're self-hosted */
  --font-display: "Axiforma", "Sora", "Poppins", sans-serif;
  --font-alt: "Geist", "Sora", "Poppins", sans-serif;

  --container: 1400px;
  --gutter: clamp(20px, 5vw, 60px);
  --header-h: 76px;
  --radius: 16px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------ Base ------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--yellow); color: #000; padding: 10px 16px;
  border-radius: 8px; z-index: 1000; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.center { text-align: center; }
.muted { color: var(--muted); }
.ink { color: var(--ink-2); }
.on-dark { color: var(--on-dark); }
.accent-purple { color: var(--purple); }
.accent-pink { color: var(--pink); }
.accent-yellow { color: var(--yellow); }
.accent-white { color: #fff; }

/* Shared headings */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1rem + 2.4vw, 2.5rem);
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.section-title--center { text-align: center; }
.section-title--light { color: #fff; }
.section-title--alt { font-family: var(--font-alt); }

.section-sub {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  color: var(--muted);
  max-width: 60ch;
}
.section-sub--center { text-align: center; margin-inline: auto; }
.section-sub--light { color: rgba(255, 255, 255, 0.92); }

.heading-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
  color: var(--ink-2);
}
.heading-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.125rem);
  color: var(--ink-2);
  line-height: 1.2;
}

/* Two-column layout primitive */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}
.split--mt { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.split__media img { width: 100%; border-radius: var(--radius); }

/* ----------------------------- Buttons ---------------------------- */
.btn {
  --btn-pad-y: 15px;
  --btn-pad-x: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { font-size: 16px; padding: 15px 40px; }
.btn--block { width: 100%; }
.btn--icon svg { width: 1.1em; height: 1.1em; }

.btn--yellow { background: var(--yellow); color: #000; }
.btn--yellow:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }

.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--outline-light { border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }

.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }

.btn--link { background: none; border-color: transparent; padding-inline: 0; color: var(--yellow); box-shadow: none; font-weight: 700; }
.btn--link::after { content: "\2192"; margin-left: .5rem; transition: transform .2s; }
.btn--link:hover { background: none; box-shadow: none; color: #fff; transform: none; }
.btn--link:hover::after { transform: translateX(4px); }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  flex: 0 0 auto;
}
.logo__mark { color: var(--yellow); }
.logo__dot { color: var(--yellow); }
.logo__img { height: 30px; width: auto; display: block; }

.nav-wrap { display: contents; }

.primary-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 40px; }
.nav-list a {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.nav-list a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--yellow);
  transition: right 0.25s var(--ease);
}
.nav-list a:hover::after { right: 0; }
/* Persistent underline marks the page the user is on. */
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current-page-ancestor > a { font-weight: 600; }
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after,
.nav-list .current-menu-ancestor > a::after,
.nav-list .current-page-ancestor > a::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-cta .btn { padding: 14px 28px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  align-items: center; justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------ Hero ------------------------------ */
.hero { padding-block: clamp(1.75rem, 3.5vw, 3rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  column-gap: clamp(2rem, 7vw, 9rem);
  row-gap: 2rem;
  align-items: center;
}
/* Let grid columns shrink so a large image can't blow the column past the container. */
.hero__copy, .hero__media { min-width: 0; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.5rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}
.hero__lead {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(20, 20, 20, 0.8);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}
.hero__lead strong { color: var(--pink); font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* Homepage hero — Figma spec: two-column, big uppercase title, soft blur glow,
   optional background image with a gradient fallback. */
body.home .hero {
  position: relative; z-index: 2; overflow: visible;
  background: linear-gradient(120deg, #eef0fb 0%, #f3ecff 45%, #ffe4f1 100%);
  background-size: cover; background-position: center;
  border-bottom: 1px solid rgba(86, 0, 239, .08);
}
body.home .hero > .hero__glow { z-index: 0; }
/* Soft white blur behind the copy (Figma: Ellipse 16657, 857x329, blur 100). */
body.home .hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; max-width: 900px; aspect-ratio: 857 / 329;
  left: -6vw; top: 22%;
  background: rgba(255, 255, 255, .55); border-radius: 50%;
  filter: blur(100px);
}
body.home .hero__grid { position: relative; z-index: 1; }
body.home .hero__title { text-transform: uppercase; letter-spacing: -.01em; color: #141414; }
body.home .hero__title .accent-purple { color: var(--purple); }
body.home .hero__lead { color: rgba(20, 20, 20, .8); font-size: 18px; line-height: 27px; max-width: 60ch; }
body.home .hero__media { overflow: visible; position: relative; z-index: 3; }
body.home .hero__media img {
  width: 145%; max-width: none; border-radius: 12px;
  transform: perspective(1500px) rotateY(25deg) rotateX(20deg) rotate(3deg) translateY(30%);
  transform-origin: left center;
  filter: drop-shadow(0 40px 70px rgba(86, 0, 239, .28));
  transition: transform .4s ease;
}
body.home .hero__media img:hover { transform: perspective(1500px) rotateY(22deg) rotateX(17deg) rotate(2deg) translateY(28%); }
@media (max-width: 980px) {
  body.home .hero__media img { width: 100%; transform: none; }
}
@media (min-width: 981px) {
  body.home .hero { padding-block: clamp(3rem, 6vw, 5.5rem); }
  body.home .hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 1rem + 4.4vw, 4.7rem); line-height: 1; text-wrap: balance; }
}

/* Hero eyebrow: pink, uppercase, with pipe dividers. */
.hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  margin: 0 0 1.1rem; color: var(--pink); font-family: var(--font-display);
  font-weight: 500; font-size: 18px; line-height: 29px; letter-spacing: .05em;
  text-transform: uppercase;
}
.hero__eyebrow-sep { color: rgba(254, 0, 121, .55); font-weight: 300; }

/* Homepage hero, after Figma HOME PAGE1. The design is drawn at 1920x768 with
   the 1400 container split 761 / 375 either side of the gap, and the product
   panel sheared by matrix(.92,-.4,.81,.59) so it leans away from the headline
   and bleeds down into the pink band.

   Every length here is relative to the container (fr units and percentages of
   the media column), never to the viewport: the container caps at 1400px, so
   vw-based values drift out of step with it — pinning the panel to the viewport
   let it slide under the copy above 1920px, and vw columns let the panel
   balloon below it.

   From 1400px up only. Below that the copy column can no longer set "DATA
   ENGINEERING" on one line (it needs roughly 1364px of viewport), the headline
   spills to three lines and the lead runs into the panel — so narrower screens
   keep the original two-column hero. */
@media (min-width: 1400px) {
  body.home .hero {
    min-height: min(40vw, 768px);
    padding-top: min(8.07vw, 155px);
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* The panel runs off the right edge; clip that axis only so it can still
       bleed downwards into the pink band. */
    overflow-x: clip;
    overflow-y: visible;
  }
  /* Figma splits the 1400 container 761 / 375 either side of the gap, so the
     columns are expressed as that ratio rather than in vw — a vw column inside
     a container that caps at 1400px shrinks faster than the container and lets
     the media column (and so the panel) balloon on mid-size screens. */
  body.home .hero__grid { grid-template-columns: minmax(0, 2.029fr) minmax(0, 1fr); }
  body.home .hero__lead { max-width: min(60ch, 89%); }
  /* The panel stays in its own grid column and is sized and offset in
     percentages OF that column, so it tracks the centred container at every
     viewport width instead of being pinned to the viewport — which only lined
     up at exactly 1920 and slid under the copy on wider screens. */
  body.home .hero__media img {
    width: 208%;
    margin-left: -58%;
    transform: translateY(77%) matrix(0.92, -0.4, 0.81, 0.59, 0, 0);
    transform-origin: 0 0;
  }
  body.home .hero__media img:hover { transform: translateY(74%) matrix(0.92, -0.4, 0.81, 0.59, 0, 0); }
}

/* -------------------------- AI band (pink) ------------------------ */
.band-ai {
  background: #fff;
  position: relative;
  isolation: isolate;
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
}
/* Homepage: give the pink band extra top room so the tilted hero image doesn't cover the heading. */
body.home .band-ai { padding-top: clamp(5rem, 10vw, 9rem); }
/* The pink gradient covers only the top strip; the dashboard image overlaps
   the lower edge. Background image is injected via inline style in functions.php. */
.band-ai::before,
.band-ai::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(300px, 22vw, 381px);
  z-index: 0;
}
.band-ai::before { background: #fe0079; } /* solid pink strip (Figma #FE0079) */
.band-ai::after { /* grunge texture (image injected in functions.php) at 0.6 opacity */
  opacity: 0.6;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}
.band-ai__head { position: relative; z-index: 1; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.band-ai__head .section-title { margin-bottom: 0.75rem; }
.band-ai .section-sub { max-width: 48ch; margin-inline: auto; }
.band-ai__media { position: relative; z-index: 2; margin-bottom: clamp(-4rem, -7vw, -3rem); }
/* When capabilities follow the diagram it sits inside the section, so the
   overlap into the next section is dropped (Figma: 24px gap under the card). */
.band-ai--stacked .band-ai__media { margin-bottom: clamp(1.25rem, 2.5vw, 1.5rem); }
/* Taller pink strip to match the Figma band (524px at 1920w). */
.band-ai--stacked::before,
.band-ai--stacked::after { height: clamp(300px, 27.3vw, 524px); }

/* Capabilities grid — three columns, left-aligned inside the centred section. */
.band-ai__features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.5rem, 2.4vw, 1.875rem);
  row-gap: clamp(1.5rem, 2.2vw, 1.75rem);
  text-align: left;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.band-ai__feature-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  color: #141414;
  margin: 0 0 2px;
}
.band-ai__feature-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #141414;
  margin: 0;
}
/* Closing line and the engines it runs on. */
.band-ai__note,
.band-ai__engines {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  text-wrap: balance;
  margin-inline: auto;
  padding-inline: var(--gutter);
  max-width: var(--container);
}
.band-ai__note { font-style: italic; font-weight: 400; color: #000; margin: clamp(1.75rem, 3.4vw, 2.5rem) auto 0; }
.band-ai__note-accent { color: var(--pink); }
.band-ai__engines { color: var(--purple); margin: 10px auto 0; }

@media (max-width: 900px) {
  .band-ai__features { grid-template-columns: repeat(2, 1fr); }
  .band-ai__note, .band-ai__engines { font-size: 17px; line-height: 26px; }
}
@media (max-width: 600px) {
  .band-ai__features { grid-template-columns: 1fr; }
}
/* Translucent frame with an inset white panel and soft shadow, per Figma. */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 33px;
  box-shadow: 0 3px 67px rgba(0, 0, 0, 0.05);
  padding: clamp(16px, 2vw, 26px);
  max-width: 1155px;
  margin-inline: auto;
}
.glass-card img { width: 100%; display: block; border-radius: 16.5px; background: #fff; }

/* ----------------------------- Lock-in ---------------------------- */
.lockin { padding-block: clamp(2.75rem, 5vw, 3.75rem) clamp(2rem, 4vw, 3rem); }
.lockin__figure { display: flex; flex-direction: column; gap: clamp(0.75rem, 1.5vw, 1.1rem); }
.lockin__figure img { width: 100%; max-width: 430px; align-self: center; display: block; border-radius: 0; }

/* Animated "AI generates the work" box (replaces the static caption). */
.codebox {
  position: relative;
  background:
    radial-gradient(130% 70% at 50% 0%, rgba(0, 255, 137, 0.07), transparent 55%),
    linear-gradient(180deg, #16161f, #0b0b11);
  border: 1px solid rgba(0, 255, 137, 0.2);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 52px -14px rgba(0, 255, 137, 0.22);
  overflow: hidden;
}
/* Faint CRT scanlines — authentic terminal-screen texture, kept very subtle. */
.codebox::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(180deg, rgba(0, 255, 137, 0.035) 0, rgba(0, 255, 137, 0.035) 1px, transparent 1px, transparent 4px);
}
.codebox__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: rgba(0, 255, 137, 0.05);
  border-bottom: 1px solid rgba(0, 255, 137, 0.14);
}
.codebox__dots { display: inline-flex; gap: 6px; }
.codebox__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(0, 255, 137, 0.2); }
.codebox__dots i:first-child { background: var(--green-bright); box-shadow: 0 0 8px rgba(0, 255, 137, 0.65); animation: codebox-pulse 1.8s ease-in-out infinite; }
.codebox__title { font-family: var(--font-alt); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; color: var(--green-bright); text-shadow: 0 0 12px rgba(0, 255, 137, 0.45); }
.codebox__body { padding: clamp(1.1rem, 2.2vw, 1.6rem); color: rgba(0, 255, 137, 0.88); font-size: 0.95rem; line-height: 1.6; }
.codebox__body > p { margin: 0; }
.codebox__list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.codebox__list li { display: flex; gap: 11px; align-items: flex-start; }
.codebox__n {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px;
  background: rgba(0, 255, 137, 0.1); color: var(--green-bright);
  border: 1px solid rgba(0, 255, 137, 0.5);
  box-shadow: 0 0 14px rgba(0, 255, 137, 0.14), inset 0 0 8px rgba(0, 255, 137, 0.06);
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace; font-size: 0.8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  transform: scale(0.5); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s var(--ease);
}
.gen-line.is-in .codebox__n { transform: scale(1); opacity: 1; }
.codebox__most {
  margin-top: 1rem; padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 255, 137, 0.16);
  color: rgba(0, 255, 137, 0.92);
}
.codebox__most strong { color: var(--green-bright); font-weight: 700; text-shadow: 0 0 12px rgba(0, 255, 137, 0.4); }
.gen-line { opacity: 0; transform: translateY(12px); filter: blur(5px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease); will-change: opacity, transform, filter; }
.gen-line.is-in { opacity: 1; transform: none; filter: blur(0); }
.gen-cursor {
  display: inline-block; width: 8px; height: 1.05em; margin-left: 6px;
  vertical-align: -2px; border-radius: 2px; background: var(--green-bright);
  box-shadow: 0 0 8px rgba(0, 255, 137, 0.6);
  animation: gen-blink 1.1s ease-in-out infinite;
}
@keyframes gen-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.12; } }
@keyframes codebox-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.split__text .btn { margin-top: 0.5rem; }
.split__text p:last-of-type { margin-bottom: 1.5rem; }

/* ------------------------------ Help ------------------------------ */
.help {
  background: linear-gradient(180deg, var(--grey-soft), #e3e6ea);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.help__head { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--green); }
.chip--active,
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--ink); }
.help-panel[hidden] { display: none; }
.help .section-sub { max-width: 70rem; }
.help-panel .split__media img { border-radius: 0; }

/* ---------------------------- Reasons ----------------------------- */
.reasons { padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.reasons .section-sub { max-width: none; }
.help__head + .feature-row { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.feature-row + .feature-row { margin-top: clamp(2rem, 4vw, 3.5rem); }
.feature-row .split__text p { font-size: 18px; line-height: 1.5; color: var(--ink-2); }

/* ------------------------------ TCO ------------------------------- */
.tco {
  background: #000;
  color: #fff;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}
.tco .section-title { max-width: 20ch; }
.tco__title { font-size: clamp(1.75rem, 1rem + 2.4vw, 2.125rem); line-height: 1.25; }
.tco-points {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px 22px;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  font-size: clamp(0.8rem, 0.62rem + 0.5vw, 0.95rem);
}
.tco-points li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .tco-points { flex-wrap: wrap; }
  .tco-points li { white-space: normal; }
}
.tco-points li::before {
  content: "";
  position: absolute; left: 0; top: 0.5em;
  width: 10px; height: 10px; background: var(--yellow);
}

/* ----------------------------- Voices ----------------------------- */
.voices { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.25rem); }
.voices__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.voices__head .section-title { margin-bottom: 0.4rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; white-space: nowrap;
}
.link-arrow:hover { color: var(--purple); }
.voices__readall { display: none; }
.voices__readall svg { width: 18px; height: 18px; }
.voices__readall:hover { color: var(--purple); }

.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.carousel__slide { flex: 0 0 100%; min-width: 0; }

/* Grey box with the photo overhanging top and bottom, inset 24px from the left.
   Opening quote sits top-left, closing quote sits bottom-right. */
.testimonial {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  align-items: center;
  column-gap: clamp(2rem, 4vw, 3.5rem);
}
.testimonial > * { position: relative; z-index: 1; }
.testimonial::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 24px 0;
  background: #e8e8e8;
}
.testimonial__media { margin-left: 24px; }
.testimonial__media img {
  width: 100%;
  aspect-ratio: 453 / 560;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.testimonial__body {
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 3.5rem) 0;
}
.quote-mark { color: var(--blue); display: block; margin-bottom: 1.25rem; }
.testimonial blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.2rem, 0.85rem + 1.1vw, 1.875rem);
  line-height: 1.3;
  color: var(--ink);
}
.testimonial__name { font-weight: 600; font-size: clamp(1.3rem, 1rem + 0.8vw, 1.625rem); margin: 0; color: var(--ink); }
.testimonial__role { color: var(--muted); font-size: 1.125rem; margin: 0.4rem 0 0; }
.testimonial::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(2rem, 4vw, 3rem);
  width: 56px; height: 42px;
  background-position: center; background-repeat: no-repeat; background-size: contain;
  transform: rotate(180deg);
  pointer-events: none;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 1.75rem;
}
.carousel__btn {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.carousel__btn:hover { background: var(--ink); color: #fff; }
.carousel__dots { display: flex; gap: 10px; }
.carousel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: #c9ccd2; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel__dot.is-active { background: var(--blue); transform: scale(1.25); }
/* A single testimonial needs no navigation dots. */
.carousel__controls:has(.carousel__dot:only-child) { display: none; }

/* ------------------------------ FAQ ------------------------------- */
.faq { padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(2.5rem, 5vw, 4rem); }
.faq__intro .btn { margin-top: 1rem; }
.faq-item { border-bottom: 1px solid rgba(28, 28, 28, 0.2); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  background: none; border: none; text-align: left;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.25rem);
  color: var(--ink-3);
}
.faq-icon { flex: 0 0 auto; color: var(--ink-3); transition: transform 0.3s var(--ease); }
.faq-icon__v { transition: opacity 0.2s, transform 0.3s var(--ease); transform-origin: center; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon__v { opacity: 0; }

.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.faq-a > p { overflow: hidden; margin: 0; color: var(--muted); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > p { padding-bottom: 1.2rem; }

/* ---------------------------- Insights ---------------------------- */
.insights {
  background: linear-gradient(180deg, #f4f5f7, #e7eaee);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
/* A lone card shouldn't stretch full-width. */
.blog-grid:has(> :only-child) { display: block; }
.blog-grid:has(> :only-child) > * { max-width: 400px; }
/* Flat cards per Figma: no background, border-radius, or shadow. */
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s var(--ease);
}
.post-card:hover { transform: translateY(-4px); }
/* Fill the card thumbnail evenly; the full uncropped image shows on the single post. */
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.post-card__body { padding: 0; }
.post-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.875rem; color: #000; margin-bottom: 0.75rem; }
.post-card__tag { padding: 4px 8px; background: rgba(20, 20, 20, 0.1); border: 1px solid rgba(20, 20, 20, 0.2); font-size: 0.875rem; line-height: 1.5; color: #000; }
.post-card__title {
  font-size: 1.5rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.6rem; color: var(--ink-2);
}
.post-card__title a:hover { color: var(--purple); }
.post-card__excerpt { font-size: 1rem; line-height: 1.4; color: var(--ink-2); margin: 0; }
.read-more { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.read-more:hover { color: var(--purple); }

/* ------------------------- Get Started (purple) ------------------- */
.get-started {
  background:
    radial-gradient(90% 120% at 10% 0%, #6a16ff 0%, var(--purple) 45%, #3d00ad 100%);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.get-started .split { align-items: start; }
/* Wider form column so the form reads less tall. Desktop only — the mobile
   single-column stack (max-width: 980px) has to keep winning. */
@media (min-width: 981px) {
  .get-started .split { grid-template-columns: 0.85fr 1.3fr; gap: clamp(2rem, 3.5vw, 3.5rem); }
}
.get-started__lead { max-width: 46ch; margin-bottom: 2rem; }
.address { display: flex; gap: 14px; margin-bottom: 1.75rem; }
.address__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.address p { margin: 0; }

.contact-form {
  background: #fff;
  border-radius: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}
.field { margin-bottom: 0.75rem; }
.field label { /* visually hidden; placeholder text serves the design, label serves a11y */
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.contact-form input,
.contact-form textarea,
.news-form input {
  width: 100%;
  font: inherit;
  color: var(--ink-2);
  background: var(--field);
  border: 1px solid #e4e4e8;
  padding: 12px 15px;
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.news-form input::placeholder { color: #666; }
.contact-form input:focus,
.contact-form textarea:focus,
.news-form input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(86, 0, 239, 0.15);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 0.5rem; }

.form-status { margin: 0.75rem 0 0; font-size: 0.9rem; font-weight: 500; }
.form-status.is-error { color: #d12; }
.contact-form .form-status.is-success,
.form-status.is-success { color: #0a7d33; }
.news-form .form-status { color: #fff; flex-basis: 100%; }

/* Book a Demo variant: white inputs (sharp corners) with consent rows. */
.contact-form--demo input,
.contact-form--demo textarea {
  background: #fff;
  border: 1px solid #e4e4e8;
  border-radius: 0;
  padding: 12px 15px;
}
.contact-form--demo textarea { min-height: 120px; }
/* Consent rows — shared across every form (contact + Book a Demo). */
.contact-form .consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0 0 0.9rem;
  font-size: 0.8rem; line-height: 1.55; color: #4a4a52;
  cursor: pointer;
}
.contact-form .consent input {
  appearance: none; -webkit-appearance: none; box-sizing: border-box;
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; padding: 0;
  border: 1.5px solid #c4c4cf; border-radius: 4px; background: #fff;
  cursor: pointer; display: grid; place-content: center;
}
.contact-form .consent input::before {
  content: ""; width: 10px; height: 10px; background: #fff; transform: scale(0);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.contact-form .consent input:checked { background: var(--purple); border-color: var(--purple); }
.contact-form .consent input:checked::before { transform: scale(1); }
.contact-form .consent span { flex: 1; }
.contact-form .consent a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.form-legal { margin: 0.9rem 0 0; text-align: center; font-size: 0.85rem; color: var(--muted); }
.form-legal a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.contact-form--demo .contact-form__submit { width: 100%; margin-top: 0.75rem; }

/* Book a Demo — 2-column grid with floating labels. */
.contact-form--grid .cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form--grid .ff { position: relative; }
.contact-form--grid .ff--full { grid-column: 1 / -1; }
.contact-form--grid .ff input,
.contact-form--grid .ff textarea {
  width: 100%; font: inherit; color: var(--ink-2);
  background: var(--field); border: 0; border-radius: 0;
  padding: 23px 16px 7px;
}
.contact-form--grid .ff textarea { min-height: 130px; padding-top: 30px; resize: vertical; }
.contact-form--grid .ff input:focus,
.contact-form--grid .ff textarea:focus { outline: none; box-shadow: inset 0 0 0 2px rgba(86, 0, 239, 0.4); }
.contact-form--grid .ff label {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: #7a7a85; font-size: 1rem; pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, transform 0.15s ease;
}
.contact-form--grid .ff textarea + label { top: 24px; transform: none; }
.contact-form--grid .ff input:focus + label,
.contact-form--grid .ff input:not(:placeholder-shown) + label,
.contact-form--grid .ff textarea:focus + label,
.contact-form--grid .ff textarea:not(:placeholder-shown) + label {
  top: 8px; transform: none; font-size: 0.7rem; color: #6a6a72;
}
.contact-form--grid .ff label .req { color: #e2231a; margin-left: 1px; }
/* Select field — role dropdown for masterclass form. */
.contact-form--grid .ff--select select {
  width: 100%; font: inherit; color: var(--ink-2);
  background: var(--field); border: 0; border-radius: 0;
  padding: 23px 40px 7px 16px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%237a7a85'%3E%3Cpath d='M10 12 5 7h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.contact-form--grid .ff--select select:focus { outline: none; box-shadow: inset 0 0 0 2px rgba(86, 0, 239, 0.4); }
.contact-form--grid .ff--select label { top: 8px; transform: none; font-size: 0.7rem; color: #6a6a72; }
.contact-form--grid .cf-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 16px; flex-wrap: wrap;
}
.contact-form--grid .cf-foot .form-legal { margin: 0; text-align: left; }
.contact-form--grid .cf-foot .contact-form__submit { width: auto; min-width: 190px; margin: 0; }
@media (max-width: 600px) {
  .contact-form--grid .cf-grid { grid-template-columns: 1fr; }
  .contact-form--grid .cf-foot { flex-direction: column; align-items: stretch; }
  .contact-form--grid .cf-foot .contact-form__submit { width: 100%; }
}

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--ink-2); color: #fff; padding-block: clamp(2.5rem, 4vw, 3.5rem) 0; }

/* Top bar: logo left, social icons right, separated by a green divider below. */
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-top .logo { margin: 0; }
.footer-divider { border: 0; border-top: 1px solid var(--green); margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 3rem); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand__title { font-family: var(--font-alt); font-weight: 700; font-size: 26px; line-height: 1.25; color: rgba(255, 255, 255, 0.5); margin: 0 0 1rem; }
.footer-brand__text { color: rgba(255, 255, 255, 0.7); font-size: 1rem; max-width: 42ch; margin: 0; }
.footer-col h3,
.footer-news h3 {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 1rem;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: #fff; font-weight: 500; }
.footer-col a:hover { color: var(--yellow); }

/* Newsletter: full-width email input above, SEND button and circular arrow below. */
.news-form { display: flex; flex-direction: column; gap: 1rem; }
.news-form input { width: 100%; background: var(--field); color: var(--ink-2); }
.news-form__actions { display: flex; align-items: center; gap: 14px; }
.news-arrow { color: var(--yellow); border-color: rgba(255, 255, 255, 0.5); }
.news-arrow:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple); color: #fff;
  transition: transform 0.15s var(--ease), background 0.2s;
}
.socials a:hover { transform: translateY(-2px); background: #6a16ff; }
.socials a svg { width: 18px; height: 18px; }
.socials a img { width: auto; height: 20px; object-fit: contain; display: block; }

.footer-bottom {
  padding-block: 1.5rem;
  text-align: center;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.7); }
.footer-credit { color: rgba(255, 255, 255, 0.85); }
.footer-credit:hover { color: var(--yellow); }

/* ----------------------------- Reveal ----------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Placeholder background for images awaiting real assets. */
img[data-ph] { background: #eceef1; }

/* ============================ Responsive =========================== */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-wrap {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    background: var(--ink);
    padding: 1.5rem var(--gutter) 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  }
  .nav-wrap.is-open { display: flex; }
  .primary-nav { margin-inline: 0; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-list a { display: block; padding: 10px 0; width: 100%; }
  .header-cta { flex-direction: column; align-items: stretch; }
  .header-cta .btn { width: 100%; }

  .split,
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; } /* image above copy on mobile */
  .hero__media img { max-width: 460px; margin-inline: auto; }

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

  .testimonial { grid-template-columns: 1fr; }
  .testimonial::before { inset: 0; }
  .testimonial__media { margin-left: 0; }
  .testimonial__media img { aspect-ratio: 16 / 10; }
  .testimonial__body { padding: clamp(1.5rem, 5vw, 2.5rem); }
  .testimonial::after { right: 1.25rem; bottom: 1.25rem; width: 42px; height: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --header-h: 64px; }
  .hero__actions .btn,
  .split__text > .btn { width: 100%; }
  .chips { justify-content: flex-start; }
  .tco-points { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .news-form .btn { width: 100%; }
  .band-ai__media { margin-bottom: clamp(-3.5rem, -10vw, -2.5rem); }
  .lockin { padding-top: clamp(3.5rem, 10vw, 4.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], .gen-line { opacity: 1; transform: none; filter: none; }
}

/* =====================================================================
   WordPress content: single posts, pages, blog index, search, 404.
   ===================================================================== */
/* Scoped to .bh-single on the single.php article element, not to .single-post
   which is the WP body class and would match every post page globally. */
.bh-single { padding-top: clamp(2rem, 5vw, 3.5rem); }
.single-post__head-inner { max-width: 820px; margin-inline: auto; }
.single-post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 0.9rem; color: var(--muted); margin-bottom: 1.1rem; }
/* Generic document pages (EULA, Privacy, etc.) scoped to .docpage, not .single,
   which is the WP body class on all single-post pages. */
.docpage { padding-block: clamp(2rem, 4vw, 3.25rem); }
.docpage__inner { max-width: 820px; margin-inline: auto; }
.docpage .single-post__header { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.docpage .single-post__header .section-title { margin-bottom: 0; font-size: clamp(1.875rem, 1.2rem + 2vw, 2.5rem); }
.docpage .single-post__media { margin-bottom: clamp(1.5rem, 3vw, 2rem); }

.single-post__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.4vw, 2.625rem); line-height: 1.2; color: var(--ink-2); letter-spacing: -0.01em; }
.single-post__lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); margin-top: 1.1rem; max-width: 62ch; }
.single-post__media-wrap { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.single-post__media { max-width: 1040px; margin-inline: auto; }
.single-post__media img { width: 100%; height: auto; border-radius: 0; } /* full image, no crop - preserves text in post images */
.single-post__body { max-width: 760px; margin-inline: auto; padding-block: clamp(2rem, 4vw, 3rem); }

.entry-content { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1.2rem; }
.entry-content h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.25; margin-top: 2.5rem; color: var(--ink-2); }
.entry-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.3; margin-top: 2rem; color: var(--ink-2); }
.entry-content h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-top: 1.75rem; color: var(--ink-2); }
.entry-content a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.entry-content img { border-radius: 0; }
.entry-content blockquote { margin: 1.5rem 0; padding: 0.5rem 0 0.5rem 1.25rem; border-left: 4px solid var(--green); color: var(--ink); font-style: italic; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-top: 1.2rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.6rem; padding-left: 0.25rem; line-height: 1.7; }
.entry-content li::marker { color: var(--purple); }
.entry-content ul ul, .entry-content ol ol, .entry-content ul ol, .entry-content ol ul { margin-top: 0.5rem; }
.entry-content code { background: var(--grey-soft); padding: 0.1em 0.4em; border-radius: 4px; }
.entry-content pre { background: var(--ink); color: #fff; padding: 1rem; border-radius: var(--radius); overflow: auto; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figcaption, .wp-caption-text { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }

/* WP core alignment classes */
.aligncenter { margin-inline: auto; display: block; }
.alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.alignwide { width: min(1040px, 100%); margin-inline: auto; }
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }

.single-post__tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.single-post__tags a { font-size: 0.8rem; padding: 5px 12px; background: var(--grey-soft); color: var(--ink-2); transition: background 0.2s; }
.single-post__tags a:hover { background: var(--green); }
.single-post__share { margin-top: 1.75rem; }
.single-post__share .link-arrow { font-weight: 600; color: var(--ink-2); }
.single-post__share .link-arrow::after { content: none; } /* back link: left arrow only, no trailing arrow */
.single-post__share .link-arrow:hover { color: var(--purple); }
.post-nav { max-width: 760px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.post-nav__link { display: flex; flex-direction: column; gap: 6px; padding: 1.1rem 1.25rem; border: 1px solid var(--line); transition: border-color 0.2s var(--ease), transform 0.2s; }
.post-nav__link:hover { border-color: var(--purple); transform: translateY(-2px); }
.post-nav__link--next { text-align: right; align-items: flex-end; }
.post-nav__dir { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.post-nav__title { font-weight: 600; color: var(--ink-2); line-height: 1.35; }
/* Blog single prev/next: full-width 50/50, both cards left-aligned. */
.post-nav--inline { max-width: none; }
.post-nav--inline .post-nav__link--next { text-align: left; align-items: flex-start; }
.single-post__comments { max-width: 760px; margin-inline: auto; padding-bottom: clamp(2rem, 4vw, 3rem); }
@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link--next { text-align: left; align-items: flex-start; }
}

/* --------------------- Blog detail (single post) ------------------ */
/* Two-column hero (title + meta · featured image) plus a sticky table-
   of-contents sidebar beside the article body. Overrides are scoped to
   .blogd so the EULA/Privacy docpages keep their own styling. */
.blogd { padding-top: clamp(1.75rem, 4vw, 2.75rem); }
.blogd__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.blogd__top--noimg { grid-template-columns: minmax(0, 1fr); }
.blogd__badge {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-2);
  background: rgba(20, 20, 20, 0.07);
  border: 1px solid rgba(20, 20, 20, 0.18);
  padding: 5px 12px;
  margin-bottom: 1.1rem;
}
.blogd__badge:hover { background: rgba(20, 20, 20, 0.12); }
.blogd__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1rem + 3vw, 3.45rem); /* up to ~55px (Figma) */
  line-height: 1.2;
  color: #141414;
  letter-spacing: -0.01em;
  margin: 0;
}
.blogd__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 16px;
  color: #141414;
}
.blogd__meta-item { display: inline-flex; align-items: center; gap: 9px; }
.blogd__ico { flex: none; color: var(--purple); }
.blogd__hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.blogd__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 5.5rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.blogd__layout--full { grid-template-columns: minmax(0, 1fr); }
.blogd__layout--full .blogd__main { max-width: 820px; margin-inline: auto; }
.blogd__toc {
  position: sticky;
  top: 96px;
  background: rgba(20, 20, 20, 0.04);
  padding: 1.5rem 1.5rem 1.6rem;
}
.blogd__toc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #141414;
  padding-bottom: 0.85rem;
  margin: 0;
  border-bottom: 2px solid #219653;
}
.blogd__toc-list { display: flex; flex-direction: column; }
.blogd__toc-link {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: #141414;
  opacity: 0.72;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
  transition: opacity 0.18s, color 0.18s, padding 0.18s;
}
.blogd__toc-list > .blogd__toc-link:first-child { border-top: 0; }
.blogd__toc-link:hover { opacity: 1; color: var(--purple); }
.blogd__toc-link.is-active {
  opacity: 1;
  font-weight: 600;
  box-shadow: inset 2px 0 0 #219653;
  padding-left: 0.8rem;
}

/* Article column — Figma section headings + purple square bullets. */
.blogd__main { min-width: 0; }
.blogd__content { max-width: none; }
.blogd .entry-content { font-size: 18px; line-height: 1.5; color: rgba(20, 20, 20, 0.9); }
.blogd .entry-content > * + * { margin-top: 1.3rem; }
.blogd .entry-content h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 1rem + 1.5vw, 2rem); /* 32px */
  line-height: 1.25;
  color: #141414;
  letter-spacing: 0;
  margin-top: 2.6rem;
  scroll-margin-top: 96px;
}
.blogd .entry-content h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.4rem);
  color: #141414;
  margin-top: 1.9rem;
  scroll-margin-top: 96px;
}
.blogd .entry-content ul { list-style: none; padding-left: 0; }
.blogd .entry-content ul > li { position: relative; padding-left: 20px; margin-bottom: 0.7rem; }
.blogd .entry-content ul > li::marker { content: ""; }
.blogd .entry-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--purple);
}

@media (max-width: 980px) {
  .blogd__top, .blogd__layout { grid-template-columns: minmax(0, 1fr); }
  .blogd__layout { gap: 1.75rem; }
  .blogd__toc { position: static; top: auto; }
}
@media (max-width: 600px) {
  .blogd__toc { padding: 1.1rem 1.2rem 1.2rem; }
  .blogd .entry-content { font-size: 16px; }
}

.insights.insights--listing { background: #eef0f3; padding-block: clamp(3.5rem, 7vw, 6rem); } /* blog listing keeps its original spacing */
.insights--listing .help__head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.insights--listing .help__head .section-title { margin-bottom: 0.4rem; }
.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.blog-cat { padding: 8px 18px; border: 1px solid var(--line); background: #fff; font-weight: 500; color: var(--ink-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.blog-cat:hover { border-color: var(--ink); }
.blog-cat.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Thank-you page */
.thankyou { text-align: center; padding-block: clamp(3rem, 7vw, 5rem); }
.thankyou .container { max-width: 640px; }
.thankyou__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--green); color: var(--ink); margin-bottom: 1.5rem;
}
.thankyou__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.2rem + 3vw, 3.25rem); line-height: 1.15; color: var(--ink-2); margin-bottom: 1rem; letter-spacing: -0.01em; }
.thankyou__text { font-size: 1.125rem; line-height: 1.6; color: var(--muted); max-width: 46ch; margin: 0 auto 2rem; }
.thankyou__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.post-pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.post-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; margin: 0 4px;
  border: 1px solid var(--line); color: var(--ink-2);
}
.post-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-pagination .page-numbers:hover { background: var(--grey-soft); }

.error-404 .hero__title { font-size: clamp(4rem, 10vw, 8rem); }
.error-404__search { max-width: 420px; margin: 1.5rem auto 0; }

.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; }
.search-form .search-submit { background: var(--ink); color: #fff; border: none; padding: 0 18px; cursor: pointer; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* FAQ answers from the_content() are wrapped in .faq-a__inner for accordion behaviour. */
.faq-a > * { overflow: hidden; min-height: 0; }
.faq-a__inner { color: var(--muted); }
.faq-a__inner > :first-child { margin-top: 0; }
.faq-a__inner > :last-child { margin-bottom: 0; }
.faq-item.is-open .faq-a__inner { padding-bottom: 1.2rem; }

/* Keep the sticky header below the WP admin bar when logged in.
   On desktop the admin bar scrolls away, so top:0 is correct.
   On mobile (max 782px) the admin bar is fixed, so we offset by 46px. */
.admin-bar .site-header { top: 0; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* =====================================================================
   Use Cases page: centered hero, tabs, swappable panels, stat cards,
   and the purple CTA band.
   ===================================================================== */
:root { --green-bright: #00ff89; }

.uc-hero { padding-block: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 2.5vw, 1.5rem); text-align: center; }
.uc-hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 3.2vw, 4rem); line-height: 1.2;
  color: var(--ink-2); max-width: 810px; margin-inline: auto; letter-spacing: -0.01em;
}
.uc-hero__sub { margin: 1.25rem auto 0; max-width: 1043px; color: rgba(20, 20, 20, 0.8); font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.5; }
.uc-hero--demo .uc-hero__title { margin-bottom: 0.75rem; max-width: none; }

/* ----------------------------- AI Agents page ---------------------------- */
.eyebrow--center { justify-content: center; text-align: center; }
.uc-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 1.75rem; }
.ai-overview { padding-block: clamp(2rem, 4vw, 3rem); }
.ai-overview .feature-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.ai-philosophy { padding-block: clamp(2rem, 4vw, 3rem); }
.ai-philosophy .section-sub { max-width: 70rem; }
.ai-philosophy__media { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.ai-philosophy__media img { width: 70%; height: auto; margin-inline: auto; display: block; border-radius: var(--radius); }
@media (max-width: 700px) { .ai-philosophy__media img { width: 100%; } }
.ai-caps .split__text .eyebrow { margin-bottom: 0.5rem; }
.ai-caps .split__media img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.ai-deploy { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.deploy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.deploy-card { background: #f4f5f7; padding: clamp(1.5rem, 3vw, 2.5rem); }
.deploy-card .heading-md { margin-bottom: 0.5rem; }
.deploy-card .checklist { margin: 1.25rem 0 1.75rem; }
/* Private-cloud feature box — single-card deployment design (Figma). */
.private-cloud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
  background: #f4f5f7;
  padding: clamp(1.75rem, 4vw, 3.5rem);
}
.private-cloud__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.2; color: var(--ink-2); letter-spacing: -0.01em; margin: 0 0 1rem; }
.private-cloud__desc { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0 0 1.75rem; }
.private-cloud__btn { min-width: 300px; }
.private-cloud__list { margin: 0; }
@media (max-width: 860px) {
  .private-cloud { grid-template-columns: 1fr; gap: 1.5rem; padding: clamp(1.5rem, 6vw, 2.25rem); }
  .private-cloud__btn { min-width: 0; width: 100%; }
}
.ai-arch { padding-block: clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.ai-arch__proof { display: none; }
.ai-arch__stars { color: var(--yellow); letter-spacing: 2px; }
.ai-arch__media { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.ai-arch__media img { width: 70%; height: auto; margin-inline: auto; }
@media (max-width: 700px) { .ai-arch__media img { width: 100%; } }
@media (max-width: 600px) { .ai-overview .feature-cards { grid-template-columns: 1fr; } }
.uc-hero--demo .uc-hero__sub { max-width: 916px; margin-top: 0; }

.uc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.uc-tab {
  padding: 10px 20px; border: 1px solid var(--line); background: #fff;
  font-family: var(--font-body); font-weight: 500; font-size: 16px; color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}
.uc-tab:hover { border-color: var(--purple); }
.uc-tab.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }

.uc-panels { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.uc-panel[hidden] { display: none; }
.uc-panel .split { align-items: center; }
.uc-panel .split__media img { border-radius: 0; aspect-ratio: 685 / 536; object-fit: cover; }

.checklist { display: flex; flex-direction: column; gap: 14px; margin: 1.5rem 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.checklist svg { flex: 0 0 auto; color: var(--purple); margin-top: 2px; }
.uc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.5rem; }

.impact { padding-block: clamp(2rem, 4vw, 3.25rem); text-align: center; }
.impact .section-title { max-width: 880px; margin-inline: auto; }
.impact .section-sub { max-width: 60ch; }
.eyebrow { color: var(--pink); text-transform: uppercase; font-weight: 500; letter-spacing: .04em; margin-bottom: .5rem; }
.stat-cards, .feature-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem); text-align: left; margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.feature-cards { margin-top: clamp(1rem, 2vw, 1.5rem); }
.stat-card { display: flex; align-items: stretch; border: 1px solid var(--ink); min-height: 110px; }
.stat-card__num {
  background: var(--green-bright); color: var(--ink); font-weight: 700;
  font-size: clamp(1.6rem, 1rem + 1.8vw, 2rem); display: flex; align-items: center; justify-content: center;
  gap: 2px; min-width: clamp(96px, 12vw, 121px); padding: 0 .75rem;
}
.stat-card__label { display: flex; align-items: center; padding: 1rem 1.25rem; font-size: 1.1rem; color: var(--ink-2); }
.feature-card { border: 1px solid #000; background: #fff; padding: clamp(1.25rem, 2vw, 1.75rem); }
.feature-card h3 { font-weight: 600; font-size: 1.4rem; color: var(--ink); margin-bottom: .6rem; }
.feature-card p { margin: 0; color: var(--ink-2); }

.leap {
  background: #5600ef; /* flat purple; grid pattern overlay added via ::before */
  position: relative; isolation: isolate;
  color: #fff; text-align: center; padding-block: clamp(2.75rem, 5vw, 4.25rem);
}
.leap::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--bh-cta-pattern, none) center / cover no-repeat;
  filter: invert(1); mix-blend-mode: screen; opacity: 0.5; pointer-events: none;
}
.leap > .container { position: relative; z-index: 1; }
.leap__script { font-family: "Signlode", "Caveat", cursive; color: var(--green-bright); font-size: clamp(2.2rem, 1rem + 5vw, 3.75rem); line-height: 1; margin-bottom: .25rem; }
.leap h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); color: #fff; max-width: 1187px; margin: 0 auto .75rem; text-wrap: balance; }
.leap p { color: rgba(255, 255, 255, .85); max-width: 50ch; margin: 0 auto 3rem; text-wrap: balance; }
/* Script line is a .leap p too — bump specificity so it stays green, not 85%-white. */
.leap .leap__script { color: var(--green-bright); }

@media (max-width: 620px) {
  .uc-tabs { justify-content: flex-start; }
  .uc-actions .btn { width: 100%; }
}

/* =====================================================================
   About Us page: story columns, value cards, founder/CEO message
   ===================================================================== */
.about-hero { padding-block: clamp(2rem, 4vw, 3.25rem); }
.about-hero .hero__title { max-width: 600px; font-size: clamp(1.75rem, 1rem + 2.2vw, 2.5rem); }
/* About hero: balanced 1:1 columns + tighter gap so the natural-aspect image sits
   in close, not pushed to the far right with a big gap (matches Figma). */
@media (min-width: 981px) {
  .about-hero .hero__grid { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 4rem); }
}

/* Mobile headline sizes come from the reduced clamp() minimums above. */

.about-story { padding-block: clamp(1.25rem, 2.5vw, 2.25rem); }
.about-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.about-story p { color: var(--ink); }
.about-story__col > p + p { margin-top: 1rem; }
.keypoints { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; }
.keypoint { position: relative; padding-left: 20px; }
.keypoint::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; background: var(--pink); }
.keypoint h4 { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin: 0 0 .25rem; }
.keypoint p { margin: 0; }
.about-story__wide { margin-top: clamp(1.5rem, 3vw, 2.5rem); color: var(--ink); max-width: none; }

.about-cards { padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.about-cards .section-sub { max-width: 60rem; text-wrap: balance; }
.about-cards .feature-cards { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); } /* 3 columns */
.costs-reasons .split__media img { border-radius: 0; } /* square photos per Figma */
.costs-reasons { padding-block: clamp(5rem, 8vw, 8rem); }
.costs-reasons .help__head + .feature-row { margin-top: clamp(3rem, 6vw, 5rem); }
.costs-reasons .feature-row + .feature-row { margin-top: clamp(4rem, 7vw, 6.25rem); }
.costs-reasons .split__text .heading-lg { margin: 0 0 1.5rem; }
.costs-reasons .split__text p { margin: 0 0 2.25rem; }
.costs-reasons .split__text .btn { margin-top: .75rem; }
/* Even 50/50 split — same row height across all three rows (driven by the
   image's natural aspect), text vertically centered in its cell. */
.costs-reasons .split { align-items: stretch; grid-template-columns: 1fr 1fr; }
.costs-reasons .split__media { overflow: hidden; }
.costs-reasons .split__media img { width: 100%; height: auto; display: block; margin: 0; aspect-ratio: 620 / 430; object-fit: cover; }
.costs-reasons .split__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.costs-reasons .split__text > * { max-width: 100%; }
.costs-reasons .split__text > .heading-lg,
.costs-reasons .split__text > p { align-self: stretch; }

/* Costs page — extra breathing room between hero, cards and testimonial band. */
body.page-template-page-costs .uc-hero { padding-block: clamp(3rem, 5vw, 5rem) clamp(2.5rem, 4vw, 4rem); }
body.page-template-page-costs .steps { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4.5rem); }
body.page-template-page-costs .voices { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.about-cards .feature-card h3 { font-size: 1.5rem; }
.about-cards .feature-card p { font-size: 1.05rem; }

.founder { padding-block: clamp(2rem, 4vw, 3.25rem); }
.eyebrow--purple { color: var(--purple); }
.founder__top { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.founder__photo { position: relative; }
.founder__photo::before { content: ""; position: absolute; left: 8px; right: 9px; bottom: 0; height: 44%; background: var(--green-bright); z-index: 0; }
.founder__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 15 / 13; object-fit: cover; object-position: center bottom; border-radius: 0; }
.founder__name { font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 1rem 0 0; }
.founder__title { display: flex; align-items: center; gap: 10px; color: var(--ink); margin: .25rem 0 0; }
.linkedin-badge { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: var(--purple); color: #fff; flex: 0 0 auto; transition: transform 0.15s var(--ease), background 0.2s; }
.linkedin-badge:hover { transform: translateY(-2px); background: #6a16ff; }
.linkedin-badge img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.founder__quote { position: relative; margin: 1.25rem 0; padding: 3rem 0 2.5rem; font-size: 1.125rem; font-weight: 600; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.founder__quote::before, .founder__quote::after { font-family: "Pompiere", Georgia, cursive; color: var(--green-bright); font-size: 4rem; line-height: 1; position: absolute; }
.founder__quote::before { content: "\201C"; left: 0; top: 0; }
.founder__quote::after { content: "\201D"; right: 0; bottom: 0; }
.founder__lead { color: var(--ink); text-wrap: pretty; }
.founder__bio { columns: 2; column-gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.founder__bio p { break-inside: avoid; margin: 0 0 1rem; color: var(--ink); text-align: justify; font-size: .95rem; line-height: 1.6; text-wrap: pretty; }

@media (max-width: 900px) {
  .about-story__grid { grid-template-columns: 1fr; }
  .founder__top { grid-template-columns: 1fr; }
  .founder__person { max-width: 320px; }
  .founder__bio { columns: 1; }
}

/* ----------------------- Phone: smaller headings + breathing room --------- */
@media (max-width: 600px) {
  .hero__title { font-size: 1.75rem; }
  .about-hero .hero__title { font-size: 1.55rem; }
  .section-title { font-size: 1.5rem; }
  .uc-hero__title { font-size: 1.6rem; }
  .heading-lg { font-size: 1.4rem; }
  .heading-md { font-size: 1.3rem; }
  .leap h2 { font-size: 1.5rem; }
  .leap__script { font-size: 1.9rem; }
  .testimonial blockquote { font-size: 1.15rem; }
  .feature-card h3 { font-size: 1.2rem; }

  .hero, .band-ai, .lockin, .help, .reasons, .tco, .voices, .faq, .insights,
  .get-started, .uc-hero, .ai-overview, .ai-philosophy, .ai-deploy, .ai-arch,
  .uc-panels, .impact, .leap, .about-hero, .about-story, .about-cards, .founder {
    padding-block: 2.75rem;
  }
  .hero__lead { margin-bottom: 1.25rem; }
}

/* Mobile: drop the GPU-heavy blur-in so the reveal animation stays smooth. */
@media (max-width: 768px) {
  .gen-line { filter: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .gen-line.is-in { filter: none; }
}

/* =====================================================================
   Costs page: numbered 3-step process
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; padding-block: clamp(1rem, 2vw, 2rem) clamp(2rem, 4vw, 3.5rem); }
.step { position: relative; }
.step:nth-child(2) { margin-top: clamp(1rem, 5vw, 3.5rem); }
.step__num {
  position: absolute; top: -16px; left: -12px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--purple); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.step img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .step:nth-child(2) { margin-top: 0; }
}

/* ======================== Media Library icons ========================= */
.checklist img { flex: 0 0 auto; margin-top: 2px; width: 24px; height: 24px; }
.address__icon img { width: 22px; height: 22px; }
.btn img { width: 1.1em; height: 1.1em; }
.link-arrow img { width: 20px; height: 20px; }
.socials img { filter: brightness(0) invert(1); } /* white icons on the purple buttons */
img.quote-mark { width: 64px; height: auto; display: block; line-height: 0; }
.founder__quote.has-svg { padding: 0; }
.founder__quote.has-svg::before, .founder__quote.has-svg::after { content: none; }
.founder__quote .fq-open { display: block; width: 54px; height: auto; margin-bottom: .5rem; }
.keypoint.has-icon { padding-left: 34px; }
.keypoint.has-icon::before { content: none; }
.keypoint__icon { position: absolute; left: 0; top: 3px; width: 22px; height: 22px; }

/* =====================================================================
   Heading accent overrides, CTA arrow button, CTA pattern overlay
   ===================================================================== */
/* These accent utilities need to beat the specificity of .section-title's default
   colour so they take effect when applied to heading elements. */
.section-title.accent-yellow { color: var(--yellow); }
.section-title.accent-white  { color: #fff; }
.section-title.accent-pink   { color: var(--pink); }
.section-title.accent-purple { color: var(--purple); }

/* Get-started CTA: text button and a separate circular arrow button. */
.cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-arrow {
  flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6); color: #fff;
  background: transparent; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.cta-arrow:hover { background: #fff; color: var(--purple); }
.cta-arrow svg { width: 22px; height: 22px; }

/* Pattern overlay for the get-started CTA (image URL injected via inline style).
   The pattern is a light grid on white; invert + screen renders it as a faint
   lighter grid on the purple background. */
.get-started { position: relative; isolation: isolate; }
.get-started::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--bh-cta-pattern, none) center / cover no-repeat;
  filter: invert(1);
  mix-blend-mode: screen; opacity: 0.65; pointer-events: none;
}
.get-started > .container { position: relative; z-index: 1; }

/* =====================================================================
   Migration landing page (template: page-migration.php) — reusable for
   Databricks / Snowflake / … variants. Sharp corners, brand tokens.
   ===================================================================== */
.mig .container { width: min(var(--container), 100%); }
.mig-head { max-width: 900px; margin: 0 auto clamp(1.5rem, 3vw, 2.5rem); }
.mig .section-title { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: #141414; }
.mig .section-sub { font-family: var(--font-body); font-weight: 400; line-height: 1.5; color: #141414; }
.mig-head--left { margin-inline: 0; }
.mig-ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; background: repeating-linear-gradient(45deg, #f3f4f8 0 10px, #eceef4 10px 20px);
  border: 1px dashed #c3c7d4; color: #8a8f9e; text-align: center; padding: 8px;
}
.mig-ph em { font-style: normal; font-size: 0.78rem; letter-spacing: .02em; }
.mig-ph--icon { max-width: 56px; }

/* Hero video box (Vimeo embed, or placeholder while the URL is blank) */
.mig-hero__video { max-width: 900px; margin: clamp(1.5rem, 3vw, 2.5rem) auto 0; }
.mig-hero__embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 18px 50px rgba(20, 20, 40, .14); }
.mig-hero__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.mig-hero__video .mig-ph--video { border-radius: 14px; }

/* Booking calendar (Calendly) */
.mig-calendly { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.mig-calendly .mig-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.mig-calendly__box { max-width: 1000px; margin-inline: auto; }
.mig-calendly__box .calendly-inline-widget { border-radius: 14px; overflow: hidden; }
.mig-ph--cal { min-height: 480px; border-radius: 14px; }

/* Hero */
.mig-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.mig-hero__title {
  font-family: var(--font-display); font-weight: 700; color: var(--ink-2);
  font-size: clamp(2rem, 1.2rem + 3.2vw, 4rem); line-height: 1.2;
  margin: 0 auto 1rem; max-width: 16ch; text-wrap: balance;
}
.mig-hero__sub { max-width: 70rem; margin: 0 auto 1.75rem; color: rgba(20, 20, 20, .8); font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }
.mig-hero__sub strong { font-weight: 700; color: var(--ink-2); }
.mig-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Card grids */
.mig-cards { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.mig-cards--3 { grid-template-columns: repeat(3, 1fr); }
.mig-cards--4 { grid-template-columns: repeat(4, 1fr); }
.mig-cards--2 { grid-template-columns: repeat(2, 1fr); }
.mig-card { background: #fff; border: 1px solid #e7e8ee; padding: clamp(1.1rem, 2vw, 1.6rem); }
.mig-card--center { text-align: center; }
.mig-card--center .mig-card__icon { margin-inline: auto; }
.mig-card--row { display: grid; grid-template-columns: 150px 1fr; gap: 0; align-items: stretch; padding: 0; }
.mig-card--row .mig-card__icon {
  width: 100%; height: 100%; margin: 0; padding: 26px;
  background: #ece9fd; display: flex; align-items: center; justify-content: center;
}
.mig-card--row .mig-card__icon img { width: 52px; height: auto; }
.mig-card--row > div { padding: clamp(1.1rem, 2vw, 1.5rem); }
.mig-card__icon { display: block; width: 56px; margin-bottom: 0.9rem; flex: 0 0 auto; }
/* Pillars: centred card, icon in a white circle with a soft ring (Figma values). */
.mig-pillars .mig-card {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.25);
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.25rem, 2.2vw, 2rem);
}
.mig-pillars .mig-card__icon {
  box-sizing: border-box;
  width: clamp(112px, 9vw, 144px); height: clamp(112px, 9vw, 144px);
  border-radius: 50%; background: #fff; border: 3px solid rgba(0, 0, 0, 0.06);
  display: flex; align-items: center; justify-content: center; padding: 0;
  margin: 0 auto clamp(1.25rem, 2vw, 1.85rem);
}
.mig-pillars .mig-card__icon img { width: 56%; height: 56%; object-fit: contain; }
.mig-pillars .mig-ph--icon { max-width: 56%; }
.mig-pillars .mig-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; color: #0d0d14; margin-bottom: .75rem; }
.mig-pillars .mig-card__text { font-size: 16px; font-weight: 400; line-height: 1.25; color: #141414; }
.mig-card__icon img { width: 100%; height: auto; display: block; }
.mig-card__title { font-size: 1.05rem; font-weight: 600; color: var(--ink-2); margin: 0 0 .5rem; line-height: 1.35; }
.mig-card__text { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--ink); }
.mig-pillars, .mig-ops, .mig-safe, .mig-matrix, .mig-vs { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
/* Agent Ops cards: lavender→white gradient (Figma). */
.mig-ops .mig-card {
  background: linear-gradient(180deg, #ece9fd 0%, #ffffff 55.21%);
  border: 1px solid rgba(206, 197, 255, .25);
  padding: clamp(1.75rem, 2.6vw, 2.5rem) clamp(1.25rem, 2vw, 1.75rem);
}
.mig-ops .mig-card__icon { width: clamp(72px, 6vw, 95px); height: auto; margin: 0 auto clamp(1.5rem, 2.6vw, 2.75rem); }
.mig-ops .mig-card__icon img { width: 100%; height: auto; }
.mig-ops .mig-card__title { font-family: var(--font-body); font-weight: 600; font-size: 22px; line-height: 1.3; color: #0d0d14; }
.mig-ops .mig-card__text { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.4; color: #141414; }

/* Why migrate + accordion */
.mig-why { position: relative; isolation: isolate; background: #f3f3f4; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.mig-why::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bh-why-texture, none) center/cover no-repeat; opacity: .5;
}
.mig-why .section-title { line-height: 1.15; }
.mig-why__intro p { max-width: 46ch; }
.mig-why__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.mig-why__intro p { color: var(--ink); margin: 0 0 1.25rem; }
.mig-acc__item { border-bottom: 1px solid #d9dbe4; }
.mig-acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 1rem 0; cursor: pointer;
  font: inherit; font-weight: 500; color: var(--ink-2); text-align: left;
}
.mig-acc__q--static { cursor: default; }
.mig-acc__q i { flex: 0 0 auto; position: relative; width: 14px; height: 14px; }
.mig-acc__q i::before, .mig-acc__q i::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink-2);
  transform: translate(-50%, -50%); transition: opacity .15s ease;
}
.mig-acc__q i::before { width: 14px; height: 1.5px; }
.mig-acc__q i::after { width: 1.5px; height: 14px; }
.mig-acc__item.is-open .mig-acc__q i::after { opacity: 0; }
.mig-acc__a { display: none; padding: 0 0 1rem; }
.mig-acc__item.is-open .mig-acc__a { display: block; }
.mig-acc__a p { margin: 0; color: var(--ink); font-size: .92rem; line-height: 1.6; max-width: 60ch; }

/* Showcase (dark) */
.mig-show { background: #000; padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.mig-show .section-title { color: #fff; }
.mig-show .section-sub, .mig-show .on-dark { color: rgba(255, 255, 255, .82); }
/* Figma: side cards 611x560, centre 672x616 — same ratio, centre 1.1x and vertically centred. */
.mig-show__grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); align-items: center; }
.mig-show__item { margin: 0; background: #fff; }
.mig-show__item img { width: 100%; aspect-ratio: 611 / 560; object-fit: contain; display: block; }
.mig-show__cap { text-align: center; margin: 1.5rem 0 0; color: rgba(255,255,255,.8); }

/* Feature rows */
.mig-rows { padding-block: clamp(2rem, 4vw, 3rem); }
.mig-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.mig-row:last-child { margin-bottom: 0; }
.mig-row__text p { color: var(--ink); }
.mig-row__note { font-weight: 600; color: var(--ink-2); }
.mig-row__media img { width: 100%; height: auto; display: block; }

/* Engine matrix table (Figma spec). */
.mig-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 4px 22px rgba(0, 50, 129, .05); }
.mig-table { width: 100%; border-collapse: collapse; background: #fff; }
.mig-table thead th {
  background: #ece9fd; border: 0; border-bottom: 1px solid #e2e8f0;
  font-family: var(--font-body); font-weight: 700; font-size: clamp(15px, 1.15vw, 20.78px);
  line-height: 22px; letter-spacing: .15em; text-transform: uppercase; color: #000;
  text-align: left; padding: 26px 35px; white-space: nowrap;
}
.mig-table thead th:first-child { padding-left: 54px; }
.mig-table th:nth-child(1), .mig-table td:nth-child(1) { width: 25.4%; }
.mig-table th:nth-child(2), .mig-table td:nth-child(2) { width: 26.4%; }
.mig-table tbody tr + tr { border-top: 1px solid #f1f5f9; }
.mig-table tbody tr:nth-child(even) { background: #faf9ff; }
.mig-table td {
  border: 0; padding: 20px 35px; font-family: var(--font-body);
  font-weight: 400; font-size: clamp(15px, 1.1vw, 19.69px); line-height: 26px; color: #475569;
}
.mig-table td:first-child { padding-left: 54px; font-weight: 700; color: #141414; line-height: 30px; }
.mig-table td:nth-child(2) { font-weight: 500; color: #000; }

/* Comparison (Figma spec: 450px columns, centre divider, 95px vs badge). */
.mig-vs__grid {
  display: grid; grid-template-columns: minmax(0, 450px) minmax(70px, 180px) minmax(0, 450px);
  justify-content: center; align-items: start; gap: 0; position: relative;
}
.mig-vs__grid::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: 74px; bottom: 0; width: 1px; background: rgba(0, 0, 0, .15);
}
.mig-vs__col { border: 0; }
.mig-vs__head {
  margin: 0; padding: 20px 36px; text-align: center; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 700; font-size: clamp(16px, 1.3vw, 22px); line-height: 1.05;
  color: #000; background: #e2e2e2; border: 1px solid rgba(140, 140, 140, .4);
}
.mig-vs__col--new .mig-vs__head { background: #5600ef; border-color: #4200b7; color: #fff; }
.mig-vs__col ul { list-style: none; margin: 0; padding: 0; }
.mig-vs__col li {
  padding: 20px 36px; text-align: center; margin-top: -1px;
  font-family: var(--font-body); font-weight: 500; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.05;
  color: #000; background: #fff; border: 1px solid rgba(0, 0, 0, .3);
}
.mig-vs__col--new li { background: #ece9fd; border-color: #cec5ff; }
.mig-vs__badge {
  align-self: center; justify-self: center; position: relative; z-index: 1;
  width: clamp(64px, 6vw, 95px); height: clamp(64px, 6vw, 95px); border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 40px); color: rgba(20, 20, 20, .6);
}

/* Weeks band */
.mig-weeks { background: #e4cef9; padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.mig-weeks__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mig-weeks__text p { color: var(--ink); }
.mig-weeks__media img { width: 100%; height: auto; display: block; }

/* Voices — reuses the theme .voices/.testimonial component. */
.mig-voices { padding-block: clamp(2rem, 4.5vw, 3.5rem); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .mig-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .mig-why__grid, .mig-weeks__grid, .mig-row { grid-template-columns: 1fr; }
  .mig-row--flip .mig-row__media { order: -1; }
}
@media (max-width: 760px) {
  .mig-cards--3, .mig-cards--2, .mig-show__grid { grid-template-columns: 1fr; }
  .mig-card--row { grid-template-columns: 96px 1fr; }
  .mig-card--row .mig-card__icon { padding: 16px; }
  .mig-card--row .mig-card__icon img { width: 40px; }
  .mig-vs__grid { grid-template-columns: 1fr; }
  .mig-vs__grid::before { display: none; }
  .mig-vs__badge { justify-self: center; }
  /* Stacked table cards on small screens */
  .mig-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mig-table, .mig-table tbody, .mig-table tr, .mig-table td { display: block; width: 100%; }
  .mig-table tr { margin-bottom: 12px; border: 1px solid #e4e6ee; }
  .mig-table td { border: 0; border-bottom: 1px solid #eef0f5; padding: 10px 14px; }
  .mig-table td:last-child { border-bottom: 0; }
  .mig-table td::before { content: attr(data-label); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px; }
}
@media (max-width: 560px) {
  .mig-cards--4 { grid-template-columns: 1fr; }
  .mig-hero__actions .btn { width: 100%; }
}

/* ── Lead-capture popover (reusable) ───────────────────────────────── */
.bh-popover { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bh-popover[hidden] { display: none; }
.bh-popover__backdrop { position: absolute; inset: 0; background: rgba(12, 10, 24, 0.55); backdrop-filter: blur(2px); animation: bh-pop-fade .18s ease; }
.bh-popover__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 480px;
  background: #fff; border-radius: 18px; padding: clamp(1.75rem, 4vw, 2.6rem);
  box-shadow: 0 24px 70px rgba(12, 10, 40, 0.35); animation: bh-pop-in .2s ease;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.bh-popover__close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0;
  background: #f2f2f6; border-radius: 50%; font-size: 22px; line-height: 1; color: #444;
  cursor: pointer; display: grid; place-content: center; transition: background .15s;
}
.bh-popover__close:hover { background: #e6e6ee; }
.bh-popover__title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--ink-2); margin: 0 0 .35rem; }
.bh-popover__sub { color: var(--muted); font-size: .95rem; line-height: 1.5; margin: 0 0 1.25rem; }
.bh-popover__error[hidden] { display: none; }
/* PDF popover form: sits flush in the dialog — no inner card, no shadow. */
.contact-form--pdf { background: transparent; box-shadow: none; padding: 0; }
.contact-form--pdf .cf-grid { grid-template-columns: 1fr; gap: 16px; }
.contact-form--pdf .ff input {
  border-radius: 12px; border: 1px solid #e6e6ef; padding: 28px 18px 12px; font-size: 1.05rem;
}
.contact-form--pdf .ff input:focus { box-shadow: inset 0 0 0 2px rgba(86, 0, 239, .35); border-color: transparent; }
.contact-form--pdf .ff label { left: 18px; font-size: 1.05rem; }
.contact-form--pdf .ff input:focus + label,
.contact-form--pdf .ff input:not(:placeholder-shown) + label { top: 9px; font-size: .72rem; }
.contact-form--pdf .contact-form__submit { width: 100%; margin-top: .6rem; padding: 17px; font-size: 1.05rem; border-radius: 12px; }
.contact-form--pdf .form-legal { margin-top: .9rem; }
body.bh-pop-open { overflow: hidden; }
@keyframes bh-pop-fade { from { opacity: 0; } }
@keyframes bh-pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .bh-popover__backdrop, .bh-popover__dialog { animation: none; } }

/* Gated download page */
/* Centre the page title on any page that hosts the download block (not other doc pages). */
.single-post:has(.pdf-download) .single-post__header { text-align: center; }
/* Short page — give it room to breathe above the title and below the note. */
.docpage:has(.pdf-download) { padding-block: clamp(4rem, 9vw, 7.5rem); }
.docpage:has(.pdf-download) .single-post__header { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.pdf-download { text-align: center; padding: 0; max-width: 640px; margin-inline: auto; }
/* Beat .entry-content a (purple + underline) so the button reads as a button. */
.pdf-download .btn,
.pdf-download .btn:hover,
.pdf-download .btn:visited { color: #000; text-decoration: none; }
.pdf-download__note { margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }

/* ── LP: Report Download thank-you page ────────────────────────────── */
.lp-rd { display: block; }
.lp-rd .container { max-width: 900px; text-align: center; }

.lp-rd__ready { padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.lp-rd__eyebrow {
  display: inline-block; margin-bottom: 1.25rem;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(230, 0, 126, .1); color: var(--purple, #E6007E);
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.lp-rd__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.1;
  color: var(--ink-2); margin: 0 0 1.25rem;
}
.lp-rd__sub {
  max-width: 720px; margin: 0 auto 2rem;
  color: rgba(20, 20, 20, .78);
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); line-height: 1.5;
}
.lp-rd__cta { margin: 0; }
.lp-rd__cta .btn { min-width: 260px; }

.lp-rd__offer {
  background: #f5f6f8;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid #e6e8ec;
}
.lp-rd__h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.2;
  color: var(--ink-2); margin: 0 0 1rem;
}
.lp-rd__offer-sub {
  max-width: 680px; margin: 0 auto 2rem;
  color: rgba(20, 20, 20, .78);
  font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.55;
}
/* Mobile — long button labels ("BOOK YOUR COMPLIMENTARY HEALTH CHECK") must wrap
   rather than push the layout wider than the viewport. */
@media (max-width: 640px) {
  .lp-rd__cta .btn {
    min-width: 0; max-width: 100%;
    white-space: normal; text-align: center;
    padding: 14px 22px; font-size: 15px; line-height: 1.25;
  }
  .lp-rd__title { font-size: clamp(1.75rem, 6.5vw, 2.25rem); }
  .lp-rd__h2 { font-size: clamp(1.4rem, 5.5vw, 1.9rem); }
}

/* ── LP: Databricks Masterclass ────────────────────────────────────── */
.dbm { --dbm-dark: #0a0a0a; --dbm-ink: #141414; --dbm-line: #e6e8ec; --dbm-mute: rgba(20,20,20,.7); --dbm-accent-dark: #ff3d8e; --dbm-accent-dark-glow: rgba(255,61,142,.35); }
.dbm-eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin-bottom: .85rem; }
.dbm-eyebrow--on-dark { color: #ff70b9; }
.dbm-h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.15; color: var(--dbm-ink); margin: 0 0 1rem; }
.dbm-h2--on-dark { color: #fff; }
.dbm-sub { max-width: 780px; margin: 0 0 1.5rem; color: var(--dbm-mute); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.55; }
.dbm-sub--on-dark { color: rgba(255,255,255,.72); }
.dbm-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* Hero */
.dbm-hero { background: #000; color: #fff; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.dbm-hero__badge { display: inline-flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-size: .9rem; color: rgba(255,255,255,.85); margin-bottom: clamp(2rem, 4vw, 3rem); }
.dbm-hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dbm-accent-dark); box-shadow: 0 0 0 4px rgba(255,61,142,.22), 0 0 20px rgba(255,61,142,.5); }
.dbm-hero__badge-cta { color: var(--yellow); text-decoration: none; font-weight: 600; }
.dbm-hero__badge-cta:hover { text-decoration: underline; }
.dbm-hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.dbm-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 1.5rem + 2.8vw, 4rem); line-height: 1.05; color: #fff; margin: 0 0 1.5rem; }
.dbm-hero__title em { font-style: normal; color: var(--purple); }
.dbm-hero__sub { color: rgba(255,255,255,.78); font-size: clamp(1rem, .95rem + .35vw, 1.2rem); line-height: 1.55; margin: 0 0 2rem; max-width: 62ch; }
.dbm-hero__meta { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; color: rgba(255,255,255,.85); font-size: .95rem; }
.dbm-hero__meta li strong { color: var(--yellow); font-weight: 600; }
.dbm-hero__tz { grid-column: 1 / -1; color: rgba(255,255,255,.55); font-size: .88rem; }
.dbm-hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dbm-hero__actions-note { color: rgba(255,255,255,.55); font-size: .9rem; }

/* Sidebar form panel — single clean white surface, no nested boxes or shadows. */
.dbm-form { background: #fff; color: var(--dbm-ink); padding: clamp(1.5rem, 2vw, 1.75rem); border-radius: 10px; scroll-margin-top: 80px; }
.dbm-form__kicker { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin-bottom: .5rem; }
.dbm-form__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1rem + .7vw, 1.5rem); line-height: 1.2; color: var(--dbm-ink); margin: 0 0 .5rem; }
.dbm-form__sub { color: var(--dbm-mute); font-size: .92rem; line-height: 1.5; margin: 0 0 1.25rem; }
.dbm-form__note { color: var(--dbm-mute); font-size: .82rem; line-height: 1.5; margin: 1rem 0 0; }
/* Strip the nested .contact-form background/padding/shadow — the .dbm-form is our surface. */
.dbm-form .contact-form,
.dbm-form .contact-form--masterclass { background: transparent; padding: 0; box-shadow: none; border-radius: 0; }
.dbm-form .contact-form--grid .cf-grid { grid-template-columns: 1fr; gap: 10px; }
.dbm-form .contact-form--grid .ff--full { grid-column: 1 / -1; }
.dbm-form .contact-form--grid .cf-foot { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 12px; }
.dbm-form .contact-form--grid .cf-foot .form-legal { text-align: left; }
.dbm-form .contact-form--grid .contact-form__submit { width: 100%; margin: 0; }
.dbm-form .contact-form .consent { margin: .5rem 0 0; font-size: .82rem; line-height: 1.45; }

/* Personas */
.dbm-personas { padding-block: clamp(3rem, 6vw, 5rem); background: #fff; }
.dbm-personas__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.dbm-persona { padding: clamp(1.25rem, 2vw, 1.75rem); border: 1px solid var(--dbm-line); border-radius: 12px; background: #fbfcfd; }
.dbm-persona__kicker { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--purple); margin-bottom: .75rem; }
.dbm-persona__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; line-height: 1.25; color: var(--dbm-ink); margin: 0 0 .6rem; }
.dbm-persona__body { color: var(--dbm-mute); font-size: .95rem; line-height: 1.5; margin: 0; }

/* The reality (light) */
.dbm-reality { padding-block: clamp(3.5rem, 7vw, 6rem); background: #f5f6f8; }
.dbm-reality__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.dbm-pain { display: flex; flex-direction: column; padding: clamp(1.25rem, 2vw, 1.5rem); background: #fff; border-radius: 12px; border: 1px solid var(--dbm-line); }
.dbm-pain__kicker { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--purple); margin-bottom: .8rem; }
.dbm-pain__title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--dbm-ink); margin: 0 0 .6rem; line-height: 1.25; }
.dbm-pain__body { color: var(--dbm-mute); font-size: .92rem; line-height: 1.5; margin: 0 0 auto; }
.dbm-pain__fix { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--dbm-line); color: var(--dbm-ink); font-size: .9rem; line-height: 1.45; font-weight: 500; }
.dbm-reality__close { max-width: 900px; color: var(--dbm-mute); font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.25rem; }
.dbm-reality__cta a { color: var(--purple); font-weight: 600; text-decoration: none; }
.dbm-reality__cta a:hover { text-decoration: underline; }

/* Spend still rising (dark) */
.dbm-spend { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--dbm-dark); color: #fff; }
.dbm-spend__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.dbm-stat { padding: clamp(1.5rem, 2.5vw, 2rem); border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.dbm-stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); color: #fff; line-height: 1; margin-bottom: 1rem; }
.dbm-stat__body { color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.5; margin: 0; }
.dbm-spend__quote { max-width: 900px; margin: 0; font-style: italic; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.55; }

/* Walk away with */
.dbm-walkaway { padding-block: clamp(3.5rem, 7vw, 6rem); background: #fff; }
.dbm-walkaway__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.dbm-half { padding: clamp(1.5rem, 2.5vw, 2rem); background: #fbfcfd; border-radius: 12px; border: 1px solid var(--dbm-line); }
.dbm-half__kicker { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); background: rgba(230,0,126,.08); padding: 6px 12px; border-radius: 999px; margin-bottom: 1.25rem; }
.dbm-half__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dbm-half__list li { position: relative; padding-left: 1.75rem; color: var(--dbm-ink); font-size: 1rem; line-height: 1.5; }
.dbm-half__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--purple); }
.dbm-bonus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.dbm-bonus__card { padding: 1.25rem 1.5rem; background: rgba(230,0,126,.06); border: 1px solid rgba(230,0,126,.16); border-radius: 12px; }
.dbm-bonus__card h4 { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--purple); margin: 0 0 .35rem; }
.dbm-bonus__card p { color: var(--dbm-ink); font-size: .95rem; line-height: 1.5; margin: 0; }
.dbm-walkaway__cta { margin: 0; }

/* Host */
.dbm-host { padding-block: clamp(3.5rem, 7vw, 6rem); background: #f5f6f8; }
.dbm-host__card { max-width: 900px; margin: clamp(1.5rem, 3vw, 2rem) 0 0; padding: clamp(1.75rem, 3vw, 2.5rem); background: #fff; border-radius: 14px; border: 1px solid var(--dbm-line); }
.dbm-host__id { display: flex; align-items: center; gap: 18px; margin-bottom: 1.5rem; }
.dbm-host__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.dbm-host__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--dbm-ink); }
.dbm-host__role { color: var(--dbm-mute); font-size: .95rem; }
.dbm-host__bullets { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 10px; }
.dbm-host__bullets li { position: relative; padding-left: 1.5rem; color: var(--dbm-ink); font-size: 1rem; line-height: 1.5; }
.dbm-host__bullets li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--purple); font-weight: 700; }
.dbm-host__close { color: var(--dbm-mute); font-size: 1rem; line-height: 1.55; padding-top: 1.25rem; border-top: 1px solid var(--dbm-line); margin: 0 0 1rem; }
.dbm-host__cta { margin: 0; }
.dbm-host__cta a { color: var(--purple); font-weight: 600; text-decoration: none; }
.dbm-host__cta a:hover { text-decoration: underline; }

/* Six patterns */
.dbm-patterns { padding-block: clamp(3.5rem, 7vw, 6rem); background: #fff; }
.dbm-patterns__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.dbm-pattern { padding: clamp(1.5rem, 2.5vw, 2rem); background: #fbfcfd; border-radius: 12px; border: 1px solid var(--dbm-line); position: relative; }
.dbm-pattern__num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .1em; color: var(--purple); background: rgba(230,0,126,.08); padding: 5px 10px; border-radius: 6px; margin-bottom: 1rem; }
.dbm-pattern__title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--dbm-ink); margin: 0 0 .6rem; line-height: 1.25; }
.dbm-pattern__body { color: var(--dbm-mute); font-size: .95rem; line-height: 1.5; margin: 0; }

/* Framework (dark) */
.dbm-framework { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--dbm-dark); color: #fff; }
.dbm-framework__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); margin-bottom: clamp(2rem, 3.5vw, 2.75rem); }
.dbm-tier { padding: clamp(1.5rem, 2.5vw, 2rem); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.dbm-tier__kicker { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: var(--yellow); letter-spacing: .04em; margin-bottom: .6rem; }
.dbm-tier__title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; margin: 0 0 1rem; line-height: 1.25; }
.dbm-tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dbm-tier li { position: relative; padding-left: 1.4rem; color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.5; }
.dbm-tier li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--dbm-accent-dark); box-shadow: 0 0 10px var(--dbm-accent-dark-glow); }
.dbm-framework__approach { max-width: 900px; margin: 0; color: rgba(255,255,255,.55); font-size: .95rem; line-height: 1.55; text-align: center; margin-inline: auto; }

/* Case study */
.dbm-case { padding-block: clamp(3.5rem, 7vw, 6rem); background: #f5f6f8; }
.dbm-case__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.dbm-case__col { padding: clamp(1.5rem, 2.5vw, 2rem); background: #fff; border-radius: 12px; border: 1px solid var(--dbm-line); }
.dbm-case__col--fix { background: rgba(230,0,126,.04); border-color: rgba(230,0,126,.18); }
.dbm-case__kicker { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); margin-bottom: 1rem; }
.dbm-case__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dbm-case__col li { position: relative; padding-left: 1.5rem; color: var(--dbm-ink); font-size: 1rem; line-height: 1.5; }
.dbm-case__col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: var(--purple); border-radius: 2px; }
.dbm-case__col--fix li::before { content: "✓"; top: 0; width: auto; height: auto; background: transparent; color: var(--purple); font-weight: 700; }
.dbm-case__stat { background: #0a0a0a; color: #fff; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 14px; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.dbm-case__stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 2rem + 3vw, 4rem); color: var(--yellow); line-height: 1; flex-shrink: 0; text-shadow: 0 0 40px rgba(247, 225, 74, .35); }
.dbm-case__stat-label { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.55; margin: 0; }

/* Final CTA (dark hero-style) */
.dbm-final { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #000; color: #fff; text-align: center; }
.dbm-final__date { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); padding: 8px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; margin-bottom: 1rem; }
.dbm-final__tz { color: rgba(255,255,255,.55); font-size: .9rem; margin-bottom: 1.75rem; }
.dbm-final__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.1; color: #fff; margin: 0 auto 1.25rem; max-width: 900px; }
.dbm-final__sub { max-width: 720px; margin: 0 auto 2rem; color: rgba(255,255,255,.72); font-size: 1.1rem; line-height: 1.55; }
.dbm-final__actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.dbm-final__secondary { color: rgba(255,255,255,.72); font-size: 1rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.dbm-final__secondary:hover { color: #fff; border-bottom-color: #fff; }

/* Responsive collapse */
@media (max-width: 1100px) {
  .dbm-personas__grid, .dbm-reality__grid { grid-template-columns: repeat(2, 1fr); }
  .dbm-personas__grid > :last-child, .dbm-reality__grid > :last-child { grid-column: 1 / -1; }
  .dbm-spend__grid { grid-template-columns: repeat(2, 1fr); }
  .dbm-patterns__grid, .dbm-framework__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .dbm-hero__grid { grid-template-columns: 1fr; }
  .dbm-form { position: static; }
}
@media (max-width: 720px) {
  .dbm-personas__grid, .dbm-reality__grid, .dbm-spend__grid, .dbm-patterns__grid, .dbm-framework__grid,
  .dbm-walkaway__grid, .dbm-bonus, .dbm-case__grid { grid-template-columns: 1fr; }
  .dbm-personas__grid > :last-child, .dbm-reality__grid > :last-child { grid-column: 1; }
  .dbm-hero__meta { grid-template-columns: 1fr; }
  .dbm-hero__badge { flex-wrap: wrap; }
  .dbm-case__stat { flex-direction: column; text-align: center; align-items: center; }
}

/* ── Promo popup (webinar) ─────────────────────────────────────────── */
.bh-promo { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bh-promo[hidden] { display: none; }
.bh-promo__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); animation: bh-pop-fade .2s ease; }
.bh-promo__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 900px;
  background-color: #fff; background-repeat: no-repeat; background-size: cover; background-position: center;
  border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  animation: bh-pop-in .22s ease; max-height: calc(100vh - 40px);
}
.bh-promo__close {
  position: absolute; top: 14px; right: 14px; z-index: 4; width: 34px; height: 34px; border: 0;
  border-radius: 50%; background: rgba(255, 255, 255, .85); color: #25314c; font-size: 20px;
  line-height: 1; cursor: pointer; display: grid; place-content: center; transition: background .15s;
}
.bh-promo__close:hover { background: #fff; }
.bh-promo__content { position: relative; z-index: 2; padding: clamp(1.75rem, 4vw, 3.25rem); max-width: 62%; }
.bh-promo__eyebrow { color: var(--purple, #5600ef); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(.82rem, 1.3vw, 1.05rem); margin: 0 0 .9rem; }
.bh-promo__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 1rem + 2.9vw, 3.5rem); line-height: 1.05; color: #0d0d14; margin: 0 0 1.1rem; }
.bh-promo__title-icon { display: inline-block; width: .95em; height: auto; vertical-align: -.18em; margin: 0 .08em; }
.bh-promo__title strong { font-weight: 700; }
.bh-promo__text { color: #6b7ba9; font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.5; margin: 0 0 1.75rem; max-width: 34ch; }
.bh-promo__cta { position: relative; display: inline-flex; }
.bh-promo__btn { align-self: flex-start; }
.bh-promo__arrow { position: absolute; left: calc(100% + 14px); bottom: -8px; width: 84px; height: auto; pointer-events: none; }
.bh-promo__person { position: absolute; right: 0; bottom: 0; height: 88%; width: auto; max-width: 48%; object-fit: contain; object-position: bottom right; z-index: 1; }
.bh-promo__corner-icon { position: absolute; top: 65px; right: 100px; width: 64px; height: auto; z-index: 3; transform: rotate(-6deg); filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .12)); }
@media (max-width: 680px) {
  .bh-promo__content { max-width: 100%; padding-bottom: 0; }
  .bh-promo__person { position: static; display: block; height: auto; max-width: 72%; margin: 1rem auto 0; }
  .bh-promo__corner-icon { top: 12px; right: 52px; width: 40px; }
  .bh-promo__title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .bh-promo__arrow { display: none; }
}

/* =====================================================================
   Healthcare page (page-healthcare.php) — Figma "Healthcare", 1920×6220.
   Desktop values are the Figma measurements; everything scales with the
   site's 1400px container and its gutter rather than the viewport.
   ===================================================================== */

.hc .hc-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 2.2vw, 3.75rem); line-height: 1.2;
  color: var(--ink-2); margin: 0;
}
.hc .hc-h2--center { text-align: center; margin-inline: auto; }
.hc .hc-sub { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.5; color: var(--muted); margin: 11px auto 0; max-width: 1147px; text-align: center; }
/* Figma buttons on this page: 48px tall, Poppins 400 18px. */
.hc .hc-btn { font-size: 18px; font-weight: 400; padding: 15px 30px; }

/* Labelled placeholder for images that have not been uploaded yet. */
.hc-ph {
  display: grid; place-items: center; width: 100%;
  background: #eef0f4 repeating-linear-gradient(135deg, transparent 0 22px, rgba(0, 0, 0, .025) 22px 24px);
  border: 1px dashed rgba(20, 20, 20, .18); color: rgba(20, 20, 20, .45);
  font-size: 14px; letter-spacing: .02em; text-align: center; padding: 1rem;
}

/* ------------------------------------------------------------ Hero */
.page-hero {
  text-align: center;
  background: linear-gradient(180deg, #ece9fd 0%, #ffffff 55.21%);
  padding-block: clamp(2.5rem, 3.65vw, 70px);
}
.page-hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 1.4rem + 2.85vw, 4.6875rem); line-height: 1.2;
  color: var(--ink-2); max-width: 1051px; margin: 0 auto; letter-spacing: -0.01em;
}
.page-hero__sub { max-width: 987px; margin: 20px auto 0; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.5; color: var(--muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.page-hero__actions .btn { min-height: 60px; }

/* ---------------------------------------------- Shared primitives */
/* Solid rectangular badge, dark panel and chevron list. Introduced for the
   Healthcare problems/needs band and reused by the Migration benefits block. */
.badge-solid {
  display: inline-flex; align-items: center; min-height: 54px;
  padding: 11px 22px; background: var(--pink); color: #fff;
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; line-height: 32px; text-transform: uppercase;
}
.badge-solid--purple { background: var(--purple); }

.panel-dark { background: #1c1c22; color: #fff; padding: 40px 32px; }
.panel-dark__title {
  margin: 0 0 24px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 1rem + 1vw, 1.875rem); line-height: 1.2; color: var(--green-bright);
}

.chev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.chev-list li { display: flex; gap: 10px; align-items: flex-start; }
.chev-list li::before {
  content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-top: .42em;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg); color: var(--pink);
}
.chev-list--green li::before { color: var(--green-bright); }
.chev-list--purple li::before { color: var(--purple); }

/* ------------------------------------------- Problems / Needs band */
.hc-band { padding-block: clamp(2.5rem, 4vw, 70px); }
.hc-band__grid {
  display: grid; grid-template-columns: minmax(0, 699fr) minmax(0, 691fr);
  gap: clamp(1.5rem, 2.4vw, 46px); align-items: start;
}
/* Soft green bloom behind the problems column (Figma: Ellipse 45). */
.hc-band__problems { position: relative; }
.hc-band__problems::before {
  content: ""; position: absolute; z-index: -1;
  left: -12%; top: 18%; width: 118%; aspect-ratio: 596 / 586;
  background: radial-gradient(closest-side, rgba(40, 167, 121, .15), transparent 70%);
  pointer-events: none;
}
.hc-problems { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 47px; }
.hc-problems li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 20px; line-height: 22px; color: var(--ink); }
.hc-problems li::before {
  content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-top: .3em;
  border-right: 2px solid var(--pink); border-top: 2px solid var(--pink);
  transform: rotate(45deg);
}

.hc-band__needs { padding: 40px 32px 40px 24px; }
.hc-needs { list-style: none; margin: 0; padding: 0; }
.hc-need { display: flex; gap: 12px; align-items: flex-start; padding: 18px 0; }
.hc-need + .hc-need { border-top: 1px solid rgba(255, 255, 255, .12); }
.hc-need__icon { flex: 0 0 40px; width: 40px; height: 40px; color: #fff; display: grid; place-items: center; }
.hc-need__icon svg, .hc-need__icon img { width: 40px; height: 40px; }
.hc-need__body { display: grid; gap: 8px; }
.hc-need__title { font-weight: 600; font-size: 20px; line-height: 1.3; color: #fff; }
.hc-need__text { font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .7); }

/* --------------------------------------------------- Solutions */
.hc-solutions { padding-block: clamp(3rem, 5.2vw, 100px); }
.hc-solutions .hc-h2 { max-width: 980px; }
.hc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; margin-top: 30px; }
.hc-card { padding: 24px; min-height: 210px; }
.hc-card--pink   { background: rgba(254, 0, 121, .04); --hc-tag: #fe0079; }
.hc-card--purple { background: rgba(86, 0, 239, .04);  --hc-tag: #5600ef; }
.hc-card--blue   { background: rgba(9, 74, 250, .05);  --hc-tag: var(--blue-bright); }
.hc-card--green  { background: rgba(45, 145, 46, .07); --hc-tag: #2d912e; }
.hc-card__tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 20px;
  border-radius: 100px; background: var(--hc-tag); color: #fff;
  font-weight: 600; font-size: 14px; line-height: 1;
}
.hc-card__title { margin: 12px 0 0; font-family: var(--font-body); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--ink); }
.hc-card__text { margin: 8px 0 0; font-size: 18px; line-height: 27px; letter-spacing: -0.34px; color: var(--ink); }

/* --------------------------------------------------- Impact stats */
.hc-stats { background: #0f172a center / cover no-repeat; color: #fff; padding-block: clamp(2.5rem, 3.9vw, 75px); }
.hc-stats__inner { display: flex; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
.hc-stats__title {
  flex: 0 0 auto; max-width: 370px; margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + .9vw, 2.25rem); line-height: 1.2; color: var(--green-bright);
}
.hc-stats__list { flex: 1 1 auto; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.hc-stat { display: grid; gap: 12px; justify-items: center; }
.hc-stat__value { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.3vw, 3rem); line-height: 1.25; color: #fff; }
.hc-stat__value svg { width: .6em; height: .6em; }
.hc-stat__label { font-weight: 500; font-size: 16px; line-height: 1.5; color: #cbd5e1; }
/* Migration's variant of the band: no side heading, green labels. */
.hc-stats__inner--center { justify-content: center; }
.hc-stats__inner--center .hc-stats__list { flex: 0 1 auto; width: min(100%, 1100px); }
.hc-stat__label--green { color: var(--green-bright); }

/* ----------------------------------------------------- Outcomes */
.hc-outcomes { padding-block: clamp(3.5rem, 6.3vw, 122px); }
/* Extra inset on top of the site gutter so the rows are not so tight against
   the page edges, and more air between them. */
.hc-outcomes > .container { padding-inline: calc(var(--gutter) + clamp(0px, 2.6vw, 50px)); }
.hc-outcomes__head { margin-bottom: 72px; }
.hc-outcome { display: grid; grid-template-columns: minmax(0, 626fr) minmax(0, 687fr); gap: clamp(2rem, 4.53vw, 87px); align-items: center; }
.hc-outcome + .hc-outcome { margin-top: clamp(3.75rem, 4.8vw, 76px); }
.hc-outcome--img-left { grid-template-columns: minmax(0, 687fr) minmax(0, 626fr); }
.hc-outcome--img-left .hc-outcome__media { order: -1; }
/* Figma sets this at 50px in a 626px column; our container is 120px narrower,
   so the same type is scaled by that ratio to keep the two-line break. */
.hc-outcome__title {
  margin: 0 0 16px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 1.25rem + 1.45vw, 2.8125rem); line-height: 1.2; color: var(--ink);
}
.hc-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hc-bullets li { position: relative; padding-left: 20px; font-size: 16px; line-height: 24px; letter-spacing: -0.34px; color: var(--ink); }
.hc-bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--purple); }
.hc-outcome__text .hc-btn { margin-top: 40px; }
.hc-outcome__media img { display: block; width: 100%; height: auto; }

/* ----------------------------------------------- Customer story */
.hc-story { background: #f2f2f2; padding-block: clamp(3rem, 4.2vw, 80px); }
.hc-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 96px); align-items: start; }
.hc-story__eyebrow {
  margin: 0 0 8px; font-family: var(--font-display); font-weight: 700;
  font-size: 20px; line-height: 1.2; text-transform: uppercase; color: var(--pink);
}
.hc-story__text .hc-h2 { max-width: 566px; }
.hc-story__body { margin: 10px 0 40px; max-width: 642px; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.hc-story__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.hc-story__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.hc-story__points svg { flex: 0 0 auto; color: var(--purple); }
.hc-strip {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--pink); color: #fff;
}
.hc-strip li { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 70px; padding: 12px 8px; text-align: center; }
.hc-strip li + li { border-left: 1px solid #fff; }
.hc-strip strong { font-weight: 700; font-size: 28px; line-height: 1.5; }
.hc-strip span { font-size: 16px; line-height: 1.5; }

/* ------------------------------------------------------ Leap CTA */
.leap--lg { padding-block: clamp(2.75rem, 4.2vw, 81px); }
.leap--lg h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.75rem); }
.leap--lg p:not(.leap__script) { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); }

/* ---------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .hc-stats__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .hc-stats__title { max-width: none; text-align: center; }
  .hc-stats__list { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}
@media (max-width: 980px) {
  .hc-band__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hc-problems { gap: 26px; }
  .hc-outcome { grid-template-columns: 1fr; gap: 1.5rem; }
  .hc-outcome--img-left .hc-outcome__media { order: 0; }
  .hc-outcome + .hc-outcome { margin-top: 3.5rem; }
  .hc-outcomes__head { margin-bottom: 2.5rem; }
  .hc-story__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hc-strip { grid-template-columns: repeat(3, 1fr); }
  .hc-strip li:nth-child(4) { border-left: 0; }
  .hc-strip li:nth-child(n + 4) { border-top: 1px solid #fff; }
}
@media (max-width: 760px) {
  .hc-cards { grid-template-columns: 1fr; }
  .hc-card { min-height: 0; }
  .hc-problems li { font-size: 17px; line-height: 25px; }
  .badge-solid { font-size: 16px; min-height: 46px; padding: 9px 18px; }
  .hc-card__text, .hc-story__body { font-size: 16px; line-height: 1.55; letter-spacing: 0; }
}
@media (max-width: 620px) {
  .page-hero__actions .btn { width: 100%; }
  .hc-stats__list { grid-template-columns: 1fr 1fr; }
  .hc-strip { grid-template-columns: 1fr 1fr; }
  .hc-strip li { flex-direction: column; gap: 2px; }
  .hc-strip li:nth-child(4) { border-left: 1px solid #fff; }
  .hc-strip li:nth-child(3) { border-left: 0; }
  .hc-strip li:nth-child(n + 3) { border-top: 1px solid #fff; }
  .hc-strip li:nth-child(5) { grid-column: 1 / -1; border-left: 0; }
  .panel-dark { padding: 28px 20px; }
  .hc-band__needs { padding: 28px 20px; }
  .hc-need__body { gap: 4px; }
}

/* =====================================================================
   Landing page (page-landing.php) — Figma "Landing page", 1920×10084.
   Only the hero and the two band variants are new here; every other
   section on that template reuses the existing front-page blocks.
   ===================================================================== */

/* ------------------------------------------------------------- Hero */
.lp-hero { padding-block: clamp(2.5rem, 6vw, 115px) clamp(2rem, 3.4vw, 65px); text-align: center; }
.lp-hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.25rem, 1.1rem + 3.9vw, 5rem); line-height: 1.2;
  letter-spacing: -0.02em; color: #000; margin: 0 auto;
  max-width: 1118px; text-wrap: balance;
}
.lp-hero__sub { margin: 8px auto 0; max-width: 1037px; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 30px; color: #474650; }

.lp-hero__cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 31px;
  max-width: 1162px; margin: 24px auto 0; text-align: left;
}
.lp-card {
  background: rgba(227, 219, 241, .1);
  border: 4px solid #fff; border-radius: 10px;
  box-shadow: 0 4px 43.9px -15px rgba(18, 6, 39, .19);
  padding: 20px 24px 24px;
}
.lp-card__eyebrow {
  display: block; font-weight: 600; font-size: 14px; line-height: 30px;
  letter-spacing: -0.02em; text-transform: uppercase; color: var(--blue-bright);
  margin: 0;
}
.lp-card--pink .lp-card__eyebrow { color: var(--pink); }
.lp-card__title { margin: 6px 0 0; font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: -0.02em; color: var(--ink); }
.lp-card__text { margin: 6px 0 0; font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: -0.02em; color: #3d3d3d; }

/* "Powered by" credit between the cards and the buttons. */
.lp-powered { margin-top: clamp(2rem, 3.5vw, 67px); }
.lp-powered__label { margin: 0; font-weight: 600; font-size: 20px; line-height: 30px; letter-spacing: -0.02em; text-transform: uppercase; color: var(--purple); }
.lp-powered__rule { width: 60px; height: 0; margin: 9px auto; border: 0; border-top: 1px solid rgba(86, 0, 239, .5); }
.lp-powered__title { margin: 0; font-weight: 700; font-size: 20px; line-height: 30px; letter-spacing: -0.02em; color: var(--ink); }
.lp-powered__text { margin: 0 auto; max-width: 711px; font-weight: 400; font-size: 16px; line-height: 30px; letter-spacing: -0.02em; color: var(--ink); }

.lp-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(1.75rem, 3.5vw, 67px); }
.lp-hero__actions .btn { min-height: 60px; }

/* ------------------------------- "Talk to your data platform" band */
/* Same block as the front page, but on white with dark type and the
   diagram in a device bezel rather than the pink band. */
.band-ai--plain { background: #fff; color: var(--ink); padding-block: clamp(2.5rem, 5vw, 96px) 0; }
.band-ai--plain::before,
.band-ai--plain::after { content: none; }
.band-ai--plain .section-title--light,
.band-ai--plain .section-sub--light { color: var(--ink); }
.band-ai--plain .section-title--light { max-width: 1025px; margin-inline: auto; }
.band-ai--plain .section-sub--light { max-width: 1162px; margin-inline: auto; }

.lp-device {
  max-width: 1372px; margin: clamp(1.5rem, 3vw, 46px) auto 0;
  background: #000; border: clamp(7px, .76vw, 14.5px) solid rgba(6, 22, 9, .97);
  border-radius: clamp(18px, 1.9vw, 36px); overflow: hidden; line-height: 0;
}
.lp-device img { display: block; width: 100%; height: auto; border-radius: clamp(9px, .95vw, 18px); }

/* ------------------------------------------------------- Lock-in band */
/* Heading over the shared capabilities grid, closed by a button. */
.lp-lockin { padding-block: clamp(2.5rem, 5.5vw, 106px) clamp(2.5rem, 5vw, 96px); border-top: 2px solid #ece5f8; }
.lp-lockin__title { max-width: 1088px; margin: 0 auto; text-align: center; }
.lp-lockin .band-ai__features { margin-top: clamp(1.75rem, 3.6vw, 44px); }
.lp-lockin__actions { display: flex; justify-content: center; margin-top: clamp(1.75rem, 3.6vw, 44px); }

/* ---------------------------------------------------- Responsive */
@media (max-width: 900px) {
  .lp-hero__cards { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 620px) {
  .lp-hero__actions .btn { width: 100%; }
  .lp-powered__text, .lp-powered__title { font-size: 17px; line-height: 27px; }
}

/* =====================================================================
   AI Agent Migrate (page-agent-migrate.php) — Figma "Migration", 1920×6659.
   Reuses the shared page hero, stats band, chevron lists, dark panel and
   Leap CTA; only the blocks below are specific to this page.
   ===================================================================== */

/* ------------------------------------------------------- Quote band */
.mg-quote {
  background: #0f172a; color: #fff;
  border-bottom: 3px solid var(--green-bright);
  padding-block: clamp(2rem, 3.4vw, 56px);
}
.mg-quote p {
  margin: 0 auto; max-width: 1050px; text-align: center; text-wrap: balance;
  font-size: clamp(1rem, .9rem + .45vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .92);
}

/* --------------------------------------- "Why legacy platforms…" grid */
.mg-why { padding-block: clamp(2.5rem, 5vw, 96px) clamp(2rem, 3.5vw, 60px); }
.mg-why__head { text-align: center; margin-bottom: clamp(1.5rem, 2.6vw, 36px); }
.mg-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.7vw, 26px); }
.mg-card {
  border: 1px solid var(--ink); background: #fff; padding: 22px 24px 24px;
}
.mg-card__title { margin: 0 0 8px; font-weight: 700; font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); line-height: 1.3; color: var(--ink); }
.mg-card__text { margin: 0; font-size: 14px; line-height: 21px; color: rgba(20, 20, 20, .8); }

/* ------------------------------------- "What our Agent Migrate Delivers" */
.mg-delivers { padding-block: clamp(2rem, 3.5vw, 60px) clamp(2.5rem, 5vw, 96px); }
.mg-delivers__head { margin-bottom: clamp(1.5rem, 2.6vw, 36px); }
.mg-delivers__head .mg-sub { max-width: 1000px; margin-inline: 0; text-align: left; }
.mg-deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.4vw, 22px); }
.mg-deck__card {
  display: flex; flex-direction: column; padding: 20px 20px 0;
  background: linear-gradient(180deg, var(--mg-tint, #f6f6fa) 0%, rgba(255, 255, 255, .25) 100%);
}
.mg-deck__card--pink   { --mg-tint: rgba(254, 0, 121, .14); --mg-chip: #e8197c; }
.mg-deck__card--purple { --mg-tint: rgba(86, 0, 239, .14);  --mg-chip: #5600ef; }
.mg-deck__card--blue   { --mg-tint: rgba(9, 74, 250, .12);  --mg-chip: #1452e8; }
.mg-deck__card--green  { --mg-tint: rgba(45, 145, 46, .14); --mg-chip: #2d912e; }
.mg-chip {
  align-self: flex-start; display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 100px; background: var(--mg-chip, var(--ink));
  color: #fff; font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: .03em; text-transform: uppercase;
}
.mg-deck__title { margin: 16px 0 10px; font-weight: 600; font-size: clamp(1rem, .9rem + .3vw, 1.125rem); line-height: 1.3; text-transform: uppercase; color: var(--ink); }
.mg-deck__text { margin: 0 0 16px; font-size: 14px; line-height: 22px; color: rgba(20, 20, 20, .82); }
.mg-deck__media { margin-top: auto; }
.mg-deck__media img { display: block; width: calc(100% + 40px); margin-inline: -20px; height: auto; }

/* -------------------------------------------- Platform / cloud band */
.mg-platform { background: #eef0fd; padding-block: clamp(2.5rem, 4.6vw, 88px); }
.mg-platform__head { text-align: center; margin-bottom: clamp(1.5rem, 2.4vw, 32px); }
.mg-platform__figure { background: #fff; padding: clamp(1rem, 1.6vw, 24px); }
.mg-platform__figure img { display: block; width: 100%; height: auto; }

/* ------------------------------------------- Cost savings by platform */
.mg-savings { padding-block: clamp(2.5rem, 5vw, 96px); }
.mg-savings__head { text-align: center; margin-bottom: clamp(1.75rem, 3vw, 44px); }
.mg-save { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 10px; align-content: start; }
.mg-save__icon { grid-row: span 1; width: 44px; height: 44px; display: grid; place-items: center; background: var(--mg-tint, #f3f3f8); border-radius: 8px; }
.mg-save__icon img, .mg-save__icon svg { width: 26px; height: 26px; }
.mg-save__body { grid-column: 1 / -1; }
.mg-save__title { margin: 0 0 6px; font-weight: 700; font-size: clamp(1rem, .92rem + .3vw, 1.125rem); line-height: 1.3; color: var(--ink); }
.mg-save__text { margin: 0; font-size: 14px; line-height: 21px; color: rgba(20, 20, 20, .8); }

/* ------------------------------------------------- Comparison table */
.mg-vs { padding-block: clamp(2.5rem, 5vw, 96px) 0; }
.mg-vs__head { text-align: center; margin-bottom: clamp(1.75rem, 3vw, 44px); }
.mg-vs__accent { color: var(--pink); }
.mg-vs__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(.75rem, 1.5vw, 24px); align-items: start; }
.mg-vs__col { min-width: 0; }
.mg-vs__label {
  margin: 0; padding: 12px 16px; text-align: center;
  font-weight: 700; font-size: 15px; letter-spacing: .03em; text-transform: uppercase;
}
.mg-vs__col--old .mg-vs__label { background: #e9e9ee; color: var(--ink); }
.mg-vs__col--new .mg-vs__label { background: var(--purple); color: #fff; }
.mg-vs__list { list-style: none; margin: 0; padding: 0; }
.mg-vs__list li { padding: 14px 16px; font-size: 14px; line-height: 21px; color: var(--ink); border: 1px solid var(--line); border-top: 0; }
.mg-vs__col--new .mg-vs__list li { background: #f7f5ff; border-color: #e2daff; }
.mg-vs__mid { align-self: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #9a9aa6; padding-inline: 4px; }

/* --------------------------------------- Technical / Business benefits */
.mg-benefits { padding-block: clamp(2.5rem, 5vw, 96px); background: linear-gradient(180deg, #faf9ff 0%, #ffffff 100%); }
.mg-benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 2.6vw, 40px); align-items: start; }
.mg-benefits__title { margin: 0 0 24px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .8vw, 1.5rem); line-height: 1.2; color: var(--purple); }
.mg-benefits__pane--light { padding: 40px 32px; }
.mg-benefits .chev-list li { font-size: 15px; line-height: 22px; }
.mg-benefits__pane--dark .chev-list li { color: rgba(255, 255, 255, .88); }

/* Shared heading sizes on this page. */
.mg-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.1rem + 2vw, 3.125rem); line-height: 1.2; color: var(--ink); margin: 0; }
.mg-h2--center { text-align: center; margin-inline: auto; }
.mg-sub { margin: 12px auto 0; max-width: 980px; font-size: clamp(.95rem, .9rem + .2vw, 1rem); line-height: 1.6; color: rgba(20, 20, 20, .8); text-align: center; }

/* ---------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .mg-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mg-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-benefits__grid { grid-template-columns: 1fr; }
  .mg-vs__grid { grid-template-columns: 1fr; }
  .mg-vs__mid { justify-self: center; padding-block: 6px; }
}
@media (max-width: 620px) {
  .mg-grid-3 { grid-template-columns: 1fr; }
  .mg-deck { grid-template-columns: 1fr; }
  .mg-benefits__pane--light, .mg-benefits__pane--dark { padding: 28px 20px; }
}

/* ---------------------------------------------------- Nav dropdown */
/* One level of sub-items under a top-level link (e.g. Solutions).
   Opens on hover, keyboard focus, or a tap that sets .is-open. */
.nav-list .menu-item-has-children { position: relative; }
.nav-list .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-list .menu-item-has-children > a::before {
  content: ""; width: 7px; height: 7px; margin-top: -3px; flex: 0 0 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s var(--ease); order: 2;
}
.nav-list .sub-menu {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 232px; background: var(--ink);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .38);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 20;
}
/* Keeps the pointer from falling through the gap above the panel. */
.nav-list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-list .menu-item-has-children:hover > .sub-menu,
.nav-list .menu-item-has-children:focus-within > .sub-menu,
.nav-list .menu-item-has-children.is-open > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-list .menu-item-has-children:hover > a::before,
.nav-list .menu-item-has-children.is-open > a::before { transform: rotate(-135deg); margin-top: 2px; }
.nav-list .sub-menu a {
  display: block; width: 100%; padding: 9px 20px; white-space: nowrap;
  font-size: 15px; text-transform: none; letter-spacing: 0;
}
.nav-list .sub-menu a::after { content: none; }
.nav-list .sub-menu a:hover,
.nav-list .sub-menu a:focus-visible { background: rgba(255, 255, 255, .08); }

@media (max-width: 980px) {
  /* Stacked nav: the sub-items simply sit indented under the parent. */
  .nav-list .menu-item-has-children { position: static; }
  .nav-list .sub-menu {
    position: static; translate: none; transform: none;
    opacity: 1; visibility: visible; min-width: 0;
    background: transparent; border: 0; box-shadow: none;
    padding: 0 0 4px 14px; border-left: 1px solid rgba(255, 255, 255, .16); margin-left: 2px;
  }
  .nav-list .sub-menu::before { content: none; }
  .nav-list .sub-menu a { padding: 8px 0; }
  .nav-list .menu-item-has-children > a::before { display: none; }
}

/* Astro migration preview compatibility */
.form-card { background:#fff; border-radius:24px; padding:36px; box-shadow:0 16px 50px #16004422; }

/* Astro migration: WordPress previously injected these homepage backgrounds. */
body.home .band-ai::after { background-image: url("/wp-content/uploads/2026/06/pink-pattern-bg-1536x305.webp"); }

/* BigHammer visual-parity pass 1: original homepage components */
.bh-migration-form {background:#fff;padding:clamp(1rem,2vw,2rem);display:grid;gap:12px;color:#1a1a1a;}
.bh-migration-form input:not([type=checkbox]),.bh-migration-form textarea,.bh-newsletter input{width:100%;border:0;background:#f0f2f7;color:#111;padding:14px;font:inherit;border-radius:0;}
.bh-migration-form textarea{min-height:118px;resize:vertical;}
.bh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.bh-consent{display:flex;align-items:flex-start;gap:10px;font-size:.72rem;line-height:1.5;}
.bh-consent input{flex-shrink:0;margin-top:4px;}
.bh-form-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:.75rem;}
.bh-form-actions a{text-decoration:underline;}
.bh-form-actions button[disabled],.bh-newsletter button[disabled]{cursor:not-allowed;opacity:.75;}
.bh-form-status{font-size:.75rem;color:#686868;margin:0;}
.bh-newsletter{display:grid;gap:10px;}
.bh-news-actions{display:flex;gap:12px;align-items:center;}
.bh-newsletter small{font-size:.7rem;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(max-width:640px){.bh-form-grid{grid-template-columns:1fr}.bh-form-actions{align-items:flex-start;}}


/* BigHammer parity pass 2: measured structural corrections */
.logo__img {display:block;width:auto;height:32px;max-width:205px;object-fit:contain}
.hero__media img {width:100%;height:auto;object-fit:contain}
.band-ai__media img {display:block;width:100%;height:auto;object-fit:contain}
.help-panel[hidden]{display:none!important}
.bh-migration-form{background:#fff;padding:clamp(1.25rem,2.3vw,2rem);display:grid;gap:12px;color:#161616;max-width:100%;}
.bh-migration-form input:not([type=checkbox]),.bh-migration-form textarea,.bh-newsletter input{width:100%;min-width:0;border:0;background:#eff2f8;color:#111;padding:14px;font:inherit;border-radius:0;}
.bh-migration-form textarea{min-height:125px;resize:vertical}
.bh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bh-consent{display:flex;align-items:flex-start;gap:10px;font-size:.7rem;line-height:1.5}
.bh-consent input{flex-shrink:0;margin-top:4px}
.bh-form-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:.75rem}
.bh-form-actions a{text-decoration:underline}
.bh-form-status{font-size:.7rem;color:#666;margin:0}
.bh-migration-form button[disabled],.bh-newsletter button[disabled]{cursor:not-allowed;opacity:.8}
.bh-newsletter{display:grid;gap:10px}.bh-news-actions{display:flex;gap:12px;align-items:center}
.bh-blog-portrait{filter:grayscale(1);object-fit:cover}
@media(max-width:640px){.bh-form-grid{grid-template-columns:1fr}}

/* Source-reviewed parity fixes (2026-10-29). Keep these scoped to homepage. */
body.home .blog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; }
body.home .blog-grid > .post-card { min-width:0; width:100%; }
body.home .post-card__media { display:block; overflow:hidden; width:100%; }
body.home .post-card__media img { display:block; width:100%; height:auto; aspect-ratio:447/300; object-fit:cover; }
body.home .post-card__body { min-width:0; }
body.home .band-ai__media .glass-card { max-width:100%; overflow:hidden; }
body.home .band-ai__media .glass-card img { display:block; width:100%; height:auto; }
body.home .help-panel[hidden] { display:none !important; }
body.home .get-started .bh-migration-form { box-sizing:border-box; width:100%; }
body.home .bh-migration-form input,body.home .bh-migration-form textarea { box-sizing:border-box; }
@media(max-width:820px){body.home .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){body.home .blog-grid{grid-template-columns:1fr;}}

/* Approved BigHammer homepage images - targeted placement */
body.home .hero__media img[src="/images/bighammer-pipeline-dashboard-clean.webp"] {
  background: transparent;
  border-radius: 12px;
}
body.home .glass-card img[src="/images/bighammer-control-plane-approved.webp"] {
  background: transparent;
  object-fit: contain;
  border-radius: 18px;
}

/* BH_HELP_TABS_PARITY_START */
/* Homepage challenge tiles: fixed image viewport, stable text/media positions,
   no crop/stretch, and same section height as the selected tab changes. */
body.home .help .help-panels {
  margin-top: clamp(30px, 3.5vw, 55px);
}
body.home .help .help-panel .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  margin-top: 0;
  min-height: 365px;
}
body.home .help .help-panel .split__text {
  min-width: 0;
  align-self: center;
}
body.home .help .help-panel .split__media {
  width: 100%;
  height: 340px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.home .help .help-panel .split__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}
body.home .help .help-panel[hidden] { display: none !important; }
@media (max-width: 980px) {
  body.home .help .help-panel .split { min-height: 330px; }
  body.home .help .help-panel .split__media { height: 300px; }
}
@media (max-width: 700px) {
  body.home .help .help-panel .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
  }
  body.home .help .help-panel .split__media {
    height: auto;
    aspect-ratio: 716 / 485;
    max-height: 350px;
  }
}
 /* BH_HELP_TABS_PARITY_END */


/* BH_CHALLENGE_APPROVED_V5_START */
/* Approved 3:2 illustrations — preserve full artwork and match across tabs. */
body.home .help .help-panel .split__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(235px, 25vw, 385px);
  min-width: 0;
  overflow: hidden;
}
body.home .help .help-panel .split__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}
body.home .help .help-panel[hidden] { display: none !important; }
@media (max-width: 700px) {
  body.home .help .help-panel .split__media {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}
/* BH_CHALLENGE_APPROVED_V5_END */

/* BH_SOLUTIONS_NAV_V2 */
/* Keep all three real page links readable in the dark dropdown. */
.site-header .nav-list .sub-menu a,
.site-header .nav-list .sub-menu a:visited {
  display: block;
  color: #fff !important;
  opacity: 1;
  text-decoration: none;
  font-weight: 600;
}
.site-header .nav-list .sub-menu a:hover,
.site-header .nav-list .sub-menu a:focus-visible {
  color: #d5ff82 !important;
  background: #252431;
}

/* Constrain horizontal overflow from the tilted homepage dashboard. */
section[aria-labelledby="hero-title"]:has(.hero__media img[src="/images/bighammer-pipeline-dashboard-clean.webp"]) {
  background-image: url("/images/bighammer-home-hero-bg.png");
  background-position: center;
  background-size: cover;
  overflow-x: clip;
  overflow-y: visible;
}

/* BigHammer website form and footer parity */
.get-started:has(form.bh-migration-form) {
  position: relative;
  isolation: isolate;
}

.get-started:has(form.bh-migration-form)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/images/bighammer-form-grid.png") center / cover no-repeat;
  opacity: .65;
  mix-blend-mode: screen;
}

.get-started.bh-demo-contact:has(form.bh-migration-form) {
  background: radial-gradient(90% 120% at 10% 0%, #6a16ff 0%, #5600ef 45%, #3d00ad 100%);
}

.get-started form.bh-migration-form a[href="/privacy-policy/"],
.get-started form.bh-migration-form a[href="/terms-and-conditions/"] {
  color: #5600ef;
  text-underline-offset: .15em;
}

@media (min-width: 1000px) {
  .get-started.bh-demo-contact:has(form.bh-migration-form) {
    padding-block: 64px;
  }

  .get-started.bh-demo-contact:has(form.bh-migration-form) h2 {
    font-size: 40px;
    line-height: 1.15;
  }

  .get-started form.bh-migration-form {
    padding: 40px;
  }

  .get-started form.bh-migration-form textarea {
    box-sizing: border-box;
    min-height: 139px;
    padding: 30px 16px 7px;
  }

  .get-started form.bh-migration-form button[type="submit"] {
    min-width: 190px;
  }
}

.site-footer .socials a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .bh-newsletter .bh-news-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-block: 8px 12px;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer .bh-newsletter .bh-news-consent input[type="checkbox"] {
  width: 1em;
  height: 1em;
  flex: none;
  margin: .2em 0 0;
}

.site-footer .bh-newsletter .bh-news-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .bh-newsletter .bh-news-actions > span {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 20px;
}
