:root {
  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-numbers: 'Inter', 'Poppins', sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2.8rem, 1.45rem + 4.8vw, 6.3rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --cream: #f4f7fb;
  --cream-2: #ffffff;
  --ink: #111315;
  --muted: #61666d;
  --line: #dce3ee;
  --teal: #00a890;
  --teal-dark: #007c6b;
  --blue: #17479e;
  --blue-dark: #11377d;
  --cyan: #08c0de;
  --lime: #c4d52e;
  --gold: #faa21b;
  --red: #ef3a4c;
  --pink: #f27fb2;
  --purple: #ab4499;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.1rem;
  --radius-xl: 1.5rem;
  --radius-full: 999px;
  --shadow-soft: 0 1rem 3rem rgb(21 31 45 / 0.1);
  --shadow-brand: 0 1rem 3rem rgb(23 71 158 / 0.12);
  --content-wide: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: #333333;
  background: var(--cream-2);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal), white 25%);
  outline-offset: 4px;
}

.sr-only,
.skip-link {
  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:focus {
  position: fixed;
  z-index: 100;
  top: var(--space-4);
  left: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-4);
  clip: auto;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: white;
}

.container {
  width: min(100% - 2rem, var(--content-wide));
  margin-inline: auto;
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 30%);
  background: color-mix(in srgb, var(--cream-2), transparent 6%);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(116px, 12vw, 160px);
  height: auto;
  mix-blend-mode: multiply;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-2), 1.2vw, var(--space-5));
  font-size: clamp(0.76rem, 0.72rem + 0.16vw, 0.875rem);
  font-weight: 500;
}

.primary-nav a {
  color: color-mix(in srgb, var(--ink), white 15%);
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current='page'] {
  color: var(--teal-dark);
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.header-cta,
.button-primary {
  border: 1px solid var(--teal);
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 24px rgb(0 169 149 / 0.18);
}

.header-cta {
  padding: 0 var(--space-5);
  flex: 0 0 auto;
  white-space: nowrap;
}

.button {
  padding: 0 var(--space-6);
}

.button-secondary {
  border: 1px solid color-mix(in srgb, var(--blue), white 20%);
  color: var(--blue);
  background: transparent;
}

.button-light {
  border: 1px solid white;
  color: var(--blue);
  background: white;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button-primary:hover,
.header-cta:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: white;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: var(--radius-full);
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, var(--cream-2), color-mix(in srgb, var(--cream), white 40%));
}

.hero-grid,
.product-hero-grid,
.split,
.contact-grid,
.quiz-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(var(--space-10), 7vw, var(--space-20));
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: color-mix(in srgb, var(--blue), var(--muted) 26%);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: var(--radius-full);
  background: currentColor;
  opacity: 0.5;
}

.eyebrow-light {
  color: color-mix(in srgb, white, var(--teal) 25%);
}

.hero-kicker {
  margin-bottom: var(--space-6);
  color: color-mix(in srgb, var(--muted), var(--ink) 18%);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 11ch;
  font-size: var(--text-2xl);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 1.35rem + 3vw, 4.7rem);
}

h3 {
  font-size: clamp(1.35rem, 1rem + 1vw, 2.2rem);
  line-height: 0.98;
}

.hero-text,
.prose p,
.section-heading p:not(.eyebrow),
.contact-section p:not(.eyebrow),
.product-summary,
.package-card p {
  color: var(--muted);
}

.hero-text {
  margin-top: var(--space-6);
  max-width: 58ch;
  font-size: var(--text-lg);
  line-height: 1.45;
}

.sme-hero-note {
  display: grid;
  gap: var(--space-2);
  max-width: 48rem;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border: 1px solid color-mix(in srgb, var(--teal), white 64%);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--teal), white 94%);
}

.sme-hero-note strong {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 900;
}

.product-promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid color-mix(in srgb, var(--ink), white 86%);
  list-style: none;
}

.product-promise li {
  display: grid;
  gap: 4px;
}

.product-promise strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue);
  line-height: 1.1;
}

.product-promise span {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.35;
}

.product-promise-dark {
  border-top-color: rgb(255 255 255 / 0.18);
}

.product-promise-dark strong {
  color: white;
}

.product-promise-dark span {
  color: rgb(255 255 255 / 0.7);
}

@media (max-width: 640px) {
  .product-promise {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

.sme-hero-note span {
  color: color-mix(in srgb, var(--ink), white 28%);
  font-size: var(--text-sm);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero-pullquote {
  margin-top: var(--space-12);
  max-width: 52ch;
  padding: var(--space-5) 0 var(--space-5) var(--space-6);
  border-left: 3px solid var(--teal);
}

.hero-pullquote p {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 0.92rem + 0.55vw, 1.45rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.hero-pullquote cite {
  display: block;
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 500;
}

.hero-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 12%, rgb(255 255 255 / 0.78), transparent 12rem),
    linear-gradient(135deg, color-mix(in srgb, var(--teal), white 84%), color-mix(in srgb, var(--blue), white 82%));
  box-shadow: var(--shadow-brand);
  overflow: hidden;
  position: relative;
}

.dashboard-card {
  position: relative;
  z-index: 1;
  width: min(82%, 520px);
  padding: var(--space-6);
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.84);
  box-shadow: 0 1rem 3rem rgb(17 19 21 / 0.12);
}

.dashboard-topline,
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.dashboard-topline span {
  height: 12px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--teal), white 70%);
}

.metric-row {
  margin-top: var(--space-5);
}

.metric-row strong {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--teal-dark);
  color: white;
  font-size: var(--text-sm);
}

.chart-grid {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.chart-grid span {
  height: var(--height);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.donut-chart {
  width: 110px;
  aspect-ratio: 1;
  margin: var(--space-8) auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 42%, var(--gold) 42% 62%, var(--teal) 62% 100%);
  position: relative;
}

.donut-chart::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  background: white;
}

.about-section {
  background: white;
}

.home-proof-section {
  padding-block: clamp(var(--space-10), 7vw, var(--space-20));
  background: white;
}

.home-proof-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
  padding: clamp(var(--space-6), 5vw, var(--space-10));
  border-radius: var(--radius-xl);
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
}

.home-proof-copy h2 {
  max-width: 22ch;
}

.home-proof-copy p:not(.eyebrow) {
  margin-top: var(--space-5);
  color: var(--muted);
}

.home-proof-note {
  padding-left: var(--space-4);
  border-left: 2px solid var(--teal);
  font-weight: 700;
}

.home-proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.home-proof-points span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--space-4);
  border: 1px solid color-mix(in srgb, var(--blue), white 76%);
  border-radius: var(--radius-full);
  background: white;
  color: var(--blue);
  font-size: var(--text-sm);
  font-weight: 800;
}

.home-logo-panel {
  padding: clamp(var(--space-5), 4vw, var(--space-8));
  border: 1px solid color-mix(in srgb, var(--line), transparent 20%);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 0.75rem 1.8rem rgb(17 19 21 / 0.06);
}

.home-logo-panel > p {
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.home-logo-grid img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  padding: var(--space-2) var(--space-3);
  border: 1px solid color-mix(in srgb, var(--line), transparent 22%);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.98), rgb(248 250 252 / 0.98));
}

.home-proof-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.home-proof-stats div {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--ink);
  color: white;
}

.home-proof-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.home-proof-stats span {
  display: block;
  margin-top: var(--space-2);
  color: rgb(255 255 255 / 0.68);
  font-size: var(--text-sm);
}

.split,
.founder-story-card {
  align-items: start;
}

.prose {
  display: grid;
  gap: var(--space-5);
}

.founder-story-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: clamp(var(--space-8), 7vw, var(--space-16));
  align-items: center;
}

.founder-story-copy {
  max-width: 760px;
}

.founder-story-copy p:not(.eyebrow) {
  max-width: 70ch;
  margin-top: var(--space-5);
  color: var(--muted);
}

.data-focus-callout {
  margin-top: var(--space-8);
  padding: clamp(var(--space-5), 4vw, var(--space-8));
  border: 1px solid color-mix(in srgb, var(--blue), white 78%);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 94% 0%, rgb(8 192 222 / 0.14), transparent 12rem),
    var(--cream);
}

.data-focus-callout h3 {
  max-width: 10ch;
}

.data-focus-callout p {
  max-width: 64ch;
  margin-top: var(--space-4);
  color: color-mix(in srgb, var(--ink), white 18%);
  font-size: var(--text-sm);
}

.founder-figure {
  justify-self: end;
  width: min(100%, 390px);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
}

.founder-figure img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: var(--radius-lg);
  filter: grayscale(0.08);
}

.founder-figure figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.founder-figure span {
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-figure strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.04em;
}

.values-section {
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.values-grid article {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 280px;
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 1rem 2rem rgb(17 19 21 / 0.05);
}

.values-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid color-mix(in srgb, var(--teal), white 55%);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

.values-grid span {
  color: var(--teal-dark);
  font-weight: 900;
}

.values-grid h3 {
  max-width: 14ch;
  margin-top: var(--space-4);
}

.values-grid p {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: var(--text-sm);
}

.differentiator-section {
  background: white;
}

.differentiator-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(var(--space-6), 5vw, var(--space-12));
  align-items: stretch;
  padding-block: clamp(var(--space-7), 5vw, var(--space-10));
  border-block: 1px solid var(--line);
}

.differentiator-intro {
  display: grid;
  align-content: center;
  gap: var(--space-4);
}

.differentiator-intro .eyebrow {
  margin-bottom: var(--space-1);
}

.differentiator-intro h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 1.35rem + 3vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.differentiator-intro p:not(.eyebrow) {
  max-width: 35rem;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.45;
}

.differentiator-points {
  display: grid;
  gap: var(--space-3);
}

.differentiator-points article {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "number title"
    "number copy";
  column-gap: var(--space-5);
  row-gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid color-mix(in srgb, var(--blue), white 86%);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--cream-2), white 42%);
}

.differentiator-points span {
  grid-area: number;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid color-mix(in srgb, var(--teal), white 55%);
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: var(--text-xs);
  font-weight: 800;
}

.differentiator-points h3 {
  grid-area: title;
  font-size: var(--text-lg);
  line-height: 1.05;
}

.differentiator-points p {
  grid-area: copy;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.proof-strip {
  padding-block: var(--space-8);
  background: var(--blue);
  color: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.proof-grid div {
  padding-inline: var(--space-6);
  border-left: 1px solid rgb(255 255 255 / 0.22);
}

.proof-grid div:first-child {
  border-left: 0;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: var(--space-2);
  color: rgb(255 255 255 / 0.72);
  font-size: var(--text-sm);
}

.section-heading {
  display: block;
  max-width: 760px;
  margin-bottom: var(--space-10);
}

.section-heading p:last-of-type {
  max-width: 58ch;
  margin-top: var(--space-5);
}

.section-heading-link {
  display: inline-flex;
  width: fit-content;
  margin-top: var(--space-5);
  color: inherit;
  font-size: var(--text-sm);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--teal), transparent 20%);
  text-underline-offset: 0.35em;
}

.dual-offer-section {
  padding-top: clamp(var(--space-16), 9vw, var(--space-24));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  border: 1px solid color-mix(in srgb, var(--line), transparent 15%);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 1rem 2rem rgb(17 19 21 / 0.05);
}

.service-art {
  display: block;
  width: 100%;
  height: 150px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: 72% 72%;
  overflow: hidden;
}

.service-red .service-art {
  background: var(--red);
}

.service-lime .service-art {
  background: var(--cyan);
}

.service-gold .service-art {
  background: var(--gold);
}

.service-pink .service-art {
  background: var(--pink);
}

.service-blue .service-art {
  background: var(--blue);
}

.service-purple .service-art {
  background: var(--purple);
}

.service-card span {
  color: var(--muted);
  font-weight: 900;
}

.service-card h3 {
  margin-top: var(--space-2);
}

.service-card p {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: var(--text-sm);
}

.offer-section,
.package-section,
.quiz-cta-section {
  padding-top: 0;
}

.case-study-section {
  background: var(--ink);
  color: white;
}

.case-study-section .section-heading p:last-child {
  color: rgb(255 255 255 / 0.68);
}

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

.case-study-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 0%, rgb(8 192 222 / 0.14), transparent 13rem),
    rgb(255 255 255 / 0.06);
  box-shadow: 0 1rem 2.6rem rgb(0 0 0 / 0.14);
}

.case-study-card-featured {
  background:
    radial-gradient(circle at 90% 0%, rgb(0 168 144 / 0.28), transparent 14rem),
    color-mix(in srgb, var(--blue), var(--ink) 35%);
}

.case-study-kicker {
  color: color-mix(in srgb, var(--teal), white 30%);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-study-card h3 {
  max-width: 14ch;
  margin-top: var(--space-5);
}

.case-study-card > p:not(.case-study-kicker) {
  margin-top: var(--space-5);
  color: rgb(255 255 255 / 0.72);
  font-size: var(--text-sm);
}

.case-study-card dl {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.case-study-card dl div {
  padding-top: var(--space-3);
  border-top: 1px solid rgb(255 255 255 / 0.16);
}

.case-study-card dt {
  color: white;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-card dd {
  margin-top: var(--space-1);
  color: rgb(255 255 255 / 0.68);
  font-size: var(--text-sm);
}

.case-study-card a {
  width: fit-content;
  margin-top: auto;
  padding-top: var(--space-8);
  color: white;
  font-size: var(--text-sm);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--teal), transparent 20%);
  text-underline-offset: 0.35em;
}

.offer-card,
.package-card,
.quiz-cta-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
  padding: clamp(var(--space-8), 6vw, var(--space-16));
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 12%, rgb(8 192 222 / 0.26), transparent 18rem),
    var(--blue);
  color: white;
}

.offer-card p,
.package-card p,
.quiz-cta-card p {
  max-width: 56ch;
  margin-top: var(--space-5);
  color: rgb(255 255 255 / 0.76);
}

.offer-card .button,
.package-card .button,
.quiz-cta-card .button {
  margin-top: var(--space-8);
}

.quiz-cta-card {
  grid-template-columns: 1fr auto;
  background:
    radial-gradient(circle at 92% 18%, rgb(0 168 144 / 0.24), transparent 16rem),
    var(--ink);
}

.quiz-cta-card h2 {
  max-width: 12ch;
}

.quiz-cta-card .button {
  margin-top: 0;
  white-space: nowrap;
}

.dual-offer-section {
  background:
    radial-gradient(circle at 88% 20%, rgb(8 192 222 / 0.08), transparent 20rem),
    linear-gradient(180deg, white, var(--cream));
}

.case-study-section + .differentiator-section {
  background: var(--cream);
}

.case-study-section + .differentiator-section .differentiator-band {
  padding: clamp(var(--space-6), 5vw, var(--space-10));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-soft);
}

.dual-offer-grid,
.offer-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.dual-offer-card,
.offer-choice-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-5);
  min-height: 100%;
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 2%, rgb(8 192 222 / 0.13), transparent 14rem),
    white;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.dual-offer-card::before,
.offer-choice-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--blue));
}

.dual-offer-card h3,
.offer-choice-card h3 {
  max-width: 13ch;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.6rem);
}

.dual-offer-card p:not(.eyebrow),
.offer-choice-card p:not(.eyebrow) {
  color: var(--muted);
}

.dual-offer-card ul {
  display: grid;
  gap: var(--space-3);
  list-style: none;
}

.dual-offer-card li {
  position: relative;
  padding-left: var(--space-5);
  color: color-mix(in srgb, var(--ink), white 12%);
  font-weight: 700;
}

.dual-offer-card li::before {
  content: '';
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--teal);
}

.offer-choice-pitch {
  font-size: var(--text-base);
  line-height: 1.55;
}

.offer-choice-points {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 var(--space-4);
  display: grid;
  gap: 10px;
}

.offer-choice-points li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-sm);
  color: var(--ink);
  line-height: 1.45;
}

.offer-choice-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
}

.offer-choice-points-dark li {
  color: rgb(255 255 255 / 0.88);
}

.offer-choice-points-dark li::before {
  background: var(--gold);
}

.dual-offer-card .button,
.offer-choice-card .button {
  width: fit-content;
  margin-top: var(--space-2);
}

.dual-offer-card-dark,
.offer-choice-card-dark {
  border-color: color-mix(in srgb, var(--ink), white 10%);
  background:
    radial-gradient(circle at 88% 0%, rgb(0 168 144 / 0.28), transparent 18rem),
    var(--ink);
  color: white;
}

.dual-offer-card-dark::before,
.offer-choice-card-dark::before {
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--cyan));
}

.dual-offer-card-dark p,
.dual-offer-card-dark li,
.offer-choice-card-dark p {
  color: rgb(255 255 255 / 0.76);
}

.offer-stats,
.package-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.offer-stats div,
.package-list div {
  padding: var(--space-5);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.09);
}

.offer-stats strong,
.package-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.offer-stats span,
.package-list span {
  display: block;
  margin-top: var(--space-2);
  color: rgb(255 255 255 / 0.72);
  font-size: var(--text-sm);
}

.contact-section {
  background: var(--cream);
}

.contact-grid {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-8);
  font-weight: 800;
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  display: grid;
  gap: var(--space-2);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--cream-2);
  color: var(--ink);
  font-weight: 500;
}

.contact-form textarea {
  resize: vertical;
}

.quiz-lead-form button {
  justify-self: start;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  color: var(--muted);
  font-size: var(--text-xs);
}

.form-success,
.form-error {
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 700;
}

.form-success {
  background: color-mix(in srgb, var(--teal), white 90%);
  color: var(--teal-dark);
  border: 1px solid color-mix(in srgb, var(--teal), white 60%);
}

.form-error {
  background: color-mix(in srgb, var(--red), white 92%);
  color: var(--red);
  border: 1px solid color-mix(in srgb, var(--red), white 60%);
}

.pipedrive-embed-card {
  min-height: 40rem;
}

.pipedrive-embed-card .pipedriveWebForms {
  width: 100%;
  min-height: 34rem;
}

.pipedrive-embed-card iframe {
  width: 100% !important;
  min-height: 34rem !important;
  border: 0 !important;
}

.pipedrive-embed-card .form-note {
  margin-top: var(--space-4);
}

.pipedrive-fallback-note {
  margin-top: 0;
}

.pipedrive-fallback-note a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-form-pipedrive {
  width: 100%;
  min-height: 480px;
  display: flex;
  justify-content: center;
}

.contact-form-pipedrive .pipedriveWebForms {
  width: 100%;
  zoom: 0.75;
}

.contact-form-pipedrive iframe {
  width: 100% !important;
  border: 0;
}

.site-footer {
  padding-block: var(--space-8);
  background: var(--ink);
  color: white;
}

/* ---- Legacy single-row footer (still used on inner pages) ---- */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  color: rgb(255 255 255 / 0.72);
  font-size: var(--text-sm);
}

.footer-inner a,
.footer-links a,
.social-links a {
  color: white;
  font-weight: 800;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-5);
}

.social-links {
  gap: var(--space-3);
}

.social-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-full);
  padding: 0 var(--space-4);
  color: rgb(255 255 255 / 0.86);
  font-size: var(--text-xs);
}

.social-links a:hover {
  border-color: rgb(255 255 255 / 0.42);
  color: white;
}

/* =====================================================================
   RUBIX brand footer (v2) — pre-footer CTA band + white footer + ack bar
   ===================================================================== */

/* ---- Pre-footer CTA band ---- */
.footer-cta {
  position: relative;
  background: var(--blue);
  color: white;
  overflow: hidden;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
}

.footer-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: var(--space-6);
}

.footer-cta-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.footer-cta-kicker {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.82);
}

.footer-cta-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: nowrap;
  white-space: nowrap;
  color: white;
}

.footer-cta-heading strong {
  font-weight: 800;
}

.footer-cta-points {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.footer-cta-points li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.92);
}

.footer-cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 0.8rem no-repeat;
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-7);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  background: white;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgb(0 0 0 / 0.5);
}

.footer-cta-globe {
  position: absolute;
  inset: 50% -6% auto auto;
  transform: translateY(-50%);
  width: min(58%, 620px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
}

.footer-cta-globe img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- White footer body ---- */
.site-footer-v2 {
  background: white;
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1.05fr 0.5fr;
  gap: var(--space-7);
  align-items: start;
  padding-top: clamp(var(--space-16), 8vw, var(--space-24));
  padding-bottom: clamp(var(--space-12), 7vw, var(--space-16));
}

/* contact block with bracket frame */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.footer-contact-frame {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-5);
  padding: 1.35rem 1.9rem;
}

.footer-contact-frame a {
  white-space: nowrap;
}

.footer-contact-frame::before,
.footer-contact-frame::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 26px;
  border-color: var(--blue);
  border-style: solid;
}

.footer-contact-frame::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.footer-contact-frame::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.footer-contact-frame a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--blue);
}

.footer-contact-frame a:hover {
  color: var(--teal);
}

.footer-lets-talk {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  background: var(--blue);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-lets-talk:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgb(23 71 158 / 0.6);
}

/* link + social column titles */
.footer-col-title {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.footer-links-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-links-cols a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

.footer-links-cols a:hover {
  color: var(--blue);
}

.footer-social-icons {
  display: flex;
  gap: var(--space-3);
}

.footer-social-icons a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--blue);
  color: white;
  transition: transform 160ms ease, background 160ms ease;
}

.footer-social-icons a:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

/* ---- Acknowledgement of Country bar ---- */
.footer-acknowledgement {
  background: var(--blue);
  color: rgb(255 255 255 / 0.78);
}

.footer-ack-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-5);
}

.footer-ack-inner p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-ack-copy {
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

.footer-ack-country {
  text-align: center;
  line-height: 1.5;
}

.footer-ack-credit {
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .footer-cta-inner {
    grid-template-columns: 1fr;
  }
  .footer-cta-globe {
    position: relative;
    inset: auto;
    transform: none;
    width: min(70%, 360px);
    margin: var(--space-6) auto 0;
    opacity: 0.85;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-social-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-cta-points {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-contact-frame {
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-6);
  }
  .footer-ack-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--space-3);
  }
  .footer-ack-country {
    order: 3;
  }
}

.product-hero {
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--teal), transparent 72%), transparent 34rem),
    linear-gradient(135deg, var(--cream-2), color-mix(in srgb, var(--blue), white 90%));
}

.executive-hero {
  background:
    radial-gradient(circle at 80% 18%, rgb(8 192 222 / 0.28), transparent 28rem),
    radial-gradient(circle at 96% 45%, rgb(250 162 27 / 0.18), transparent 30rem),
    linear-gradient(135deg, #0d2e63, #1a52a4 58%, #0e8090);
  color: white;
}

.executive-hero .eyebrow,
.executive-hero .hero-text {
  color: rgb(255 255 255 / 0.82);
}

.executive-hero h1 {
  color: white;
}

.executive-hero .button-secondary {
  border-color: rgb(255 255 255 / 0.55);
  color: white;
}

.executive-summary {
  border-color: rgb(255 255 255 / 0.22);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.18), rgb(255 255 255 / 0.08)),
    rgb(6 22 51 / 0.55);
  color: white;
  backdrop-filter: blur(14px);
}

.executive-summary p,
.executive-summary li,
.executive-summary .summary-kicker {
  color: rgb(255 255 255 / 0.82);
}

.executive-flow-section,
.offer-compare-section {
  background: white;
}

.executive-flow-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  padding: clamp(var(--space-6), 5vw, var(--space-10));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
}

.executive-flow-card > div:first-child p:not(.eyebrow) {
  margin-top: var(--space-5);
  color: var(--muted);
}

.executive-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.executive-steps article {
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}

.executive-steps span {
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.executive-steps h3 {
  margin-top: var(--space-4);
}

.executive-steps p {
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: var(--text-sm);
}

.quiz-page {
  background: var(--cream);
}

.quiz-hero {
  padding-top: var(--space-16);
}

.quiz-intro {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 0;
}

.quiz-intro h1 {
  max-width: none;
  font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem);
}

.quiz-intro .hero-text {
  max-width: 58ch;
  margin-inline: auto;
}

.quiz-proof {
  max-width: 52ch;
  margin-top: var(--space-5);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.quiz-shell {
  max-width: 760px;
  margin-top: var(--space-12);
}

.quiz-progress {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.quiz-progress span {
  height: 6px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--blue), white 80%);
  overflow: hidden;
  position: relative;
}

.quiz-progress span::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: inherit;
  background: var(--teal);
  transition: transform 220ms ease;
}

.quiz-progress span.is-current::before,
.quiz-progress span.is-complete::before {
  transform: scaleX(1);
}

.quiz-card,
.quiz-result {
  scroll-margin-top: 110px;
  border: 1px solid color-mix(in srgb, var(--line), transparent 20%);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.quiz-card {
  padding: clamp(var(--space-6), 5vw, var(--space-10));
}

.quiz-card-header h2 {
  max-width: 15ch;
  margin-top: var(--space-3);
}

.quiz-card-header p:last-child {
  max-width: 58ch;
  margin-top: var(--space-5);
  color: var(--muted);
}

.quiz-options {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-8);
  border: 0;
}

.quiz-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-2);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.quiz-option:hover,
.quiz-option.is-selected {
  border-color: var(--teal);
  background: color-mix(in srgb, var(--teal), white 92%);
  box-shadow: 0 0.5rem 1.2rem rgb(0 169 149 / 0.1);
}

.quiz-option input {
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  accent-color: var(--teal);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.quiz-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.result-hero {
  padding: clamp(var(--space-8), 6vw, var(--space-16));
  text-align: center;
  background:
    radial-gradient(circle at 88% 0%, rgb(0 168 144 / 0.22), transparent 18rem),
    linear-gradient(135deg, var(--blue), #1f64bd);
  color: white;
}

.score-line {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: var(--space-3);
  font-family: var(--font-display);
  line-height: 1;
}

.score-line strong {
  font-size: clamp(4rem, 2.5rem + 7vw, 7rem);
  letter-spacing: -0.08em;
}

.score-line span {
  color: rgb(255 255 255 / 0.62);
  font-size: clamp(1.8rem, 1rem + 3vw, 3.5rem);
  font-weight: 900;
}

.result-hero h2 {
  max-width: none;
  margin-top: var(--space-2);
  font-size: var(--text-xl);
}

.score-meter,
.breakdown-meter {
  height: 10px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: rgb(255 255 255 / 0.22);
}

.score-meter {
  width: min(100%, 380px);
  margin: var(--space-6) auto 0;
}

.score-meter span,
.breakdown-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--lime), var(--teal));
}

.result-body {
  display: grid;
  gap: var(--space-8);
  padding: clamp(var(--space-6), 5vw, var(--space-10));
}

.result-summary {
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.45;
}

.breakdown {
  display: grid;
  gap: var(--space-3);
}

.breakdown > div {
  display: grid;
  gap: var(--space-3);
}

.breakdown-row {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: #f5f7fb;
}

.breakdown-row div:first-child {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  color: var(--ink);
  font-size: var(--text-sm);
}

.breakdown-row span {
  color: var(--blue);
  font-weight: 900;
}

.breakdown-meter {
  height: 8px;
  background: color-mix(in srgb, var(--blue), white 86%);
}

.recommendation-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.recommendation-card h3 {
  margin-bottom: var(--space-3);
}

.recommendation-card p:not(.eyebrow) {
  color: var(--muted);
}

.snapshot-share-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-6);
  border: 1px solid color-mix(in srgb, var(--line), transparent 12%);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--teal), transparent 82%), transparent 34%),
    linear-gradient(180deg, white 0%, color-mix(in srgb, var(--cream), white 52%) 100%);
  box-shadow: 0 0.9rem 2rem rgb(17 19 21 / 0.06);
}

.snapshot-share-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: start;
}

.snapshot-share-heading > span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 var(--space-3);
  border: 1px solid color-mix(in srgb, var(--teal), white 42%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal), white 88%);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.snapshot-share-card h3 {
  margin-top: var(--space-2);
  color: var(--ink);
  font-size: clamp(1.45rem, 1rem + 1vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.snapshot-share-card p:not(.eyebrow):not(.form-note) {
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.snapshot-handoff-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.4fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.snapshot-handoff-grid div {
  min-height: 7.25rem;
  padding: var(--space-4);
  border: 1px solid color-mix(in srgb, var(--line), transparent 14%);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.78);
}

.snapshot-handoff-grid span {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snapshot-handoff-grid strong {
  display: block;
  margin-top: var(--space-3);
  color: var(--ink);
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.visually-hidden-copy {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.snapshot-share-card .hero-actions {
  margin-top: var(--space-4);
}

@media (max-width: 44rem) {
  .snapshot-share-heading {
    flex-direction: column;
  }

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

.product-hero h1 {
  max-width: 18ch;
}

.product-summary {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-soft);
}

.product-summary p {
  color: var(--ink);
  font-weight: 900;
}

.product-summary .summary-kicker {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
  color: var(--blue);
}

.product-summary ul {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
  list-style: none;
}

.product-summary li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: var(--space-4);
  align-items: start;
  color: color-mix(in srgb, var(--ink), white 10%);
  font-weight: 700;
}

.product-summary li::before {
  content: '';
  margin-top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--teal);
}

.product-hero .executive-summary {
  border: 1px solid rgb(255 255 255 / 0.18);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.13), rgb(255 255 255 / 0.06)),
    rgb(3 17 41 / 0.4);
  color: white;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 0.18);
  backdrop-filter: blur(14px);
}

.product-hero .executive-summary p,
.product-hero .executive-summary li,
.product-hero .executive-summary .summary-kicker {
  color: rgb(255 255 255 / 0.84);
}

.product-hero .executive-summary .summary-kicker {
  border-bottom-color: rgb(255 255 255 / 0.2);
}

.product-hero .executive-summary li::before {
  background: var(--gold);
}

.client-proof-section {
  padding-block: var(--space-10);
  background: white;
}

.client-proof-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
  padding: clamp(var(--space-6), 5vw, var(--space-10));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
}

.client-proof-card h2 {
  max-width: 13ch;
  font-size: clamp(1.8rem, 1.1rem + 2vw, 3.2rem);
}

.client-proof-card p:not(.eyebrow) {
  margin-top: var(--space-5);
  color: var(--muted);
}

.sme-reassurance {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: 1px solid color-mix(in srgb, var(--teal), white 68%);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--teal), white 94%);
}

.sme-reassurance strong {
  display: block;
  max-width: 28rem;
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.sme-reassurance p {
  margin-top: var(--space-3) !important;
  color: color-mix(in srgb, var(--ink), white 26%) !important;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--space-3);
}

.client-logo-grid img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  padding: var(--space-3) var(--space-4);
  border: 1px solid color-mix(in srgb, var(--line), transparent 20%);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.96), rgb(248 250 252 / 0.98));
  filter: none;
}

.workflow-section {
  background: white;
}

.workflow-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
}

.workflow-copy {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(var(--space-6), 5vw, var(--space-12));
  padding: clamp(var(--space-6), 5vw, var(--space-12));
  align-items: start;
}

.workflow-intro > p:not(.eyebrow) {
  margin-top: var(--space-5);
  color: var(--muted);
}

.number-list {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
  list-style: none;
  counter-reset: steps;
}

.number-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-4);
  counter-increment: steps;
  align-items: start;
}

.number-list li::before {
  content: counter(steps);
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: white;
  font-size: var(--text-sm);
  font-weight: 900;
}

.number-list strong,
.number-list span {
  grid-column: 2;
}

.number-list strong {
  grid-row: 1;
}

.number-list span {
  grid-row: 2;
  color: var(--muted);
  font-size: var(--text-sm);
}

.data-flow-map {
  display: grid;
  grid-template-columns: 1fr auto 1.12fr auto 1fr;
  gap: var(--space-3);
  align-items: center;
  padding: clamp(var(--space-6), 5vw, var(--space-12));
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.72), transparent 22%, transparent 78%, rgb(255 255 255 / 0.72)),
    #f3f5f8;
}

.warehouse-map {
  background:
    radial-gradient(circle at 50% 46%, rgb(0 168 144 / 0.12), transparent 19rem),
    linear-gradient(90deg, rgb(255 255 255 / 0.82), transparent 25%, transparent 75%, rgb(255 255 255 / 0.82)),
    #f3f5f8;
}

.flow-stage {
  display: grid;
  gap: var(--space-3);
  align-content: center;
}

.source-system-cloud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.source-system-cloud span,
.output-card,
.warehouse-layers span {
  display: grid;
  align-items: center;
  min-height: 46px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid color-mix(in srgb, var(--blue), white 78%);
  border-radius: var(--radius-md);
  background: white;
  color: var(--ink);
  box-shadow: 0 0.5rem 1rem rgb(17 19 21 / 0.05);
}

.source-system-cloud span {
  justify-items: center;
  color: color-mix(in srgb, var(--blue), var(--ink) 22%);
  font-size: var(--text-sm);
  font-weight: 900;
}

.flow-stage-label {
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.warehouse-stage {
  justify-items: stretch;
}

.warehouse-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 15rem;
  padding: var(--space-7) var(--space-5);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--blue), white 30%);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 18%, rgb(255 255 255 / 0.22), transparent 8rem),
    linear-gradient(180deg, var(--blue), #103878);
  color: white;
  text-align: center;
  box-shadow: var(--shadow-brand);
}

.warehouse-cylinder {
  width: 7.8rem;
  height: 7.4rem;
  border: 2px solid rgb(255 255 255 / 0.34);
  border-radius: 50% / 14%;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.18), transparent 36%),
    linear-gradient(90deg, rgb(255 255 255 / 0.08), transparent, rgb(0 0 0 / 0.1));
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.12),
    inset 0 -2.8rem 0 rgb(0 0 0 / 0.08);
}

.warehouse-core strong {
  margin-top: var(--space-4);
  font-size: var(--text-xl);
  line-height: 1;
}

.warehouse-core span {
  color: rgb(255 255 255 / 0.74);
  font-size: var(--text-xs);
  font-weight: 800;
}

.warehouse-layers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.warehouse-layers span {
  min-height: 38px;
  border-color: color-mix(in srgb, var(--teal), white 72%);
  color: var(--teal-dark);
  font-size: var(--text-xs);
  font-weight: 900;
}

.output-stage {
  align-content: center;
}

.output-card {
  gap: var(--space-1);
  min-height: 64px;
}

.output-card strong {
  font-size: var(--text-sm);
  line-height: 1.05;
}

.output-card span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
}

.flow-item {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4);
  border: 1px solid color-mix(in srgb, var(--blue), white 55%);
  border-radius: var(--radius-md);
  background: white;
  color: var(--ink);
  box-shadow: 0 0.5rem 1rem rgb(17 19 21 / 0.06);
}

.flow-item strong {
  font-size: var(--text-sm);
  font-weight: 900;
}

.flow-item span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
}

.flow-stage-platform .flow-item {
  border-color: color-mix(in srgb, var(--blue), white 24%);
  background: var(--blue);
  color: white;
}

.flow-stage-platform .flow-item span {
  color: rgb(255 255 255 / 0.68);
}

.flow-connector {
  color: var(--teal);
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1;
}

.foundation-output-section {
  background: linear-gradient(180deg, white, var(--cream));
}

.foundation-output-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 7vw, var(--space-20));
  align-items: center;
}

.foundation-output-copy p:not(.eyebrow) {
  margin-top: var(--space-5);
  color: var(--muted);
}

.foundation-reporting-preview {
  padding: clamp(var(--space-5), 4vw, var(--space-8));
  border: 1px solid color-mix(in srgb, var(--teal), white 68%);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, white, color-mix(in srgb, var(--teal), white 96%));
  box-shadow: var(--shadow-soft);
}

.foundation-reporting-preview .preview-header {
  color: var(--blue);
}

.foundation-reporting-preview .preview-header strong {
  background: color-mix(in srgb, var(--teal), white 86%);
  color: var(--teal-dark);
}

.foundation-reporting-preview .preview-note {
  color: var(--muted);
}

.foundation-reporting-preview .preview-bars {
  background: var(--cream);
}

.ceo-dashboard-section {
  background:
    radial-gradient(circle at 80% 22%, rgb(8 192 222 / 0.16), transparent 28rem),
    linear-gradient(135deg, #071d44, #0f3778);
  color: white;
}

.ceo-dashboard-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 7vw, var(--space-20));
  align-items: center;
}

.ceo-dashboard-copy p:not(.eyebrow) {
  margin-top: var(--space-5);
  color: rgb(255 255 255 / 0.72);
}

.ceo-dashboard-copy h2,
.ceo-dashboard-copy .eyebrow {
  color: white;
}

.dashboard-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.dashboard-feature-list span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--space-4);
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.1);
  color: white;
  font-size: var(--text-sm);
  font-weight: 800;
}

.ceo-dashboard-preview {
  padding: clamp(var(--space-5), 4vw, var(--space-8));
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 10%, rgb(8 192 222 / 0.28), transparent 16rem),
    linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.08));
  box-shadow: var(--shadow-brand);
  backdrop-filter: blur(12px);
}

.ceo-dashboard-preview .preview-kpis div {
  background: rgb(255 255 255 / 0.12);
}

.ceo-dashboard-preview .preview-bars {
  background: rgb(255 255 255 / 0.1);
}

.ceo-dashboard-preview .preview-note {
  color: rgb(255 255 255 / 0.68);
}

.preview-header,
.preview-kpis,
.preview-note {
  border-radius: var(--radius-md);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: center;
  padding-bottom: var(--space-5);
  color: white;
  font-weight: 900;
}

.preview-header strong {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: rgb(0 168 144 / 0.22);
  color: white;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.preview-kpis div {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--blue);
  color: white;
}

.preview-kpis span,
.preview-note {
  color: rgb(255 255 255 / 0.68);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-kpis strong {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.preview-bars {
  height: 260px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.preview-bars span {
  height: var(--height);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.preview-note {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--ink);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.outcome-grid article {
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}

.outcome-grid p {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: var(--text-sm);
}

.package-card {
  background: var(--ink);
}

.success-library-section {
  background: white;
}

.success-story-list {
  display: grid;
  gap: var(--space-5);
}

.success-story-panel {
  padding: clamp(var(--space-6), 4vw, var(--space-9));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 10%, rgb(8 192 222 / 0.12), transparent 14rem),
    var(--cream-2);
  box-shadow: var(--shadow-soft);
}

.success-story-panel-featured {
  background:
    radial-gradient(circle at 90% 0%, rgb(0 168 144 / 0.18), transparent 14rem),
    white;
}

.success-story-panel h3 {
  max-width: 18ch;
  margin-top: var(--space-4);
}

.success-story-panel > p:not(.case-study-kicker) {
  max-width: 72ch;
  margin-top: var(--space-4);
  color: var(--muted);
}

.success-story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.success-story-columns div {
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.success-story-columns strong,
.success-story-columns span {
  display: block;
}

.success-story-columns strong {
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-story-columns span {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
}

@media (max-width: 1120px) {
  .site-header {
    position: sticky;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    inset: 82px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-soft);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: var(--space-4);
    border-radius: var(--radius-md);
  }

  .primary-nav a:hover {
    background: var(--cream);
  }

  .hero-grid,
  .product-hero-grid,
  .split,
  .contact-grid,
  .home-proof-card,
  .founder-story-card,
  .offer-card,
  .dual-offer-grid,
  .offer-choice-grid,
  .executive-flow-card,
  .package-card,
  .quiz-cta-card,
  .workflow-card,
  .workflow-copy,
  .client-proof-card,
  .foundation-output-grid,
  .ceo-dashboard-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .quiz-cta-card .button {
    width: fit-content;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 440px;
  }

  .service-art {
    height: 190px;
  }

  .proof-grid,
  .service-grid,
  .case-study-grid,
  .outcome-grid,
  .home-proof-stats,
  .values-grid,
  .client-logo-grid,
  .executive-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid div:nth-child(odd) {
    border-left: 0;
  }

  .data-flow-map {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .flow-connector {
    transform: rotate(90deg);
    justify-self: center;
  }

  .client-logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
}

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

  .section {
    padding-block: var(--space-16);
  }

  .header-inner {
    min-height: 72px;
    gap: var(--space-3);
  }

  .brand-logo {
    width: 116px;
  }

  .primary-nav {
    top: 72px;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links,
  .social-links {
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .hero-pullquote {
    margin-top: var(--space-8);
  }

  .hero-visual {
    min-height: 330px;
  }

  .dashboard-card {
    width: 92%;
    padding: var(--space-4);
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .chart-grid {
    height: 120px;
    gap: var(--space-2);
  }

  .proof-grid,
  .service-grid,
  .case-study-grid,
  .success-story-columns,
  .outcome-grid,
  .dual-offer-grid,
  .offer-choice-grid,
  .executive-steps,
  .values-grid,
  .home-logo-grid,
  .home-proof-stats,
  .client-logo-grid,
  .preview-kpis,
  .offer-stats,
  .package-list {
    grid-template-columns: 1fr;
  }

  .proof-grid div {
    border-left: 0;
    padding-inline: 0;
  }

  .differentiator-band {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-block: var(--space-8);
  }

  .differentiator-intro h2 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .differentiator-intro p:not(.eyebrow) {
    font-size: var(--text-base);
  }

  .differentiator-points article {
    grid-template-columns: 1fr;
    grid-template-areas:
      "number"
      "title"
      "copy";
    padding: var(--space-5);
  }

  .service-card {
    min-height: auto;
  }

  .service-art {
    height: 180px;
  }

  .offer-card,
  .dual-offer-card,
  .offer-choice-card,
  .executive-flow-card,
  .home-proof-card,
  .founder-story-card,
  .founder-figure,
  .home-logo-panel,
  .package-card,
  .quiz-cta-card,
  .contact-form,
  .product-summary {
    padding: var(--space-5);
  }

  .quiz-cta-card .button {
    width: 100%;
  }

  .data-flow-map,
  .workflow-copy,
  .client-proof-card,
  .foundation-reporting-preview,
  .ceo-dashboard-preview {
    padding: var(--space-5);
  }

  .client-logo-grid img {
    height: 78px;
  }

  .preview-bars {
    height: 180px;
    gap: var(--space-2);
    padding: var(--space-4);
  }
}

#offers.dual-offer-section {
  padding-top: clamp(var(--space-10), 6vw, var(--space-16));
}

@media (max-width: 640px) {
  #offers.dual-offer-section {
    padding-top: var(--space-10);
  }
}

/* ---------------------------------------------------------------
   Readiness Snapshot — strengthened result experience
   --------------------------------------------------------------- */

.snapshot .result-hero {
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  background:
    radial-gradient(circle at 90% 0%, rgb(0 168 144 / 0.28), transparent 22rem),
    radial-gradient(circle at 0% 100%, rgb(196 213 46 / 0.16), transparent 18rem),
    linear-gradient(135deg, var(--blue), #1f64bd);
}

.snapshot-stage {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.28);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.readiness-gauge {
  width: min(100%, 25rem);
  margin: var(--space-5) auto var(--space-2);
}

.gauge-arc {
  position: relative;
  height: 8.4rem;
  overflow: hidden;
  border-radius: 8.4rem 8.4rem 0 0;
}

.gauge-arc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 270deg at 50% 100%,
    #ef4149 0deg 50deg,
    #f6a72a 50deg 110deg,
    #c4d52e 110deg 145deg,
    var(--teal) 145deg 180deg,
    transparent 180deg 360deg
  );
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
}

.gauge-arc::after {
  content: "";
  position: absolute;
  inset: 1.15rem 1.15rem 0;
  border-radius: 7rem 7rem 0 0;
  background:
    radial-gradient(circle at 50% 100%, rgb(255 255 255 / 0.22), transparent 4.4rem),
    linear-gradient(135deg, var(--blue), #1f64bd);
}

.gauge-band {
  position: absolute;
  bottom: 0;
  z-index: 1;
  color: rgb(255 255 255 / 0.7);
  font-size: var(--text-xs);
}

.gauge-needle {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 3;
  width: 0.2rem;
  height: 6.5rem;
  border-radius: var(--radius-full);
  background: white;
  box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 0.18);
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: 50% calc(100% - 0.45rem);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-needle::before {
  content: "";
  position: absolute;
  top: -0.2rem;
  left: 50%;
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 50%;
  background: white;
  transform: translateX(-50%);
}

.gauge-pivot {
  position: absolute;
  left: 50%;
  bottom: 0.34rem;
  z-index: 4;
  width: 1.45rem;
  height: 1.45rem;
  border: 0.24rem solid white;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0.35rem 1rem rgb(0 0 0 / 0.2);
  transform: translateX(-50%);
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  color: rgb(255 255 255 / 0.72);
  font-size: var(--text-xs);
  font-weight: 700;
}

.snapshot-oneliner {
  max-width: 38ch;
  margin: var(--space-3) auto 0;
  color: rgb(255 255 255 / 0.86);
  font-size: var(--text-base);
  line-height: 1.45;
}

.snapshot-meaning {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid color-mix(in srgb, var(--blue), white 88%);
}

.snapshot-meaning p:not(.eyebrow) {
  color: var(--ink);
  font-size: var(--text-base);
  line-height: 1.55;
}

.snapshot-priorities {
  display: grid;
  gap: var(--space-4);
}

.priority-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.priority-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--cream);
  border-left: 4px solid var(--teal);
}

.priority-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: var(--radius-full);
  background: var(--blue);
  color: white;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-base);
  letter-spacing: -0.02em;
}

.priority-category {
  margin: 0 0 0.25rem;
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.priority-copy {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-base);
  line-height: 1.5;
}

.snapshot-footnote {
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--blue), white 94%);
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.snapshot-footnote p {
  margin: 0;
  color: inherit;
}

/* "AI-ready, not AI-washed" callout */
.ai-honesty {
  background: linear-gradient(180deg, var(--cream) 0%, white 100%);
}

.ai-honesty-card {
  max-width: 880px;
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid color-mix(in srgb, var(--blue), white 86%);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.ai-honesty-card h2 {
  margin: var(--space-3) 0 var(--space-4);
  max-width: 22ch;
}

.ai-honesty-card p {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 60ch;
}

@media (max-width: 640px) {
  .priority-item {
    grid-template-columns: auto 1fr;
    padding: var(--space-4);
    gap: var(--space-3);
  }
  .priority-index {
    min-width: 2rem;
    height: 2rem;
    font-size: var(--text-sm);
  }
}

/* ---------------------------------------------------------------
   Rounded humanist UI (scoped) — used for snapshot priority +
   benefit rows. Display headings remain General Sans / current.
   --------------------------------------------------------------- */

.rounded-ui {
  font-family: 'Nunito', 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: 0;
}

.rounded-ui,
.rounded-ui p,
.rounded-ui span,
.rounded-ui li {
  color: #1a1d20; /* dark charcoal, matches reference */
}

/* Override the earlier priority-item visual to match the calmer,
   icon-led, near-black-on-white reference. */
.snapshot-priorities .priority-item {
  background: white;
  border-left: none;
  border: 1px solid color-mix(in srgb, var(--ink), white 86%);
  box-shadow: 0 1px 2px rgb(17 19 21 / 0.04);
  padding: var(--space-5) var(--space-6);
  align-items: center;
}

.priority-icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
  flex-shrink: 0;
}

.snapshot-priorities .priority-category {
  color: var(--muted);
  font-family: 'Nunito', 'General Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.snapshot-priorities .priority-copy {
  color: #1a1d20;
  font-family: 'Nunito', 'General Sans', system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Snapshot benefits: line-icon list, near-black, rounded humanist */
.snapshot-benefits {
  list-style: none;
  margin: 0;
  padding: var(--space-5) var(--space-6);
  display: grid;
  gap: var(--space-3);
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid color-mix(in srgb, var(--ink), white 90%);
}

.snapshot-benefits li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--space-4);
  align-items: center;
  font-family: 'Nunito', 'General Sans', system-ui, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.45;
  color: #1a1d20;
}

.snapshot-benefits svg {
  width: 22px;
  height: 22px;
  color: #1a1d20;
}

@media (max-width: 640px) {
  .snapshot-benefits {
    padding: var(--space-4);
  }
  .snapshot-benefits li {
    font-size: 0.95rem;
  }
}

/* ========================================================
   BRAND TYPE SYSTEM — Poppins headings, blue + green dot,
   Open Sans for numbers, Calibri body.
   ======================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
.section-heading h2,
.about-section h2,
.home-proof-copy h2,
.values-section h2,
.services-section h2,
.dual-offer-section h2,
.case-study-section h2,
.differentiator-band h2,
.quiz-cta-card h2,
.contact-grid h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.7rem, 1rem + 1.8vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hd-dot { color: var(--teal); }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow-light { color: rgb(255 255 255 / 0.85); }
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
/* Service H3 takes that swatch's accent (one accent per block) */
.service-red h3, .service-card.service-red span { color: var(--red); }
.service-lime h3, .service-card.service-lime span { color: var(--lime); }
.service-gold h3, .service-card.service-gold span { color: var(--gold); }
.service-pink h3, .service-card.service-pink span { color: var(--pink); }
.service-blue h3, .service-card.service-blue span { color: var(--blue); }
.service-purple h3, .service-card.service-purple span { color: var(--purple); }

/* Body & prose */
body { color: #333333; }
.muted, .home-proof-copy p:not(.eyebrow), .section-heading p:not(.eyebrow),
.hero-text, .case-study-card p, .dual-offer-card p:not(.eyebrow), .values-grid p,
.service-card p, .differentiator-points p, .quiz-cta-card p,
.contact-grid p:not(.eyebrow), .footer-inner p {
  color: #555555;
}
.form-note, figcaption span, .case-study-kicker { color: #6F7171; }

/* Numbers — Open Sans per brand guide */
.stats-band-grid strong,
.dm-kpis strong,
.home-proof-stats strong,
.case-study-card dl strong {
  font-family: var(--font-numbers);
  font-weight: 800;
}

/* Callout pill (Arial Black white-on-red) — for emphasized labels */
.callout-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--red);
  color: white;
  font-family: 'Arial Black', 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Tighten kicker pill to use Poppins */
.hero-v2 .hero-kicker {
  font-family: var(--font-display);
}

/* =========================================================
   v2 BOLD PASS — brand stripe, hero, stats band, service tiles
   ========================================================= */

/* Rainbow brand stripe – sits under the sticky header, also a section divider */
.brand-stripe {
  display: flex;
  width: 100%;
  height: 6px;
  position: sticky;
  top: 82px;
  z-index: 19;
}
.brand-stripe span {
  flex: 1;
  display: block;
  height: 100%;
}

/* Hero v2 – bigger, type-driven, headline does the work */
.hero-v2 {
  padding-block: clamp(var(--space-12), 9vw, var(--space-24));
  background: white;
}
.hero-v2 .hero-grid {
  align-items: center;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  grid-template-columns: 1.05fr 1fr;
}
.hero-v2 .hero-copy { min-width: 0; }
.hero-v2 .hero-visual { min-width: 0; }
.hero-v2 .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-6);
}
.hero-v2 .hero-kicker::before {
  content: '';
  width: 10px;
  height: 2px;
  border-radius: var(--radius-full);
  background: currentColor;
  opacity: 0.6;
}
.kicker-dot {
  width: 28px;
  height: 2px;
  border-radius: 0;
  background: var(--teal);
  box-shadow: none;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 0.8rem + 3.1vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-transform: capitalize;
  white-space: nowrap;
}
.hero-headline .hd-dot { color: var(--blue); }
.hero-headline em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero-headline .accent-teal { color: var(--teal); }
.hero-headline .accent-blue { color: var(--blue); }
.hero-headline em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -0.06em;
  height: 0.12em;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.18;
}
.hero-v2 .hero-text {
  max-width: 48ch;
  font-size: clamp(0.9rem, 0.84rem + 0.32vw, 1.05rem);
  color: color-mix(in srgb, var(--ink), white 28%);
  margin-top: var(--space-6);
}
.hero-v2 .hero-actions { margin-top: var(--space-8); }

/* Cube motif – subtle animation */
.hero-v2 .hero-visual {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Dashboard mock — credible exec dashboard for hero */
.dashboard-mock {
  width: 100%;
  max-width: 520px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgb(21 31 45 / 0.10), 0 6px 16px rgb(21 31 45 / 0.04);
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
}
.dm-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafbfd;
}
.dm-dots { display: flex; gap: 6px; }
.dm-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #e3e7ee;
}
.dm-dots span:nth-child(1) { background: #ef3a4c; }
.dm-dots span:nth-child(2) { background: #faa21b; }
.dm-dots span:nth-child(3) { background: #00a890; }
.dm-title {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.dm-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal), white 80%);
  color: var(--teal-dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.dm-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  animation: dm-pulse 1.6s ease-in-out infinite;
}
.dm-meta {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--muted);
}
.dm-tabs {
  display: flex;
  gap: 18px;
  padding: 10px 16px 0;
  font-size: 0.74rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.dm-tabs span {
  padding-bottom: 9px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}
.dm-tabs span.active {
  color: var(--blue);
  font-weight: 700;
  border-bottom-color: var(--blue);
}
.dm-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px 16px;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.dm-kpis > div { display: flex; flex-direction: column; gap: 2px; }
.dm-kpis p {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0;
}
.dm-kpis strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.dm-kpis span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.dm-kpis .up { color: var(--teal-dark); }
.dm-kpis .down { color: var(--red); }

.dm-chart-row {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
  padding: 14px 16px 16px;
}
.dm-chart, .dm-donut { display: flex; flex-direction: column; gap: 6px; }
.dm-chart-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.dm-chart-title span {
  font-weight: 500;
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.dm-chart-svg { width: 100%; height: auto; }
.dm-chart-legend {
  display: flex;
  gap: 12px;
  font-size: 0.66rem;
  color: var(--muted);
}
.dm-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.dm-chart-legend i {
  width: 10px; height: 2px; border-radius: 2px;
}
.dm-chart-legend i.dashed {
  background: repeating-linear-gradient(to right, #17479e 0 3px, transparent 3px 6px) !important;
}
.dm-donut { align-items: stretch; }
.dm-donut-svg { width: 88px; height: 88px; align-self: center; }
.dm-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 0.68rem; color: var(--ink); }
.dm-legend li { display: flex; align-items: center; gap: 6px; }
.dm-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.dm-legend b { margin-left: auto; font-weight: 700; color: var(--muted); }

.dm-line {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: dm-draw 1.6s ease-out forwards;
}
.dm-area {
  opacity: 0;
  animation: dm-fade 1.6s 0.4s ease-out forwards;
}
.dm-dots-chart circle {
  opacity: 0;
  animation: dm-fade 0.4s ease-out forwards;
}
.dm-dots-chart circle:nth-child(1) { animation-delay: 0.6s; }
.dm-dots-chart circle:nth-child(2) { animation-delay: 0.75s; }
.dm-dots-chart circle:nth-child(3) { animation-delay: 0.9s; }
.dm-dots-chart circle:nth-child(4) { animation-delay: 1.05s; }
.dm-dots-chart circle:nth-child(5) { animation-delay: 1.2s; }
.dm-dots-chart circle:nth-child(6) { animation-delay: 1.35s; }
.dm-dots-chart circle:nth-child(7) { animation-delay: 1.5s; }
.dm-dots-chart circle:nth-child(8) { animation-delay: 1.65s; }
.dm-donut-svg circle {
  stroke-dasharray: 0 263.9;
  animation: dm-donut 1.2s 0.4s ease-out forwards;
}
.dm-donut-svg circle:nth-child(1) { animation-name: dm-donut-1; }
.dm-donut-svg circle:nth-child(2) { animation-name: dm-donut-2; animation-delay: 0.7s; }
.dm-donut-svg circle:nth-child(3) { animation-name: dm-donut-3; animation-delay: 1.0s; }
@keyframes dm-draw { to { stroke-dashoffset: 0; } }
@keyframes dm-fade { to { opacity: 1; } }
@keyframes dm-donut-1 { to { stroke-dasharray: 126.7 263.9; } }
@keyframes dm-donut-2 { to { stroke-dasharray: 81.8 263.9; } }
@keyframes dm-donut-3 { to { stroke-dasharray: 55.4 263.9; } }
@keyframes dm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .dm-line, .dm-area, .dm-dots-chart circle, .dm-donut-svg circle, .dm-live i {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .dm-donut-svg circle:nth-child(1) { stroke-dasharray: 126.7 263.9; }
  .dm-donut-svg circle:nth-child(2) { stroke-dasharray: 81.8 263.9; }
  .dm-donut-svg circle:nth-child(3) { stroke-dasharray: 55.4 263.9; }
}
@media (max-width: 520px) {
  .dm-kpis { grid-template-columns: repeat(2, 1fr); }
  .dm-chart-row { grid-template-columns: 1fr; }
}

.cube-motif {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgb(23 71 158 / 0.10));
}
.cube-motif .cube-lines line {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: cube-draw 1.2s ease-out forwards;
}
.cube-motif .cube-lines line:nth-child(2) { animation-delay: 0.1s; }
.cube-motif .cube-lines line:nth-child(3) { animation-delay: 0.2s; }
.cube-motif .cube-lines line:nth-child(4) { animation-delay: 0.3s; }
.cube-motif .cube-lines line:nth-child(5) { animation-delay: 0.4s; }
.cube-motif .cube-lines line:nth-child(6) { animation-delay: 0.5s; }

.cube-motif .cube-sources text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  fill: color-mix(in srgb, var(--ink), white 25%);
}
.cube-motif .cube-sources circle {
  transform-origin: center;
  transform-box: fill-box;
  animation: source-pulse 4.5s ease-in-out infinite;
}
.cube-motif .cube-sources g:nth-child(2) circle { animation-delay: 0.5s; }
.cube-motif .cube-sources g:nth-child(3) circle { animation-delay: 1.0s; }
.cube-motif .cube-sources g:nth-child(4) circle { animation-delay: 1.5s; }
.cube-motif .cube-sources g:nth-child(5) circle { animation-delay: 2.0s; }
.cube-motif .cube-sources g:nth-child(6) circle { animation-delay: 2.5s; }

.cube-motif .core-label-1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  fill: white;
}
.cube-motif .core-label-2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  fill: rgb(255 255 255 / 0.82);
}
.cube-motif .core-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: core-ring 4s ease-out infinite;
}
.cube-motif .core-ring-2 { animation-delay: 1.3s; }

@keyframes cube-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes source-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
@keyframes core-ring {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cube-motif .cube-lines line { stroke-dashoffset: 0; animation: none; }
  .cube-motif .cube-sources circle,
  .cube-motif .core-ring,
  .cube-motif .cube-flow circle { animation: none; }
  .cube-motif .cube-flow circle { display: none; }
}

/* Stats band – full-bleed dark blue, MASSIVE numbers */
.stats-band {
  background: var(--blue-dark);
  color: white;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 90% 10%, color-mix(in srgb, var(--teal), transparent 70%), transparent 60%),
    radial-gradient(700px 400px at 5% 90%, color-mix(in srgb, var(--purple), transparent 75%), transparent 60%);
  pointer-events: none;
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(var(--space-6), 3vw, var(--space-12));
  position: relative;
}
.stats-band-grid > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-left: 2px solid;
  padding-left: var(--space-5);
}
.stats-band-grid > div:nth-child(1) { border-color: var(--teal); }
.stats-band-grid > div:nth-child(2) { border-color: var(--cyan); }
.stats-band-grid > div:nth-child(3) { border-color: var(--gold); }
.stats-band-grid > div:nth-child(4) { border-color: var(--pink); }
.stats-band-grid strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.2rem + 3.75vw, 4.05rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: white;
  display: inline-flex;
  align-items: flex-start;
}
.stats-band-grid strong span {
  font-size: 0.55em;
  color: color-mix(in srgb, white, transparent 30%);
  margin-left: 0.05em;
  margin-top: 0.05em;
}
.stats-band-grid .stat-label {
  font-size: 0.71rem;
  color: rgb(255 255 255 / 0.72);
  max-width: 16ch;
}
@media (max-width: 880px) {
  .stats-band-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .stats-band-grid {
    grid-template-columns: 1fr;
  }
}

/* Service tiles v2 – swatch energy, title overlays art */
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  padding: 0;
  min-height: 360px !important;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.4rem 3rem rgb(21 31 45 / 0.14);
}
.service-card .service-art {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}
.service-card > span:not(.service-art) {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgb(255 255 255 / 0.92);
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  letter-spacing: 0;
  z-index: 2;
}
.service-card h3 {
  padding: var(--space-6) var(--space-5) var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.service-card p {
  padding: 0 var(--space-5) var(--space-6);
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Section divider stripe – use between major bands */
.section-stripe {
  display: flex;
  width: 100%;
  height: 4px;
}
.section-stripe span {
  flex: 1;
  height: 100%;
}

/* Hero responsive – stack on mobile, motif smaller */
@media (max-width: 900px) {
  .hero-v2 .hero-grid {
    grid-template-columns: 1fr;
  }
  .cube-motif {
    max-width: 340px;
  }
}



/* =====================================================================
   v3 design pass — energy-balance edits
   ---------------------------------------------------------------------
   1. .founder-band            — dark navy feature band (replaces about-section)
   2. .service-card-mono       — single-accent service tile (replaces rainbow)
   3. .differentiator-band-v2  — single bold statement on teal band
   4. .case-study-hero-stat    — display-scale hero number per case study
   Values section removed in markup; no CSS needed.
   ===================================================================== */

/* ---------- 1. Founder dark band -------------------------------------- */
.founder-band {
  background: var(--blue-dark);
  color: white;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  position: relative;
  overflow: hidden;
}
.founder-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 8% 12%, color-mix(in srgb, var(--teal), transparent 72%), transparent 60%),
    radial-gradient(800px 420px at 96% 88%, color-mix(in srgb, var(--cyan), transparent 78%), transparent 60%);
  pointer-events: none;
}
.founder-band-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(var(--space-10), 7vw, var(--space-20));
  align-items: center;
}
.founder-band-figure {
  margin: 0;
  position: relative;
}
.founder-band-figure img {
  display: block;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.28;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: var(--radius-lg);
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.35);
  filter: saturate(1.02);
}
.founder-band-figure figcaption {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-left: var(--space-4);
  border-left: 2px solid var(--teal);
}
.founder-band-figure figcaption span {
  color: color-mix(in srgb, var(--teal), white 30%);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.founder-band-figure figcaption strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: white;
}
.founder-band-copy .eyebrow {
  color: color-mix(in srgb, var(--cyan), white 25%);
}
.founder-band-quote {
  margin: var(--space-5) 0 0;
  padding: 0;
  border: 0;
}
.founder-band-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 0.8rem + 2.4vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: white;
  max-width: 24ch;
}
.founder-band-quote p::before {
  content: '“';
  display: inline-block;
  margin-right: 0.15em;
  color: var(--teal);
  font-size: 1.1em;
  line-height: 0;
  vertical-align: -0.05em;
}
.founder-band-quote p::after {
  content: '”';
  color: var(--teal);
  margin-left: 0.05em;
}
.founder-band-credit {
  margin-top: var(--space-8);
  max-width: 58ch;
  color: rgb(255 255 255 / 0.78);
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .founder-band-grid {
    grid-template-columns: 1fr;
  }
  .founder-band-figure img {
    max-width: 340px;
  }
}

/* ---------- 2. Service tiles: single accent (blue) -------------------- */
.service-card.service-card-mono .service-art {
  background: var(--blue);
}
.service-card.service-card-mono h3,
.service-card.service-card-mono > span:not(.service-art) {
  color: var(--ink) !important;
}
/* Restore the small numeric chip's neutral chrome on the mono tiles */
.service-card.service-card-mono > span:not(.service-art) {
  background: rgb(255 255 255 / 0.94);
}

/* ---------- 3. Differentiator: single bold statement band ------------- */
.differentiator-band-v2 {
  background: var(--teal);
  color: white;
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  position: relative;
  overflow: hidden;
}
.differentiator-band-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 100% 0%, color-mix(in srgb, var(--blue-dark), transparent 70%), transparent 60%),
    radial-gradient(600px 360px at 0% 100%, color-mix(in srgb, var(--cyan), transparent 60%), transparent 60%);
  pointer-events: none;
}
.differentiator-band-v2-inner {
  position: relative;
  max-width: 980px;
}
.differentiator-band-v2 .eyebrow {
  color: rgb(255 255 255 / 0.78);
}
.differentiator-statement {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 0.8rem + 4.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: white;
}
.differentiator-statement span {
  display: block;
}
.differentiator-statement span:nth-child(1) { color: white; }
.differentiator-statement span:nth-child(2) { color: color-mix(in srgb, white, var(--blue-dark) 8%); }
.differentiator-statement span:nth-child(3) { color: color-mix(in srgb, var(--cyan), white 35%); }
.differentiator-subline {
  margin-top: var(--space-8);
  max-width: 56ch;
  color: rgb(255 255 255 / 0.86);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* The old .differentiator-section + .case-study-section sibling overrides
   keyed off the old class names — they're now inert and safely ignored. */

/* ---------- 4. Case study hero stat ---------------------------------- */
.case-study-card.has-hero-stat {
  position: relative;
}
.case-study-hero-stat {
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid color-mix(in srgb, var(--blue), white 82%);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.case-study-hero-stat strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 1.4rem + 4.6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--blue);
  /* Placeholder safety: braces in {{STAT}} render fine, just ensure no clipping */
  word-break: break-word;
}
.case-study-hero-stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-study-card-featured .case-study-hero-stat strong {
  color: var(--teal-dark);
}
.case-study-card-featured .case-study-hero-stat {
  border-bottom-color: color-mix(in srgb, var(--teal), white 70%);
}


/* =====================================================================
   v3 design pass — patch 1
   ---------------------------------------------------------------------
   • Revert service tiles to original rainbow palette (.service-card-mono
     overrides removed by neutralising the rule).
   • Fix dark dual-offer card heading rendering dark-on-dark.
   • Shrink body copy globally.
   ===================================================================== */

/* Service tiles: drop the mono override so the original per-tile colours
   (.service-red, .service-cyan etc., assigned via nth-child in earlier
   rules) win again. We keep the .service-card-mono class on the markup
   so we don't have to re-edit HTML; just neutralise its background. */
.service-card.service-card-mono .service-art {
  background: transparent;
}
.service-card.service-card-mono > span:not(.service-art) {
  background: rgb(255 255 255 / 0.94);
}
/* Restore per-tile accent backgrounds by nth-child position.
   Colours map to the illustration's native tone, not its tile number. */
.service-grid .service-card:nth-child(1) .service-art { background: var(--red); }   /* arrow */
.service-grid .service-card:nth-child(2) .service-art { background: var(--pink); }  /* cubes */
.service-grid .service-card:nth-child(3) .service-art { background: var(--cyan); }  /* reporting */
.service-grid .service-card:nth-child(4) .service-art { background: var(--gold); }  /* AI letters */
.service-grid .service-card:nth-child(5) .service-art { background: var(--lime); }  /* growth bars */
.service-grid .service-card:nth-child(6) .service-art { background: var(--blue); }  /* data stack */

/* Dark dual-offer card: heading was inheriting an ink colour from the
   light variant rule. Force it white. */
.dual-offer-card-dark h3,
.offer-choice-card-dark h3 {
  color: white;
}

/* Body copy shrink. Bring paragraph text from 1rem → ~0.94rem and any
   1.05rem standout paragraphs back to 1rem. Headings untouched. */
:root {
  --body-size: 0.94rem;
  --body-size-lead: 1rem;
}
body {
  font-size: var(--body-size);
}
p,
li {
  font-size: var(--body-size);
}
/* Where prose was bumped up explicitly, scale it back one notch. */
.hero-text,
.case-study-card p,
.dual-offer-card p,
.values-grid p,
.founder-band-credit,
.differentiator-subline {
  font-size: var(--body-size-lead);
}
/* Eyebrows, captions, micro-labels are already small — leave them. */
.eyebrow,
.case-study-hero-stat-label,
.footer-meta,
.footer-bottom,
small {
  font-size: var(--text-xs);
}


/* =====================================================================
   v3 design pass — patch 2
   ---------------------------------------------------------------------
   • Client logos: desaturate to monochrome grey, dim slightly, hover
     restores full colour. Matches the original *-gray.png intent without
     re-rendering every logo by hand.
   ===================================================================== */

.home-logo-grid img {
  filter: none;
  opacity: 1;
  transition: transform 200ms ease;
}
.home-logo-grid img:hover,
.home-logo-grid img:focus-visible {
  transform: translateY(-2px);
}


/* =====================================================================
   v3 design pass — patch 3
   ---------------------------------------------------------------------
   • Inter optical tuning at the small body size we landed last pass.
   • Tighten line-height from 1.6 → 1.55 so the prose feels more confident.
   • Enable Inter's text-figures and tabular-nums where it matters.
   ===================================================================== */

body {
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  /* cv11 = single-storey 'a' off (default Inter is fine), ss01 = open digits,
     ss03 = lowercase 'l' with bottom hook — better at small sizes. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p,
li {
  line-height: 1.55;
}
/* Numbers in stats bands, dashboard mock, hero stats — tabular figures so
   columns of numerals align cleanly. */
.stats-band-grid strong,
.case-study-hero-stat strong,
.offer-stats strong,
.package-list strong {
  font-feature-settings: 'tnum' on, 'lnum' on;
}


/* =====================================================================
   v3 design pass — patch 4
   ---------------------------------------------------------------------
   • Logo grid trimmed in markup to 6.
   • Add breathing space between the teal differentiator band and the
     dark quiz CTA card (they currently butt up).
   • Fix readability: heading was inheriting --blue on near-black --ink.
     Move heading to white. Lift body copy opacity for legibility.
   ===================================================================== */

/* Add space below the teal band so it doesn't crash into the black CTA */
.differentiator-band-v2 {
  margin-bottom: 0;
}
.quiz-cta-section {
  padding-top: clamp(var(--space-10), 6vw, var(--space-16));
}

/* Heading: white on black, not blue on black */
.quiz-cta-card h2 {
  color: white;
}
/* Body copy: lift opacity from 0.76 → 0.88 for legibility */
.quiz-cta-card p {
  color: rgb(255 255 255 / 0.88);
}
/* Eyebrow: was a muted grey, lift it to a cleaner teal */
.quiz-cta-card .eyebrow {
  color: color-mix(in srgb, var(--teal), white 28%);
}


/* Logo grid: 12 logos, using a balanced 3-column proof panel on desktop
   and 2 columns on mobile so there are no orphan rows. */
.home-logo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 1100px) {
  .home-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* =====================================================================
   v3 design pass — patch 5
   ---------------------------------------------------------------------
   • Exec Dashboard card: body copy lift (was inheriting dim 0.76 opacity).
   • NAB and MUFG logos: exempt from grayscale (they're white-on-dark
     designs that go to mid-grey blocks under desaturation).
   • Case study cards: heading colour to white, section background from
     near-black to light cream so the dark cards sit on light bed.
   ===================================================================== */

/* Exec Dashboard / dual-offer dark card: body legibility */
.dual-offer-card-dark p {
  color: rgb(255 255 255 / 0.88);
}

/* NAB (logo 1) and MUFG (logo 4) are dark-background designs.
   Skip the desaturation filter for those two specifically. */
.home-logo-grid img:nth-child(1),
.home-logo-grid img:nth-child(4) {
  filter: none;
  opacity: 0.9;
}
.home-logo-grid img:nth-child(1):hover,
.home-logo-grid img:nth-child(4):hover {
  opacity: 1;
}

/* Case study section: switch the bed from near-black to light cream so
   the dark cards become a feature on a light page, not yet another
   dark band. Cards stay dark — they need to for the hero stat contrast. */
.case-study-section {
  background: var(--cream);
  color: var(--ink);
}
.case-study-section .section-heading p:last-child {
  color: var(--muted);
}
/* The light bed means the kicker on light-card variant needs the teal
   to stand against cream, not white. Tighten contrast. */
.case-study-card .case-study-kicker {
  /* Kicker now sits inside a dark card again, so leave as-is — the cards
     themselves still have a dark background. */
}

/* Section heading colour — was inheriting white from .case-study-section
   when bg was --ink, now needs to be dark on cream. */
.case-study-section h2,
.case-study-section .eyebrow {
  color: var(--ink);
}
.case-study-section .eyebrow {
  /* eyebrow needs the teal back since we override .case-study-section h2 */
}
/* Restore the eyebrow's brand teal explicitly */
.case-study-section .section-heading .eyebrow {
  color: var(--blue);
}

/* Case study cards: heading was inheriting dark ink (now correct for
   section text), but cards are still dark — so force white inside cards. */
.case-study-card h3 {
  color: white;
}


/* =====================================================================
   v3 design pass — patch 6
   ---------------------------------------------------------------------
   • Case study cards: industry + category tag replaces {{STAT}} block.
   • Layout matches the visual weight of the old hero-stat anchor.
   ===================================================================== */

.case-study-card.has-industry-tag {
  position: relative;
}
.case-study-industry-tag {
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid color-mix(in srgb, var(--blue), white 82%);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.case-study-industry {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 0.85rem + 1.4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.case-study-category {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-study-card-featured .case-study-industry {
  color: var(--teal-dark);
}
.case-study-card-featured .case-study-industry-tag {
  border-bottom-color: color-mix(in srgb, var(--teal), white 70%);
}


/* =====================================================================
   v3 design pass — patch 7
   ---------------------------------------------------------------------
   • Case study cards now sit on a CREAM section bg (changed in patch 5),
     but the card backgrounds are still semi-transparent white from when
     the section was --ink. Give them explicit dark navy backgrounds so
     the dark-on-light contrast lands.
   ===================================================================== */

.case-study-card {
  background:
    radial-gradient(circle at 90% 0%, rgb(8 192 222 / 0.18), transparent 14rem),
    var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink), white 18%);
}
.case-study-card-featured {
  background:
    radial-gradient(circle at 90% 0%, rgb(0 168 144 / 0.32), transparent 15rem),
    color-mix(in srgb, var(--blue), var(--ink) 40%);
}
/* The hero-stat and industry-tag use --blue for the big text, which now
   needs to lift off the dark card surface. Switch to cyan accent. */
.case-study-card .case-study-industry {
  color: var(--cyan);
}
.case-study-card-featured .case-study-industry {
  color: color-mix(in srgb, var(--teal), white 30%);
}
.case-study-card .case-study-industry-tag {
  border-bottom-color: rgb(255 255 255 / 0.18);
}
.case-study-card-featured .case-study-industry-tag {
  border-bottom-color: rgb(255 255 255 / 0.22);
}
/* Category label (small caps under industry name) needs lift too */
.case-study-card .case-study-category {
  color: rgb(255 255 255 / 0.6);
}

/* =====================================================================
   Homepage case study section — calm light-card treatment
   ---------------------------------------------------------------------
   Replaces the earlier dark-card treatment on the homepage with a simpler
   three-card proof preview aligned to Data Governance, BI and AI.
   ===================================================================== */

.case-study-section-calm {
  background:
    radial-gradient(circle at 8% 8%, color-mix(in srgb, var(--cyan), transparent 88%), transparent 26rem),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  color: var(--ink);
}

.case-study-calm-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-8), 7vw, var(--space-20));
  align-items: end;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
}

.case-study-calm-heading h2 {
  max-width: 10ch;
  color: var(--ink);
}

.case-study-calm-heading .eyebrow {
  color: var(--blue);
}

.case-study-calm-heading p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
}

.case-study-calm-heading .section-heading-link {
  display: inline-flex;
  margin-top: var(--space-4);
  color: var(--ink);
}

.case-study-calm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.case-study-calm-card {
  --case-accent: var(--teal);
  --case-accent-strong: var(--teal-dark);
  display: flex;
  min-height: 26rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink), white 90%);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, white, var(--cream) 12%);
  box-shadow: 0 1.1rem 3rem rgb(36 64 76 / 0.1);
}

.case-study-calm-bi {
  --case-accent: var(--blue);
  --case-accent-strong: var(--blue);
}

.case-study-calm-ai {
  --case-accent: var(--gold);
  --case-accent-strong: #a45c00;
}

.case-study-calm-card {
  flex-direction: column;
}

.case-study-calm-stripe {
  display: block;
  height: 0.45rem;
  background: linear-gradient(90deg, var(--case-accent), transparent 78%);
}

.case-study-calm-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(var(--space-5), 3vw, var(--space-6));
}

.case-study-calm-meta {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.case-study-calm-title {
  display: block;
  color: var(--case-accent-strong);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.case-study-calm-category {
  display: block;
  margin-top: var(--space-2);
  color: color-mix(in srgb, var(--muted), white 18%);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-study-calm-card h3 {
  max-width: 12ch;
  margin-top: var(--space-6);
  color: var(--ink);
  font-size: clamp(1.55rem, 1.1rem + 1vw, 2rem);
  line-height: 0.98;
}

.case-study-calm-card > .case-study-calm-body > p {
  margin-top: var(--space-4);
  color: color-mix(in srgb, var(--muted), var(--ink) 8%);
  font-size: var(--text-sm);
}

.case-study-calm-proof {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.case-study-calm-proof span {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--case-accent-strong);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-study-calm-proof p {
  margin: 0;
  color: color-mix(in srgb, var(--ink), white 18%);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.case-study-calm-link {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-6);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 900;
  text-decoration: none;
}

.case-study-calm-link span {
  width: 2rem;
  height: 2rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: white;
}

@media (max-width: 62rem) {
  .case-study-calm-heading,
  .case-study-calm-grid {
    grid-template-columns: 1fr;
  }

  .case-study-calm-heading h2 {
    max-width: 12ch;
  }
}


/* =====================================================================
   data-foundation polish — patch
   ---------------------------------------------------------------------
   Pill labels in the reporting-layer section were rendering white-on-
   white because .dashboard-feature-list assumed a dark band. Override
   when the pills sit inside the light foundation-output-section.
   ===================================================================== */

.foundation-output-section .dashboard-feature-list span {
  color: var(--ink);
  background: color-mix(in srgb, var(--blue), white 92%);
  border: 1px solid color-mix(in srgb, var(--blue), white 78%);
}

/* Foundation preview note caption: was muted-on-ink (near invisible).
   Lift to white text and slightly opacity, keep the ink-band feel. */
.foundation-reporting-preview .preview-note {
  color: rgb(255 255 255 / 0.86);
}


/* =====================================================================
   data-foundation polish — patch 2
   ---------------------------------------------------------------------
   • New dashboard mock with proper window chrome and SVG chart
   • Warehouse diagram: tidier, more space around the cylinder now that
     the 4 sub-pill stack is gone, so the cylinder feels more like a
     product centrepiece than competing chrome.
   ===================================================================== */

/* --- new dashboard mock --- */
.foundation-reporting-preview-v2 {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--line), transparent 30%),
    0 2rem 4rem rgb(17 19 21 / 0.10);
}
.preview-window-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 40%);
  background: #f7f9fc;
}
.preview-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}
.preview-dot-red { background: #ff5f57; }
.preview-dot-yellow { background: #febc2e; }
.preview-dot-green { background: #28c840; }
.preview-window-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.preview-window-live {
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--teal), white 78%);
  color: var(--teal-dark);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.foundation-reporting-preview-v2 .preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 1.25rem;
  background: white;
}
.preview-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  border-right: 1px solid color-mix(in srgb, var(--line), transparent 50%);
}
.preview-kpi:last-child { border-right: 0; }
.preview-kpi-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.preview-kpi strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.preview-kpi-delta {
  font-size: 0.75rem;
  font-weight: 800;
}
.preview-kpi-up { color: var(--teal-dark); }
.preview-kpi-down { color: var(--red); }
.preview-chart {
  padding: 0.5rem 1.25rem 1.25rem;
  background: white;
}
.preview-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.preview-chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
}
.preview-legend-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.2rem;
  border-radius: 50%;
}
.preview-legend-actual { background: var(--teal); }
.preview-legend-target { background: color-mix(in srgb, var(--muted), white 40%); }
.preview-chart-svg {
  display: block;
  width: 100%;
  height: 110px;
  color: var(--muted);
}
.preview-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* --- warehouse: extra breathing room now that sub-pills are gone --- */
.warehouse-core {
  min-height: 18rem;
  padding-block: var(--space-9);
}
.warehouse-cylinder {
  width: 8.5rem;
  height: 8rem;
}


/* =====================================================================
   Inner-page type scale — patch
   ---------------------------------------------------------------------
   The homepage hero needs to shout (single headline, full-page anchor).
   Inner pages have many h2 sections so the default scale was producing
   five-line towers. Bring everything down a couple of stops on the
   inner pages only; leave the homepage h1 alone.
   ===================================================================== */

/* Product hero h1 on inner pages — keep big, but reasonable */
.product-hero h1,
.quiz-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 4rem);
  line-height: 1.02;
}
/* All h2s inside inner pages — sized down so they read as section
   headings, not heroes. Selector lists every inner-page section so we
   don't accidentally affect homepage h2s. */
.product-hero h2,
.client-proof-section h2,
.workflow-section h2,
.foundation-output-section h2,
.outcomes-section h2,
.package-section h2,
.quiz-cta-section h2,
.contact-section h2,
.dual-offer-section h2,
.ceo-dashboard-section h2,
.executive-flow-section h2,
.offer-compare-section h2,
.success-library-section h2 {
  max-width: 22ch;
  font-size: clamp(1.8rem, 1.25rem + 1.6vw, 2.8rem);
  line-height: 1.08;
}


/* =====================================================================
   Data-foundation logo grid — Executive Dashboard rhythm, tailored list
   ===================================================================== */

.client-logo-grid-data-foundation img {
  background: #fff;
}


/* =====================================================================
   Executive Dashboard mock — reuses the new dashboard chrome
   ---------------------------------------------------------------------
   The same window-chrome + SVG chart treatment from data-foundation,
   now applied to the exec dashboard preview too. Slightly different
   accents because this card sits on a dark navy section, not a light one.
   ===================================================================== */

.ceo-dashboard-preview-v2 {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 2.5rem 5rem rgb(0 0 0 / 0.35);
}
.ceo-dashboard-preview-v2 .preview-window-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 40%);
  background: #f7f9fc;
}
.ceo-dashboard-preview-v2 .preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.25rem;
  background: white;
}
.ceo-dashboard-preview-v2 .preview-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  border-right: 1px solid color-mix(in srgb, var(--line), transparent 50%);
}
.ceo-dashboard-preview-v2 .preview-kpi:last-child { border-right: 0; }
.ceo-dashboard-preview-v2 .preview-kpi-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ceo-dashboard-preview-v2 .preview-kpi strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ceo-dashboard-preview-v2 .preview-chart {
  padding: 0.5rem 1.25rem 1.25rem;
  background: white;
  color: var(--muted);
}


/* =====================================================================
   Hero tertiary link — soft "Not sure if this is right?" line that
   sits under the primary/secondary buttons on the service pages.
   ===================================================================== */

.hero-tertiary-link {
  margin-top: var(--space-5);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-tertiary-link a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 700;
}
.hero-tertiary-link a:hover {
  color: var(--blue);
}
.executive-hero .hero-tertiary-link {
  color: rgb(255 255 255 / 0.72);
}
.executive-hero .hero-tertiary-link a {
  color: color-mix(in srgb, var(--teal), white 50%);
}
.executive-hero .hero-tertiary-link a:hover {
  color: white;
}


/* =====================================================================
   Executive Dashboard logo grid — 12 logos, 6×2 single section
   ===================================================================== */

.client-logo-grid-twelve {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-3);
}
.client-logo-grid-twelve img {
  height: 78px;
  padding: var(--space-3) var(--space-4);
}
@media (max-width: 980px) {
  .client-logo-grid-twelve {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 640px) {
  .client-logo-grid-twelve {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =====================================================================
   Executive Dashboard screenshot — real Power BI image
   ---------------------------------------------------------------------
   Replaces the SVG mock with a screenshot of a real RUBIX-built
   Wonderland Analytics dashboard. object-position top + slight
   aspect-ratio crop hides the Power BI footer chrome without
   pre-cropping the source image.
   ===================================================================== */

.ceo-dashboard-screenshot {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ceo-dashboard-screenshot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1925 / 1030; /* slight crop of bottom Power BI footer */
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.18),
    0 2.8rem 5.5rem rgb(0 0 0 / 0.36);
}
.ceo-dashboard-screenshot figcaption {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.74);
  text-align: center;
  line-height: 1.5;
  max-width: 52ch;
  margin-inline: auto;
}


/* =====================================================================
   Executive Dashboard — restacked section + step card flow
   ---------------------------------------------------------------------
   • What You Get: copy on top (centered text block), dashboard image
     spans below at near-full container width. Resolves "image too small"
     while still keeping the section coherent.
   • How It Works: numbered steps now use brand-rainbow accent colours
     (warm-to-cool to imply progression), arrow connectors between cards,
     gentle hover lift.
   ===================================================================== */

/* --- Stacked dashboard section --- */
.ceo-dashboard-section-stacked {
  text-align: left;
}
.ceo-dashboard-intro {
  max-width: 64ch;
  margin: 0 auto var(--space-10);
  text-align: center;
}
.ceo-dashboard-intro .dashboard-feature-list {
  justify-content: center;
}
.ceo-dashboard-screenshot-full {
  margin: 0 auto;
  padding: 0;
  max-width: min(1280px, 92vw);
}
.ceo-dashboard-screenshot-full img {
  width: 100%;
  height: auto;
  aspect-ratio: 1925 / 1030;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.18),
    0 3rem 6rem rgb(0 0 0 / 0.4);
}
.ceo-dashboard-screenshot-full figcaption {
  margin-top: var(--space-4);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.74);
  text-align: center;
  line-height: 1.5;
}

/* --- How It Works: rainbow flow --- */
.executive-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.executive-steps article {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-6);
  border: 1px solid color-mix(in srgb, var(--blue), white 84%);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 1rem 2.4rem rgb(17 19 21 / 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.executive-steps article:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.6rem 3rem rgb(17 19 21 / 0.10);
}
.executive-steps article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.executive-steps article:nth-child(1) > span { background: var(--red); }
.executive-steps article:nth-child(2) > span { background: var(--gold); }
.executive-steps article:nth-child(3) > span { background: var(--teal); }
.executive-steps article:nth-child(4) > span { background: var(--blue); }

.executive-steps article h3 {
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-2);
  color: var(--ink);
}
.executive-steps article p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Connector arrows between cards (desktop only) */
.executive-steps article::after {
  content: "→";
  position: absolute;
  top: calc(var(--space-6) + 1rem);
  right: calc(var(--space-5) * -1 - 0.4rem);
  width: calc(var(--space-5) + 0.8rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--blue), white 50%);
  pointer-events: none;
}
.executive-steps article:last-child::after {
  display: none;
}

/* Responsive: drop to 2×2 then stacked */
@media (max-width: 980px) {
  .executive-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-7);
  }
  .executive-steps article:nth-child(2)::after,
  .executive-steps article:last-child::after {
    display: none;
  }
}
@media (max-width: 600px) {
  .executive-steps {
    grid-template-columns: 1fr;
  }
  .executive-steps article::after {
    display: none;
  }
}


/* =====================================================================
   Quiz result — collapsible "Breakdown by dimension" panel
   ---------------------------------------------------------------------
   Sits between "What this means" and "Your three priorities". Closed
   by default so the result stays action-focused; opens for the reader
   who wants the evidence behind the recommendations.
   ===================================================================== */

.breakdown-collapsible {
  margin: var(--space-6) 0;
  border: 1px solid color-mix(in srgb, var(--blue), white 84%);
  border-radius: var(--radius-lg);
  background: white;
  overflow: hidden;
}
.breakdown-collapsible > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease;
}
.breakdown-collapsible > summary::-webkit-details-marker { display: none; }
.breakdown-collapsible > summary:hover {
  background: color-mix(in srgb, var(--blue), white 96%);
}
.breakdown-summary-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.breakdown-summary-label .eyebrow {
  margin: 0;
}
.breakdown-summary-hint {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.breakdown-summary-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue), white 92%);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 220ms ease, background 180ms ease;
}
.breakdown-collapsible[open] > summary .breakdown-summary-chevron {
  transform: rotate(45deg);
  background: var(--blue);
  color: white;
}
.breakdown-collapsible[open] > div[data-breakdown] {
  padding: 0 var(--space-6) var(--space-6);
}
/* When collapsed, the breakdown div is hidden by the details element;
   when open, it gets the padding above. Reset the .breakdown grid spacing
   so it doesn't double up with the wrapper's own padding. */
.breakdown-collapsible > div[data-breakdown] {
  display: grid;
  gap: var(--space-3);
}


/* =====================================================================
   Success Stories — visitor-facing panel link
   ---------------------------------------------------------------------
   Each category panel ends in a soft arrow link pointing at the right
   service page or quiz. Sits below the columns, brand-coloured.
   ===================================================================== */

.success-story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-5);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--blue), white 60%);
  padding-bottom: 0.25rem;
  transition: color 180ms ease, border-color 180ms ease;
}
.success-story-link:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}
.success-story-panel-featured .success-story-link {
  color: white;
  border-bottom-color: rgb(255 255 255 / 0.45);
}
.success-story-panel-featured .success-story-link:hover {
  color: white;
  border-bottom-color: white;
}


/* =====================================================================
   Homepage logo grid — keep 5 columns longer
   ---------------------------------------------------------------------
   10 logos work cleanly only at 5×2 or 2×5. At mid widths we keep the
   5-across composition (logos shrink but the grid stays even). Below
   720px we drop to 2×5 (no orphan rows). Also fixes MUFG clipping
   with smaller padding so the wider logo fits its cell.
   ===================================================================== */

@media (max-width: 720px) {
  .home-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Avoid horizontal clipping of wider wordmarks (MUFG, AustralianSuper) */
.home-logo-grid img {
  padding-inline: var(--space-1);
}


/* =====================================================================
   Mobile audit fixes
   ---------------------------------------------------------------------
   • Dashboard screenshot is now wrapped in a tap-target link so phone
     users can open the full-resolution image in a new tab.
   • Hint copy "Tap to view full size" only shows on touch / narrow
     viewports to avoid clutter on desktop.
   ===================================================================== */

.ceo-dashboard-screenshot-link {
  display: block;
  cursor: zoom-in;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.ceo-dashboard-screenshot-link:hover {
  transform: translateY(-2px);
}
.ceo-dashboard-screenshot-link img {
  display: block;
}
.ceo-dashboard-screenshot-hint {
  display: none;
  margin-left: 0.4rem;
  color: color-mix(in srgb, var(--teal), white 30%);
  font-weight: 700;
}
@media (max-width: 880px), (hover: none) {
  .ceo-dashboard-screenshot-hint {
    display: inline;
  }
}


/* =====================================================================
   Success Stories — stacked card layout
   ---------------------------------------------------------------------
   Reuses .case-study-calm-card from the homepage (coloured top stripe,
   clean white card, brand-coloured industry tag) but laid out as a
   vertical stack with longer body copy and a two-column detail grid
   inside each card for "Typical engagements / What changes".
   ===================================================================== */

.success-stories-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1080px;
  margin-inline: auto;
}

.success-story-stacked-card {
  max-width: 100%;
}

/* The detail grid inside each card */
.success-story-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-8);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid color-mix(in srgb, var(--blue), white 86%);
}
.success-story-detail-grid > div p {
  margin: 0;
}
.success-story-detail-label {
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.success-story-detail-grid > div > p:not(.success-story-detail-label) {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .success-story-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* The "Explore X →" link at the bottom of each card */
.case-study-calm-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-6);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--blue), white 60%);
  padding-bottom: 0.25rem;
  align-self: flex-start;
  transition: color 180ms ease, border-color 180ms ease;
}
.case-study-calm-link:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

/* =====================================================================
   Success Stories proof-engine page
   Static, cPanel-friendly layout: featured story, compact proof cards,
   and a light archive list. No JavaScript required.
   ===================================================================== */

.proof-engine-page {
  background:
    radial-gradient(circle at 5% 6%, color-mix(in srgb, var(--cyan), transparent 86%), transparent 25rem),
    radial-gradient(circle at 94% 3%, color-mix(in srgb, var(--lime), transparent 84%), transparent 23rem),
    linear-gradient(180deg, #fff 0%, var(--cream) 78%);
}

.proof-engine-hero {
  padding-bottom: clamp(var(--space-6), 4vw, var(--space-10));
}

.proof-engine-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(var(--space-8), 7vw, var(--space-20));
  align-items: end;
}

.proof-engine-hero h1 {
  max-width: 11ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.proof-engine-hero .hero-text {
  max-width: 38rem;
  color: var(--muted);
  font-size: var(--text-base);
}

.proof-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.proof-filter {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  border: 1px solid color-mix(in srgb, var(--ink), white 88%);
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.72);
  padding: 0 var(--space-4);
  color: color-mix(in srgb, var(--ink), white 22%);
  font-size: var(--text-xs);
  font-weight: 800;
  text-decoration: none;
}

.proof-filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.proof-engine-library {
  padding-top: 0;
}

.proof-engine-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--space-7, 1.75rem);
  align-items: start;
}

.proof-feature-card,
.proof-story-card,
.proof-principles > div,
.proof-archive {
  border: 1px solid color-mix(in srgb, var(--ink), white 90%);
  background: rgb(255 255 255 / 0.82);
  box-shadow: 0 1.5rem 4rem rgb(36 64 76 / 0.11);
}

.proof-feature-card {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) + 0.55rem);
}

.proof-feature-card img {
  width: 100%;
  height: clamp(13.5rem, 26vw, 18rem);
  object-fit: cover;
}

.proof-feature-body {
  padding: clamp(var(--space-6), 4vw, var(--space-8));
}

.proof-card-kicker {
  margin-bottom: var(--space-3);
  color: var(--teal-dark);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-feature-card h2 {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.proof-feature-card h2 + p {
  max-width: 42rem;
  margin-top: var(--space-4);
  color: color-mix(in srgb, var(--muted), var(--ink) 8%);
  font-size: 1rem;
  line-height: 1.55;
}

.proof-feature-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.proof-feature-points div {
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
}

.proof-feature-points dt {
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-feature-points dd {
  margin-top: var(--space-2);
  color: color-mix(in srgb, var(--ink), white 14%);
  font-size: 0.9rem;
  line-height: 1.48;
}

.proof-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-6);
}

.proof-feature-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  border-radius: var(--radius-full);
  background: var(--lime);
  padding: 0 var(--space-5);
  color: color-mix(in srgb, var(--ink), black 6%);
  font-size: 0.86rem;
  font-weight: 900;
}

.proof-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.proof-story-card {
  --proof-accent: var(--teal);
  --proof-accent-strong: var(--teal-dark);
  position: relative;
  display: flex;
  min-height: 20rem;
  overflow: hidden;
  flex-direction: column;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.proof-story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 105% -4%, color-mix(in srgb, var(--proof-accent), transparent 78%), transparent 36%);
  pointer-events: none;
}

.proof-story-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.42rem;
  background: linear-gradient(90deg, var(--proof-accent), transparent 78%);
}

.proof-story-card > * {
  position: relative;
  z-index: 1;
}

.proof-story-ai {
  --proof-accent: var(--gold);
  --proof-accent-strong: #a45c00;
}

.proof-story-bi {
  --proof-accent: var(--blue);
  --proof-accent-strong: var(--blue);
}

.proof-story-health {
  --proof-accent: var(--pink);
  --proof-accent-strong: #b02d72;
}

.proof-story-public {
  --proof-accent: var(--lime);
  --proof-accent-strong: #718300;
}

.proof-story-banking {
  --proof-accent: var(--cyan);
  --proof-accent-strong: #007b8b;
}

.proof-story-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--proof-accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-story-meta span:last-child {
  color: color-mix(in srgb, var(--muted), white 12%);
  text-align: right;
}

.proof-story-card h3 {
  margin-top: var(--space-4);
  color: var(--ink);
  font-size: clamp(1.55rem, 1.1rem + 0.9vw, 2.05rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.proof-story-card p {
  margin-top: var(--space-3);
  color: color-mix(in srgb, var(--muted), var(--ink) 34%);
  font-size: 1rem;
  line-height: 1.48;
}

.proof-story-card a {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.proof-story-card a strong {
  color: var(--proof-accent-strong);
}

.proof-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.proof-principles > div {
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.proof-principles strong,
.proof-archive-heading .eyebrow {
  display: block;
  color: var(--blue-dark);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-principles span {
  display: block;
  margin-top: var(--space-2);
  color: color-mix(in srgb, var(--muted), var(--ink) 28%);
  font-size: 0.95rem;
  line-height: 1.45;
}

.proof-archive {
  margin-top: var(--space-6);
  border-radius: calc(var(--radius-xl) + 0.35rem);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
}

.proof-archive-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-6);
  align-items: end;
  margin-bottom: var(--space-5);
}

.proof-archive-heading h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.proof-archive-heading p:not(.eyebrow) {
  color: color-mix(in srgb, var(--muted), var(--ink) 18%);
  font-size: 1rem;
  line-height: 1.5;
}

.proof-archive-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.proof-archive-list section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border: 1px solid color-mix(in srgb, var(--line), transparent 12%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.76);
  padding: var(--space-5);
}

.proof-archive-list h3 {
  color: var(--blue-dark);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-archive-list a {
  border-top: 1px solid color-mix(in srgb, var(--line), transparent 26%);
  padding-top: var(--space-3);
  color: color-mix(in srgb, var(--ink), var(--muted) 18%);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.proof-archive-list a:hover,
.proof-archive-list a:focus-visible {
  color: var(--blue-dark);
}

@media (max-width: 68rem) {
  .proof-engine-hero-grid,
  .proof-engine-grid,
  .proof-archive-heading {
    grid-template-columns: 1fr;
  }

  .proof-feature-points,
  .proof-principles,
  .proof-archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 44rem) {
  .proof-card-grid,
  .proof-feature-points,
  .proof-principles,
  .proof-archive-list {
    grid-template-columns: 1fr;
  }

  .proof-engine-hero h1 {
    max-width: 9ch;
  }

  .proof-story-card {
    min-height: auto;
  }
}

/* =====================================================================
   Sales amend pass
   ---------------------------------------------------------------------
   Softer navigation, calmer proof panel, smaller founder feature and
   tightened Success Stories typography for desktop, tablet and mobile.
   ===================================================================== */

.primary-nav {
  font-family: 'Montserrat', var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.primary-nav a {
  color: var(--blue);
}

.primary-nav a:hover,
.primary-nav a[aria-current='page'] {
  color: var(--teal-dark);
}

.home-proof-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.founder-band {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
}

.founder-band-grid {
  grid-template-columns: minmax(190px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(var(--space-8), 6vw, var(--space-20));
}

.founder-band-figure img {
  width: min(100%, 260px);
  height: 300px;
  max-width: 260px;
  aspect-ratio: auto;
  object-position: 50% 12%;
  filter: saturate(1.02) brightness(1.08);
  box-shadow: 0 1.2rem 2.4rem rgb(0 0 0 / 0.22);
}

.founder-band-quote p {
  max-width: 28ch;
  font-size: clamp(1.45rem, 0.85rem + 1.85vw, 2.2rem);
  line-height: 1.2;
}

.founder-band-credit {
  margin-top: var(--space-5);
  max-width: 54ch;
}

.differentiator-band-v2 {
  background:
    radial-gradient(700px 420px at 88% 0%, color-mix(in srgb, var(--teal), transparent 62%), transparent 62%),
    linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}

.differentiator-statement {
  text-shadow: 0 0.7rem 2rem rgb(0 0 0 / 0.12);
}

.differentiator-statement span:nth-child(3) {
  color: color-mix(in srgb, var(--cyan), white 48%);
}

.proof-engine-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 5.2vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.proof-engine-hero-grid {
  align-items: center;
}

.proof-feature-card h2 {
  max-width: 15ch;
  font-size: clamp(1.85rem, 3.1vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.proof-story-card {
  min-height: 18rem;
  padding: clamp(var(--space-5), 3vw, var(--space-6));
}

.proof-story-card h3 {
  font-size: clamp(1.35rem, 1rem + 0.65vw, 1.8rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.proof-story-card p {
  font-size: 0.96rem;
  line-height: 1.5;
}

.proof-archive-heading h2 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.proof-archive-list section {
  gap: var(--space-2);
}

.proof-archive-list a {
  font-size: 0.9rem;
  line-height: 1.38;
}

@media (max-width: 880px) {
  .founder-band-grid {
    grid-template-columns: 1fr;
  }

  .founder-band-figure img {
    max-width: 300px;
  }
}

@media (max-width: 44rem) {
  .proof-engine-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    line-height: 1;
  }

  .proof-filter-strip {
    gap: 0.45rem;
  }

  .proof-filter {
    min-height: 2rem;
    padding-inline: var(--space-3);
  }

  .proof-archive {
    padding: var(--space-5);
  }
}

/* Keep the founder quote beside Dylan on tablet widths. Only stack on
   narrow phones where two columns would feel cramped. */
@media (max-width: 880px) and (min-width: 641px) {
  .founder-band-grid {
    grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1.58fr);
    gap: var(--space-8);
  }

  .founder-band-figure figcaption {
    gap: var(--space-2);
  }

  .founder-band-figure figcaption strong {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .founder-band-figure img {
    width: min(100%, 220px);
    height: 260px;
    max-width: 220px;
  }

  .founder-band-quote p {
    font-size: clamp(1.35rem, 2.9vw, 1.8rem);
    max-width: 26ch;
  }
}

@media (max-width: 640px) {
  .founder-band-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage spacing polish */
.dual-offer-section .section-heading {
  margin-bottom: clamp(var(--space-6), 3vw, var(--space-8));
  max-width: none;
}

.dual-offer-section .section-heading p:last-of-type {
  margin-top: var(--space-4);
  max-width: 640px;
}

.dual-offer-section .dual-offer-grid {
  margin-top: 0;
}

.case-study-calm-heading.container {
  width: min(100% - 2rem, 980px);
}

.case-study-calm-heading {
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: clamp(var(--space-6), 3.5vw, var(--space-10));
  align-items: center;
  margin-bottom: clamp(var(--space-6), 3.5vw, var(--space-8));
}

.case-study-calm-heading .section-heading-link {
  margin-top: var(--space-3);
}

.contact-grid > div > h2 + p {
  margin-top: clamp(var(--space-4), 2vw, var(--space-5));
}

@media (max-width: 62rem) {
  .case-study-calm-heading.container {
    width: min(100% - 2rem, var(--container));
  }

  .case-study-calm-heading {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: start;
  }
}


/* =========================================================
   Governance flow animated embed (Claude design)
   ========================================================= */
.governance-flow-section {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}
.governance-flow-embed {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(23, 71, 158, 0.30);
}
.governance-flow-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  /* fallback ratio before the auto-height script measures real content */
  aspect-ratio: 1360 / 812;
  height: auto;
}


/* =====================================================================
   Why RUBIX proof section — June 2026 refinements
   ---------------------------------------------------------------------
   • Shorten the eyebrow accent rule to a small dash (was a long em-rule).
   • home-proof-note: humanist sans-serif, kept bold.
   • Enlarge selected client logos (Telstra, AustralianSuper, WorkSafe).
   ===================================================================== */

/* Small dash in front of the "Why RUBIX" eyebrow */
.home-proof-copy .eyebrow::before {
  width: 10px;
}

/* Proof note matches the paragraph directly above it (body font, regular
   weight, muted colour). The teal left border keeps it visually distinct. */
.home-proof-note {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
}

/* Per-logo fit tuning inside the bordered cell.
   logo-lg: NAB wordmark sits small in its box, so trim the padding and
            let the artwork fill more of the cell (bigger, frame kept).
   logo-sm: ANZ wordmark nearly touches the cell edges, so add padding to
            pull it in and reveal the full surrounding frame. */
.home-logo-grid img.logo-lg {
  padding: 8px 10px;
}
.home-logo-grid img.logo-sm {
  padding: var(--space-3) var(--space-5);
}


/* =====================================================================
   Services section heading — June 2026
   • Align the heading block flush-left with the card grid (remove the
     centred 760px cap so it shares the container's left edge).
   • Headline on a single line.
   • Intro paragraph constrained to two lines.
   ===================================================================== */
.services-section .section-heading {
  max-width: none;
}
.services-section .section-heading h2 {
  white-space: nowrap;
}
.services-section .section-heading p:last-of-type {
  max-width: 950px;
}


/* =====================================================================
   Whole-page heading pass — June 2026
   • Left-align every section heading block with the page content grid.
   • Keep headings to 1–2 lines and intro paragraphs to 2 lines.
   ===================================================================== */

/* How it works — flush-left, headline 2 lines (one sentence each),
   intro to two lines */
.governance-flow-section .section-heading {
  max-width: none;
}
.governance-flow-section .section-heading h2 {
  max-width: none;
  text-wrap: nowrap;
  white-space: nowrap;
  font-size: clamp(1.4rem, 0.7rem + 1.55vw, 1.95rem);
}
.governance-flow-section .section-heading p:last-of-type {
  max-width: 760px;
}
/* Allow the one-line headline to wrap again on narrow screens. */
@media (max-width: 760px) {
  .governance-flow-section .section-heading h2 {
    white-space: normal;
    text-wrap: balance;
  }
}

/* Success stories ("Experience you can point to.") — flush-left grid,
   let the headline use its column (1–2 lines instead of a 10ch cap) */
.case-study-calm-heading.container {
  width: min(100% - 2rem, var(--content-wide));
}
.case-study-calm-heading h2 {
  max-width: none;
}

/* Quiz CTA — intro paragraph to two lines */
.quiz-cta-card p {
  max-width: 760px;
}
