/* =====================================================================
   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 */

  --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;
}
.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;
}

/* -------------------------- 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;
}
/* 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); }
/* 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 {
  background: linear-gradient(180deg, #16161f, #0c0c12);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(13, 13, 20, 0.22);
  overflow: hidden;
}
.codebox__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.codebox__dots { display: inline-flex; gap: 6px; }
.codebox__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.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.02em; color: rgba(255, 255, 255, 0.72); }
.codebox__body { padding: clamp(1.1rem, 2.2vw, 1.6rem); color: rgba(255, 255, 255, 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(86, 0, 239, 0.3); color: #cdb6ff;
  font-family: var(--font-alt); font-size: 0.78rem; 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(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}
.codebox__most strong { color: var(--green-bright); font-weight: 700; }
.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; }
.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 {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--purple); cursor: pointer;
}
.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; }

/* ----------------------------- 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: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; }
.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%;
  height: clamp(260px, 38vw, 560px);
  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: 28px; 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 + 2.8vw, 3.25rem); 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: 720px; 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: #d9ccff; 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; }

@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); }

/* 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: 24px; }
.keypoint::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; 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: 54rem; 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 */
.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: 0; right: 16px; bottom: 0; height: 55%; background: var(--green-bright); z-index: 0; }
.founder__photo img { position: relative; z-index: 1; width: 100%; 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; }
