/* ==========================================================================
   Fonts (self-hosted: no third-party requests)
   ========================================================================== */
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

/* ==========================================================================
   Tokens (from the Figma brand foundations)
   ========================================================================== */
:root {
  /* Live Engine, also the base palette */
  --live-100: #00cfff;
  --live-200: #0042f0;
  --live-300: #0021bf;
  --live-400: #000066;
  --navy: #000033;
  --hero-navy: #030433;

  /* Content Engine */
  --content-100: #d9c2ff;
  --content-200: #9e6ef0;
  --content-300: #6621bf;

  /* Expansion Engine */
  --expansion-100: #9ec2a3;
  --expansion-200: #78b887;
  --expansion-300: #337a7d;
  --expansion-400: #004a66;

  /* Intent Engine */
  --intent-100: #ffab8f;
  --intent-200: #ff7387;
  --intent-300: #ff547d;
  --intent-400: #6e2666;

  --white: #ffffff;
  --page: var(--white);

  --font-heading: "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, sans-serif;
  --font-product: "DM Sans", system-ui, sans-serif;

  /* The white margin around the rounded sections: 19px at 1920 */
  --inset: clamp(8px, 1vw, 19px);
  --radius-section: 18px;
  --radius-pill: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* White track: a dark OS-themed scrollbar reads as a hard edge down the white page */
  scrollbar-color: rgb(0 0 51 / .35) var(--page);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-menu-open { overflow: hidden; }

/* Native scrolling; in-page links glide unless the visitor prefers less motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

img, svg { display: block; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--live-100); outline-offset: 3px; border-radius: 4px; }

/* Sitelinks from ads jump to these sections; keep them clear of the pinned logo tab */
#how, #proof, #cta, #engines { scroll-margin-top: 90px; }
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   Shared components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--sm { font-size: .9375rem; }
.btn--dark { color: var(--navy); }
.btn--dark:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.eyebrow {
  color: var(--live-100);
  font-size: clamp(.8125rem, .75rem + .2vw, 1rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.chevron {
  width: 12px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
[aria-expanded="true"] > .chevron { transform: rotate(180deg); }

/* ==========================================================================
   Hero shell
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 2 * var(--inset));
  margin: var(--inset);
  overflow: hidden;
  border-radius: var(--radius-section);
  background: var(--hero-navy) url("../img/hero-bg.webp") center / cover no-repeat;
  color: var(--white);
}

/* Dot textures, bottom corners */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(320px, 39vw, 749px);
  aspect-ratio: 1;
  background: center / contain no-repeat;
  mix-blend-mode: exclusion;
  pointer-events: none;
}
.hero::before { left: -8px; bottom: -17px; background-image: url("../img/dots-left.webp"); }
.hero::after { right: 8px; bottom: 0; background-image: url("../img/dots-right.webp"); }

/* ==========================================================================
   Brand: the notch with the logo. It starts in the top edge of the hero and
   pins to the top of the screen; main.js sets --brand-y and the states.
   ========================================================================== */
:root {
  --notch-w: clamp(180px, 21.4vw, 410px);
  --notch-h: calc(var(--notch-w) * .2268);
  --logo-w: calc(var(--notch-w) * .349);
  --logo-top: calc(var(--notch-w) * .0366);
  --brand-pinned-scale: .7;
}
/* --tab is the tab's size factor (1 at rest, smaller when pinned) and --centre moves the
   mark to the middle once the baseline is gone. Registered, so they animate smoothly while
   the tab keeps real dimensions: no transforms, so the logo is drawn sharp at its final size. */
@property --tab { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --centre { syntax: "<number>"; inherits: true; initial-value: 0; }
.brand {
  position: fixed;
  top: var(--brand-y, var(--inset));
  right: 0;
  left: 0;
  z-index: 40;
  width: calc(var(--notch-w) * var(--tab));
  height: calc(var(--notch-h) * var(--tab));
  margin-inline: auto;
  transition: --tab .35s var(--ease), --centre .35s var(--ease);
}
/* Pinned it shrinks, so it takes less of the screen while scrolling */
.brand.is-pinned { --tab: var(--brand-pinned-scale); --centre: 1; }
/* The shape reaches 1px above the tab: its soft anti-aliased top row then lies off-screen
   when pinned and on the white margin at rest, instead of showing as a line on 4K screens */
.brand__notch {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: calc(100% + 1px);
  fill: var(--page);
  transition: filter .3s var(--ease);
}
/* Pinned it casts a drop shadow, so it reads as a tab floating over the page */
.brand.is-pinned .brand__notch { filter: drop-shadow(0 8px 18px rgb(0 0 51 / .22)) drop-shadow(0 2px 4px rgb(0 0 51 / .12)); }
.brand__logo {
  position: absolute;
  /* At rest under the top edge; pinned, the mark centred in the notch */
  top: calc((var(--logo-top) * (1 - var(--centre)) + (var(--notch-h) - var(--logo-w) * .3007) / 2 * var(--centre)) * var(--tab));
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(var(--logo-w) * var(--tab));
  margin-inline: auto;
}
.brand__logo img { width: 100%; height: auto; }
/* Real text, so it never drops below a readable size */
.brand__baseline {
  margin-top: calc(var(--logo-w) * .045);
  color: var(--navy);
  font-size: max(10px, calc(var(--logo-w) * .074));
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: opacity .25s var(--ease);
}
.brand.is-pinned .brand__baseline { opacity: 0; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(14px, 1.35vw, 26px) clamp(16px, 2.45vw, 47px) 0;
  min-height: var(--notch-h);
}

.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.1vw, 40px); }

.nav__links > li > a,
.nav__login,
.dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav__links > li > a:hover,
.nav__login:hover,
.dropdown__toggle:hover { color: var(--live-100); }

.nav__menu-actions { display: none; }

.nav__actions { display: flex; align-items: center; gap: clamp(20px, 2.1vw, 40px); }
.nav__globe { flex: none; }
.nav__actions .dropdown__toggle { gap: 4px; }

.nav__toggle { display: none; }

.dropdown { position: relative; }
.dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 40px rgb(0 0 51 / .25);
  color: var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
}
.dropdown--end .dropdown__panel { right: 0; left: auto; }
.dropdown__toggle[aria-expanded="true"] + .dropdown__panel { opacity: 1; visibility: visible; transform: none; }
.dropdown__panel a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}
.dropdown__panel a:hover { background: #f1f4ff; color: var(--live-200); }
.dropdown__panel a[aria-current="true"] { font-weight: 700; }

/* ==========================================================================
   Hero content
   ========================================================================== */
.hero__main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 628fr) minmax(0, 663fr);
  column-gap: clamp(60px, calc(26.35vw - 251px), 255px);
  align-items: center;
  /* 56px at 1180 to 168px at 1920 */
  padding: clamp(40px, 5.4vw, 104px) clamp(56px, calc(15.14vw - 122.6px), 168px) clamp(32px, 2.6vw, 50px);
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }

.hero__title {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(50px, calc(2.6vw + 16px), 66px);
  font-weight: 700;
  line-height: 1.18;
}
/* Two designed lines; neither may wrap */
.hero__title span { display: block; white-space: nowrap; }

.hero__lead {
  max-width: 628px;
  margin-top: clamp(24px, 2.1vw, 40px);
  font-size: clamp(1rem, .9rem + .2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.89;
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(24px, 2.1vw, 40px); }

/* Opens the brand film with sound in the film player (main.js, [data-film]) */
.hero-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 5px 20px 5px 5px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease);
}
.hero-watch small { color: rgb(0 0 51 / .55); font-size: .8125rem; font-weight: 500; }
.hero-watch__play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--live-100); }
.hero-watch__play svg { width: 12px; height: 13px; margin-left: 3px; fill: var(--navy); }
.hero-watch:hover { transform: scale(1.04); }
.hero-watch:focus-visible { outline: 3px solid var(--live-100); outline-offset: 3px; }

.hero__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  padding: 0 20px clamp(20px, 2.1vw, 40px);
  font-size: .9375rem;
  line-height: 1.35;
  text-align: center;
}
.hero__strip b { font-weight: 700; }
.hero__strip a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hero__strip a:hover { color: var(--live-100); }
.hero__strip-dots { display: inline-flex; gap: 4px; }
.hero__strip-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--live-100); }
.hero__strip-dots i + i { background: var(--intent-200); }

/* Hero: the brand film plays muted on a loop; a click opens it with sound in the film player */
.hero__main--film { grid-template-columns: minmax(0, 560fr) minmax(0, 760fr); column-gap: clamp(48px, 5vw, 112px); }
.hero-film {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 22px;
  background: var(--navy);
  box-shadow: 0 30px 80px rgb(0 0 40 / .45);
}
.hero-film__loop { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-film__btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 1.5vw, 24px);
  border: 0;
  background: linear-gradient(to top, rgb(0 0 40 / .5), rgb(0 0 40 / 0) 40%);
  cursor: pointer;
}
.hero-film__pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 700;
  transition: transform .2s var(--ease);
}
.hero-film__pill small { color: rgb(0 0 51 / .55); font-size: .8125rem; font-weight: 500; }
.hero-film__play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--live-100); }
.hero-film__play svg { width: 13px; height: 14px; margin-left: 3px; fill: var(--navy); }
.hero-film__btn:hover .hero-film__pill { transform: scale(1.05); }
.hero-film__btn:focus-visible { outline: 3px solid var(--live-100); outline-offset: -8px; border-radius: 20px; }
@media (max-width: 639.98px) {
  .hero-film { border-width: 2px; border-radius: 16px; }
  .hero-film__btn { padding: 10px; }
  .hero-film__pill { gap: 8px; padding: 4px 14px 4px 4px; font-size: .8125rem; }
  .hero-film__play { width: 30px; height: 30px; }
  .hero-film__play svg { width: 10px; height: 11px; margin-left: 2px; }
}
/* Contact page: the form card opens with its own title */
.demo__card > .demo__card-title { margin-bottom: 24px; }

/* ==========================================================================
   Hero product mockup
   Every measure is multiplied by --u, one Figma pixel of the 663px artboard,
   so the composition scales as one piece. On phones --u becomes 1px and the
   cards stack.
   ========================================================================== */
.mock {
  --u: calc(100cqw / 663);
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 663 / 621;
  font-family: var(--font-product);
}

.mock__card,
.mock__push {
  position: absolute;
  -webkit-backdrop-filter: blur(calc(var(--u) * 47));
  backdrop-filter: blur(calc(var(--u) * 47));
  border-radius: calc(var(--u) * 25.76);
}

.mock__card { border: 1px solid; }

.mock__head {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 10);
}

/* Live card */
.mock__card--live {
  left: 0;
  top: 0;
  width: calc(var(--u) * 333);
  height: calc(var(--u) * 468);
  padding: calc(var(--u) * 24) calc(var(--u) * 31) 0;
  border-color: rgb(0 207 255 / .3);
  background: rgb(0 207 255 / .15);
  color: var(--live-100);
}
.mock__card--live .mock__head {
  padding-left: calc(var(--u) * 4);
  color: rgb(0 207 255 / .85);
  font-size: calc(var(--u) * 16.4);
  font-weight: 500;
  line-height: 1.3;
}
.mock__dot { width: calc(var(--u) * 9); height: calc(var(--u) * 9); border-radius: 50%; background: currentColor; }
.mock__count {
  margin-top: calc(var(--u) * 4);
  font-size: calc(var(--u) * 75);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.03em;
}
.mock__caption { margin-top: calc(var(--u) * -4); font-size: calc(var(--u) * 14); line-height: 1.3; }

.mock__bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: calc(var(--u) * 151);
  margin-top: calc(var(--u) * 50);
}
.mock__bars i {
  width: calc(var(--u) * 18);
  height: calc(var(--u) * var(--h));
  border-radius: calc(var(--u) * 38);
  background: var(--live-100);
  opacity: var(--o);
}
.mock__bars i[style*="--o:1"] { box-shadow: 0 0 calc(var(--u) * 26) rgb(0 207 255 / .55); }

.mock__rank { margin-top: calc(var(--u) * 25); font-size: calc(var(--u) * 14); line-height: 1.3; }
.mock__rank .is-you { font-weight: 600; }

/* Intent card */
.mock__card--intent {
  left: calc(var(--u) * 284);
  top: calc(var(--u) * 157);
  width: calc(var(--u) * 379);
  height: calc(var(--u) * 352);
  /* Figma's text starts under the Live card; 64 keeps it readable */
  padding: calc(var(--u) * 34) calc(var(--u) * 28) 0 calc(var(--u) * 64);
  border-color: rgb(255 171 143 / .3);
  background: rgb(255 171 143 / .08);
  color: var(--intent-100);
}
.mock__card--intent .mock__head {
  color: rgb(255 171 143 / .7);
  font-size: calc(var(--u) * 14);
  font-weight: 500;
  line-height: 1.3;
}
.mock__target {
  width: calc(var(--u) * 28);
  height: calc(var(--u) * 28);
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.9;
  color: var(--intent-100);
}
.mock__intent-title {
  margin-top: calc(var(--u) * 20);
  font-size: calc(var(--u) * 33);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.mock__intent-name { margin-top: calc(var(--u) * 8); font-size: calc(var(--u) * 18.7); font-weight: 600; line-height: 1.3; }
.mock__intent-sector { margin-top: calc(var(--u) * 2); color: rgb(255 171 143 / .7); font-size: calc(var(--u) * 14); line-height: 1.3; }
.mock__facts { margin-top: calc(var(--u) * 24); }
.mock__facts > div {
  display: flex;
  gap: calc(var(--u) * 16);
  padding-block: calc(var(--u) * 17);
  border-top: 1px solid rgb(255 171 143 / .18);
  font-size: calc(var(--u) * 15);
  line-height: 1.3;
}
.mock__facts dt { flex: none; width: calc(var(--u) * 62); font-size: calc(var(--u) * 14); font-weight: 500; }

/* Notifications */
.mock__push {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 20);
  width: calc(var(--u) * 392);
  min-height: calc(var(--u) * 84);
  padding: calc(var(--u) * 12) calc(var(--u) * 20);
}
.mock__push--top { left: calc(var(--u) * 232); top: calc(var(--u) * 41); background: rgb(255 255 255 / .4); }
.mock__push--bottom {
  left: calc(var(--u) * 105);
  top: calc(var(--u) * 531);
  gap: calc(var(--u) * 12);
  padding-inline: calc(var(--u) * 14);
  border: 1px solid rgb(255 255 255 / .1);
  background: rgb(255 255 255 / .22);
  box-shadow: 0 calc(var(--u) * 6) 0 rgb(255 255 255 / .1);
}
.mock__app {
  display: grid;
  flex: none;
  place-items: center;
  width: calc(var(--u) * 38);
  height: calc(var(--u) * 38);
  border-radius: calc(var(--u) * 9);
  background: var(--live-100);
  color: var(--hero-navy);
  font-size: calc(var(--u) * 18);
  font-weight: 600;
}
.mock__app--peach { background: var(--intent-100); }
.mock__push-body { flex: 1; min-width: 0; }
.mock__push-title {
  display: flex;
  justify-content: space-between;
  gap: calc(var(--u) * 8);
  font-size: calc(var(--u) * 15);
  font-weight: 600;
  line-height: 1.3;
}
.mock__push-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__push-title time { color: rgb(255 255 255 / .55); font-size: calc(var(--u) * 13); font-weight: 400; }
.mock__push-text { margin-top: 1px; color: rgb(255 255 255 / .85); font-size: calc(var(--u) * 14); line-height: 1.3; }

/* ==========================================================================
   Tablet and below: collapsed navigation, stacked hero
   ========================================================================== */
@media (max-width: 1179.98px) {
  :root {
    --notch-w: clamp(210px, 56vw, 290px);
    --notch-h: calc(var(--notch-w) * .27);
    --logo-w: calc(var(--notch-w) * .4);
    --logo-top: 7px;
    --brand-pinned-scale: .8;
  }
  .hero { min-height: 0; }

  .nav { padding-top: 12px; }
  .nav__toggle {
    position: relative;
    z-index: 30;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: -10px;
  }
  .nav__toggle-bars,
  .nav__toggle-bars::before,
  .nav__toggle-bars::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s var(--ease), background-color .2s var(--ease);
  }
  .nav__toggle-bars { position: relative; }
  .nav__toggle-bars::before,
  .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav__toggle-bars::before { top: -7px; }
  .nav__toggle-bars::after { top: 7px; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav__menu {
    position: fixed;
    overscroll-behavior: contain;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 96px 24px 32px;
    overflow-y: auto;
    background: var(--navy);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), visibility .2s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }

  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links > li { border-bottom: 1px solid rgb(255 255 255 / .12); }
  .nav__links > li > a,
  .nav__links .dropdown__toggle {
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    font-size: 1.25rem;
  }
  .nav__links .dropdown__panel {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px;
    background: none;
    box-shadow: none;
    color: var(--white);
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links .dropdown__toggle[aria-expanded="true"] + .dropdown__panel { display: block; }
  .nav__links .dropdown__panel a { padding: 10px 0; font-size: 1.0625rem; color: rgb(255 255 255 / .8); }
  .nav__links .dropdown__panel a:hover { background: none; color: var(--live-100); }

  .nav__menu-actions { display: flex; flex-direction: column; gap: 8px; }
  .nav__menu-actions .nav__login { justify-content: center; min-height: 48px; }

  .nav__login--bar { display: none; }

  .hero__main {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(48px, 8vw, 72px);
    padding: clamp(48px, 8vw, 72px) clamp(20px, 6vw, 56px) 40px;
  }
  .mock { max-width: 663px; margin-inline: auto; }
  .hero__title { font-size: clamp(32px, 11vw, 66px); }
  .hero__lead { max-width: 660px; }
}

/* Keeps Book a demo clear of the notch */
@media (max-width: 819.98px) {
  .nav__cta { display: none; }
}

@media (max-width: 359.98px) {
  .nav__globe { display: none; }
}

/* ==========================================================================
   Phones: mockup text stays at real size, cards stack
   ========================================================================== */
@media (max-width: 639.98px) {
  .mock {
    --u: 1px;
    display: flex;
    flex-direction: column;
    container-type: normal;
    aspect-ratio: auto;
  }
  .mock__card,
  .mock__push {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  .mock__push { gap: 12px; padding: 12px 14px; min-height: 0; }
  .mock__push--top { order: 1; z-index: 3; margin-bottom: -14px; }
  .mock__card--live { order: 2; z-index: 2; padding: 34px 20px 22px; }
  .mock__card--intent { order: 3; z-index: 1; margin-top: -14px; padding: 36px 20px 8px; }
  .mock__push--bottom { order: 4; z-index: 3; margin-top: -8px; }

  .mock__card--live {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    align-items: end;
  }
  .mock__summary { grid-column: 1; }
  .mock__card--live .mock__head { padding-left: 0; font-size: 14px; white-space: nowrap; }
  .mock__bars { grid-column: 2; height: 100px; margin: 0; }
  .mock__bars i { width: 8%; height: calc(var(--h) * .66px); }
  .mock__rank { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 16px; }
  .mock__count { font-size: 60px; }
  .mock__intent-title { font-size: 28px; }
  .mock__facts > div { padding-block: 12px; }
  .mock__facts { margin-top: 16px; }
}

/* ==========================================================================
   Four engines: the ring
   Four arcs form one ring with GripIQ at its centre. Hovering an engine sets
   [data-active] on .hub (main.js), which lights up that engine.
   ========================================================================== */
.is-live { --accent: var(--live-100); --accent-2: var(--live-200); }
.is-intent { --accent: var(--intent-100); --accent-2: var(--intent-200); }
/* Content is green, Expansion purple (the user's decision, 2026-11-09; the Figma swatches are the other way round) */
.is-expansion { --accent: var(--content-100); --accent-2: var(--content-200); }
.is-content { --accent: var(--expansion-100); --accent-2: var(--expansion-200); }
.at-tl { --dx: -1; --dy: -1; }
.at-tr { --dx: 1; --dy: -1; }
.at-bl { --dx: -1; --dy: 1; }
.at-br { --dx: 1; --dy: 1; }

.hub {
  --ring: clamp(320px, 100%, 560px);
  --node: clamp(52px, 5vw, 92px);
  /* Node centre, from the ring centre: radius 262 of 600, at 45 degrees */
  --node-at: 30.88%;
  /* The hero's bottom margin above and the first card's white sheet below: the white edge is one inset on every side */
  padding: 0 var(--inset) var(--inset);
}
.hub__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(48px, 5.2vw, 100px) clamp(20px, 5.2vw, 100px);
  border-radius: var(--radius-section);
  background: radial-gradient(60% 55% at 50% 62%, rgb(0 66 240 / .34), transparent 72%), var(--navy);
  color: var(--white);
}
.hub__panel::before,
.hub__panel::after {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: clamp(320px, 39vw, 749px);
  aspect-ratio: 1;
  background: center / contain no-repeat;
  mix-blend-mode: exclusion;
  pointer-events: none;
}
.hub__panel::before { left: 0; background-image: url("../img/dots-left.webp"); }
.hub__panel::after { right: 0; background-image: url("../img/dots-pillar.webp"); }

.hub__head { text-align: center; }
.hub__title {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: min(9vw, 54px);
  font-weight: 700;
  line-height: 1.11;
}
.hub__title span { display: block; white-space: nowrap; }
.hub__lead {
  margin-top: 16px;
  color: rgb(255 255 255 / .5);
  font-size: clamp(1rem, .9rem + .3vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
}

.hub__stage { position: relative; flex: 1; margin-top: clamp(32px, 3vw, 56px); }

.hub__ring {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin-inline: auto;
}

/* Quiet track the arcs land on */
.hub__ring::before {
  content: "";
  position: absolute;
  inset: 6.33%;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 50%;
}

.hub-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
}
.hub-arc path { stroke: var(--accent); }
.hub-arc__line { stroke-width: 3; }
.hub-arc__glow { stroke-width: 12; opacity: .32; filter: blur(9px); transition: opacity .4s var(--ease); }
[data-active="live"] .hub-arc.is-live .hub-arc__glow,
[data-active="intent"] .hub-arc.is-intent .hub-arc__glow,
[data-active="expansion"] .hub-arc.is-expansion .hub-arc__glow,
[data-active="content"] .hub-arc.is-content .hub-arc__glow { opacity: .85; }

.hub__core {
  position: absolute;
  inset: 24%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 207 255 / .16), transparent);
}
.hub__core img { width: 100%; height: auto; }

.hub-node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: var(--node);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--navy) 62%, var(--accent) 12%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--accent);
  transform: translate(calc(-50% + var(--dx) * var(--node-off)), calc(-50% + var(--dy) * var(--node-off)));
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  --node-off: calc(var(--ring-w) * .3088);
  will-change: transform, opacity;
}
.hub-node svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
[data-active="live"] .hub-node.is-live,
[data-active="intent"] .hub-node.is-intent,
[data-active="expansion"] .hub-node.is-expansion,
[data-active="content"] .hub-node.is-content {
  background: var(--accent);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 44px color-mix(in srgb, var(--accent) 65%, transparent);
  color: var(--navy);
}

/* Engine copy */
.hub__engines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.hub-engine a { display: block; }
.hub-engine__name {
  display: block;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hub-engine__name i { font-style: normal; opacity: .6; }
.hub-engine__title {
  display: block;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.1rem + .75vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.hub-engine__desc {
  display: block;
  margin-top: 4px;
  color: rgb(255 255 255 / .7);
  font-size: clamp(.9375rem, .85rem + .2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  transition: color .3s var(--ease);
}
[data-active="live"] .hub-engine.is-live .hub-engine__desc,
[data-active="intent"] .hub-engine.is-intent .hub-engine__desc,
[data-active="expansion"] .hub-engine.is-expansion .hub-engine__desc,
[data-active="content"] .hub-engine.is-content .hub-engine__desc { color: var(--white); }

/* Desktop: pinned while the ring assembles, copy beside the nodes */
@media (min-width: 1000px) {
  .hub__stage { display: grid; place-items: center; }
  .hub__title span { display: inline; }
  .hub__ring { width: var(--ring-w); }
  .hub__engines { display: block; margin: 0; }
  .hub-engine {
    position: absolute;
    top: calc(50% + var(--dy) * var(--ring-w) * .3088);
    width: calc(50% - var(--ring-w) * .3088 - var(--node) / 2 - clamp(24px, 3vw, 56px));
    transform: translateY(-50%);
  }
  .hub-engine.at-tl, .hub-engine.at-bl { left: 0; text-align: right; }
  .hub-engine.at-tr, .hub-engine.at-br { right: 0; }
  /* Thread from the copy to its node */
  .hub-engine::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(16px, 2.4vw, 44px);
    height: 1px;
    background: var(--accent);
    opacity: .5;
  }
  .hub-engine.at-tl::after, .hub-engine.at-bl::after { left: calc(100% + 8px); }
  .hub-engine.at-tr::after, .hub-engine.at-br::after { right: calc(100% + 8px); }
}
.hub { --ring-w: min(100vw - 2 * var(--inset) - 40px, 560px); }
@media (min-width: 1000px) {
  .hub { --ring-w: clamp(300px, min(33vw, 100svh - 370px), 620px); }
}
@media (min-width: 1000px) and (min-height: 640px) {
  .hub__panel {
    height: calc(100svh - 2 * var(--inset));
    padding-block: clamp(32px, 3.6vw, 64px);
  }
}

@media (max-width: 639.98px) {
  .hub__engines { display: block; }
  .hub-engine + .hub-engine { margin-top: 28px; }
  .br-wide { display: none; }
}

/* ==========================================================================
   Four engines: stacking pillars
   Each card pins, then tilts back, shrinks and fades over the white page
   while the next one slides over it. main.js adds .is-stacked, drives the
   motion and sets --stick so a card taller than the viewport can be read in full.
   ========================================================================== */
.pillars {
  display: grid;
  gap: calc(var(--inset) * 2);
  padding: 0 var(--inset) var(--inset);
  overflow: clip;
}

.pillar--live { --accent: var(--live-100); --bg: url("../img/pillar-live-bg.webp"); }
.pillar--intent { --accent: var(--intent-100); --bg: url("../img/pillar-intent-bg.webp"); }
.pillar--expansion { --accent: var(--content-100); --bg: url("../img/pillar-content-bg.webp"); }
.pillar--content { --accent: var(--expansion-100); --bg: url("../img/pillar-expansion-bg.webp"); }

.is-stacked .pillar { position: sticky; top: var(--stick, var(--inset)); }

.pillar { display: flow-root; }

/* White sheet that animates */
.pillar__frame {
  margin: calc(var(--inset) * -1);
  padding: var(--inset);
  border-radius: calc(var(--radius-section) + var(--inset));
  background: var(--page);
}
.is-stacked .pillar__frame { will-change: transform, opacity; }

.pillar__card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 767fr) minmax(0, 915fr);
  min-height: calc(100svh - 2 * var(--inset));
  /* Height-aware, so a card fits short laptop screens and can pin whole */
  --pad-y: clamp(32px, min(5.2vw, 7svh), 100px);
  padding: var(--pad-y) clamp(56px, 5.2vw, 100px);
  overflow: hidden;
  border-radius: var(--radius-section);
  background: var(--navy) var(--bg) center / cover no-repeat;
  color: var(--white);
}

/* Dot texture */
.pillar__card::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(320px, 39vw, 749px);
  aspect-ratio: 1;
  background: url("../img/dots-pillar.webp") center / contain no-repeat;
  mix-blend-mode: exclusion;
  pointer-events: none;
}

/* Up and down arrows, added by main.js: under the label on wide cards, top right when stacked */
.pillar__intro { display: flex; flex-direction: column; align-items: flex-start; }
.pillar__nav { display: flex; gap: 12px; margin-top: auto; padding-top: 24px; }
.pillar__arrow {
  display: grid;
  place-items: center;
  width: clamp(44px, 2.9vw, 56px);
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: 50%;
  background: rgb(255 255 255 / .08);
  color: var(--white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.pillar__arrow svg { width: 14px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(180deg); }
.pillar__arrow--up svg { transform: none; }
.pillar__arrow:hover:not(:disabled) { border-color: var(--accent); background: var(--accent); color: var(--navy); }
.pillar__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pillar__arrow:disabled { opacity: .3; cursor: default; }

.pillar__num {
  font-size: clamp(56px, 4.32vw, 83px);
  font-weight: 300;
  line-height: .72;
}
.pillar__label {
  margin-top: clamp(24px, 2.1vw, 40px);
  font-size: clamp(1rem, .85rem + .25vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
}
.pillar__label b { font-weight: 700; }

.pillar__body { display: flex; flex-direction: column; min-width: 0; }

.pillar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 32px;
}
.pillar__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 2.29vw, 44px);
  font-weight: 700;
  line-height: 1.23;
}
.pillar__title span { display: block; white-space: nowrap; }
.pillar__sub {
  max-width: 585px;
  margin-top: 16px;
  color: var(--accent);
  font-size: clamp(1rem, .9rem + .15vw, 1.125rem);
  font-weight: 700;
  line-height: 1.5;
}

.btn--fill { border-color: var(--accent); background: var(--accent); color: var(--navy); }

.pillar__bullets {
  margin-top: auto;
  padding-top: clamp(16px, min(3vw, 4svh), 56px);
  color: rgb(255 255 255 / .7);
  font-size: clamp(.9375rem, .85rem + .15vw, 1.125rem);
  font-weight: 500;
  line-height: 1.89;
}
.pillar__bullets li { position: relative; padding-left: 20px; }
.pillar__bullets li::before {
  content: "";
  position: absolute;
  top: .67em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

.pillar__media {
  position: relative;
  margin-top: clamp(16px, min(2.1vw, 3svh), 40px);
  overflow: hidden;
  border-radius: var(--radius-section);
}
/* 16:9, like the films, so a film preview is never cropped. As wide as the column, unless the card would
   then outgrow the screen: the height left after the frame, padding and copy (about 380px) caps it. */
.pillar__media { width: min(100%, max(30svh * 16 / 9, (100svh - 2 * var(--inset) - 2 * var(--pad-y) - 380px) * 16 / 9)); }
.pillar__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.pillar__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(56px, 4.17vw, 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(33 70 170 / .1);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transform: translate(-50%, -50%);
}
.pillar__play svg { width: 13px; height: 14px; fill: var(--white); }
/* An engine card with a film: the poster is a button that opens the film player */
.pillar__film { display: block; padding: 0; border: 0; background: var(--navy); cursor: pointer; }
.pillar__film img { display: block; transition: transform .4s var(--ease); }
/* The film previews carry their title on the left, so the button sits bottom right */
/* A white frame and a labelled button, so the films stand out on the dark card */
.pillar__film { border: 3px solid var(--white); box-shadow: 0 20px 50px rgb(0 0 40 / .4); }
.pillar__film .pillar__play {
  top: auto; right: 4%; bottom: 7%; left: auto;
  display: flex; align-items: center; gap: 10px;
  width: auto; height: clamp(44px, 3vw, 56px); aspect-ratio: auto;
  padding: 0 20px 0 18px;
  border-radius: 999px;
  background: var(--accent); color: var(--navy);
  font-size: .9375rem; font-weight: 700; white-space: nowrap;
  transform: none; transition: transform .2s var(--ease);
}
.pillar__film .pillar__play svg { fill: var(--navy); }
.pillar__film:hover img { transform: scale(1.03); }
.pillar__film:hover .pillar__play { transform: scale(1.08); }
.pillar__film:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* The film player over the page (main.js) */
.film-dialog {
  width: min(1280px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #000;
  overflow: visible;
}
.film-dialog::backdrop { background: rgb(0 0 20 / .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.film-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; }
.film-dialog__close {
  position: absolute;
  top: -52px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / .4);
  border-radius: 50%;
  background: none;
  color: var(--white);
  cursor: pointer;
}
.image-dialog { width: min(1600px, calc(100vw - 32px)); background: none; }
.image-dialog img { display: block; width: 100%; max-height: calc(100svh - 120px); object-fit: contain; border-radius: 14px; }
.film-dialog__close:hover { background: var(--white); color: var(--navy); }
.film-dialog__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* The longest title and its button only share a row from here up; all four cards follow suit */
@media (max-width: 1719.98px) {
  .pillar__head { flex-direction: column; }
}

/* Stacked cards */
@media (max-width: 1179.98px) {

  .pillar__card {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(32px, 6vw, 48px);
    min-height: 0;
    padding: clamp(28px, 6vw, 56px) clamp(20px, 6vw, 56px);
    /* The bright bands stay behind the number, the copy sits on navy */
    background:
      linear-gradient(to bottom, rgb(0 0 51 / 0) 0, rgb(0 0 51 / .25) 90px, var(--navy) 240px) no-repeat,
      var(--navy) var(--bg) left top / auto 620px no-repeat;
  }
  .pillar__num { line-height: .8; }
  .pillar__nav { position: absolute; top: clamp(28px, 6vw, 56px); right: clamp(20px, 6vw, 56px); padding: 0; }
  .pillar__label { margin-top: 16px; }
  .pillar__bullets { margin-top: 0; }
  .pillar__media { width: 100%; }
}

/* The longest title cannot hold one line on a phone at a readable size */
@media (max-width: 639.98px) {
  .br-wide { display: none; }
  .pillar__title { font-size: clamp(26px, 7.6vw, 34px); }
  .pillar__title span { white-space: normal; }
  .pillar__head .btn { width: 100%; white-space: normal; text-align: center; }
  .pillar__media { width: 100%; }
}

/* ==========================================================================
   Why teams choose GripIQ
   ========================================================================== */
.why { padding: var(--inset); }

.why__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(40px, 5.2vw, 101px);
  min-height: calc(100svh - 2 * var(--inset));
  overflow: hidden;
  padding: clamp(48px, 6vw, 118px) clamp(20px, 5.2vw, 100px);
  border-radius: var(--radius-section);
  background: var(--navy) url("../img/why-bg.webp") 50% 40% / cover no-repeat;
  color: var(--white);
}
.why__panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(320px, 39vw, 749px);
  aspect-ratio: 749 / 571;
  background: url("../img/dots-white.webp") center bottom / 100% auto no-repeat;
  mix-blend-mode: exclusion;
  pointer-events: none;
}

.why__head { text-align: center; }
.why__title {
  font-family: var(--font-heading);
  font-size: min(6.5vw, 54px);
  font-weight: 700;
  line-height: 1.11;
  white-space: nowrap;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.2vw, 42px);
  width: 100%;
  max-width: 1252px;
  margin-inline: auto;
}

.glass {
  border: 1px solid rgb(255 255 255 / .5);
  border-radius: 30px;
  background: rgb(255 255 255 / .01);
  -webkit-backdrop-filter: blur(23px);
  backdrop-filter: blur(23px);
}

.why__speed { display: flex; flex-direction: column; gap: clamp(24px, 2.2vw, 42px); min-width: 0; }
.why__search { padding: clamp(28px, 2.1vw, 41px) clamp(24px, 3.5vw, 67px); }
.why__card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1rem + .45vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

/* The search demo. main.js loops data-state through typing, searching and done;
   without JS, or with reduced motion, it simply rests on done. */
.why__field {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  margin-top: 29px;
  padding: 0 44px 0 20px;
  border: 1px solid rgb(255 255 255 / .5);
  border-radius: 30px;
}
.why__query { overflow: hidden; font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.why__field i {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 5px rgb(255 255 255 / .2);
  transform: translateY(-50%);
}
[data-state="typing"] .why__query::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 2px;
  background: var(--white);
  vertical-align: text-bottom;
  animation: why-caret .8s steps(1) infinite;
}
@keyframes why-caret { 50% { opacity: 0; } }
[data-state="searching"] .why__field i { animation: why-search 1s ease-in-out infinite; }
@keyframes why-search {
  50% { box-shadow: 0 0 0 10px rgb(255 255 255 / .12); }
}

.why__results { display: grid; gap: 6px; margin-top: 24px; }
.why__results li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  overflow: hidden;
  padding: 0 14px;
  border-radius: 64px;
  background: rgb(255 255 255 / .18);
  font-size: .875rem;
  line-height: 1;
  white-space: nowrap;
  transition: width .55s var(--ease), background-color .4s var(--ease);
  width: 100%;
}
.why__results li:nth-child(2) { background: rgb(255 255 255 / .13); }
.why__results li:nth-child(3) { background: rgb(255 255 255 / .09); }
.why__results li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.why__results b { flex: none; font-weight: 700; }
.why__results span { overflow: hidden; color: rgb(255 255 255 / .75); font-weight: 500; text-overflow: ellipsis; }
.why__results li::before, .why__results b, .why__results span { transition: opacity .35s var(--ease) .2s; }
.why__results li:nth-child(2), .why__results li:nth-child(2)::before, .why__results li:nth-child(2) b, .why__results li:nth-child(2) span { transition-delay: .18s; }
.why__results li:nth-child(3), .why__results li:nth-child(3)::before, .why__results li:nth-child(3) b, .why__results li:nth-child(3) span { transition-delay: .36s; }

/* Before the answer: Figma's three empty bars */
.why__search:not([data-state="done"]) .why__results li { transition-duration: .25s; transition-delay: 0s; }
.why__search:not([data-state="done"]) .why__results li::before,
.why__search:not([data-state="done"]) .why__results b,
.why__search:not([data-state="done"]) .why__results span { opacity: 0; transition: opacity .15s; }
.why__search:not([data-state="done"]) .why__results li:nth-child(2) { width: 41.5%; }
.why__search:not([data-state="done"]) .why__results li:nth-child(3) { width: 33.6%; }
[data-state="searching"] .why__results li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .35), transparent);
  animation: why-shimmer 1s linear infinite;
}
@keyframes why-shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* Too narrow for one line: company above its signal */
.why__demo { container: why-demo / inline-size; }
@container why-demo (max-width: 400px) {
  .why__field { padding: 0 40px 0 16px; }
  .why__query { font-size: .875rem; }
  .why__results li {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    height: auto;
    gap: 2px 10px;
    padding: 9px 14px;
    border-radius: 16px;
    font-size: .8125rem;
    line-height: 1.3;
  }
  .why__results li::before { grid-row: 1 / span 2; align-self: start; margin-top: 4px; }
  .why__results span { grid-column: 2; }
}

.why__bars { display: grid; gap: 20px; padding-inline: clamp(24px, 3.5vw, 67px); margin-top: auto; }
.why__bar-row p { font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.why__bar {
  position: relative;
  display: grid;
  place-items: center;
  height: 32px;
  margin-top: 10px;
  border-radius: 54px;
  background: rgb(255 255 255 / .16);
}
.why__bar--without { background: rgb(255 255 255 / .3); }
.why__bar span {
  position: relative;
  color: rgb(255 255 255 / .6);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
}
.why__bar--without span { color: var(--navy); }
.why__fill { position: absolute; inset: 2px auto 2px 2px; border-radius: 138px; }
.why__fill--with { width: 16.8%; background: var(--live-100); }
.why__fill--without { right: 2px; background: var(--intent-100); }

.why__person {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: clamp(32px, 3.3vw, 64px) clamp(24px, 3.5vw, 68px) clamp(32px, 2.5vw, 48px);
}
.why__text { color: rgb(255 255 255 / .8); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.why__contact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 20px;
  border-radius: 18px;
  background: var(--live-100);
  color: rgb(0 0 51 / .8);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
}
.why__contact p { min-width: 0; }
.why__cta { width: 100%; margin-top: auto; }

@media (max-width: 899.98px) {
  .why__panel {
    min-height: 0;
    /* The taller crop brings in the bright sky; keeps the copy readable */
    background:
      linear-gradient(rgb(0 0 51 / .55), rgb(0 0 51 / .4)),
      var(--navy) url("../img/why-bg.webp") 50% 40% / cover no-repeat;
  }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__bars { margin-top: 0; }
  .why__cta { margin-top: 20px; }
}

/* This title can't hold one line on a phone at a readable size */
@media (max-width: 519.98px) {
  .why__card-title { white-space: normal; }
}

/* ==========================================================================
   Comparison table
   ========================================================================== */
.compare {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4.17vw, 80px);
  padding: clamp(72px, 6.25vw, 120px) calc(var(--inset) + clamp(4px, 7.8vw, 149px));
}
.compare__title {
  font-family: var(--font-heading);
  font-size: min(6.2vw, 44px);
  font-weight: 700;
  line-height: 1.23;
  text-align: center;
  white-space: nowrap;
}
.compare__box {
  width: 100%;
  max-width: 1584px;
  padding: clamp(12px, 1.25vw, 24px);
  border-radius: 24px;
  background: #efeffb;
}
.compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 12px 0;
  table-layout: fixed;
  margin-inline: -12px;
  width: calc(100% + 24px);
}
.compare__table th, .compare__table td {
  padding: 20px clamp(16px, 1.46vw, 28px);
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}
.compare__table thead th { font-size: clamp(1.125rem, 1rem + .25vw, 1.25rem); font-weight: 700; line-height: 1.35; }
.compare__table tr > :last-child { background: var(--navy); color: var(--white); }
.compare__table thead td { width: 20%; background: none !important; }
@media (max-width: 1399.98px) { .compare__table thead td { width: 24%; } }
@media (max-width: 1099.98px) { .compare__table thead td { width: 27%; } }
.compare__table thead th:last-child { border-radius: 16px 16px 0 0; }
.compare__table tbody tr:last-child > :last-child { border-radius: 0 0 16px 16px; }

.compare__label { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: clamp(1rem, .9rem + .2vw, 1.125rem); font-weight: 700; line-height: 1.25; }
.compare__pill {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--navy);
  font-size: .6875rem;
  font-weight: 700;
  line-height: 15px;
}
.compare__pill--live { background: var(--live-100); }
.compare__pill--intent { background: var(--intent-100); }

.compare__cell { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 22px; }
td:last-child .compare__cell { font-weight: 500; }
.compare__mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1px solid var(--navy);
  border-radius: 50%;
}
.compare__mark--yes { border-color: var(--live-100); background: var(--live-100); }
.compare__mark svg { width: 8px; height: 7px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Below this, three columns get too cramped: each row becomes its own card */
@media (max-width: 979.98px) {
  .compare__box { padding: 12px; }
  .compare__table, .compare__table tbody, .compare__table tr, .compare__table th[scope="row"], .compare__table td { display: block; width: auto; margin: 0; }
  .compare__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare__table tbody { display: grid; gap: 12px; }
  .compare__table tbody tr { overflow: hidden; border-radius: 16px; background: var(--white); }
  .compare__table tbody tr > * { padding: 14px 16px; }
  .compare__table tbody th[scope="row"] { padding-bottom: 2px; }
  .compare__table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 15px;
    text-transform: uppercase;
    opacity: .6;
  }
  .compare__table tbody td:last-child::before { color: var(--live-100); opacity: 1; }
  .compare__table tbody tr:last-child > :last-child { border-radius: 0; }
}

/* ==========================================================================
   Privacy and security slider
   ========================================================================== */
.security { padding: 0 var(--inset) var(--inset); }
.security__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 2 * var(--inset));
  overflow: hidden;
  padding: clamp(48px, 5vw, 96px) clamp(20px, 5.2vw, 100px);
  border-radius: var(--radius-section);
  background: var(--hero-navy);
  color: var(--white);
}
.security__panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(320px, 39vw, 749px);
  aspect-ratio: 749 / 571;
  background: url("../img/dots-cyan.webp") center bottom / 100% auto no-repeat;
  mix-blend-mode: exclusion;
  pointer-events: none;
}

.security__eyebrow {
  color: var(--sec-accent);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .35s var(--ease);
}

/* The titles stay in place; the current one is highlighted and its bar fills while
   its slide shows, then the next one takes over (main.js) */
.security { --sec-accent: var(--live-100); --sec-interval: 7s; }
.security[data-active="encrypted"] { --sec-accent: var(--intent-100); }
.security__tabs-wrap { width: 100%; max-width: 947px; margin-top: 24px; }
.security__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.security__tab {
  position: relative;
  padding: 0 0 18px;
  border: 0;
  background: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(18px, .9vw + 10px, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  text-align: left;
  white-space: nowrap;
  opacity: .45;
  cursor: pointer;
  transition: opacity .3s var(--ease);
}
.security__tab:hover { opacity: .8; }
.security__tab[aria-selected="true"] { opacity: 1; }
/* The track, and the bar that fills it */
.security__tab::before,
.security__tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 2px; }
.security__tab::before { right: 0; background: rgb(255 255 255 / .18); }
.security__tab::after { width: 0; background: var(--sec-accent); }
.security__tab[aria-selected="true"]::after { width: 100%; animation: sec-progress var(--sec-interval) linear; }
.security.is-paused .security__tab::after { animation-play-state: paused; }
@keyframes sec-progress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .security__tab[aria-selected="true"]::after { animation: none; }
}

.security__controls { display: flex; align-items: center; gap: 16px; margin-top: clamp(24px, 2.2vw, 40px); }
.security__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / .35);
  border-radius: 50%;
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.security__arrow:hover { border-color: var(--sec-accent); background: var(--sec-accent); color: var(--navy); }
.security__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.security__count { min-width: 56px; color: rgb(255 255 255 / .6); font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; }
.security__count b { color: var(--white); font-weight: 700; }

.security__slides {
  display: grid;
  width: 100%;
  max-width: 947px;
  margin-top: clamp(28px, 3vw, 56px);
}
.sec-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 371fr) minmax(0, 556fr);
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.sec-slide.is-active { opacity: 1; visibility: visible; transform: none; }

.sec-slide__photo { display: block; width: 100%; height: 100%; min-height: 0; border-radius: var(--radius-section); object-fit: cover; }
/* The card sets the height, as in Figma; the photo only fills it */
@media (min-width: 860px) { .sec-slide__photo { contain: size; } }
.sec-slide__photo--tint { position: relative; overflow: hidden; }
.sec-slide__photo--tint img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sec-slide__photo--tint::after { content: ""; position: absolute; inset: 0; background: var(--intent-300); opacity: .1; mix-blend-mode: overlay; }

.sec-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: clamp(24px, 2.4vw, 36px);
  border: 1px solid rgb(0 207 255 / .1);
  border-radius: var(--radius-section);
  box-shadow: 0 24px 60px rgb(0 0 0 / .25);
}
.sec-card--gdpr { background: var(--live-200); box-shadow: none; }
.sec-card--encrypted { background: var(--intent-300); }
.sec-card--international { gap: 12px; background: var(--live-100); color: var(--navy); }

.sec-card__title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgb(255 255 255 / .2);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.1rem + .3vw, 1.375rem);
  font-weight: 500;
  line-height: 1.35;
}
.sec-card--international .sec-card__title { font-size: clamp(1.375rem, 1.1rem + .6vw, 1.75rem); line-height: 34px; }
.sec-card__text { font-size: 1rem; line-height: 25px; }
.sec-card__link {
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .2);
  color: var(--live-100);
  font-weight: 700;
  line-height: 1.35;
}
.sec-card__link:hover { color: var(--white); }

.sec-list { display: grid; gap: 24px; line-height: 23px; }
.sec-list li { display: flex; gap: 12px; }
.sec-list__mark { flex: none; width: 14px; font-size: .9375rem; font-weight: 700; line-height: 23px; }
.sec-list__mark--yes { color: var(--live-100); }
.sec-list__mark--no { color: var(--intent-200); }

/* Encryption flow. Real text, so it stays readable at every width */
.sec-flow { display: flex; align-items: center; min-height: 115px; }
.sec-flow__node {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.1875rem;
  line-height: 1.35;
}
.sec-flow__node span { display: block; }
.sec-flow__node small { display: flex; align-items: center; gap: 2px; color: var(--intent-300); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.sec-flow__node small svg { width: 18px; height: 18px; }
.sec-flow__track { flex: 1; min-width: 72px; padding-inline: 8px; text-align: center; }
.sec-flow__label { display: block; margin-bottom: 8px; font-weight: 700; line-height: 1.35; }
.sec-flow__line { position: relative; display: block; height: 26px; }
.sec-flow__line::before { content: ""; position: absolute; top: 50%; right: 4px; left: 0; border-top: 1.6px dashed rgb(255 255 255 / .75); }
.sec-flow__line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 1.6px solid rgb(255 255 255 / .75);
  border-right: 1.6px solid rgb(255 255 255 / .75);
  transform: translateY(-50%) rotate(45deg);
}
.sec-flow__packet { position: absolute; top: 0; left: 50%; display: block; transform: translateX(-50%); }
.sec-flow__packet svg { display: block; height: 26px; width: auto; }
.sec-slide.is-active .sec-flow__packet { animation: sec-packet 3s ease-in-out infinite; }
@keyframes sec-packet {
  0% { left: 12%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 82%; opacity: 0; }
}

.sec-pills { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8125rem; font-weight: 700; line-height: 18px; }
.sec-pills li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgb(3 4 51 / .12);
  border-radius: 999px;
  background: rgb(3 4 51 / .05);
  white-space: nowrap;
}
.sec-pills i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.sec-pills .sec-pills__more { border-color: rgb(3 4 51 / .2); background: rgb(3 4 51 / .03); color: rgb(3 4 51 / .6); }
.sec-pills--outline li { padding-inline: 14px; border-color: var(--intent-200); background: none; color: rgb(255 255 255 / .9); }
.sec-card--encrypted .sec-pills { margin-top: auto; }

.sec-map { position: relative; width: min(100%, 292px); margin: 0 auto 4px; }
.sec-map img, .sec-map svg { display: block; width: 100%; height: auto; }
.sec-map svg { position: absolute; inset: 0; fill: var(--navy); }
.map-glow { fill: var(--navy); opacity: 0; transform-box: fill-box; transform-origin: center; }
.sec-slide.is-active .map-glow { animation: sec-marker 2.8s ease-out infinite; }
@keyframes sec-marker {
  0% { opacity: .35; transform: scale(.4); }
  70%, 100% { opacity: 0; transform: scale(1.3); }
}

.security .btn { margin-top: clamp(28px, 3.4vw, 64px); }

/* Too narrow to run sideways: the flow goes top to bottom */
@media (max-width: 1099.98px) and (min-width: 860px), (max-width: 519.98px) {
  .sec-flow { flex-direction: column; align-items: stretch; gap: 0; }
  .sec-flow__node { justify-content: center; }
  .sec-flow__track { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; }
  .sec-flow__label { margin: 0; }
  .sec-flow__line { width: 60px; height: 26px; }
}

@media (max-width: 859.98px) {
  .security__panel { min-height: 0; }
  .sec-slide { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .sec-slide__photo { aspect-ratio: 16 / 9; height: auto; }
}
/* Narrow: the titles stack, each with its bar on the left */
@media (max-width: 619.98px) {
  .security__tabs { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .security__tab { padding: 6px 0 6px 18px; font-size: 20px; }
  .security__tab::before, .security__tab::after { top: 0; right: auto; width: 3px; height: auto; }
  .security__tab::after { height: 0; }
  .security__tab[aria-selected="true"]::after { width: 3px; height: 100%; animation-name: sec-progress-y; }
}
@keyframes sec-progress-y { from { height: 0; } to { height: 100%; } }
@media (max-width: 519.98px) {
  .sec-list { gap: 16px; }
}

/* ==========================================================================
   Book a demo page
   ========================================================================== */
.hero--page { min-height: calc(100svh - 2 * var(--inset)); }
.demo {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 628fr) minmax(0, 663fr);
  column-gap: clamp(60px, calc(26.35vw - 251px), 255px);
  align-items: center;
  padding: clamp(40px, 5.4vw, 104px) clamp(56px, calc(15.14vw - 122.6px), 168px) clamp(48px, 5vw, 96px);
}
.demo__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.demo__title {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(40px, calc(2.6vw + 8px), 58px);
  font-weight: 700;
  line-height: 1.18;
}
.demo__title span { display: block; white-space: nowrap; }
.demo__lead {
  max-width: 560px;
  margin-top: clamp(24px, 2.1vw, 40px);
  color: rgb(255 255 255 / .8);
  font-size: clamp(1rem, .9rem + .2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.75;
}
.demo__perks { display: grid; gap: 14px; margin-top: clamp(24px, 2.1vw, 40px); font-weight: 500; }
.demo__perks li { position: relative; padding-left: 34px; line-height: 22px; }
.demo__perks li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--live-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.2 3L11 1' fill='none' stroke='%23000033' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* The white card: book a call, or send a message */
.demo__card {
  min-width: 0;
  padding: clamp(24px, 2.5vw, 48px);
  border-radius: var(--radius-section);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 30px 80px rgb(0 0 51 / .35);
}
.demo__card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 1.1rem + .6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}
.demo__card-text { margin-top: 8px; color: rgb(0 0 51 / .65); line-height: 1.6; }
.demo__call-btn { margin-top: 20px; }
.demo__or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(24px, 2.2vw, 36px) 0;
  color: rgb(0 0 51 / .5);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.demo__or::before,
.demo__or::after { content: ""; flex: 1; height: 1px; background: rgb(0 0 51 / .12); }

.demo-form { display: grid; gap: 16px; }
.demo-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 700; line-height: 1.3; }
.field abbr { color: var(--intent-300); text-decoration: none; }
.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgb(0 0 51 / .16);
  border-radius: 12px;
  background: #f7f7fc;
  color: var(--navy);
  font: inherit;
  font-weight: 500;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgb(0 0 51 / .4); }
.field input:focus,
.field textarea:focus { border-color: var(--live-200); background: var(--white); outline: none; box-shadow: 0 0 0 3px rgb(0 66 240 / .15); }
.field [aria-invalid="true"],
.field [aria-invalid="true"]:focus { border-color: var(--intent-300); box-shadow: 0 0 0 3px rgb(255 84 125 / .15); }
.field__error { display: none; color: #d0204f; font-size: .8125rem; font-weight: 500; }
.field [aria-invalid="true"] ~ .field__error { display: block; }
.demo-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-form__submit {
  justify-self: start;
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.demo-form__submit:hover { border-color: var(--live-200); background: var(--live-200); color: var(--white); }
.demo-form__submit:disabled { opacity: .6; cursor: wait; }
.demo-form__status:empty { display: none; }
.demo-form__status { padding: 12px 16px; border-radius: 12px; background: #e6f9ff; font-size: .9375rem; font-weight: 500; line-height: 1.5; }
.demo-form__status.is-error { background: #ffeef2; color: #a3123b; }

/* Footer without the closing CTA above it */
.finale--footer .footer__top { padding-top: clamp(48px, 5vw, 96px); }

@media (max-width: 1179.98px) {
  .demo { grid-template-columns: minmax(0, 1fr); row-gap: 40px; padding: 32px clamp(20px, 6vw, 56px) clamp(32px, 6vw, 56px); }
  .demo__copy { max-width: 640px; }
}
@media (max-width: 559.98px) {
  .demo__title { font-size: min(9.4vw, 40px); }
  .demo-form__row { grid-template-columns: minmax(0, 1fr); }
  .demo-form__submit, .demo__call-btn { width: 100%; }
}

/* ==========================================================================
   Engine pages: the homepage hero's look, so it reads as a page of its own,
   with the engine's colour as the accent and the four engines as tabs
   ========================================================================== */
.engine-hero__main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 600fr) minmax(0, 700fr);
  column-gap: clamp(48px, 4.4vw, 96px);
  align-items: center;
  padding: clamp(28px, 3vw, 56px) var(--pad-x) clamp(32px, 3vw, 56px);
}
.engine-hero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }

/* Breadcrumb: its own line between the menu and the content, lined up with the title below it.
   --pad-x is the content's side padding on each kind of page. */
.engine-hero, .article-hero, .blog-hero { --pad-x: clamp(56px, calc(10vw - 62px), 136px); }
.crumbs { position: relative; z-index: 5; padding: clamp(28px, 2.8vw, 52px) var(--pad-x) 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 0; margin: 0; list-style: none; font-size: .9375rem; font-weight: 500; }
.crumbs li { display: flex; align-items: center; gap: 10px; color: rgb(255 255 255 / .7); }
.crumbs li + li::before { content: "/"; color: rgb(255 255 255 / .4); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--white); }

.engine-hero__eyebrow {
  color: var(--accent);
  font-size: clamp(.8125rem, .75rem + .2vw, 1rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.engine-hero__eyebrow b { font-weight: 700; }
.engine-hero__eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 12px 1px 5px; vertical-align: middle; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgb(255 255 255 / .1); }
.engine-hero__title {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(36px, calc(1.9vw + 14px), 56px);
  font-weight: 700;
  line-height: 1.18;
}
.engine-hero__title span { display: block; white-space: nowrap; }
.engine-hero__lead {
  max-width: 600px;
  margin-top: clamp(20px, 1.7vw, 32px);
  color: rgb(255 255 255 / .85);
  font-size: clamp(1rem, .9rem + .2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.8;
}
.engine-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: clamp(24px, 2.1vw, 40px); }
.engine-hero__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: var(--radius-section);
  box-shadow: 0 30px 80px rgb(0 0 51 / .45), 0 0 0 6px rgb(255 255 255 / .05);
}
.engine-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* The four engines; the current one carries its colour */
.engine-tabs { padding: 0 clamp(56px, calc(10vw - 62px), 136px) clamp(24px, 2.2vw, 40px); }
.engine-tabs ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / .2); }
.engine-tabs a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 4px 4px;
  margin-top: -1px;
  border-top: 3px solid transparent;
  color: rgb(255 255 255 / .65);
  font-size: clamp(1rem, .9rem + .2vw, 1.125rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.engine-tabs i { font-style: normal; font-weight: 400; color: var(--accent); }
.engine-tabs a:hover { color: var(--white); border-top-color: rgb(255 255 255 / .5); }
.engine-tabs a[aria-current] { color: var(--white); border-top-color: var(--accent); }

/* Expansion product visual (no film or photo): sized in container units, so it is the same
   at every width, from the homepage card to the engine page */
.pillar__media--mock, .engine-hero__media--mock, .engine-screen__frame--mock { container-type: inline-size; }
.xmock { --accent: var(--content-100); display: flex; flex-direction: column; aspect-ratio: 16 / 9; padding: 3.2cqi 3.6cqi; background: radial-gradient(60% 70% at 30% 40%, rgb(217 194 255 / .18), transparent 70%), #04113a; color: var(--white); font-size: 1.9cqi; line-height: 1.3; text-align: left; }
.xmock__head { display: flex; justify-content: space-between; align-items: center; color: rgb(255 255 255 / .7); font-size: 1.6cqi; font-weight: 700; letter-spacing: .15cqi; text-transform: uppercase; }
.xmock__head i { display: inline-block; width: 1.2cqi; height: 1.2cqi; margin-right: 1cqi; border-radius: 50%; background: var(--accent); }
.xmock__tag { padding: .4cqi 1.2cqi; border: 1px solid rgb(255 255 255 / .25); border-radius: 99px; font-size: 1.3cqi; }
.xmock__body { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3cqi; align-items: center; margin-top: 2cqi; }
.xmock__map svg { display: block; width: 100%; height: auto; fill: var(--accent); }
.xmock__map image { opacity: .45; }
.xmock .map-glow { animation: sec-marker 2.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.xmock__cols, .xmock__list li { display: grid; grid-template-columns: 1fr 1.1fr 5cqi; gap: 1.4cqi; align-items: center; }
.xmock__cols { color: rgb(255 255 255 / .5); font-size: 1.25cqi; font-weight: 700; letter-spacing: .1cqi; text-transform: uppercase; }
.xmock__cols span:nth-child(2) { grid-column: 2; }
.xmock__list { display: grid; gap: 1.3cqi; margin: 1.4cqi 0 0; padding: 0; list-style: none; }
.xmock__list li { padding: 1.1cqi 1.3cqi; border-radius: 1cqi; background: rgb(255 255 255 / .06); }
.xmock__list b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xmock__bar { height: .8cqi; border-radius: 1cqi; background: linear-gradient(90deg, var(--accent) calc(var(--v) * 100%), rgb(255 255 255 / .12) 0); }
.xmock__list em { color: var(--accent); font-style: normal; font-weight: 700; }
.xmock__list small { justify-self: end; color: rgb(255 255 255 / .7); font-size: 1.6cqi; }
.xmock__grid { width: 100%; margin-block: auto; border-collapse: separate; border-spacing: 0 1.6cqi; font-size: 2.3cqi; }
.xmock__grid th { color: rgb(255 255 255 / .5); font-size: 1.3cqi; font-weight: 700; text-align: center; text-transform: uppercase; }
.xmock__grid tbody th { color: var(--white); font-size: 2.3cqi; text-align: left; text-transform: none; white-space: nowrap; }
.xmock__grid td { text-align: center; }
.xmock__grid thead th:first-child { text-align: left; }
.xmock__grid td i { display: inline-block; width: 2.4cqi; height: 2.4cqi; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; }
.xmock__grid td i.on { border-color: var(--intent-200); background: var(--intent-200); }
.xmock__free { padding: .6cqi 1.6cqi; border-radius: 99px; background: var(--accent); color: var(--navy); font-size: 1.7cqi; font-weight: 700; white-space: nowrap; }
.engine-screen__frame--mock { cursor: default; }
.engine-screen__frame--mock:hover { transform: none; }

/* Engine film: a play button over the poster until it plays (main.js) */
.engine-video { position: relative; background: var(--navy); }
.engine-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Full screen: the whole film, letterboxed, never cropped */
.engine-video video:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: #000; }
.engine-video video:-webkit-full-screen { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: #000; }
.engine-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  background: linear-gradient(to top, rgb(0 0 51 / .35), transparent 60%);
  cursor: pointer;
}
.engine-video__play span {
  display: grid;
  place-items: center;
  width: clamp(64px, 5.2vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 30px rgb(0 0 51 / .35);
  transition: transform .2s var(--ease);
}
.engine-video__play svg { width: 30%; margin-left: 6%; fill: var(--navy); }
.engine-video__play[hidden] { display: none; }
.engine-video__play:hover span { transform: scale(1.06); }
.engine-video__play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

.engine-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1rem + 1.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* How it works: the heading on the left, the three steps as a timeline of cards
   on a soft panel on the right, joined by a line in the engine's colour */
.engine-steps {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
  margin: var(--inset);
  overflow: hidden;
  padding: clamp(64px, 5.6vw, 104px) clamp(20px, 7.8vw, 149px);
  border-radius: var(--radius-section);
  background:
    radial-gradient(45% 60% at 100% 0, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    #efeffb;
}
/* Dots in the engine's colour, bottom left */
.engine-steps::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: -17px;
  z-index: -1;
  width: clamp(280px, 30vw, 560px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent) 1.6px, transparent 2.2px) 0 0 / 14px 14px;
  -webkit-mask: radial-gradient(circle at 0 100%, #000, transparent 70%);
  mask: radial-gradient(circle at 0 100%, #000, transparent 70%);
  pointer-events: none;
}
/* The engine's number, outlined in its colour */
.engine-steps__num {
  margin-top: clamp(24px, 3vw, 56px);
  color: transparent;
  font-family: var(--font-heading);
  font-size: clamp(120px, 12vw, 230px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.02em;
  -webkit-text-stroke: 2px var(--accent);
}
.engine-steps__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: rgb(0 0 51 / .6);
  font-size: clamp(.8125rem, .75rem + .2vw, 1rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.engine-steps__eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.engine-steps__lead { max-width: 500px; margin-top: 16px; color: rgb(0 0 51 / .65); font-size: clamp(1rem, .9rem + .2vw, 1.125rem); font-weight: 500; line-height: 1.7; }
.engine-steps__list {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(12px, 1vw, 16px);
  padding: 0;
  margin: 0;
  list-style: none;
}
/* The line that joins the numbers */
.engine-steps__list::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: calc(clamp(20px, 2vw, 32px) + 21px);
  z-index: -1;
  width: 2px;
  background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 30%, transparent));
}
.engine-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: clamp(16px, 1.6vw, 28px);
  padding: clamp(20px, 2vw, 32px);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(0 0 51 / .06), 0 8px 24px rgb(0 0 51 / .05);
}
.engine-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--white);
  color: var(--navy);
  font-weight: 700;
}
.engine-step__body { min-width: 0; padding-top: 8px; }
.engine-step__title { font-family: var(--font-heading); font-size: clamp(1.125rem, .95rem + .4vw, 1.375rem); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.engine-step__text { margin-top: 8px; color: rgb(0 0 51 / .7); font-size: clamp(1rem, .9rem + .2vw, 1.0625rem); line-height: 1.7; }

/* The product in screenshots: each one large in a window frame, its explanation beside it */
.engine-screens { padding: clamp(24px, 3vw, 56px) calc(var(--inset) + clamp(4px, 7.8vw, 149px)) clamp(72px, 6.25vw, 120px); }
.engine-screens__head { max-width: 720px; margin-bottom: clamp(32px, 3vw, 56px); }
.engine-screen {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 3.4vw, 64px);
  align-items: center;
  margin: 0;
}
.engine-screen + .engine-screen { margin-top: clamp(48px, 5vw, 96px); }
.engine-screen:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.engine-screen:nth-of-type(even) .engine-screen__frame { order: 2; }
.engine-screen__frame {
  overflow: hidden;
  border: 1px solid rgb(0 0 51 / .1);
  border-radius: 14px;
  background: #efeffb;
  box-shadow: 0 2px 4px rgb(0 0 51 / .05), 0 30px 70px rgb(0 0 51 / .14);
}
.engine-screen__frame img { display: block; width: 100%; height: auto; }
.engine-screen__frame { display: block; cursor: zoom-in; transition: transform .2s var(--ease); }
.engine-screen__frame:hover { transform: translateY(-3px); }
.engine-screen__text { display: grid; gap: 12px; color: rgb(0 0 51 / .7); font-size: clamp(1rem, .9rem + .2vw, 1.125rem); line-height: 1.7; }
.engine-screen__title { color: var(--navy); font-family: var(--font-heading); font-size: clamp(1.25rem, .85rem + .5vw, 1.5rem); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.engine-screen__text::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.engine-screens__note { margin-top: clamp(32px, 3vw, 48px); color: rgb(0 0 51 / .5); font-size: .875rem; }
@media (max-width: 1279.98px) {
  .engine-screen, .engine-screen:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .engine-screen:nth-of-type(even) .engine-screen__frame { order: 0; }
}
@media (max-width: 639.98px) {
  .engine-screens { padding-inline: calc(var(--inset) + 16px); }
  .engine-screen__title { white-space: normal; }
}

/* What you get: list and facts on a navy panel */
.engine-gets { padding: 0 var(--inset); }
.engine-gets__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  overflow: hidden;
  padding: clamp(48px, 5.6vw, 104px) clamp(20px, 7.8vw, 149px);
  border-radius: var(--radius-section);
  background: radial-gradient(55% 70% at 85% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--navy);
  color: var(--white);
}
.engine-gets__lead { margin-top: 12px; color: var(--accent); font-size: clamp(1rem, .9rem + .2vw, 1.125rem); font-weight: 700; line-height: 1.5; }
.engine-gets__list { display: grid; gap: 14px; margin-top: clamp(24px, 2.2vw, 40px); color: rgb(255 255 255 / .85); font-size: clamp(1rem, .9rem + .2vw, 1.125rem); font-weight: 500; }
.engine-gets__list li { position: relative; padding-left: 34px; line-height: 1.5; }
.engine-gets__list li::before {
  content: "";
  position: absolute;
  top: .1em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.2 3L11 1' fill='none' stroke='%23000033' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.engine-facts {
  display: grid;
  padding: clamp(20px, 2vw, 32px) clamp(24px, 2.4vw, 40px);
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: var(--radius-section);
  background: rgb(255 255 255 / .05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.engine-fact { padding-block: clamp(14px, 1.4vw, 22px); }
.engine-fact + .engine-fact { border-top: 1px solid rgb(255 255 255 / .12); }
.engine-fact dt { color: var(--accent); font-family: var(--font-heading); font-size: clamp(1.375rem, 1.1rem + .6vw, 1.75rem); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.engine-fact dd { margin: 4px 0 0; color: rgb(255 255 255 / .7); line-height: 1.5; }

/* The other engines: one row each */
.engine-others { padding: clamp(72px, 6.25vw, 120px) calc(var(--inset) + clamp(4px, 7.8vw, 149px)) clamp(48px, 4vw, 72px); }
.engine-others__list { margin-top: clamp(24px, 2.2vw, 40px); border-bottom: 1px solid rgb(0 0 51 / .1); }
.engine-other a {
  display: grid;
  grid-template-columns: 56px minmax(0, 4fr) minmax(0, 7fr) 24px;
  column-gap: clamp(16px, 2vw, 40px);
  align-items: center;
  padding: clamp(20px, 1.8vw, 28px) 8px;
  border-top: 1px solid rgb(0 0 51 / .1);
  transition: background-color .2s var(--ease);
}
.engine-other a:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.engine-other__num { color: var(--accent-ink, var(--navy)); font-size: 1.75rem; font-weight: 300; line-height: 1; }
.engine-other__name { font-weight: 500; }
.engine-other__name b { font-weight: 700; }
.engine-other__title { font-family: var(--font-heading); font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 700; line-height: 1.3; }
.engine-other__arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.engine-other a:hover .engine-other__arrow { transform: translateX(4px); }

@media (max-width: 1179.98px) {
  .engine-hero { --pad-x: clamp(20px, 6vw, 56px); }
  .engine-hero__main { grid-template-columns: minmax(0, 1fr); row-gap: clamp(40px, 7vw, 56px); padding: clamp(28px, 5vw, 48px) var(--pad-x) clamp(32px, 6vw, 48px); }
  .engine-hero__media { max-width: 760px; }
  .engine-tabs { padding-inline: clamp(20px, 6vw, 56px); }
  .engine-gets__panel { grid-template-columns: minmax(0, 1fr); }
}
/* The heading above the steps once both no longer fit side by side */
@media (max-width: 1179.98px) {
  .engine-steps { grid-template-columns: minmax(0, 1fr); }
  .engine-steps__num { display: none; }
}
@media (max-width: 859.98px) {
  .engine-other a { grid-template-columns: 44px minmax(0, 1fr) 20px; row-gap: 4px; }
  .engine-other__name { grid-column: 2; }
  .engine-other__title { grid-column: 2; }
  .engine-other__arrow { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 639.98px) {
  .engine-hero__title { font-size: clamp(28px, 8vw, 34px); }
  .engine-hero__title span, .engine-h2, .engine-step__title { white-space: normal; }
  .engine-hero__actions .btn { width: 100%; }
  /* Two rows: each tab gets its own line, so the marker sits above the current one */
  .engine-tabs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; border-top: 0; }
  .engine-tabs a { margin-top: 0; padding: 12px 4px 0; border-top: 1px solid rgb(255 255 255 / .2); }
  .engine-tabs a:hover { border-top-color: rgb(255 255 255 / .5); }
  .engine-tabs a[aria-current] { border-top-color: var(--accent); box-shadow: inset 0 2px 0 var(--accent); }
  .engine-steps { padding-inline: 16px; }
  .engine-others { padding-inline: calc(var(--inset) + 16px); }
}

/* ==========================================================================
   Blog: the index with filters, and the article pages (tools/build_blog.py)
   ========================================================================== */
.blog-hero, .article-hero { min-height: 0; }
.blog-hero__main, .article-hero__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3vw, 56px) var(--pad-x) clamp(48px, 4.4vw, 88px);
}
.blog-hero__main { padding-top: clamp(48px, 5vw, 96px); }
.blog-hero__title {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(36px, calc(2.2vw + 10px), 58px);
  font-weight: 700;
  line-height: 1.18;
}
.blog-hero__title span { display: block; white-space: nowrap; }
.blog-hero__lead, .article-hero__lead {
  max-width: 720px;
  margin-top: clamp(20px, 1.7vw, 32px);
  color: rgb(255 255 255 / .85);
  font-size: clamp(1rem, .9rem + .2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.8;
}

/* Badges, engine dots and dates on one line */
.blog-row__meta, .article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: .875rem;
  font-weight: 500;
}
.blog-badge {
  padding: 3px 12px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
}
.blog-badge--outline { background: none; color: var(--navy); }
.article-hero .blog-badge { border-color: var(--white); background: var(--white); color: var(--navy); }
.article-hero .blog-badge--outline { background: none; color: var(--white); }
.blog-engine { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.blog-engine i, .chip--engine i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--accent); }
.article-hero__meta { color: rgb(255 255 255 / .8); }
.article-hero__lead + .article-hero__meta { margin-top: 20px; }
.article-hero__title {
  width: 100%;
  margin-top: 20px;
  font-family: var(--font-heading);
  /* As large as fits on one line, up to 52px */
  font-size: min(52px, calc((100vw - 2 * var(--inset) - 2 * clamp(56px, calc(10vw - 62px), 136px)) / (var(--len) * .5)));
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* The index: filters, then the articles as rows on a soft panel */
.blog-index {
  margin: var(--inset);
  padding: clamp(40px, 4.4vw, 88px) clamp(20px, 7.8vw, 149px) clamp(56px, 5.6vw, 104px);
  border-radius: var(--radius-section);
  background: #efeffb;
}
.blog-filters { display: grid; gap: 14px; }
.blog-filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.blog-filters__label { width: 96px; color: rgb(0 0 51 / .6); font-size: .8125rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgb(0 0 51 / .18);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: .9375rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); font-weight: 700; }
.blog-index__count { margin-top: clamp(28px, 2.6vw, 48px); color: rgb(0 0 51 / .6); font-size: .9375rem; font-weight: 500; }
.blog-index__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 0; font-weight: 500; }
.blog-index__empty[hidden] { display: none; }

.blog-rows { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.blog-row[hidden] { display: none; }
.blog-row a {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  column-gap: clamp(16px, 2vw, 40px);
  row-gap: 10px;
  padding: clamp(20px, 2vw, 32px) clamp(20px, 2.4vw, 40px);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(0 0 51 / .06), 0 8px 24px rgb(0 0 51 / .05);
  color: var(--navy);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.blog-row a:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgb(0 0 51 / .08), 0 16px 40px rgb(0 0 51 / .1); }
.blog-row__meta, .blog-row__title, .blog-row__summary { grid-column: 1; }
.blog-row__meta { color: rgb(0 0 51 / .6); }
.blog-row__meta .blog-engine { color: var(--navy); }
.blog-row__title {
  font-family: var(--font-heading);
  /* One line: as large as fits, up to 24px */
  font-size: min(1.5rem, calc((100cqi - 120px) / (var(--len) * .5)));
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.blog-row__summary { max-width: 900px; color: rgb(0 0 51 / .7); line-height: 1.65; }
.blog-row__arrow {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 40px;
  height: 40px;
  padding: 11px;
  border-radius: 50%;
  background: #efeffb;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.blog-row a:hover .blog-row__arrow { transform: translateX(4px); background: var(--live-100); }

/* The article: text on the left, a sticky column with contents and a demo card on the right */
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
  padding: clamp(56px, 5.6vw, 104px) calc(var(--inset) + clamp(4px, 7.8vw, 149px));
}
.prose { container-type: inline-size; max-width: 760px; color: rgb(0 0 51 / .85); font-size: clamp(1.0625rem, 1rem + .15vw, 1.1875rem); line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin-top: 2em;
  scroll-margin-top: 120px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: min(1.75rem, calc(100cqi / (var(--len) * .5)));
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.prose ul { display: grid; gap: .5em; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ""; position: absolute; top: .72em; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--live-100); }
.prose strong { color: var(--navy); font-weight: 700; }
.prose a { color: var(--live-200); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); }
.prose__cookies { padding: 0; border: 0; background: none; color: var(--live-200); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.prose__cookies:hover { color: var(--navy); }

.article-side { position: sticky; top: clamp(96px, 7vw, 128px); display: grid; gap: 16px; }
.article-side__block { padding: 24px; border-radius: 16px; background: #efeffb; }
.article-side__title { margin-bottom: 12px; color: rgb(0 0 51 / .6); font-size: .8125rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.article-toc { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.article-toc a { color: var(--navy); text-decoration: none; }
.article-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-side__engines { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.article-side__engines a { color: var(--navy); text-decoration: none; }
.article-side__engines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-side__cta {
  --accent: var(--live-100);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 24px;
  border-radius: 16px;
  background: radial-gradient(80% 80% at 100% 0, rgb(0 207 255 / .3), transparent 70%), var(--navy);
  color: rgb(255 255 255 / .8);
  line-height: 1.6;
}
.article-side__cta-title { color: var(--white); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.article-side__cta .btn { margin-top: 8px; }

/* Article page (Figma "Blog detail"): the article's photo as the hero, then one centred column */
.article-hero--photo {
  min-height: clamp(520px, 43vw, 831px);
  background-color: var(--hero-navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* the photo and its shading come from the page (build_blog.py) */
}
.article-hero--photo::before, .article-hero--photo::after { display: none; }
.article-hero--photo .article-hero__main { margin-top: auto; padding-bottom: clamp(48px, 5.5vw, 106px); }
.article-hero__label { color: var(--live-100); font-size: clamp(.8125rem, .75rem + .2vw, 1rem); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.article-hero--photo .article-hero__title { font-size: min(66px, calc((100vw - 2 * var(--inset) - 2 * var(--pad-x)) / (var(--len) * .5))); }
.article-hero--photo .article-hero__lead { max-width: 911px; color: var(--white); font-size: clamp(1rem, .85rem + .3vw, 1.25rem); line-height: 1.7; }
.article--single { display: block; max-width: calc(1077px + 2 * var(--inset) + 32px); margin: 0 auto; padding: clamp(40px, 5vw, 96px) calc(var(--inset) + 16px) clamp(56px, 5.6vw, 104px); }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-bottom: 16px;
  margin-bottom: clamp(40px, 4vw, 72px);
  border-bottom: 1px solid rgb(0 0 51 / .12);
  color: rgb(0 0 51 / .7);
  font-size: .9375rem;
  font-weight: 500;
}
.article__meta time { margin-left: auto; }
.article__meta .blog-badge { border-color: rgb(3 4 51 / .14); background: rgb(3 4 51 / .14); color: var(--navy); }
.article__meta .blog-badge--outline { background: none; }
.article--single .prose { max-width: none; font-size: clamp(1.0625rem, .95rem + .3vw, 1.25rem); line-height: 1.6; }
.article--single .prose h2 { margin-top: clamp(56px, 5.2vw, 100px); font-size: min(2.75rem, calc(100cqi / (var(--len) * .5))); line-height: 1.23; }
.article--single .prose h2 + * { margin-top: 34px; }
.article-film { margin-block: clamp(48px, 5.2vw, 100px); overflow: hidden; border-radius: 18px; }
.article__cta {
  --accent: var(--live-100);
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: clamp(56px, 5.2vw, 100px);
  padding: clamp(28px, 3vw, 48px);
  border-radius: 18px;
  background: radial-gradient(70% 90% at 100% 0, rgb(0 207 255 / .3), transparent 70%), var(--navy);
  color: rgb(255 255 255 / .8);
  line-height: 1.6;
}
.article__cta-title { color: var(--white); font-family: var(--font-heading); font-size: clamp(1.375rem, 1.1rem + .6vw, 1.75rem); font-weight: 700; line-height: 1.3; }
.article__cta .btn { margin-top: 8px; }
@media (max-width: 639.98px) {
  .article-hero--photo .article-hero__title { font-size: clamp(26px, 7.4vw, 32px); }
  .article--single .prose h2 { font-size: 1.5rem; }
  .article__meta time { margin-left: 0; }
}
.blog-related { padding: 0 calc(var(--inset) + clamp(4px, 7.8vw, 149px)) clamp(72px, 6.25vw, 120px); }
.blog-related__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.blog-related .blog-rows { margin-top: 0; }
.blog-related .blog-row a { background: #efeffb; box-shadow: none; }
.blog-related .blog-row__arrow { background: var(--white); }

@media (max-width: 1179.98px) {
  .article { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-side__block:has(.article-toc) { display: none; }
}
@media (max-width: 859.98px) {
  .article-hero, .blog-hero { --pad-x: clamp(20px, 6vw, 56px); }
  .article-hero__main { padding: clamp(28px, 5vw, 48px) var(--pad-x) clamp(40px, 7vw, 64px); }
  .blog-hero__main { padding: clamp(40px, 7vw, 64px) var(--pad-x); }
  .article-hero__title { font-size: min(44px, calc((100vw - 2 * var(--inset) - 2 * clamp(20px, 6vw, 56px)) / (var(--len) * .5))); }
  .blog-filters__label { width: 100%; }
}
/* Phones: the long titles get their own lines at a readable size */
@media (max-width: 639.98px) {
  .blog-hero__title { font-size: clamp(28px, 8vw, 34px); }
  .blog-hero__title span { white-space: normal; }
  .article-hero__title { font-size: clamp(26px, 7.4vw, 32px); white-space: normal; }
  .blog-row__title { font-size: 1.125rem; white-space: normal; }
  .prose h2 { font-size: 1.375rem; white-space: normal; }
  .blog-row a { grid-template-columns: minmax(0, 1fr); }
  .blog-row__arrow { display: none; }
  .blog-index { padding-inline: 16px; }
  .article, .blog-related { padding-inline: calc(var(--inset) + 16px); }
  .article-side { grid-template-columns: minmax(0, 1fr); }
  .blog-filters__group { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .blog-filters__label { display: none; }
}

/* ==========================================================================
   Cookie consent (main.js): a card in the bottom corner, both choices equally prominent
   ========================================================================== */
.consent {
  position: fixed;
  left: calc(var(--inset) + 12px);
  bottom: calc(var(--inset) + 12px);
  z-index: 60;
  display: grid;
  gap: 14px;
  width: min(440px, calc(100vw - 2 * var(--inset) - 24px));
  max-height: calc(100svh - 2 * var(--inset) - 24px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: 16px;
  background: radial-gradient(70% 60% at 100% 0, rgb(0 207 255 / .22), transparent 70%), var(--navy);
  box-shadow: 0 24px 60px rgb(0 0 51 / .35);
  color: rgb(255 255 255 / .8);
  font-size: .9375rem;
  line-height: 1.6;
}
.consent[hidden] { display: none; }
.consent__title { color: var(--white); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.consent__text a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.consent__options { display: grid; gap: 10px; }
.consent__options[hidden] { display: none; }
.consent__option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgb(255 255 255 / .06);
  cursor: pointer;
}
.consent__option input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--live-100); cursor: pointer; }
.consent__option input:disabled { cursor: default; }
.consent__option b { display: block; color: var(--white); font-weight: 700; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.consent__btn { flex: 1 1 0; justify-content: center; white-space: nowrap; }
.consent__btn[hidden], .consent__link[hidden] { display: none; }
.consent__link {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer__cookies { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer__cookies:hover { color: var(--white); }

/* ==========================================================================
   Voucher page (tools/build_voucher.py): the offer in the hero, the form in steps below
   ========================================================================== */
.voucher-hero { min-height: 0; }
.voucher-hero__main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
  padding: clamp(48px, 5vw, 96px) clamp(56px, calc(10vw - 62px), 136px) clamp(48px, 5vw, 88px);
}
.voucher-hero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.voucher-pill {
  padding: 6px 14px;
  border: 1px solid var(--live-100);
  border-radius: 999px;
  color: var(--live-100);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.voucher-hero__title {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(40px, calc(2.6vw + 12px), 64px);
  font-weight: 700;
  line-height: 1.12;
}
.voucher-hero__title span { display: block; white-space: nowrap; }
.voucher-hero__title span + span { color: var(--live-100); }
.voucher-worth {
  margin-top: clamp(24px, 2.2vw, 40px);
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--live-100);
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 700;
}
.voucher-hero__perks-title { margin-bottom: 16px; color: rgb(255 255 255 / .8); font-size: .8125rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.voucher-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.voucher-perk {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: 16px;
  background: rgb(255 255 255 / .06);
  backdrop-filter: blur(6px);
  color: rgb(255 255 255 / .75);
  line-height: 1.45;
}
.voucher-perk svg { width: 44px; height: 44px; padding: 11px; border: 1px solid rgb(0 207 255 / .4); border-radius: 12px; background: rgb(0 207 255 / .12); fill: none; stroke: var(--live-100); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.voucher-perk b { display: block; color: var(--white); font-weight: 700; white-space: nowrap; }

.voucher {
  --accent: var(--live-100);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin: var(--inset);
  padding: clamp(40px, 4.4vw, 88px) clamp(20px, 7.8vw, 149px) clamp(56px, 5.6vw, 104px);
  border-radius: var(--radius-section);
  background: #efeffb;
}
.voucher__card {
  padding: clamp(24px, 3vw, 48px);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(0 0 51 / .06), 0 20px 50px rgb(0 0 51 / .08);
}
.voucher-progress { margin-bottom: clamp(28px, 2.6vw, 40px); }
.voucher-progress__track { height: 4px; border-radius: 2px; background: #e6e6f2; overflow: hidden; }
.voucher-progress__fill { width: 33.3%; height: 100%; border-radius: 2px; background: var(--live-100); transition: width .35s var(--ease); }
.voucher-progress__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; color: rgb(0 0 51 / .45); font-size: .9375rem; font-weight: 500; }
.voucher-progress__steps li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.voucher-progress__steps span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid rgb(0 0 51 / .2); border-radius: 50%; font-size: .8125rem; font-weight: 700; }
.voucher-progress__steps .is-current { color: var(--navy); font-weight: 700; }
.voucher-progress__steps .is-current span { border-color: var(--live-100); background: var(--live-100); color: var(--navy); }
.voucher-progress__steps .is-done span { border-color: var(--navy); background: var(--navy); color: var(--white); }

.voucher-step { display: grid; gap: 16px; min-width: 0; padding: 0; margin: 0; border: 0; }
.voucher-step[hidden] { display: none; }
.voucher-step__title { margin-bottom: 4px; padding: 0; color: var(--navy); font-family: var(--font-heading); font-size: clamp(1.375rem, 1.1rem + .6vw, 1.75rem); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.voucher-step__title abbr { color: var(--intent-300); text-decoration: none; }
.voucher-step__actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.voucher-next { flex: 1; justify-content: center; gap: 10px; }
.voucher-next svg, .voucher-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.voucher-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.voucher-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.field__hint { color: rgb(0 0 51 / .55); font-size: .8125rem; line-height: 1.5; }
.field__hint [data-count] { float: right; font-variant-numeric: tabular-nums; }
.field__label { font-size: .875rem; font-weight: 700; line-height: 1.3; }

.voucher-extra { border-radius: 16px; background: rgb(0 207 255 / .08); }
.voucher-extra summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  align-items: start;
  padding: 18px 20px;
  color: rgb(0 0 51 / .7);
  font-size: .9375rem;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.voucher-extra summary::-webkit-details-marker { display: none; }
.voucher-extra summary::after { content: "+"; grid-column: 2; justify-self: end; margin-top: -30px; color: var(--navy); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.voucher-extra[open] summary::after { content: "–"; }
.voucher-extra__badge { padding: 3px 10px; border-radius: 999px; background: rgb(0 207 255 / .25); color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.voucher-extra__body { display: grid; gap: 18px; padding: 4px 20px 20px; }
.voucher-competitors { display: grid; gap: 8px; }
.voucher-competitors input[hidden] { display: none; }
.voucher-add { justify-self: start; padding: 4px 0; border: 0; background: none; color: var(--live-200); font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.voucher-add[hidden] { display: none; }
.voucher-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.voucher-chips:empty { display: none; }
.voucher-chips li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .875rem; font-weight: 500; }
.voucher-chips li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voucher-chips button { display: grid; place-items: center; width: 22px; height: 22px; flex: none; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .15); color: var(--white); font: inherit; font-size: 1rem; line-height: 1; cursor: pointer; }
.voucher-chips button:hover { background: var(--intent-300); }

.voucher-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; color: rgb(0 0 51 / .8); font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.voucher-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--live-200); cursor: pointer; }
.voucher-check a { color: var(--live-200); text-decoration: underline; text-underline-offset: 3px; }
.voucher-check abbr { color: var(--intent-300); text-decoration: none; }
.voucher-check__error { margin: -8px 0 0 32px; }
.voucher-check:has([aria-invalid="true"]) + .voucher-check__error { display: block; }

.voucher-done { display: grid; justify-items: start; gap: 14px; color: rgb(0 0 51 / .75); line-height: 1.7; }
.voucher-done[hidden] { display: none; }
.voucher-done:focus { outline: none; }
.voucher-done svg { width: 56px; height: 56px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.voucher-done circle { fill: var(--live-100); stroke: none; }
.voucher-done path { stroke: var(--navy); }

.voucher__aside { display: grid; gap: 16px; }
.voucher__aside .engine-hero__media { box-shadow: 0 20px 50px rgb(0 0 51 / .15); border-color: transparent; }
.voucher-help {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 24px;
  border-radius: 16px;
  background: radial-gradient(80% 80% at 100% 0, rgb(0 207 255 / .3), transparent 70%), var(--navy);
  color: rgb(255 255 255 / .8);
  line-height: 1.6;
  --accent: var(--live-100);
}
.voucher-help__title { color: var(--white); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.voucher-help .btn { margin-top: 8px; }
.voucher__small { color: rgb(0 0 51 / .6); font-size: .875rem; font-weight: 500; }

@media (max-width: 1179.98px) {
  .voucher-hero__main, .voucher { grid-template-columns: minmax(0, 1fr); }
  .voucher__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .voucher__small { grid-column: 1 / -1; }
}
@media (max-width: 859.98px) {
  .voucher-hero__main { padding: clamp(40px, 7vw, 64px) clamp(20px, 6vw, 56px); }
  .voucher__aside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639.98px) {
  .voucher-perks { grid-template-columns: minmax(0, 1fr); }
  .voucher { padding-inline: 12px; }
  .voucher__card { padding: 20px 16px; }
  .voucher-progress__steps { font-size: .75rem; }
  .voucher-progress__steps li { flex-direction: column; align-items: flex-start; gap: 6px; white-space: normal; }
  .voucher-step__title { white-space: normal; }
}

/* Capability pages and the prices FAQ */
.cap-faq { max-width: 960px; padding: 0 calc(var(--inset) + clamp(4px, 7.8vw, 149px)) clamp(72px, 6.25vw, 120px); }
.prices .cap-faq { padding: clamp(40px, 4vw, 72px) 0 0; }
.cap-faq .engine-h2 { margin-bottom: 24px; }
.cap-faq__item { border-top: 1px solid rgb(0 0 51 / .12); }
.cap-faq__item:last-child { border-bottom: 1px solid rgb(0 0 51 / .12); }
.cap-faq__item summary { padding: 20px 0; font-family: var(--font-heading); font-size: clamp(1.0625rem, .95rem + .3vw, 1.25rem); font-weight: 700; cursor: pointer; }
.cap-faq__item p { padding-bottom: 20px; color: rgb(0 0 51 / .75); line-height: 1.7; }
.dropdown__sep { height: 1px; margin: 6px 0; background: rgb(0 0 51 / .1); }

/* Talk landing page (tools/build_talk.py) */
.talk-source { margin-top: 20px; color: rgb(255 255 255 / .6); font-size: .875rem; }
.talk-answers { padding: clamp(64px, 6vw, 112px) calc(var(--inset) + clamp(4px, 7.8vw, 149px)) 0; }
.talk-answers__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: clamp(28px, 3vw, 48px) 0 0; padding: 0; list-style: none; }
.talk-answer { padding: clamp(24px, 2.4vw, 40px); border-radius: 18px; background: var(--navy); color: rgb(255 255 255 / .75); line-height: 1.6; }
.talk-answer span { color: var(--accent); font-size: .8125rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.talk-answer b { display: block; margin: 10px 0 8px; color: var(--white); font-family: var(--font-heading); font-size: clamp(1.5rem, 1.1rem + .9vw, 2rem); white-space: nowrap; }
.talk-offer { max-width: 960px; padding: 0 calc(var(--inset) + clamp(4px, 7.8vw, 149px)) clamp(72px, 6.25vw, 120px); }
.talk-offer .article__cta { margin-top: 0; }
.talk-speakers { margin-top: 20px; color: rgb(0 0 51 / .7); }
@media (max-width: 859.98px) { .talk-answers__list { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Prices page (tools/build_prices.py)
   ========================================================================== */
.prices-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 900px; margin-top: clamp(32px, 3vw, 56px); }
.prices-compare__item { padding: 24px; border: 1px solid rgb(255 255 255 / .16); border-radius: 16px; background: rgb(255 255 255 / .06); color: rgb(255 255 255 / .75); line-height: 1.5; }
.prices-compare__item--with { border-color: rgb(0 207 255 / .5); background: rgb(0 207 255 / .12); }
.prices-compare__label { color: var(--white); font-size: .8125rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.prices-compare__item--with .prices-compare__label { color: var(--live-100); }
.prices-compare__price { margin: 8px 0 6px; color: var(--white); font-family: var(--font-heading); font-size: clamp(1.5rem, 1.1rem + .9vw, 2.125rem); font-weight: 700; white-space: nowrap; }
.prices-compare__price span { font-size: 1rem; font-weight: 500; color: rgb(255 255 255 / .7); }

.prices {
  --accent: var(--live-100);
  margin: var(--inset);
  padding: clamp(40px, 4.4vw, 88px) clamp(20px, 8.8vw, 169px) clamp(56px, 5.6vw, 104px);
  border-radius: var(--radius-section);
  background: #efeffb;
}
.prices-term { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: clamp(24px, 2.6vw, 48px); }
.prices-term__label { margin-right: 8px; color: rgb(0 0 51 / .6); font-size: .8125rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.prices-term__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgb(0 0 51 / .18); border-radius: 999px; background: var(--white); color: var(--navy); font: inherit; font-weight: 500; cursor: pointer; }
.prices-currency { display: inline-flex; gap: 8px; margin-left: auto; }
.prices-term__btn small { padding: 2px 8px; border-radius: 999px; background: rgb(0 207 255 / .25); font-size: .75rem; font-weight: 700; }
.prices-term__btn[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); font-weight: 700; }
.prices-term__btn[aria-pressed="true"] small { background: var(--live-100); color: var(--navy); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3vw, 48px);
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(0 0 51 / .06), 0 12px 32px rgb(0 0 51 / .06);
}
.plan--recommended { border-color: var(--live-100); box-shadow: 0 0 0 3px rgb(0 207 255 / .2), 0 20px 50px rgb(0 0 51 / .1); }
.plan__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.plan__name { font-family: var(--font-heading); font-size: clamp(1.5rem, 1.2rem + .6vw, 2rem); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.plan__badge { padding: 4px 12px; border-radius: 999px; background: var(--live-100); color: var(--navy); font-size: .8125rem; font-weight: 700; }
.plan__engines { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.plan__engine { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid rgb(0 0 51 / .14); border-radius: 999px; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.plan__engine i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.plan__engine.is-extra { border-color: transparent; background: color-mix(in srgb, var(--accent) 35%, white); }
.prices-engines { max-width: 760px; margin: -8px 0 clamp(20px, 2vw, 32px); color: rgb(0 0 51 / .75); font-weight: 500; line-height: 1.6; }
.plan__desc { min-height: 3.2em; margin-top: 12px; color: rgb(0 0 51 / .7); line-height: 1.6; }
.plan__pricing { margin-top: 24px; }
.plan__price { font-family: var(--font-heading); white-space: nowrap; }
.plan__price b { font-size: clamp(2.25rem, 1.6rem + 1.4vw, 3.25rem); font-weight: 700; line-height: 1.1; }
.plan__price span { color: rgb(0 0 51 / .6); font-size: 1.0625rem; font-weight: 500; }
.plan__term { min-height: 1.5em; color: rgb(0 0 51 / .6); font-size: .9375rem; }
.plan > .btn { margin-top: 24px; }
.plan__lead { margin-top: 28px; font-weight: 700; }
.plan__points { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; color: rgb(0 0 51 / .8); line-height: 1.5; }
.plan__lead + .plan__points { margin-top: 12px; }
.plan > .btn + .plan__points { margin-top: 28px; }
.plan__points li { position: relative; padding-left: 28px; }
.plan__points li::before { content: ""; position: absolute; top: .3em; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--live-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23000033' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan__included { margin-top: auto; padding-top: 32px; color: rgb(0 0 51 / .55); font-size: .8125rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.plan__rows { display: grid; width: 100%; margin: 8px 0 0; }
.plan__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgb(0 0 51 / .08); font-size: .9375rem; }
.plan__rows dt { color: rgb(0 0 51 / .7); }
.plan__rows dd { margin: 0; font-weight: 700; text-align: right; }
.prices-extra { margin-top: clamp(32px, 3vw, 56px); padding: clamp(24px, 2.6vw, 40px); border-radius: 20px; background: var(--white); }
.prices-addons { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 16px 0 0; padding: 0; list-style: none; }
.prices-addons li { display: flex; gap: 10px; }
.prices-addons span { color: rgb(0 0 51 / .7); }
.prices-note { margin-top: 20px; color: rgb(0 0 51 / .6); font-size: .875rem; }
@media (max-width: 1099.98px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan__desc { min-height: 0; }
}
@media (max-width: 639.98px) {
  .prices-compare { grid-template-columns: minmax(0, 1fr); }
  .prices { padding-inline: 12px; }
}

/* ==========================================================================
   Shared by the closing blocks
   ========================================================================== */
.sectors, .stories, .closing, .footer { --page-x: calc(var(--inset) + clamp(4px, 8.8vw, 169px)); }
.finale, .home-blog { --page-x-inner: clamp(4px, 8.8vw, 169px); }

/* Sectors: text left, photo right, on a light panel */
.sectors { padding: var(--inset); }
.sectors__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 80px);
  padding: var(--inset);
}
.sectors__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: calc(580px + clamp(4px, 7.8vw, 149px));
  padding-left: clamp(4px, 7.8vw, 149px);
}
.sectors__eyebrow {
  color: rgb(0 0 51 / .5);
  font-size: clamp(.8125rem, .75rem + .2vw, 1rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sectors__title {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1rem + 2.3vw, 3.375rem);
  font-weight: 700;
  line-height: 1.11;
}
.sectors__title span { display: block; white-space: nowrap; }
.sectors__lead {
  margin-top: 40px;
  color: rgb(0 0 51 / .5);
  font-size: clamp(1rem, .9rem + .3vw, 1.25rem);
  font-weight: 500;
  line-height: 1.6;
}
.sectors__text .btn { margin-top: 40px; }
.sectors__media {
  position: relative;
  overflow: hidden;
  /* Landscape, so the block stays well within one screen */
  aspect-ratio: 4 / 3;
  max-height: 640px;
  border-radius: 18px;
}
.sectors__media img { width: 100%; height: 100%; object-fit: cover; }
.sectors__media::after {
  content: "";
  position: absolute;
  right: 0;
  aspect-ratio: 749 / 571;
  background: url("../img/dots-sector.webp") center / 100% 100% no-repeat;
  opacity: .5;
  pointer-events: none;
}
.sectors__media::after { bottom: 1.3%; width: 79.6%; }

/* Growth stories: a photo and a quote card side by side, per story */
.stories { padding: clamp(64px, 6vw, 120px) var(--page-x); }
.stories__head, .home-blog__head { text-align: center; }
.stories__eyebrow, .home-blog__eyebrow {
  color: rgb(0 0 51 / .55);
  font-size: clamp(.8125rem, .75rem + .2vw, 1rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.stories__title, .home-blog__title {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.2rem + 1.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.23;
  white-space: nowrap;
}
.stories__list { display: grid; gap: 20px; margin: clamp(32px, 4vw, 80px) 0 0; padding: 0; list-style: none; }
.story { display: grid; grid-template-columns: minmax(0, 425fr) minmax(0, 618fr); gap: 10px; max-width: 1053px; }
.story__photo { width: 100%; height: 100%; min-height: 320px; border-radius: 18px; object-fit: cover; }
.story__photo--logo { display: grid; place-items: center; padding: 12%; background: var(--hero-navy) url("../img/footer-bg.webp") center / cover; }
.story__photo--logo img { width: 100%; height: auto; }
.story__card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 60px);
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
}
.story:nth-child(even) .story__card { background: var(--live-100); color: var(--navy); }
.story__pill {
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid rgb(255 255 255 / .2);
  border-radius: 999px;
  background: rgb(255 255 255 / .14);
  font-size: .8125rem;
  font-weight: 700;
}
.story__quote {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .2);
  font-size: clamp(1.25rem, 1rem + .5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
}
.story__who {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .2);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.5;
}
.story__quote + .story__who { margin-top: 32px; }
.story__who b { font-weight: 700; }

/* Latest blog articles: three cards on a soft panel */
.home-blog { padding: 0 var(--inset) var(--inset); }
.home-blog__panel { padding: clamp(56px, 5.6vw, 108px) var(--page-x-inner) clamp(56px, 5vw, 90px); border-radius: var(--radius-section); background: #efeffb; }
.home-blog__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: clamp(32px, 4vw, 80px) 0 0; padding: 0; list-style: none; }
.home-blog__card { display: flex; flex-direction: column; align-items: flex-start; }
.home-blog__card img { width: 100%; aspect-ratio: 501 / 321; border-radius: 18px; object-fit: cover; }
.home-blog__card h3 { margin-top: 40px; font-size: clamp(1.125rem, .9rem + .5vw, 1.5rem); font-weight: 500; line-height: 1.33; }
.home-blog__card p { margin-top: 20px; color: rgb(0 0 51 / .75); line-height: 1.5; }
.home-blog__card p { margin-bottom: 24px; }
.home-blog__card .btn { margin-top: auto; }

/* CTA and footer share one blue panel; the CTA is a photo card at its top */
.finale {
  margin: var(--inset);
  padding: var(--inset);
  border-radius: var(--radius-section);
  background: var(--hero-navy) url("../img/footer-bg.webp") center / cover no-repeat;
  color: var(--white);
}

/* Closing CTA */
.closing__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(420px, 31.5vw, 605px);
  justify-content: center;
  padding: clamp(48px, 5vw, 96px) var(--page-x-inner);
  border-radius: var(--radius-section);
  /* The photo sits on the right in its own layer, fading into the navy on its left edge,
     so the text stays on navy (the photo is small: stretched across the block it turns soft) */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.closing__panel::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 56%;
  background: url("../img/cta.webp?v=2") 62% 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
}
.closing__eyebrow { font-size: clamp(.8125rem, .75rem + .2vw, 1rem); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.closing__title { margin-top: 20px; font-family: var(--font-heading); font-size: clamp(2rem, 1rem + 2.1vw, 3.375rem); font-weight: 700; line-height: 1.11; }
.closing__title span { display: block; white-space: nowrap; }
.closing__text { max-width: 725px; margin-top: 40px; font-size: clamp(1rem, .9rem + .3vw, 1.25rem); font-weight: 500; line-height: 1.6; }
.closing__panel .btn { margin-top: 40px; }

/* Footer, white on the blue panel */
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px clamp(48px, 6vw, 120px);
  padding: clamp(56px, 5.6vw, 110px) var(--page-x-inner) clamp(48px, 5vw, 96px);
}
.footer__heading { font-family: var(--font-heading); font-size: clamp(1.25rem, 1rem + .4vw, 1.5rem); font-weight: 700; line-height: 1.33; white-space: nowrap; }
.newsletter { max-width: 620px; }
.newsletter__row { display: flex; gap: 10px; margin-top: 40px; }
.newsletter__row input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 24px;
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: 999px;
  background: none;
  color: var(--white);
  font: inherit;
}
.newsletter__row input::placeholder { color: rgb(255 255 255 / .7); }
.newsletter__row input:focus { border-color: var(--live-100); outline: none; box-shadow: 0 0 0 3px rgb(0 207 255 / .25); }
.newsletter__row input[aria-invalid="true"] { border-color: var(--intent-200); }
.newsletter .btn--fill { --accent: var(--live-100); }
.newsletter__check { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .875rem; font-weight: 500; cursor: pointer; }
.newsletter__check input { width: 20px; height: 20px; accent-color: var(--live-100); cursor: pointer; }
.newsletter__check:has([aria-invalid="true"]) { color: var(--intent-100); }
.newsletter__status { min-height: 1.5em; margin-top: 12px; font-size: .875rem; }
.newsletter__status.is-error { color: var(--intent-100); }
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 40px clamp(48px, 6vw, 120px); }
.footer__nav ul { display: grid; gap: 30px; margin-top: 40px; }
.footer__nav a { font-size: clamp(1rem, .9rem + .2vw, 1.125rem); font-weight: 500; white-space: nowrap; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--page-x-inner) clamp(48px, 5vw, 96px);
}
.footer__claim { font-family: var(--font-heading); font-size: clamp(1.75rem, 1rem + 1.6vw, 2.75rem); font-weight: 700; line-height: 1.23; white-space: nowrap; }
.footer__text { max-width: 618px; margin-top: 20px; color: rgb(255 255 255 / .85); font-size: clamp(1rem, .9rem + .2vw, 1.125rem); font-weight: 500; line-height: 1.4; }
.footer__logo img { width: clamp(110px, 8vw, 160px); height: auto; }
.footer__bottom {
  margin-inline: var(--page-x-inner);
  padding: 24px 0 clamp(24px, 3vw, 56px);
  border-top: 1px solid rgb(255 255 255 / .2);
  color: rgb(255 255 255 / .85);
  font-size: clamp(.875rem, .8rem + .15vw, 1rem);
  font-weight: 500;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1099.98px) {
  .sectors__panel { grid-template-columns: minmax(0, 1fr); }
  .sectors__text { max-width: 680px; padding: clamp(32px, 6vw, 56px) clamp(12px, 5vw, 40px) 0; }
  .sectors__media { aspect-ratio: 4 / 3; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story__photo { min-height: 0; aspect-ratio: 16 / 9; }
  .home-blog__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-blog__list li:nth-child(3) { display: none; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 859.98px) {
  .stories { padding-inline: var(--inset); }
  .footer, .finale, .home-blog { --page-x-inner: clamp(12px, 5vw, 40px); }
}
@media (max-width: 639.98px) {
  .home-blog__list { grid-template-columns: minmax(0, 1fr); }
  .home-blog__list li:nth-child(3) { display: flex; }
  .stories__title, .footer__claim { white-space: normal; }
  .closing__title span { white-space: normal; }
  .closing__panel { padding-top: 70vw; }
  .closing__panel::after { inset: 0 0 auto; width: 100%; height: 75vw; background-position: 60% 30%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .newsletter__row { flex-direction: column; }
  .footer__nav { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479.98px) {
  .sectors__title { font-size: min(8.4vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Moving curtains: the curtain video from the Figma prototype plays behind the
   hero and the engine cards (main.js plays it while it is on screen). The cards
   use the same film recoloured to their own palette (tools/README.md).
   ========================================================================== */
.curtain-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; pointer-events: none; }
/* Stacked cards on smaller screens crop the curtains differently: they keep the still image */
@media (max-width: 1179.98px) { .pillar__card .curtain-video { display: none; } }
