/* ============================================================================
   vyntratech.ai — marketing landing page (v2 candidate)
   Companion stylesheet for index-v2.html.

   WHY THIS IS AN EXTERNAL FILE AND WHY THE PAGE HAS NO style="" ATTRIBUTES
   ---------------------------------------------------------------------------
   The page is served from the app container under /site, and the app emits a
   Content-Security-Policy for that prefix (backend/app/security/headers.py).
   The app-wide default currently allows 'unsafe-inline' for styles, but this
   page deliberately does NOT rely on that: index-v2.html declares
   `style-src 'self'` in its own <meta> CSP, and a browser enforces the
   INTERSECTION of every policy it receives. That means the page is correct
   under the current policy AND stays correct if 'unsafe-inline' is ever
   dropped from the app-wide value — which is the direction a hardening review
   pushes, not away from it.

   Practical consequence for future editors: there is no escape hatch. A
   one-off `style="margin-top:8px"` will be BLOCKED, silently, and the page
   will render subtly wrong in production while looking fine in a local file://
   preview. Every visual decision lives in this file. Per-item variation that
   would normally be an inline custom property (animation stagger, for example)
   is done here with :nth-child instead.

   Script is `script-src 'self'` for the same reason: see landing-v2.js.

   STRUCTURE
     1. tokens
     2. reset + base typography
     3. motion primitives (scroll reveal, aurora) + reduced-motion
     4. layout primitives
     5. components (nav, buttons, cards, tiles, strip)
     6. sections, in page order
     7. responsive
   ========================================================================== */

/* ===== 1. TOKENS ========================================================== */
:root {
  /* The brand triad, taken from the application's own stylesheet
     (frontend/src/styles.css --brand-a/b/c) and from the logo artwork itself,
     which runs cyan -> violet -> magenta left to right. The page is built to
     sit next to that mark, not to compete with it. */
  --c1: #1fa2e0;   /* cyan   */
  --c2: #6b4ff0;   /* violet */
  --c3: #b62fc6;   /* magenta */

  --grad: linear-gradient(115deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
  --grad-soft: linear-gradient(115deg, rgba(31,162,224,.14), rgba(107,79,240,.14) 52%, rgba(182,47,198,.14));

  /* Light-tinted triad for use as TEXT on the dark sections. The raw brand
     values are mid-tone and drop below 4.5:1 on near-black; these clear it. */
  --c1-lt: #6cc8f5;
  --c2-lt: #a692ff;
  --c3-lt: #e08ced;
  --grad-lt: linear-gradient(115deg, var(--c1-lt) 0%, var(--c2-lt) 50%, var(--c3-lt) 100%);

  /* Dark surfaces */
  --ink-0: #05080f;
  --ink-1: #0a0f1e;
  --ink-2: #111a33;

  /* Light surfaces */
  --paper: #f6f8fd;
  --white: #ffffff;

  /* Text */
  --tx: #101728;
  --tx-mute: #55617c;
  --dtx: #eef2ff;
  --dtx-mute: #a7b4d6;

  --line: #e2e8f4;
  --dline: rgba(255, 255, 255, .12);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --sh-sm: 0 2px 10px rgba(16, 23, 40, .05);
  --sh-md: 0 14px 40px rgba(16, 23, 40, .10);
  --sh-lg: 0 34px 80px rgba(16, 23, 40, .18);
  /* Glow, not shadow — the floating cards on dark read as lit from the
     gradient behind them rather than as objects casting a drop shadow. */
  --glow: 0 24px 70px rgba(107, 79, 240, .28);

  --maxw: 1180px;
  --gutter: 24px;
  --nav-h: 72px;

  /* System stack only. No CDN font: the environment is egress-locked and the
     CSP is font-src 'self' data:, so a webfont request would simply fail and
     the page would flash-fallback anyway. */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --font-num: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ===== 2. RESET + BASE ==================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--tx);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* CLIP, not HIDDEN. `overflow-x: hidden` on <body> makes overflow-y compute
     to `auto`, which stops the body's scrolling being propagated to the
     viewport and turns <body> into its own scroll container — which breaks
     `position: sticky` on the nav. `clip` does the same visual job without
     creating a scroll container. Where it is unsupported the declaration is
     simply dropped, which is safe: each .on-dark section already clips its own
     aurora, so nothing actually overflows the page horizontally. This is a
     second line of defence against a future wide element, not the first. */
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 760;
  text-wrap: balance;
}
/* Capped at 3.6rem rather than the ~4.15rem the fluid curve wants at 1440px.
   The hero headline shares a ~555px column with the media, and at the larger
   size it broke to four lines, which reads as a paragraph rather than as a
   hook. Three lines is the target. */
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.95rem); letter-spacing: -.028em; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.012em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c2); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { margin: 0; padding: 0; }

/* Focus: one ring definition for the whole page, sized and coloured so it is
   visible on BOTH the light and the dark sections. The browser default is a
   thin dark outline that disappears entirely against --ink-0. */
:focus-visible {
  outline: 3px solid var(--c1-lt);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Skip link — first focusable thing in the document. Visually hidden until
   focused, then pinned over the sticky nav. */
.skip {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--tx);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-md);
  transition: transform .18s ease;
}
.skip:focus-visible { transform: translateY(0); text-decoration: none; }

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

/* ===== 3. MOTION ========================================================== */

/* Scroll reveal. The hidden state is scoped to .js so that with JavaScript
   blocked, failed or still loading, every section is simply visible — the
   content is never hostage to the animation. landing-v2.js sets the class on
   <html> as its first statement. */
.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s cubic-bezier(.22, .68, .36, 1),
              transform .72s cubic-bezier(.22, .68, .36, 1);
  will-change: opacity, transform;
}
.js .rv.in { opacity: 1; transform: none; }

/* Stagger without inline styles: children of a revealed group inherit a delay
   from their position. Capped at 6 — beyond that the last card arrives late
   enough to read as a bug rather than as choreography. */
.js .rv.in > .stag:nth-child(1) { transition-delay: .00s; }
.js .rv.in > .stag:nth-child(2) { transition-delay: .07s; }
.js .rv.in > .stag:nth-child(3) { transition-delay: .14s; }
.js .rv.in > .stag:nth-child(4) { transition-delay: .21s; }
.js .rv.in > .stag:nth-child(5) { transition-delay: .28s; }
.js .rv.in > .stag:nth-child(6) { transition-delay: .35s; }
.js .rv > .stag {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .66s cubic-bezier(.22, .68, .36, 1),
              transform .66s cubic-bezier(.22, .68, .36, 1);
}
.js .rv.in > .stag { opacity: 1; transform: none; }

/* The "bleeding colour": oversized, heavily blurred radial washes behind the
   dark sections. They are decorative only and are marked aria-hidden in the
   markup; nothing here carries meaning. */
.aurora {
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora b {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.aurora b:nth-child(1) {
  width: 46vw; height: 46vw; min-width: 340px; min-height: 340px;
  top: -6%; left: 52%;
  background: radial-gradient(circle, rgba(31,162,224,.95) 0%, rgba(31,162,224,0) 70%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora b:nth-child(2) {
  width: 40vw; height: 40vw; min-width: 300px; min-height: 300px;
  top: 22%; left: 6%;
  background: radial-gradient(circle, rgba(107,79,240,.95) 0%, rgba(107,79,240,0) 70%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.aurora b:nth-child(3) {
  width: 34vw; height: 34vw; min-width: 260px; min-height: 260px;
  bottom: -12%; left: 34%;
  background: radial-gradient(circle, rgba(182,47,198,.9) 0%, rgba(182,47,198,0) 70%);
  animation: drift-c 29s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(-7%, 8%, 0) scale(1.14); } }
@keyframes drift-b { to { transform: translate3d(9%, -6%, 0) scale(1.09); } }
@keyframes drift-c { to { transform: translate3d(-5%, -9%, 0) scale(1.17); } }

/* One place, all of it. A visitor who has asked their OS for reduced motion
   gets a completely static page: no reveal, no drift, no smooth scroll, no
   hover lift. landing-v2.js separately stops the video loops on the poster
   frame, which CSS cannot do. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .rv, .js .rv > .stag { opacity: 1 !important; transform: none !important; }
}

/* ===== 4. LAYOUT ========================================================== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.wrap-narrow { max-width: 900px; }

section { padding: clamp(68px, 9vw, 122px) 0; position: relative; }

.center { text-align: center; }
.center .lede, .center .eyebrow { margin-left: auto; margin-right: auto; }

.lede {
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  color: var(--tx-mute);
  max-width: 64ch;
}
.on-dark .lede { color: var(--dtx-mute); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
  font-weight: 800;
  color: var(--c2);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--grad);
  flex: none;
}
.on-dark .eyebrow { color: var(--c1-lt); }

/* Gradient headline fragment. The `color` declaration is the fallback for any
   engine that does not support background-clip:text — without it the text
   would inherit transparent and vanish, which is the classic failure of this
   effect. padding-bottom stops descenders being clipped by the box. */
.grad-tx {
  background: var(--grad-lt);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--c2-lt);
  -webkit-text-fill-color: transparent;
  padding-bottom: .06em;
}
.on-light .grad-tx { background: var(--grad); color: var(--c2); }

/* Two-up feature block: argument on one side, evidence on the other. Collapses
   to a single column at 960px (see §7), where the media is pushed BELOW the
   prose so a phone visitor reads the claim before the illustration. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-l { margin-top: 48px; }
.mt-m { margin-top: 30px; }

.rule { height: 1px; border: 0; margin: 0; background: var(--line); }

/* ===== 5. COMPONENTS ====================================================== */

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(5, 8, 15, .72);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* Once the hero is behind it the bar needs to separate itself from whatever
   it is now floating over — including the white sections, where a fully
   transparent border would let the panel edge disappear. Toggled from JS off
   a sentinel; with JS blocked the bar simply stays in its hero state, which
   is still legible because it is already opaque enough to carry the links. */
.nav.scrolled {
  background: rgba(5, 8, 15, .9);
  border-bottom-color: var(--dline);
  box-shadow: 0 10px 34px rgba(5, 8, 15, .32);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; }

/* The mark is dark artwork on transparency — the wordmark and especially the
   "TECHNOLOGY PRIVATE LIMITED" line lose all contrast directly on the dark
   bar. The light chip is the same treatment index.html and request-demo.html
   already use, so the three pages stay consistent. */
.brand {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 11px;
  padding: 7px 13px;
  line-height: 0;
  flex: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--glow); }
.brand img { height: 27px; width: auto; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--dtx-mute);
  font-size: .92rem;
  font-weight: 560;
  /* Padding not margin: the visual gap is unchanged but the hit target clears
     the WCAG 2.2 24px minimum inside a 72px bar at no layout cost. */
  padding: 9px 13px;
  border-radius: 10px;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -.008em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform .2s cubic-bezier(.22,.68,.36,1), box-shadow .2s ease,
              background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(107,79,240,.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(107,79,240,.48); }
.btn-primary:active { transform: translateY(0); }

/* Gradient-outlined ghost. Two backgrounds clipped to different boxes gives a
   1px gradient ring without a pseudo-element and without border-image, which
   does not follow a 999px radius correctly in every engine. */
.btn-ghost {
  color: var(--dtx);
  background:
    linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.05)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) padding-box,
    var(--grad) border-box;
}
.btn-light { background: var(--white); color: var(--tx); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---- glass card (dark sections) ---- */
.glass {
  position: relative;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--dline);
  border-radius: var(--r-md);
  padding: 30px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--dtx);
  transition: transform .26s cubic-bezier(.22,.68,.36,1), background .26s ease,
              border-color .26s ease, box-shadow .26s ease;
}
/* A hairline of brand colour along the top edge, brightening on hover. This
   is what keeps a grid of translucent panels from reading as flat grey. */
.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--grad);
  opacity: .45;
  transition: opacity .26s ease;
}
.glass:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: var(--glow);
}
.glass:hover::before { opacity: 1; }
.glass h3 { color: #fff; }
.glass p { color: var(--dtx-mute); font-size: .97rem; margin: 0; }

/* ---- solid card (light sections) ---- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 28px;
  box-shadow: var(--sh-sm);
  transition: transform .26s cubic-bezier(.22,.68,.36,1), box-shadow .26s ease,
              border-color .26s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .26s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: #cfdaf0; }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--tx-mute); font-size: .97rem; margin: 0; }

/* Numbered step chip used in "how it works".
   Scoped under .card on purpose: `.card p { margin: 0 }` is (0,0,1,1) and
   would otherwise beat a bare `.step-n` (0,0,1,0) and eat the chip's bottom
   margin. Specificity, not source order, decides this. */
.card .step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-num);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(107,79,240,.3);
}

/* ---- media tile ---- */
.tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .26s cubic-bezier(.22,.68,.36,1), box-shadow .26s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

/* These figures are genuine output and their native aspect ratios differ
   widely (a square stagnant-zone map next to 4:3 high-speed footage). Letting
   each size itself makes the grid stretch the short card to the tall card's
   height and leaves a void inside it. A fixed ratio box equalises them.
   object-fit is CONTAIN, never COVER: these carry titles, axes and colour bars
   at the edges and cropping them throws away the units.

   The media is taken OUT OF FLOW on purpose. Left in normal flow, a video's
   intrinsic height still contributes to layout and overrides `aspect-ratio`,
   so the box grows back to the clip's own height. */
.tile .media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.tile .media > video,
.tile .media > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
/* Where a figure is wrapped in a link so it can be opened full size, the link
   must be stretched too — the img inside is positioned against .media, so an
   un-stretched <a> collapses to zero width and the target disappears. */
.tile .media > a { position: absolute; inset: 0; display: block; }
.tile .media.pad { padding: 16px; }
.tile .body { padding: 24px 26px 26px; }
/* The lone full-width evidence figure under the two-up grid. At full bleed it
   is a ~1094x821 slab that swallows the section; capped and centred it stays
   legible without dominating. This class exists because the page has no
   style="" escape hatch — see the CSP note at the top of index-v2.html. */
.tile-wide { max-width: 880px; margin: 22px auto 0; }
.tile h3 { margin-bottom: .4em; }
.tile p { color: var(--tx-mute); font-size: .95rem; margin: 0 0 14px; }

/* Provenance badge. Every clip on this page is either a solve this platform
   ran or an instrument recording, and the page says so out loud; the badge is
   how that stays true per-item rather than as one sentence in the hero. */
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef3fb;
  border: 1px solid var(--line);
  color: #3b4a6b;
  font-variant-numeric: tabular-nums;
}
.tag-brand { background: var(--grad-soft); border-color: rgba(107,79,240,.26); color: #4b35b8; }

/* ---- hero showcase frame ---- */
.showcase {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--glow), var(--sh-lg);
}
.showcase video { width: 100%; height: auto; background: #fff; }
.showcase .cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  background: var(--ink-1);
  color: var(--dtx-mute);
  font-size: .82rem;
  padding: 13px 18px;
}
.showcase .cap b {
  color: #fff;
  font-weight: 650;
  white-space: nowrap;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--grad);
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* A slow float on the hero media. Subtle enough to read as depth rather than
   as an animation; killed entirely under prefers-reduced-motion above. */
.float { animation: float 7.5s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-14px); } }

/* ---- value strip ---- */
.strip {
  background: var(--ink-1);
  border-top: 1px solid var(--dline);
  border-bottom: 1px solid var(--dline);
  padding: 26px 0;
}
.strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 10px;
}
.strip li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dtx-mute);
  font-size: .92rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--dline);
  background: rgba(255,255,255,.04);
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.strip li:hover { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.strip li b { color: #fff; font-weight: 650; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }

/* ---- checklist ---- */
.checks { list-style: none; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 40px; font-size: 1rem; }
.checks li b { font-weight: 680; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--grad);
  /* The tick is drawn, not typed. A "✓" glyph renders at a different weight
     and baseline in every system font and was visibly off-centre on Windows. */
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12L20.2 5.6z' fill='%23fff'/%3E%3C/svg%3E") center / 104% no-repeat,
           linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12L20.2 5.6z' fill='%23fff'/%3E%3C/svg%3E") center / 104% no-repeat;
}
.on-dark .checks li { color: var(--dtx); }

/* ---- pills ---- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.center .pills { justify-content: center; }
.pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: .94rem;
  font-weight: 560;
  box-shadow: var(--sh-sm);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.pill:hover { transform: translateY(-3px); border-color: rgba(107,79,240,.45); box-shadow: var(--sh-md); }

.note {
  color: var(--tx-mute);
  font-size: .89rem;
  max-width: 72ch;
  line-height: 1.6;
}
.on-dark .note { color: var(--dtx-mute); }
.center .note { margin-left: auto; margin-right: auto; }

/* ===== 6. SECTIONS ======================================================== */

/* The blurred .aurora blobs alone are not enough here. The trust + commercials
   block is ONE .on-dark wrapper spanning two full sections, so blobs sized as
   a fraction of it cluster near the top and the lower half reads as a flat
   black rectangle. These fixed washes carry brand colour the whole height;
   the aurora then adds the movement on top. */
.on-dark {
  background:
    radial-gradient(1000px 640px at 88% 4%, rgba(107, 79, 240, .22) 0%, rgba(5,8,15,0) 62%),
    radial-gradient(860px 580px at 4% 52%, rgba(31, 162, 224, .16) 0%, rgba(5,8,15,0) 60%),
    radial-gradient(820px 560px at 74% 98%, rgba(182, 47, 198, .18) 0%, rgba(5,8,15,0) 60%),
    var(--ink-0);
  color: var(--dtx);
  position: relative;
  overflow: hidden;
}
/* The hero sets its own three-wash background above; it must not inherit the
   generic one as well or the two stack into a muddy purple. */
.hero.on-dark { background:
    radial-gradient(1100px 620px at 76% -8%, rgba(107, 79, 240, .34) 0%, rgba(5,8,15,0) 64%),
    radial-gradient(900px 520px at 4% 108%, rgba(31, 162, 224, .24) 0%, rgba(5,8,15,0) 62%),
    radial-gradient(760px 500px at 96% 82%, rgba(182, 47, 198, .2) 0%, rgba(5,8,15,0) 60%),
    var(--ink-0);
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-light { background: var(--white); }

/* ---- hero ---- */
.hero {
  padding: clamp(64px, 8vw, 104px) 0 clamp(76px, 9vw, 120px);
  /* Three stacked washes on near-black. The gradient "bleeds" off the top and
     right rather than sitting inside a box, which is what stops a dark hero
     from looking like a black rectangle. */
  background:
    radial-gradient(1100px 620px at 76% -8%, rgba(107, 79, 240, .34) 0%, rgba(5,8,15,0) 64%),
    radial-gradient(900px 520px at 4% 108%, rgba(31, 162, 224, .24) 0%, rgba(5,8,15,0) 62%),
    radial-gradient(760px 500px at 96% 82%, rgba(182, 47, 198, .2) 0%, rgba(5,8,15,0) 60%),
    var(--ink-0);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: .34em; }
.hero .kicker {
  color: var(--dtx-mute);
  font-size: 1rem;
  max-width: 50ch;
  margin: 0 0 22px;
  padding-left: 16px;
  border-left: 2px solid rgba(255,255,255,.16);
}
.hero .sub {
  color: #cdd8f5;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  max-width: 54ch;
  margin: 0 0 32px;
}
.hero .btn-row { margin-bottom: 26px; }

/* ---- outcome figures ---- */
.figure-row { display: flex; flex-wrap: wrap; gap: 34px; }
/* Scoped under .glass/.card for the same specificity reason as .step-n: the
   container's `p { margin: 0 }` would otherwise collapse the gap under the
   figure and butt it against the body copy. */
.glass .figure, .card .figure { margin: 0 0 14px; }
.figure b {
  display: block;
  font-size: 1.55rem;
  font-weight: 780;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.figure span { display: block; font-size: .85rem; color: var(--tx-mute); }
.on-dark .figure span { color: var(--dtx-mute); }

/* ---- final CTA ---- */
.final {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(44px, 6vw, 76px) clamp(26px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 420px at 18% 0%, rgba(31,162,224,.42) 0%, rgba(10,15,30,0) 62%),
    radial-gradient(620px 420px at 86% 104%, rgba(182,47,198,.38) 0%, rgba(10,15,30,0) 62%),
    linear-gradient(140deg, #16204a 0%, #0a0f1e 72%);
  box-shadow: var(--sh-lg);
}
.final-body { position: relative; z-index: 1; }
.final h2 { color: #fff; }
.final p { color: var(--dtx-mute); max-width: 58ch; margin: 0 auto 30px; font-size: 1.08rem; }

/* Secondary contact line under the CTA buttons. Overrides the generic
   `.final p` bottom margin (30px) because this sits LAST in the card and that
   spacing reads as a gap rather than separation. */
.final p.final-contact {
  margin: 22px auto 0;
  font-size: .95rem;
  color: var(--dtx-mute);
}
.final p.final-contact a {
  color: #fff;
  text-decoration: underline;
  /* 2px offset so the underline clears the descenders in the address. */
  text-underline-offset: 2px;
}
/* --c2-lt, not --c2: this is text on a near-black card, and the raw brand
   violet drops below 4.5:1 there. The -lt triad exists for exactly this. */
.final p.final-contact a:hover,
.final p.final-contact a:focus-visible { color: var(--c2-lt); }

/* ---- footer ---- */
.foot {
  background: var(--ink-0);
  border-top: 1px solid var(--dline);
  color: var(--dtx-mute);
  font-size: .88rem;
  padding: 44px 0;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
/* inline-block + padding so the link clears the 24px target minimum; the
   negative inline margin keeps it visually flush with the separator. */
.foot p { margin: 0; }
.foot a { color: #c6d2f0; display: inline-block; padding: 5px 7px; margin: 0 -7px; }

/* ===== 7. RESPONSIVE ====================================================== */
@media (max-width: 1040px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .showcase { max-width: 620px; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr !important; }
  /* Media first would bury the argument under a video on a phone. */
  .split .split-media { order: 2; }
}
@media (max-width: 860px) {
  /* The page is a single linear narrative, so the anchor nav is a convenience
     rather than the only route to any section. On a phone it costs more width
     than it returns; the CTA stays. */
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 680px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .figure-row { gap: 22px; }
  .btn { padding: 13px 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .float { animation: none; }
  /* backdrop-filter over a full-width translucent panel is the single most
     expensive thing on this page on mid-range phones; the flat fill is
     indistinguishable at this size. */
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.06); }
}

/* Print: the deck is sometimes forwarded as a PDF. Strip the dark fills so it
   does not consume a cartridge, and drop the decorative washes. */
@media print {
  .nav, .aurora, .skip { display: none !important; }
  body, .on-dark, .strip, .final, .foot, .hero {
    background: #fff !important;
    color: #000 !important;
  }
  .on-dark h1, .on-dark h2, .on-dark h3, .final h2 { color: #000 !important; }
  .on-dark .lede, .on-dark p, .final p, .strip li { color: #333 !important; }
  .glass, .card, .tile { box-shadow: none !important; border: 1px solid #ccc !important; }
  .js .rv, .js .rv > .stag { opacity: 1 !important; transform: none !important; }
}
