/* ==========================================================================
   Bazl: site stylesheet (Phase 3, technology-first redesign)
   Visual language taken from the Bazl LinkedIn Featured artwork:
   deep navy gradients, a mint/green arc, a short mint rule, geometric
   headlines (Montserrat) and clean body copy (Source Sans 3).
   Fonts are self-hosted (SIL OFL 1.1; licences in /assets/fonts/).
   ========================================================================== */

/* ---- Fonts -------------------------------------------------------------- */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/source-sans-3-italic-latin-var.woff2") format("woff2");
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Colour: brand */
  --navy-950: #030f36;
  --navy-900: #05175a;
  --navy:     #062c89;   /* logo navy */
  --navy-600: #1b46b4;
  --navy-100: #e6ecf8;
  --green:       #00bf63;  /* logo green: CTA fills */
  --green-hover: #1fd47c;
  --green-text:  #00804a;  /* AA on white */
  --mint:        #2fe3a4;  /* decorative only: arcs, rules, icons on navy */
  --teal:        #0fae86;

  /* Colour: neutrals */
  --ink:    #0b1b44;
  --slate:  #4a5672;
  --mist:   #b6c2de;   /* secondary text on navy (AA on navy-900) */
  --paper:  #f3f6fb;
  --line:   #dde4ef;
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --white:  #ffffff;
  --danger: #b42318;

  /* Type */
  --display: "Montserrat", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Source Sans 3", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.7rem + 3.6vw, 4.25rem);
  --fs-h1:      clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  --fs-h2:      clamp(1.875rem, 1.4rem + 2.1vw, 2.875rem);
  --fs-h3:      clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --fs-lead:    clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;

  /* Space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(72px, 9vw, 128px);
  --section-tight: clamp(56px, 6vw, 88px);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;

  /* Shape and depth */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow-media: 0 2px 6px rgba(3, 15, 54, 0.10), 0 40px 80px -40px rgba(3, 15, 54, 0.55);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: inherit; font-family: var(--display); font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; text-wrap: balance; }
figure { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible { outline-color: var(--mint); }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.skip-link:focus { top: 12px; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ---- Type --------------------------------------------------------------- */
.display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.03em; }
h1, .h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.028em; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
.h4 { font-family: var(--display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.h2 + .lead, h2 + .lead { margin-top: var(--s-5); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--slate); max-width: 38em; }
.muted { color: var(--slate); }
.small { font-size: var(--fs-small); }
.eyebrow {
  display: block;
  font-family: var(--display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green-text); margin: 0 0 var(--s-5);
}
.eyebrow .keep { text-transform: none; }
.on-dark .eyebrow { color: var(--mint); }
/* The short mint rule from the LinkedIn artwork */
.rule { display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--mint); border: 0; margin: var(--s-6) 0; }
.rule--sm { width: 48px; height: 3px; margin: var(--s-5) 0; }

/* ---- Buttons and links -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font: 600 1rem/1.2 var(--display); letter-spacing: -0.005em;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green); color: var(--navy-950); box-shadow: 0 10px 30px -14px rgba(0, 191, 99, .9); }
.btn--primary:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--ink); border-color: rgba(11, 27, 68, .28); }
.btn--secondary:hover { border-color: var(--ink); background: rgba(11, 27, 68, .04); }
.on-dark .btn--secondary { color: var(--white); border-color: rgba(255, 255, 255, .38); }
.on-dark .btn--secondary:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.text-link {
  font-weight: 600; color: var(--navy); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--green);
  transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}
.text-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.on-dark .text-link { color: var(--white); text-decoration-color: var(--mint); }
.on-dark .text-link:hover { text-decoration-color: var(--white); }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 0.9875rem; color: var(--navy); text-decoration: none;
}
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }
.arrow-link:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.on-dark .arrow-link { color: var(--white); }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3, 15, 54, 0.97);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  color: var(--white);
}
.site-header.is-scrolled { border-color: var(--line-on-dark); background: rgba(3, 15, 54, 0.97); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; padding: 6px 0; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a {
  display: block; position: relative; padding: 10px 14px; border-radius: var(--r-sm);
  font-family: var(--display); font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em;
  color: rgba(255, 255, 255, .82); text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__list a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav__list a[aria-current] { color: var(--white); }
.nav__list a[aria-current]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--mint);
}
.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; color: var(--white); cursor: pointer; border-radius: var(--r-sm);
}
.nav-toggle svg { margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 28px; background: var(--navy-950);
    border-top: 1px solid var(--line-on-dark);
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 16px 2px; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid var(--line-on-dark); }
  .nav__list a:hover { background: none; }
  .nav__list a[aria-current]::after { left: auto; right: 2px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav .btn { margin-top: 24px; width: 100%; }
}

/* ---- Sections ----------------------------------------------------------- */
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: var(--section-tight) 0; }
.section--paper { background: var(--paper); }
.section--line { border-top: 1px solid var(--line); }
.on-dark { color: var(--white); }
.on-dark .lead, .on-dark .muted { color: var(--mist); }
.section--navy {
  background:
    radial-gradient(90% 70% at 15% 0%, rgba(27, 70, 180, .55) 0%, rgba(27, 70, 180, 0) 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: var(--s-5); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
.section-head--split > div { max-width: 720px; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__head { position: sticky; top: calc(var(--header-h) + 32px); }
.split__head .lead { margin-top: var(--s-5); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__head { position: static; }
}

/* ---- Hero (navy gradient + LinkedIn arc) -------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 9vw, 128px);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(27, 70, 180, .6) 0%, rgba(27, 70, 180, 0) 60%),
    radial-gradient(60% 60% at 70% 100%, rgba(15, 174, 134, .14) 0%, rgba(15, 174, 134, 0) 70%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 75%);
}
/* Any section carrying the arc clips it, so it can never cause horizontal scrolling. */
.arc { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.arc::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(620px, 72vw, 1180px); aspect-ratio: 1; border-radius: 50%;
  right: calc(clamp(620px, 72vw, 1180px) * -0.52); top: 50%; transform: translateY(-46%);
  background: linear-gradient(200deg, var(--mint) 0%, #19cf95 34%, var(--teal) 62%, rgba(15, 174, 134, .0) 92%);
  opacity: .92;
}
.arc--low::before { top: auto; bottom: 0; transform: translateY(58%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .display { max-width: 12ch; }
.hero__outcomes { margin: var(--s-6) 0 0; list-style: none; display: grid; gap: 6px; }
.hero__outcomes li {
  position: relative; padding-left: 26px;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.45; color: #dce4f6;
}
.hero__outcomes li::before {
  content: ""; position: absolute; left: 0; top: .58em; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--mint);
}
.hero__tagline { margin: var(--s-5) 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); letter-spacing: -0.015em; color: var(--white); }
.hero__tagline span { color: var(--mint); }
.hero .btn-row { margin-top: var(--s-7); }
.hero__aside { margin-top: var(--s-5); font-size: 1rem; color: var(--mist); }
.hero__aside a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--white); text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hero__aside a::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 7.5v9l7-4.5z' fill='%23030f36'/%3E%3C/svg%3E") center/100% no-repeat; }
.hero--page { padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero--page h1 { max-width: 18ch; }
.hero--page .lead { margin-top: var(--s-5); color: #d3dbef; }
.hero--compact h1 { max-width: 22ch; }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .arc::before { width: 640px; right: -420px; top: auto; bottom: -260px; transform: none; opacity: .55; }
}

/* Product composition in the hero: genuine ACME Global (fictional demo brand) screens */
.showcase { position: relative; padding: 0 0 clamp(48px, 7vw, 88px) 0; margin-right: calc(-1 * clamp(0px, 4vw, 72px)); }
.device {
  position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), var(--shadow-media);
}
.device__bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #e9edf4; border-bottom: 1px solid #d7dde8; }
.device__bar span { width: 9px; height: 9px; border-radius: 50%; background: #c3cad8; }
.device img { width: 100%; }
.showcase__page {
  position: absolute; right: -3%; bottom: 0; width: 28%;
  border-radius: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), var(--shadow-media);
  transform: rotate(2.5deg); transform-origin: bottom right;
}
.showcase figcaption, .media-caption {
  margin-top: var(--s-4); font-size: 0.875rem; line-height: 1.45; color: var(--slate); max-width: 46em;
}
.on-dark .showcase figcaption, .on-dark .media-caption { color: var(--mist); }
.showcase figcaption { position: absolute; left: 0; bottom: 0; max-width: 60%; margin: 0; }
@media (max-width: 980px) {
  .showcase { padding-bottom: 0; max-width: 680px; margin-right: 0; }
  .showcase__page { width: 30%; right: 3%; bottom: 52px; }
  .showcase figcaption { position: static; max-width: none; margin-top: var(--s-4); }
}

/* Hero entrance: the page's single orchestrated motion moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-enter] { opacity: 0; transform: translateY(16px); }
  .js .hero.is-ready [data-enter] { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .hero.is-ready [data-enter="2"] { transition-delay: .1s; }
  .js .hero.is-ready [data-enter="3"] { transition-delay: .2s; }
  .js .hero.is-ready [data-enter="4"] { transition-delay: .35s; }
}

/* ---- Film (shared player; used on / and /partners/) --------------------- */
.film-section .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.film { max-width: 1040px; margin: 0 auto; }
.film__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: var(--s-5); }
.film__meta p { margin: 0; color: var(--slate); }
.on-dark .film__meta p { color: var(--mist); }

.player { position: relative; width: 100%; margin: 0 auto; }
.player__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(11, 27, 68, .08), var(--shadow-media);
}
@supports not (aspect-ratio: 16 / 9) {
  .player__frame { height: 0; padding-top: 56.25%; }
  .player__video { position: absolute; inset: 0; }
}
.player__video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; cursor: pointer; }
.player__fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 24px; text-align: center; color: var(--white); background: var(--navy);
}
.player__fallback a { color: var(--mint); }
/* Discreet start control: bottom-left over the poster, never centred over the
   film. Hidden while playing; pause/play stays on the controls bar, Space/K
   and tap-on-video. */
.player__play {
  position: absolute; left: clamp(14px, 2.4vw, 28px); bottom: clamp(62px, 8vw, 84px); z-index: 3;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 8px 20px 8px 8px; border: 0; border-radius: 999px;
  background: rgba(3, 15, 54, .78); color: var(--white); cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  font: 600 0.9375rem/1 var(--display);
  transition: opacity .3s var(--ease), visibility .3s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.player__play:hover { background: rgba(3, 15, 54, .92); transform: translateY(-1px); }
.player__play-disc { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--navy-950); }
.player__play-icon { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.player__play-icon .icon-pause { display: none; }
.player__play-text small { font-weight: 500; opacity: .75; margin-left: 6px; }
.player.is-playing .player__play { opacity: 0; visibility: hidden; pointer-events: none; }
.player.is-paused .player__play-text .when-start { display: none; }
.player__play-text .when-paused { display: none; }
.player.is-paused .player__play-text .when-paused { display: inline; }

.player__cta {
  position: absolute; left: 0; right: 0; bottom: 18%; z-index: 4;
  display: flex; justify-content: center; padding: 0 16px;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.player__cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.player__cta .btn { box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .55); }
.player__cta .btn:focus-visible { outline-color: var(--white); }

.player__controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
  opacity: 0; transition: opacity .25s var(--ease);
}
.player:hover .player__controls,
.player:focus-within .player__controls,
.player.is-paused .player__controls { opacity: 1; }
@media (hover: none) { .player.is-playing .player__controls { opacity: 1; } }
.ctrl {
  min-height: 40px; padding: 8px 10px; border: 0; border-radius: var(--r-sm);
  background: transparent; color: var(--white); cursor: pointer; white-space: nowrap;
  font: 600 0.85rem/1 var(--sans); transition: background-color .15s var(--ease);
}
.ctrl:hover { background: rgba(255, 255, 255, .14); }
.ctrl:focus-visible { outline-color: var(--mint); }
.ctrl__label-pause, .ctrl__label-unmute { display: none; }
.player.is-playing [data-role="ctrl-play"] .ctrl__label-play { display: none; }
.player.is-playing [data-role="ctrl-play"] .ctrl__label-pause { display: inline; }
.player.is-muted [data-role="ctrl-mute"] .ctrl__label-mute { display: none; }
.player.is-muted [data-role="ctrl-mute"] .ctrl__label-unmute { display: inline; }
.ctrl__progress { flex: 1; display: flex; align-items: center; min-width: 60px; }
.ctrl__time { color: var(--white); font-size: 0.8rem; font-variant-numeric: tabular-nums; opacity: .9; }
.seek { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .3); cursor: pointer; }
.seek::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 2px solid #fff; cursor: pointer; }
.seek::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 2px solid #fff; cursor: pointer; }
.seek:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
@media (max-width: 640px) {
  .player__frame { border-radius: var(--r-md); }
  .player__play { bottom: 56px; min-height: 46px; padding-right: 16px; font-size: 0.875rem; }
  .player__play-disc { width: 32px; height: 32px; }
  .player__play-text small { display: none; }
  .player__cta { bottom: 22%; }
  .player__cta .btn { min-height: 46px; padding: 11px 18px; font-size: .9375rem; }
  .ctrl__time { display: none; }
  .ctrl { padding: 8px 7px; font-size: 0.8rem; }
}

/* ---- Three commercial opportunities (technology-layer diagram) --------- */
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); list-style: none; }
.lane {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 36px); border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line-on-dark);
}
.lane::before { content: ""; position: absolute; left: clamp(26px, 3vw, 36px); top: -1px; width: 48px; height: 3px; border-radius: 0 0 3px 3px; background: var(--mint); }
/* connector down to the shared technology base */
.lane::after {
  content: ""; position: absolute; left: 50%; bottom: calc(-1 * clamp(28px, 3vw, 40px)); width: 1px; height: clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(47, 227, 164, .7), rgba(47, 227, 164, .15));
}
.lane__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(47, 227, 164, .12); color: var(--mint); margin-bottom: var(--s-5); }
.lane__icon svg { width: 24px; height: 24px; }
.lane__fn { font-family: var(--display); font-size: 0.8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin: 0 0 var(--s-3); }
.lane h3 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.lane__who { color: var(--mist); margin: 0 0 var(--s-5); font-size: 1.0625rem; line-height: 1.5; }
.lane ul { list-style: none; display: grid; gap: 10px; margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--line-on-dark); }
.lane li { position: relative; padding-left: 24px; color: #e3e9f7; font-size: 1.0625rem; line-height: 1.5; }
.lane li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px;
  border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg);
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .lanes { grid-template-rows: repeat(5, auto); row-gap: 0; }
    .lane { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; }
    .lane__icon, .lane__fn { align-self: start; }
  }
}
.tech-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px;
  margin-top: clamp(28px, 3vw, 40px); padding: 18px 24px; border-radius: var(--r-md);
  border: 1px solid rgba(47, 227, 164, .35);
  background: linear-gradient(90deg, rgba(47, 227, 164, .08), rgba(47, 227, 164, .16), rgba(47, 227, 164, .08));
  text-align: center;
}
.tech-base__label { font-family: var(--display); font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.tech-base__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.0625rem; color: var(--white); }
.tech-base__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(47, 227, 164, .18); }
.tech-base__note { flex-basis: 100%; font-size: var(--fs-small); color: var(--mist); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .lanes .reveal:nth-child(2) { transition-delay: .08s; }
  .js .lanes .reveal:nth-child(3) { transition-delay: .16s; }
}
@media (max-width: 900px) {
  .lanes { grid-template-columns: 1fr; gap: 20px; }
  .lane::after { display: none; }
  .tech-base { justify-content: flex-start; text-align: left; }
}

/* ---- Products ----------------------------------------------------------- */
.flagship { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.product-name { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s-4); }
.product-name__mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--white); flex: none; }
.product-name__mark svg { width: 24px; height: 24px; }
.product-name__mark--pp { background: var(--navy-100); color: var(--navy); }
.product-name h2, .product-name h3 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); letter-spacing: -0.03em; }
.product-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #e1f6ec; color: #00653a; font: 600 0.8125rem/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.flagship__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); margin-bottom: var(--s-5); }
.covers { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: var(--s-6) 0; }
.covers li {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 0.97rem; line-height: 1.35;
}
.covers svg { width: 20px; height: 20px; color: var(--green-text); flex: none; margin-top: 1px; }
.disclaimer { font-size: 0.9rem; color: var(--slate); padding-left: 14px; border-left: 3px solid var(--line); margin: var(--s-5) 0 0; max-width: 40em; }
.on-dark .disclaimer { color: var(--mist); border-color: var(--line-on-dark); }

.stack { position: relative; padding: 0 12% 0 0; }
.stack__page {
  position: absolute; right: 0; top: 34%; width: 30%;
  border-radius: 6px; box-shadow: var(--shadow-media); border: 1px solid var(--line);
  transform: rotate(2deg);
}
.stack .media-caption { margin-top: var(--s-5); max-width: 62%; }

.companion {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white);
}
.section--paper .companion { background: var(--white); }
.companion .product-name h3 { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem); }
.companion__media img { border-radius: var(--r-sm); border: 1px solid var(--line); }
@media (max-width: 980px) {
  .flagship, .companion { grid-template-columns: 1fr; }
  .stack { max-width: 720px; }
}
@media (max-width: 520px) { .covers { grid-template-columns: 1fr; } }

/* ---- White-label: brand switcher (illustrative, fictional brands) ------- */
.wl { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.wl .h2 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); }
.wl-demo__picker { border: 0; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-wrap: wrap; gap: 8px; }
.wl-demo__picker legend { font-family: var(--display); font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: var(--s-3); padding: 0; }
.wl-demo__picker label {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 12px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 0.9rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wl-demo__picker input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wl-demo__swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.wl-demo__picker label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 27, 68, .08); }
.wl-demo__picker label:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }

.wl-cover {
  /* Brand variables (defaults = ACME Global, which is Bazl's fictional demo brand) */
  --wl-bg1: #13283d; --wl-bg2: #0b1826; --wl-accent: #14a38b; --wl-accent-text: #5fe0c6; --wl-mark-text: #fff;
  position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--r-md); overflow: hidden;
  padding: clamp(22px, 4vw, 40px); color: #eef3f8;
  background: linear-gradient(150deg, var(--wl-bg1), var(--wl-bg2));
  box-shadow: var(--shadow-media);
  transition: background .4s var(--ease);
  display: flex; flex-direction: column;
}
.wl-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--wl-accent); transition: background-color .4s var(--ease); }
.wl-cover__brand { display: flex; align-items: center; gap: 14px; }
.wl-cover__mark { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--wl-accent); color: var(--wl-mark-text); font: 700 1.05rem/1 var(--display); transition: background-color .4s var(--ease); }
.wl-cover__name { font: 700 1.05rem/1 var(--display); letter-spacing: .02em; }
.wl-cover__name small { font-size: .62rem; letter-spacing: .28em; margin-left: 6px; color: var(--wl-accent-text); text-transform: uppercase; }
.wl-cover__div { width: 1px; height: 28px; background: rgba(255,255,255,.25); }
.wl-cover__unit { font: 600 .6rem/1.35 var(--display); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.wl-cover__pill { align-self: flex-start; margin-top: clamp(22px, 4vw, 40px); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--wl-accent); color: var(--wl-accent-text); font: 600 .6rem/1.4 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.wl-cover__title { margin-top: 18px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); letter-spacing: -.01em; line-height: 1.1; }
.wl-cover__sub { margin: 6px 0 0; font-size: .95rem; color: rgba(255,255,255,.8); }
.wl-cover__grid { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.wl-cover__grid dt { font: 600 .55rem/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.wl-cover__grid dd { margin: 4px 0 0; font-size: .9rem; }
.wl-cover__brandset { display: flex; align-items: center; gap: 12px; }
.wl-cover__brandset > * { display: none; }
/* Default (and no-:has fallback): ACME Global */
.wl-cover__brandset > [data-brand="acme"] { display: contents; }

/* Brand variants, driven by the radio group (no JavaScript required) */
.wl-demo:has(input[value="northwind"]:checked) .wl-cover { --wl-bg1: #231d4a; --wl-bg2: #14102e; --wl-accent: #7c6cf2; --wl-accent-text: #b6acff; }
.wl-demo:has(input[value="bluepeak"]:checked) .wl-cover { --wl-bg1: #2b1d14; --wl-bg2: #180f0a; --wl-accent: #e6912a; --wl-accent-text: #ffc078; --wl-mark-text: #1d1209; }
.wl-demo:has(input[value="northwind"]:checked) .wl-cover__brandset > [data-brand="acme"],
.wl-demo:has(input[value="bluepeak"]:checked) .wl-cover__brandset > [data-brand="acme"] { display: none; }
.wl-demo:has(input[value="northwind"]:checked) .wl-cover__brandset > [data-brand="northwind"],
.wl-demo:has(input[value="bluepeak"]:checked) .wl-cover__brandset > [data-brand="bluepeak"] { display: contents; }
.wl-demo__note { margin: var(--s-4) 0 0; font-size: 0.875rem; color: var(--slate); }
@media (prefers-reduced-motion: reduce) { .wl-cover, .wl-cover::after, .wl-cover__mark { transition: none; } }

.points { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.points svg { width: 24px; height: 24px; color: var(--green-text); grid-row: span 2; margin-top: 2px; }
.points h3 { font-size: 1.0625rem; letter-spacing: -0.01em; }
.points p { margin: 0; color: var(--slate); font-size: 1.0625rem; line-height: 1.6; }
.on-dark .points, .on-dark .points li { border-color: var(--line-on-dark); }
.on-dark .points svg { color: var(--mint); }
.on-dark .points p { color: var(--mist); }
@media (max-width: 980px) { .wl { grid-template-columns: 1fr; } .wl-demo { max-width: 640px; } }
@media (max-width: 520px) { .wl-cover { aspect-ratio: auto; min-height: 360px; } .wl-cover__grid { grid-template-columns: 1fr 1fr; } }

/* ---- Expertise (consulting, secondary) ---------------------------------- */
.expertise { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.person { display: flex; align-items: center; gap: 16px; margin-top: var(--s-6); }
.person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.person p { margin: 0; line-height: 1.4; font-size: 0.97rem; }
.person strong { font-family: var(--display); font-weight: 700; }
.person span { color: var(--slate); }
.record-note { margin-top: var(--s-5); padding: 18px 20px; border-left: 3px solid var(--green); background: var(--white); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 0.99rem; color: var(--ink); }
.record-note strong { font-family: var(--display); }
.record-note small { display: block; margin-top: 6px; color: var(--slate); font-size: 0.875rem; }
.caps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line); }
.caps li { padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; line-height: 1.35; }
.caps li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 10px; height: 2px; background: var(--green); }
@media (max-width: 900px) { .expertise { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .caps { grid-template-columns: 1fr; } }

/* ---- Generic content blocks --------------------------------------------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); list-style: none; }
.trio li { padding-top: 22px; border-top: 2px solid var(--ink); }
.trio h3 { font-size: 1.1875rem; margin-bottom: 10px; letter-spacing: -0.015em; }
.trio p { color: var(--slate); margin: 0; }
.on-dark .trio li { border-top-color: var(--mint); }
.on-dark .trio p { color: var(--mist); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

.benefits { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 3vw, 36px); }
.benefits li { padding-top: 20px; border-top: 2px solid var(--green); }
.benefits h3 { font-size: 1.125rem; margin-bottom: 8px; letter-spacing: -0.012em; }
.benefits p { color: var(--slate); margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.benefits__icon { width: 26px; height: 26px; color: var(--green-text); margin-bottom: 14px; }
.on-dark .benefits li { border-top-color: var(--mint); }
.on-dark .benefits p { color: var(--mist); }
.on-dark .benefits__icon { color: var(--mint); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 28px 0 0; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px;
  font: 700 0.875rem/1 var(--display); letter-spacing: .08em; color: var(--green-text);
  padding-bottom: 14px; border-bottom: 2px solid var(--ink);
}
.steps h3 { font-size: 1.1875rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.steps p { color: var(--slate); margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.on-dark .steps li::before { color: var(--mint); border-bottom-color: var(--line-on-dark); }
.on-dark .steps p { color: var(--mist); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.how { list-style: none; display: grid; gap: clamp(48px, 6vw, 88px); counter-reset: how; }
.how > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: center; counter-increment: how; }
.how__num { display: block; font: 700 0.875rem/1 var(--display); letter-spacing: .08em; color: var(--green-text); margin-bottom: 14px; }
.how__num::before { content: "0" counter(how) "  "; }
.how h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.how p { color: var(--slate); margin: 0; }
.how__media img { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-media); }
.how__pages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.how__pages img { border-radius: 6px; }
@media (max-width: 900px) { .how > li { grid-template-columns: 1fr; } }

.qs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.qs li { padding: 22px 0; border-top: 1px solid var(--line); }
.qs q { display: block; font-family: var(--display); font-weight: 700; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.012em; quotes: "\201C" "\201D"; margin-bottom: 8px; }
.qs p { color: var(--slate); margin: 0; font-size: 0.98rem; }
@media (max-width: 760px) { .qs { grid-template-columns: 1fr; } }

.rows { list-style: none; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 1.1875rem; letter-spacing: -0.015em; }
.row p { margin: 0; color: var(--slate); }
.row ul { list-style: none; margin-top: 10px; font-size: 0.98rem; }
.row ul li { padding: 3px 0 3px 20px; position: relative; }
.row ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 2px; background: var(--green); }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }

.ticks { list-style: none; }
.ticks li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 7px;
  border-left: 2px solid var(--green-text); border-bottom: 2px solid var(--green-text); transform: rotate(-45deg);
}
.on-dark .ticks li { border-top-color: var(--line-on-dark); }
.on-dark .ticks li::before { border-color: var(--mint); }

.deliverables { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-bottom: 18px; }
.deliverables li { padding: 16px 0 16px 28px; border-top: 1px solid var(--line); position: relative; line-height: 1.4; }
.deliverables li::before { content: ""; position: absolute; left: 0; top: 20px; width: 14px; height: 14px; border: 1.5px solid var(--green-text); border-radius: 3px; }
@media (max-width: 560px) { .deliverables { grid-template-columns: 1fr; } }

.offer {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 5vw, 64px); background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line);
}
.offer .h2 { margin-bottom: 18px; }
.offer .lead { color: var(--ink); margin-bottom: 14px; }
.offer .muted { margin-bottom: 28px; max-width: 38em; }
.offer__scope .h3 { font-size: 1.125rem; margin-bottom: 14px; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }

.note { padding: 22px 26px; background: var(--paper); border-left: 3px solid var(--navy); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--slate); font-size: 0.99rem; max-width: 60em; }
.note strong { color: var(--ink); }
.statement-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.statement-band p { color: var(--slate); }
@media (max-width: 900px) { .statement-band { grid-template-columns: 1fr; } }

.founder { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.founder__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.founder__meta { margin-top: 14px; font-size: 0.95rem; color: var(--slate); }
.founder__meta strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.0625rem; }
.founder__quote { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); line-height: 1.22; letter-spacing: -0.02em; }
.founder__body { margin-top: 24px; color: var(--slate); max-width: 40em; }
.founder__body strong { color: var(--ink); }
.on-dark .founder__meta { color: var(--mist); }
.on-dark .founder__meta strong, .on-dark .founder__body strong { color: var(--white); }
.on-dark .founder__body { color: var(--mist); }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 180px; } }

.statement { margin: 0; }
.statement p { color: var(--slate); font-size: 1.125rem; line-height: 1.7; max-width: 38em; }
.statement .statement__lead { font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 24px; }
.statement__by { margin-top: 24px; font-weight: 600; color: var(--ink); }
.statement__by::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--green); vertical-align: middle; margin-right: 12px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 0 22px; color: var(--slate); max-width: 46em; }
.faq + .note { margin-top: 40px; }

/* ---- Feature band (link from one page to another) ----------------------- */
.band {
  display: grid; grid-template-columns: minmax(0, 7fr) auto; gap: 24px 48px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line);
}
.band h2 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); margin-bottom: 10px; }
.band p { margin: 0; color: var(--slate); max-width: 44em; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* ---- Insights ----------------------------------------------------------- */
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.card { position: relative; display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 20px; }
.card__media { order: -1; margin: 0 0 18px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:has(.card__media) { border-top: 0; padding-top: 0; }
.card:hover .card__media img { transform: scale(1.02); }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.875rem; color: var(--slate); margin: 0 0 10px; }
.card__cat { font-family: var(--display); font-weight: 600; font-size: 0.8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); }
.card :is(h2, h3) { font-size: 1.25rem; line-height: 1.25; margin-bottom: 10px; }
.card :is(h2, h3) a { text-decoration: none; }
.card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.card :is(h2, h3) a:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.card p { color: var(--slate); margin: 0; font-size: 0.99rem; }
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; border-top: 0; padding-top: 0; }
.card--featured .card__media { margin: 0; }
.card--featured :is(h2, h3) { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem); }
/* Featured article without an image: a full-width text lead, not an empty media column */
.card--featured:not(:has(.card__media)) { display: flex; align-items: stretch; border-top: 2px solid var(--ink); padding-top: 24px; padding-bottom: 8px; }
.card--featured:not(:has(.card__media)) > div { max-width: 46rem; }
.card--featured:not(:has(.card__media)) p { font-size: 1.125rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } .card--featured { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.insights-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.topic-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.topic-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 12px; }
.topic-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(47, 227, 164, .18); }
.resource {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 24px; align-items: center;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
}
.resource svg { width: 28px; height: 28px; color: var(--green-text); }
.resource h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.resource p { margin: 0; color: var(--slate); font-size: 0.95rem; }
@media (max-width: 900px) { .insights-intro { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .resource { grid-template-columns: 1fr; } }

/* Article */
.article-head { padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 48px); }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--mist); text-decoration: none; margin-bottom: var(--s-6); }
.crumb:hover { color: var(--white); }
.article-head h1 { max-width: 22ch; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); }
.article-head .lead { margin-top: var(--s-5); color: #d3dbef; }
.article-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: var(--s-6); font-size: 1rem; color: var(--mist); }
.article-meta strong { color: var(--white); font-weight: 700; font-size: 1.0625rem; }
.article-hero-img { margin-top: calc(-1 * clamp(24px, 3vw, 40px)); }
.article-hero-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-media); width: 100%; }
.prose { max-width: 740px; font-size: clamp(1.0625rem, 1rem + .25vw, 1.125rem); line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }                /* paragraph rhythm (~20px at 18px) */
.prose p { margin-bottom: 0; color: #24324f; }        /* keep the global p bottom margin from stacking on the rhythm above */
.prose h2, .prose h3 { max-width: none; text-wrap: pretty; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); margin-top: 2.1em; line-height: 1.2; }
.prose h3 { font-size: 1.25rem; margin-top: 1.7em; line-height: 1.3; }
.prose > :is(h2, h3) + * { margin-top: .9em; }        /* heading sits close to the text it introduces */
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; color: #24324f; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--navy); text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--mint); font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.prose figure img { border-radius: var(--r-md); }
.prose figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--slate); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose strong { color: var(--ink); }
.author-bio { max-width: 740px; margin-top: clamp(40px, 5vw, 56px); padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.author-bio__name { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); margin: 0; }
.author-bio p:last-child { margin: 0; color: var(--slate); font-size: 1rem; line-height: 1.65; }
.author-bio + .article-end { margin-top: clamp(28px, 4vw, 40px); }
.article-end { margin-top: clamp(48px, 6vw, 72px); padding-top: var(--s-6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* ---- Final CTA ---------------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.cta h2 { max-width: 18ch; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.06; }
.cta .lead { margin-top: var(--s-5); max-width: 34em; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta__meta { color: var(--mist); font-size: 0.95rem; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---- Contact / demo booking --------------------------------------------- */
.book-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: end; }
.book-topic { display: inline-flex; align-items: center; gap: 10px; margin: var(--s-5) 0 0; padding: 8px 14px; border-radius: 999px; background: rgba(47, 227, 164, .12); color: var(--white); font-weight: 600; font-size: 0.95rem; }
.book-topic::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.book-topic[hidden] { display: none; }
.agenda { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-on-dark); }
.agenda li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line-on-dark); color: #dbe3f5; line-height: 1.45; }
.agenda li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.book-meta { margin: var(--s-4) 0 0; color: var(--mist); font-size: 0.95rem; }
@media (max-width: 900px) { .book-hero__grid { grid-template-columns: 1fr; } }

.booking { padding: clamp(32px, 4vw, 56px) 0 var(--section-tight); background: var(--paper); }
.book__frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: 0 30px 60px -40px rgba(3, 15, 54, .35); }
.book__frame iframe { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
@media (max-width: 960px) { .book__frame iframe { height: 940px; } }
@media (max-width: 640px) {
  .booking .wrap { padding-left: 10px; padding-right: 10px; }
  .book__frame { border-radius: var(--r-md); }
  .book__frame iframe { height: 1320px; }
}
.alt-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.alt-route { padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-size: 0.97rem; }
.alt-route strong { display: block; font-family: var(--display); font-size: 0.98rem; margin-bottom: 4px; }
.alt-route p { margin: 0 0 6px; color: var(--slate); }
@media (max-width: 860px) { .alt-routes { grid-template-columns: 1fr; } }

.direct-email { max-width: 760px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.direct-email .lead { margin-top: var(--s-3); }
.direct-email__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: var(--s-5); }
.direct-email__addr { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--mist); padding: clamp(56px, 7vw, 88px) 0 36px; font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer__brand img { height: 34px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 30em; }
.footer__brand .rule { margin: 24px 0 0; }
.site-footer h2 { font: 600 0.8125rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 4px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); font-size: 0.875rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---- Mobile sticky CTA -------------------------------------------------- */
.mobile-cta { display: none; }
@media (max-width: 880px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(3, 15, 54, .94); border-top: 1px solid var(--line-on-dark);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta .site-footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* ---- 404 ---------------------------------------------------------------- */
.notfound { min-height: calc(100vh - var(--header-h) - 200px); display: flex; align-items: center; }
.notfound__code { font: 700 clamp(4rem, 3rem + 6vw, 8rem)/1 var(--display); letter-spacing: -0.05em; color: var(--mint); margin-bottom: var(--s-5); }

/* ---- Legal pages and the PE guide (existing markup, restyled) ----------- */
.page-wrap { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) var(--section); }
.page-header { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.page-header .label { display: block; font: 600 0.8125rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); margin-bottom: 14px; }
.page-header h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); margin-bottom: 16px; }
.page-header p { color: var(--slate); font-size: 1.125rem; margin: 0; }
.page-header .updated { font-size: 0.95rem; }
.policy-body h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); line-height: 1.2; margin: 48px 0 14px; }
.policy-body h3 { font-size: 1.0625rem; margin: 28px 0 10px; }
.policy-body p, .policy-body li { color: #24324f; }
.policy-body ul, .policy-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.policy-body li { margin-bottom: .5em; }
.policy-body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.policy-body .highlight-box { background: var(--paper); border-left: 3px solid var(--navy); padding: 20px 24px; margin: 28px 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.policy-body .highlight-box p { margin: 0; }
.risk-card { padding: 20px 24px; margin: 16px 0; background: var(--white); border: 1px solid var(--line); border-left-width: 4px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.risk-card h3 { margin-top: 0; }
.risk-card p { margin: 0; }
.risk-card.high { border-left-color: #c0392b; }
.risk-card.medium { border-left-color: #d98e04; }
.risk-card.low { border-left-color: var(--green); }
.cta-box { margin-top: 56px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); color: var(--white);
  background: radial-gradient(80% 90% at 0% 0%, rgba(27, 70, 180, .6), rgba(27, 70, 180, 0) 60%), var(--navy-950); }
.cta-box h2 { margin-top: 0 !important; color: var(--white); }
.cta-box p { color: var(--mist) !important; }
.cta-box .btn-row { margin-top: 24px; }
.cta-box .btn--secondary { color: var(--white); border-color: rgba(255, 255, 255, .38); }

/* ---- Utilities ---------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.max-40 { max-width: 40em; }

/* ---- Responsive type and controls --------------------------------------- */
@media (max-width: 600px) {
  .hero .btn-row .btn, .cta__actions .btn, .offer .btn { width: 100%; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .btn { white-space: normal; text-align: center; }
}

/* ---- Print -------------------------------------------------------------- */
@media print {
  .site-header, .mobile-cta, .nav-toggle, .player__controls, .player__play { display: none !important; }
  .on-dark, .hero, .section--navy, .site-footer { background: none !important; color: #000 !important; }
  .arc::before { display: none; }
}

/* ---- Reduced motion (belt and braces) ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .player__cta { transform: none; }
}
