/* Aivoxl website v5: centred, dark, glass, the island hero seen from further away, one price panel,
   a deck of style cards on a dial of lines, and a line that draws the "why video" story.
   Colours come only from the Aivoxl palette in tokens.css: Black, White, Blue, Red.
   The glass is a web approximation of Apple's Liquid Glass look (backdrop-filter + light edges).
   It falls back to solid panels for Reduce Transparency, Increase Contrast and old browsers.
   Mobile first: base = phone, then 640px, 768px and 1024px.

   Shape rule: controls are pills; text inputs 12px; style cards 18px; glass cards 20px;
   large panels 28px; video frames inside cards 10 to 16px. */

:root {
  --glass-edge: rgba(255, 255, 255, 0.10);
  --glass-edge-strong: rgba(255, 255, 255, 0.18);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  --glass-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  --glass-blur: blur(24px) saturate(150%);
  --card-edge: rgba(255, 255, 255, 0.22);
  --line: #5f5d5c;
  --blue-rgb: 134, 223, 245;
  --red-rgb: 224, 0, 31;
  --r-panel: 28px;
  --r-card: 20px;
  --r-media: 12px;
  --r-input: 12px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
@property --lift { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--surface); }
body {
  margin: 0;
  min-height: 100dvh;
  isolation: isolate;
  background: var(--surface);
  color: var(--text);
  font: var(--text-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
canvas { display: block; width: 100%; height: 100%; }
a { color: var(--action); border-radius: 4px; }
p, h1, h2, h3, figure, ol, ul { margin: 0; }
:where(a, button, summary):focus-visible { outline: none; box-shadow: var(--focus-ring); }
.muted { color: var(--text-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 40;
  padding: 12px 18px; border-radius: var(--radius-pill);
  background: var(--action); color: var(--on-action); font: var(--text-button-label); text-decoration: none;
}
.skip:focus { top: 12px; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: calc(var(--container-max) + 32px); margin-inline: auto; padding-inline: 16px; }
main { overflow-x: clip; } /* lights, tilted tiles and the wheel reach past the edge, never cause sideways scroll */
section[id] { scroll-margin-top: 80px; }
#top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 40px; pointer-events: none; }

/* Backdrop: brand colour gradients (Blue and Red on Black), one slowly drifting, plus fine grain */
.backdrop {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(55% 45% at 92% 58%, rgba(var(--red-rgb), 0.13), transparent 70%),
    radial-gradient(60% 50% at 4% 96%, rgba(var(--blue-rgb), 0.13), transparent 70%),
    radial-gradient(40% 30% at 60% 110%, rgba(var(--red-rgb), 0.08), transparent 70%);
}
.backdrop::before {
  content: ""; position: absolute; left: -25vmax; top: -35vmax;
  width: 90vmax; height: 90vmax;
  background: radial-gradient(closest-side, rgba(var(--blue-rgb), 0.18), transparent 70%);
  animation: drift 40s ease-in-out infinite alternate;
}
.backdrop::after {
  content: ""; position: absolute; inset: 0; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { 50% { transform: translate(35vw, 30vh); } 100% { transform: translate(60vw, 70vh); } }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background-color: rgba(14, 13, 12, 0.38);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shine), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
/* light catching the rim: brighter top left, a hint of Blue bottom right */
.glass::before {
  content: ""; position: absolute; inset: -1px; z-index: 0; pointer-events: none;
  padding: 1px; border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05) 32%, rgba(255, 255, 255, 0.02) 64%, rgba(var(--blue-rgb), 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.glass > * { position: relative; z-index: 1; }
/* glass that follows the cursor: a soft light inside and a Blue glint on the rim */
.spot { --mx: -1000px; --my: -1000px; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 60%);
  opacity: 0; transition: opacity 300ms ease;
}
.spot:hover::after { opacity: 1; }
.spot.glass:hover::before {
  background:
    radial-gradient(240px circle at var(--mx) var(--my), rgba(var(--blue-rgb), 0.7), transparent 70%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05) 32%, rgba(255, 255, 255, 0.02) 64%, rgba(var(--blue-rgb), 0.22));
}

/* ---------- Buttons (design system ax-btn, as pills) ---------- */
.ax-btn {
  gap: 0; /* labels mix text and price spans; spacing comes from the text itself */
  padding: 0 26px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.ax-btn:active { transform: scale(0.97); }
.ax-btn:focus-visible { box-shadow: var(--focus-ring); }
.ax-btn--glass {
  border: 1px solid var(--glass-edge-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ax-btn--glass:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.30); }
/* Liquid glass in Blue: the order buttons. A light sweeps across on hover. */
.ax-btn--liquid {
  position: relative; isolation: isolate; overflow: hidden; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid rgba(var(--blue-rgb), 0.7);
  background: linear-gradient(180deg, rgba(var(--blue-rgb), 0.5), rgba(var(--blue-rgb), 0.22));
  color: #f4fdff;
  text-shadow: 0 1px 2px rgba(5, 4, 2, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -12px 22px rgba(var(--blue-rgb), 0.14), 0 12px 32px -14px rgba(var(--blue-rgb), 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}
.ax-btn--liquid::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.38) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
}
.ax-btn--liquid:hover { background: linear-gradient(180deg, rgba(var(--blue-rgb), 0.62), rgba(var(--blue-rgb), 0.3)); border-color: rgba(var(--blue-rgb), 0.95); }
.ax-btn--liquid:hover::before { transform: translateX(120%); }
.ax-btn--liquid .i { width: 20px; height: 20px; transition: transform 200ms var(--ease-out); }
.ax-btn--liquid:hover .i { transform: translateX(3px); }
.ax-btn--liquid:focus-visible { box-shadow: var(--focus-ring), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.ax-btn:disabled { box-shadow: none; }
.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--glass-edge-strong); border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease, transform 160ms var(--ease-out);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn .i { width: 20px; height: 20px; }
.icon-btn .i-play, .icon-btn[data-state="paused"] .i-pause { display: none; }
.icon-btn[data-state="paused"] .i-play { display: block; }

/* ---------- Navigation ----------
   Phones: the favicon in the middle, a menu button on the right that drops the links down.
   From 768px: the wordmark on the left, the three links in one glass pill in the middle. */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; }
/* once the page scrolls, a soft blur fades in behind it, with no edge line */
.nav::before {
  content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 4, 2, 0.8), rgba(5, 4, 2, 0));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent);
  mask-image: linear-gradient(180deg, #000 50%, transparent);
  opacity: 0; transition: opacity 300ms ease;
}
.nav.is-scrolled::before, .nav.is-open::before { opacity: 1; }
.nav__bar {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  max-width: calc(var(--container-max) + 32px); height: var(--nav-h); margin: 0 auto; padding: 0 16px;
}
.nav__logo { grid-area: 1 / 2; justify-self: center; display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; border-radius: 12px; }
.nav__word { display: none; width: auto; height: 22px; }
.nav__mark { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 24px -10px rgba(0, 0, 0, 0.9); }
.nav__toggle {
  grid-area: 1 / 3; justify-self: end; position: relative;
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -4px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-pill);
  background: rgba(10, 12, 18, 0.4); color: var(--text); cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease, transform 160ms var(--ease-out);
}
.nav__toggle:active { transform: scale(0.94); }
.nav__bars { position: relative; width: 18px; height: 10px; }
.nav__bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 260ms var(--ease-out), top 260ms var(--ease-out); }
.nav__bars span:first-child { top: 0; }
.nav__bars span:last-child { top: 8px; }
.nav.is-open .nav__bars span:first-child { top: 4px; transform: rotate(45deg); }
.nav.is-open .nav__bars span:last-child { top: 4px; transform: rotate(-45deg); }
/* the phone menu: a glass sheet under the bar */
.nav__links {
  position: absolute; left: 12px; right: 12px; top: calc(var(--nav-h) - 4px);
  display: flex; flex-direction: column; padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
  background: rgba(12, 13, 18, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -24px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top right;
  transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s; }
.nav__links a {
  position: relative; display: flex; align-items: center;
  min-height: 56px; padding: 0 18px;
  border-radius: 16px;
  color: var(--text); font: 600 22px/28px var(--font-poppins); letter-spacing: -0.01em; text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.nav__links a + a { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.07); }
.nav__links a:hover { background: rgba(255, 255, 255, 0.06); }
.nav__links a[aria-current] { color: var(--action); }
.nav--simple { position: absolute; }
.nav--simple .nav__bar { grid-template-columns: 1fr; justify-items: center; }
.nav--simple .nav__logo { grid-area: 1 / 1; justify-self: center; margin: 0; }

/* ---------- Hero: the island, seen from further away ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 36px) 0 72px; text-align: center; }
/* the whole video frame, never zoomed past it: the island sits further back and stays sharp */
.hero__media {
  position: absolute; z-index: -1; left: 0; right: 0; top: 0;
  aspect-ratio: 3 / 4; overflow: hidden;
  background: #0b1020 url("../media/hero-island-tall.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 62%, transparent 98%);
  mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 62%, transparent 98%);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pull-back 2.8s var(--ease-out) both; }
/* on load the camera pulls back a little, so the island settles into the distance */
@keyframes pull-back { from { transform: scale(1.07); } }
/* dark enough at the top for the headline, clear over the island */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 4, 2, 0.6) 0%, rgba(5, 4, 2, 0.16) 28%, rgba(5, 4, 2, 0) 46%, rgba(5, 4, 2, 0.16) 74%, rgba(5, 4, 2, 0.55) 100%),
    radial-gradient(56% 30% at 50% 22%, rgba(5, 4, 2, 0.34), transparent 72%);
}
@media (min-aspect-ratio: 4/5) {
  .hero__media { aspect-ratio: 16 / 9; background-image: url("../media/hero-island-wide.jpg"); }
}
.hero__title { max-width: 13ch; margin: 0 auto; font: var(--text-display-1); letter-spacing: -0.03em; text-wrap: balance; text-shadow: 0 2px 28px rgba(5, 4, 2, 0.55); }
.hero__lead { max-width: 34ch; margin: 16px auto 0; color: rgba(212, 210, 210, 0.9); font-size: 17px; line-height: 26px; text-wrap: pretty; text-shadow: 0 1px 16px rgba(5, 4, 2, 0.8); }

/* Entrance: headline, lead and the panel rise in one after another */
.rise { animation: rise 900ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* One panel right under the text: the price in the middle, live styles fanned out on both sides */
@property --spread { syntax: "<number>"; inherits: true; initial-value: 1; }
.offer {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "left right" "main main" "list list";
  max-width: 1080px; margin: 26px auto 0; padding: 20px 16px 24px;
  border-radius: 32px;
  /* only the outline: the island shows through untouched */
  border-color: rgba(255, 255, 255, 0.24);
  background: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  scroll-margin-top: 96px;
}
/* phones: the six live styles fan out like one hand of cards above the price */
.offer__fan { display: flex; align-items: flex-start; height: 100px; padding-top: 6px; transition: --spread 500ms var(--ease-out); }
.offer__fan--left { grid-area: left; justify-content: flex-end; padding-right: 3px; }
.offer__fan--right { grid-area: right; justify-content: flex-start; padding-left: 3px; }
.offer__tile {
  position: relative; flex: none; display: block;
  width: 60px; aspect-ratio: 3 / 4; margin: 0 -7px; overflow: hidden;
  border: 1px solid var(--glass-edge-strong); border-radius: 11px;
  background: var(--surface-raised);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.9);
  transform-origin: 50% 130%;
  transform:
    translate(calc(var(--x, 0px) + var(--px, 0) * var(--z, 1) * -14px), calc(var(--y, 0px) + var(--py, 0) * var(--z, 1) * -10px))
    rotate(calc(var(--r, 0deg) * var(--spread)));
  transition: scale 240ms var(--ease-in-out);
  animation: bob 9s ease-in-out infinite;
  animation-delay: calc(var(--z, 1) * -3.4s);
}
.offer__tile.is-flip { scale: 0.02 1; }
@keyframes bob { 50% { translate: 0 -6px; } }
.offer__fan--left .offer__tile:nth-child(1) { --r: -15deg; --y: 12px; --x: 6px; z-index: 1; }
.offer__fan--left .offer__tile:nth-child(2) { --r: -9deg; --y: 4px; --x: 2px; z-index: 2; }
.offer__fan--left .offer__tile:nth-child(3) { --r: -3deg; z-index: 3; }
.offer__fan--right .offer__tile:nth-child(1) { --r: 3deg; z-index: 3; }
.offer__fan--right .offer__tile:nth-child(2) { --r: 9deg; --y: 4px; --x: -2px; z-index: 2; }
.offer__fan--right .offer__tile:nth-child(3) { --r: 15deg; --y: 12px; --x: -6px; z-index: 1; }
.offer__main { grid-area: main; display: flex; flex-direction: column; align-items: center; padding-top: 18px; }
.offer__main { position: relative; }
/* a soft shade right behind the price, no box: the text stays readable over bright fog */
.offer__main::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 150%; height: 135%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 4, 2, 0.5), rgba(5, 4, 2, 0.22) 60%, transparent);
}
.offer__main > *, .offer__list li { text-shadow: 0 1px 2px rgba(5, 4, 2, 0.6), 0 2px 18px rgba(5, 4, 2, 0.7); }
.offer__title { font: var(--text-heading-2); font-size: 20px; letter-spacing: -0.01em; }
/* the number sits dead centre, the currency right above it */
.offer__amount { display: flex; flex-direction: column; align-items: center; margin-top: 14px; }
.offer__unit { color: rgba(212, 210, 210, 0.82); font: 600 15px/20px var(--font-poppins); letter-spacing: 0.06em; }
.offer__num { margin-top: 2px; font: 600 88px/0.9 var(--font-poppins); letter-spacing: -0.045em; }
.offer__amount.swap { animation: swap 320ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); filter: blur(6px); } }
.offer__per { margin-top: 8px; color: rgba(212, 210, 210, 0.82); font-size: 15px; }
.offer__currency { margin-top: 16px; }
/* the order button is glass too, a size smaller */
.offer__cta { gap: 8px; min-height: 46px; margin-top: 16px; padding: 0 22px; font-size: 15px; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.26); }
.offer__cta .i { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.offer__cta:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }
.offer__cta:hover .i { transform: translateX(3px); }
.offer__list, .detail__list { display: grid; gap: 10px; width: fit-content; padding: 0; list-style: none; text-align: left; }
.offer__list { grid-area: list; margin: 22px auto 0; }
.offer__list li, .detail__list li { display: flex; align-items: center; gap: 12px; }
.offer__list .i, .detail__list .i { width: 22px; height: 22px; padding: 3px; border-radius: var(--radius-pill); background: rgba(var(--blue-rgb), 0.14); color: var(--action); stroke-width: 2.5; }

/* ---------- Sections ---------- */
.section__title { font: var(--text-heading-1); font-size: 32px; line-height: 38px; letter-spacing: -0.025em; text-wrap: balance; }
.section__lead { max-width: 52ch; color: var(--text-muted); text-wrap: pretty; }

/* Segmented control: a real radio group */
.segmented { display: inline-flex; margin: 0; padding: 4px; min-width: 0; border: 1px solid var(--glass-edge-strong); border-radius: var(--radius-pill); background: rgba(0, 0, 0, 0.28); }
.segmented__opt { position: relative; }
.segmented__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented__opt span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 68px; min-height: 44px; padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font: 600 14px/20px var(--font-poppins);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.segmented__opt:hover span { color: var(--text); }
.segmented__opt input:checked + span { background: rgba(255, 255, 255, 0.15); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 10px rgba(0, 0, 0, 0.4); }
.segmented__opt input:focus-visible + span { box-shadow: var(--focus-ring); }
.segmented--sm .segmented__opt span { min-width: 64px; min-height: 40px; padding: 0 12px; }
/* a slim switch: small to look at, but the tap area reaches 8px above and below */
.segmented--xs { padding: 3px; }
.segmented--xs .segmented__opt input { inset: -8px 0; height: auto; }
.segmented--xs .segmented__opt span { min-width: 46px; min-height: 28px; padding: 0 10px; font-size: 12px; line-height: 16px; letter-spacing: 0.02em; }

/* A video frame in any format: the sample draws itself for exactly this frame (9:16, 16:9 or 3:4) */
.vf { position: relative; display: block; overflow: hidden; background: #000; }
.vf__video { position: absolute; inset: 0; display: block; }

/* ---------- The deck: style cards on a wheel over a dial of lines, then all ten laid open ---------- */
.deck { --ar: 9 / 16; position: relative; height: calc(100vh + var(--deal, 990px) + var(--morph, 540px) + var(--rest, 160px)); height: calc(100dvh + var(--deal, 990px) + var(--morph, 540px) + var(--rest, 160px)); }
.deck[data-format="wide"] { --ar: 16 / 9; }
.deck__pin { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: clip; }
/* Blue light rising from below, where the dial turns */
.deck__pin::before {
  content: ""; position: absolute; left: 50%; bottom: -260px; z-index: 0;
  width: min(1300px, 180vw); height: 720px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(var(--blue-rgb), 0.14), transparent);
  pointer-events: none;
}
.deck__head { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: calc(var(--nav-h) + 16px) 16px 0; text-align: center; }
.deck__format { margin-top: 2px; }
.deck__stage { position: relative; z-index: 1; flex: 1; min-height: 0; overflow: clip; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.deck__stage.is-dragging { cursor: grabbing; }
.deck__cards { position: absolute; inset: 0; padding: 0; list-style: none; transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.deck.is-reformatting .deck__cards { opacity: 0; transform: translateY(10px) scale(0.97); }
.deck__item { position: absolute; left: 0; top: 0; width: var(--cw, 168px); height: var(--ch, 286px); margin: calc(var(--ch, 286px) / -2) 0 0 calc(var(--cw, 168px) / -2); will-change: transform; }
.deck.is-grid { height: auto; padding-bottom: 72px; }
.deck.is-grid .deck__pin { position: relative; height: auto; overflow: visible; }
.deck.is-grid .deck__stage { flex: none; margin-top: 24px; overflow: visible; }
.deck.is-grid .dial, .deck.is-grid .deck__slogan { display: none; }
.deck__slogan {
  position: absolute; left: 16px; right: 16px; bottom: 22px; z-index: 2;
  color: var(--text); font: 600 22px/28px var(--font-poppins); letter-spacing: -0.015em; text-align: center;
  text-shadow: 0 2px 24px rgba(5, 4, 2, 0.95), 0 0 2px rgba(5, 4, 2, 0.8);
  pointer-events: none;
}
/* the dial: straight lines and curved lines into one centre, turning against each other */
.dial { position: absolute; inset: 0; pointer-events: none; }
.dial svg { display: block; }
.dial__a path { fill: none; stroke: rgba(212, 210, 210, 0.26); stroke-width: 1; }
.dial__b path { fill: none; stroke: rgba(var(--blue-rgb), 0.36); stroke-width: 1; }
.dial__rim { fill: none; stroke: rgba(212, 210, 210, 0.24); stroke-width: 1; }
.dial__ticks path { fill: none; stroke: rgba(212, 210, 210, 0.4); stroke-width: 1.2; }
.dial__hand { fill: none; stroke: url(#dial-hand); stroke-width: 2; stroke-linecap: round; }
.dial__pin { fill: var(--action); }

.card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  display: block; width: 100%; height: 100%; padding: 0;
  border: 0; border-radius: 18px; background: none; color: inherit;
  cursor: pointer; perspective: 900px; -webkit-tap-highlight-color: transparent;
  transform: translateY(var(--lift));
  transition: --lift 260ms var(--ease-out);
}
.card:hover, .card:focus-visible { --lift: -18px; }
.card:focus-visible { outline: none; box-shadow: none; }
.card__inner {
  position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px;
  width: 100%; height: 100%; padding: 14px 14px 12px;
  overflow: hidden; border-radius: 18px;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 26px 50px -22px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.35);
  text-align: left;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 300ms var(--ease-out), box-shadow 200ms ease;
}
/* the thin inner frame, like on a playing card */
.card__inner::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 13px; pointer-events: none; }
.card--dark .card__inner::before { border-color: rgba(0, 0, 0, 0.18); }
.card:focus-visible .card__inner { box-shadow: var(--focus-ring), 0 26px 50px -22px rgba(0, 0, 0, 0.85); }
.card__title { padding: 2px 4px 0; color: #fff; font: 600 16px/21px var(--font-poppins); letter-spacing: -0.01em; }
.card--dark .card__title { color: #111; }
.card__art {
  justify-self: center; height: 100%; max-width: 100%; aspect-ratio: var(--ar);
  border-radius: 10px;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 0 4px 2px; }
.card__tag { max-width: 64%; color: rgba(255, 255, 255, 0.8); font: 600 11px/14px var(--font-poppins); letter-spacing: 0.06em; text-transform: uppercase; }
.card--dark .card__tag { color: rgba(0, 0, 0, 0.68); }
.card__mark { flex: none; width: 48px; height: auto; }
.card__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.4), transparent 55%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity 250ms ease;
}
.card:hover .card__glare { opacity: 1; }

/* ---------- A card, up close ---------- */
.detail {
  width: min(900px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible;
}
.detail::backdrop { background: rgba(5, 4, 2, 0.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: fade 300ms ease; }
.detail.is-closing::backdrop { animation: fade-out 280ms ease forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.detail__panel { display: grid; gap: 18px; max-height: calc(100dvh - 24px); padding: 14px; overflow: auto; border-radius: var(--r-panel); transform-origin: center; }
.detail__close { position: absolute; top: 22px; right: 22px; z-index: 3; background: rgba(10, 10, 10, 0.45); }
.detail__media { display: grid; place-items: center; padding: 22px; border-radius: 20px; background: linear-gradient(160deg, var(--c1, #222), var(--c2, #111)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.detail__frame {
  width: min(230px, 56vw, calc((100dvh - 260px) * 9 / 16)); aspect-ratio: 9 / 16;
  border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: opacity 160ms ease, filter 160ms ease;
}
.detail[data-format="wide"] .detail__frame { width: min(420px, 100%); aspect-ratio: 16 / 9; }
.detail__media.is-switching .detail__frame { opacity: 0; filter: blur(6px); }
.detail__body { display: flex; flex-direction: column; align-items: flex-start; padding: 4px 8px 8px; }
.detail__tag { color: var(--text-muted); font: 600 12px/16px var(--font-poppins); letter-spacing: 0.08em; text-transform: uppercase; }
.detail__title { margin-top: 6px; font: 600 30px/36px var(--font-poppins); letter-spacing: -0.025em; }
.detail__line { margin-top: 8px; color: var(--text-muted); }
.detail__format { margin-top: 18px; }
.detail__list { margin-top: 18px; }
.detail__price { margin-top: 20px; color: var(--text-muted); }
.detail__price strong { margin-right: 4px; color: var(--text); font: 600 28px/32px var(--font-poppins); letter-spacing: -0.02em; }
.detail__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 22px; }
.detail__nav { display: flex; gap: 8px; }

/* ---------- Why video: compact cards along one smooth line; a living orb travels it ---------- */
.why { position: relative; padding: 104px 0 96px; overflow-x: clip; }
/* brand light: Red low left, Blue high right */
.why::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 30% at 12% 70%, rgba(var(--red-rgb), 0.1), transparent 70%),
    radial-gradient(45% 30% at 88% 30%, rgba(var(--blue-rgb), 0.1), transparent 70%);
}
.why__head { display: grid; justify-items: center; gap: 14px; max-width: 760px; margin: 0 auto 36px; text-align: center; }
.why__track { position: relative; max-width: 1040px; margin: 0 auto; padding-top: 64px; }
.why__line { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
/* the way ahead: a quiet dotted trail */
.why__rail { fill: none; stroke: rgba(212, 210, 210, 0.22); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0.1 9; }
.why__glow { fill: none; stroke: rgba(var(--blue-rgb), 0.12); stroke-width: 12; stroke-linecap: round; }
.why__ink { fill: none; stroke: url(#why-grad); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* right behind the orb the line is brighter and thicker, then fades back: a light trail */
.why__tail { fill: none; stroke-linecap: round; }
.why__tail--1 { stroke: rgba(var(--blue-rgb), 0.22); stroke-width: 10; }
.why__tail--2 { stroke: rgba(var(--blue-rgb), 0.5); stroke-width: 5; }
.why__tail--3 { stroke: #eafbff; stroke-width: 3; }
/* before you scroll, the orb waits at the start and sends out rings */
.why__start circle { fill: none; stroke: rgba(var(--blue-rgb), 0.55); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.why__line.is-idle .why__start circle { animation: sonar 2.4s var(--ease-out) infinite; }
.why__line.is-idle .why__start circle:nth-child(2) { animation-delay: 0.8s; }
.why__line.is-idle .why__start circle:nth-child(3) { animation-delay: 1.6s; }
@keyframes sonar { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.5); } }
.why__spark { fill: #eafbff; filter: drop-shadow(0 0 6px rgba(var(--blue-rgb), 0.9)); }

/* the orb: a glowing core with light swirling inside, a breathing halo and a small moon circling it */
.orb { position: absolute; left: 0; top: 0; z-index: 3; width: 0; height: 0; pointer-events: none; will-change: transform; transition: opacity 300ms ease; }
.orb__halo {
  position: absolute; left: -48px; top: -48px; width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), 0.55) 0, rgba(var(--blue-rgb), 0.16) 38%, transparent 70%);
  animation: orb-breathe 2.6s ease-in-out infinite;
}
.orb__core {
  position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff 0, #e4faff 22%, #86dff5 58%, #1f6f93 100%);
  box-shadow: 0 0 24px rgba(var(--blue-rgb), 0.95), 0 0 2px #fff, inset -3px -4px 9px rgba(5, 30, 45, 0.55);
}
.orb__swirl {
  position: absolute; inset: -45%;
  background: conic-gradient(from 0deg, transparent 0 16%, rgba(255, 255, 255, 0.9) 25%, transparent 40%, rgba(var(--blue-rgb), 0.95) 60%, transparent 75%);
  filter: blur(2px); mix-blend-mode: screen;
  animation: orb-spin 2.4s linear infinite;
}
.orb__swirl--b {
  background: conic-gradient(from 140deg, transparent 0 28%, rgba(var(--red-rgb), 0.5) 36%, transparent 50%, rgba(255, 255, 255, 0.65) 70%, transparent 84%);
  animation-duration: 3.7s; animation-direction: reverse;
}
.orb__moon { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: orb-spin 3.2s linear infinite; }
.orb__moon::before { content: ""; position: absolute; left: 25px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #eafbff; box-shadow: 0 0 10px rgba(var(--blue-rgb), 0.95); }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-breathe { 50% { transform: scale(1.2); opacity: 0.7; } }
.why__track.is-done .orb { opacity: 0; }

/* phones: the line runs down the left, the cards sit to its right */
.stops { display: grid; gap: 28px; padding-left: 40px; }
.stop { position: relative; }
.stop__node {
  position: absolute; left: -26px; top: 42px; z-index: 2;
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--surface); border: 2px solid rgba(212, 210, 210, 0.3);
  transition: border-color 300ms ease, background-color 300ms ease, box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out);
}
/* when the orb arrives, a short line reaches out from the point to its card */
.stop__node::before {
  content: ""; position: absolute; left: 100%; top: 50%; width: 18px; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, var(--action), rgba(var(--blue-rgb), 0.15));
  transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out) 80ms;
}
.stop__node::after { content: ""; position: absolute; inset: -2px; border: 2px solid var(--action); border-radius: 50%; opacity: 0; pointer-events: none; }
.stop.is-reached .stop__node { border-color: var(--action); background: var(--action); box-shadow: 0 0 0 6px rgba(var(--blue-rgb), 0.14), 0 0 30px rgba(var(--blue-rgb), 0.6); transform: scale(1.12); }
.stop.is-reached .stop__node::before { transform: scaleX(1); }
.stop.is-reached .stop__node::after { animation: burst 1s var(--ease-out); }
@keyframes burst { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }

/* the card: picture on top, centred text below. It swings in from the line in 3D and sharpens */
.stop__card {
  --fx: 28px; --ry: -12deg;
  padding: 12px 12px 24px; border-radius: 26px; text-align: center; overflow: hidden;
  background-color: rgba(14, 14, 18, 0.5);
  opacity: 0; filter: blur(10px);
  transform: perspective(1200px) translate3d(var(--fx), 40px, 0) rotateY(var(--ry)) rotateX(7deg) scale(0.94);
  transition: opacity 700ms ease, transform 1100ms cubic-bezier(0.16, 1, 0.3, 1), filter 800ms ease;
}
.stop.is-in .stop__card { opacity: 1; filter: none; transform: none; }
.stop__art {
  position: relative; display: grid; place-items: center; height: 228px; margin-bottom: 18px; overflow: hidden; border-radius: 18px;
  background: radial-gradient(70% 80% at 50% 40%, rgba(var(--blue-rgb), 0.13), transparent 70%), rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.stop__art > * {
  translate: 0 var(--par, 0px);
  opacity: 0; filter: blur(6px); transform: scale(1.1);
  transition: opacity 600ms ease 150ms, filter 800ms ease 150ms, transform 1200ms cubic-bezier(0.16, 1, 0.3, 1) 150ms;
}
.stop.is-in .stop__art > * { opacity: 1; filter: none; transform: none; }
.stop__num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 26px; padding: 0 10px;
  border: 1px solid rgba(var(--blue-rgb), 0.45); border-radius: var(--radius-pill);
  background: rgba(var(--blue-rgb), 0.08); color: var(--action);
  font: 600 13px/1 var(--font-poppins); font-variant-numeric: tabular-nums; letter-spacing: 0.04em;
  opacity: 0; transform: scale(0.6);
  transition: opacity 300ms ease 250ms, transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1) 250ms;
}
.stop.is-in .stop__num { opacity: 1; transform: none; }
.stop__title { margin-top: 12px; padding: 0 8px; font: 600 24px/30px var(--font-poppins); letter-spacing: -0.02em; text-wrap: balance; }
/* the title rises word by word out of its own line */
.stop__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.stop__title .w > span { display: inline-block; transform: translateY(115%); transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(300ms + var(--i, 0) * 45ms); }
.stop.is-in .stop__title .w > span { transform: none; }
.stop__body {
  max-width: 34ch; margin: 10px auto 0; padding: 0 8px; color: var(--text-muted); text-wrap: pretty;
  opacity: 0; transform: translateY(10px);
  transition: opacity 600ms ease 560ms, transform 800ms var(--ease-out) 560ms;
}
.stop.is-in .stop__body { opacity: 1; transform: none; }

/* the pictures inside the cards */
.art-phone {
  width: 112px; aspect-ratio: 9 / 16; padding: 5px;
  border: 1px solid var(--glass-edge-strong); border-radius: 22px;
  background: linear-gradient(160deg, #1b1a19, #070606);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 50px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(var(--blue-rgb), 0.5);
}
.art-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 17px; background: #000; }
.art-phone__feed { display: flex; flex-direction: column; height: 300%; will-change: transform; }
.art-phone__item { flex: 0 0 33.3333%; }
.art-both { display: flex; align-items: center; justify-content: center; gap: 12px; }
.art-both__item { display: grid; justify-items: center; gap: 8px; width: 104px; margin: 0; transition: transform 900ms var(--ease-out) 200ms; }
.art-both__frame { width: 100%; aspect-ratio: 3 / 4; border: 1px solid var(--glass-edge-strong); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9); }
.art-both figcaption { color: var(--text); font: 600 13px/18px var(--font-poppins); }
.art-both__or {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 26px;
  border: 1px solid rgba(var(--blue-rgb), 0.45); border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.06); color: var(--action); font: 500 12px/1 var(--font-poppins);
}
.stop:not(.is-in) .art-both__item:first-child { transform: translateX(26px) rotate(-5deg); }
.stop:not(.is-in) .art-both__item:last-child { transform: translateX(-26px) rotate(5deg); }
.art-fan { position: relative; width: 100%; height: 100%; }
.art-fan__tile {
  position: absolute; left: 50%; top: 50%; width: 96px; aspect-ratio: 3 / 4; margin: -64px 0 0 -48px;
  border: 1px solid var(--glass-edge-strong); border-radius: 12px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9);
  transform-origin: 50% 110%;
}
.art-fan__tile:nth-child(2), .art-fan__tile:nth-child(4) { z-index: 2; }
.art-fan__tile:nth-child(3) { z-index: 3; }
.art-format { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding-bottom: 26px; }
.art-format__frame {
  width: 104px; height: 186px; border: 1px solid var(--glass-edge-strong); border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 50px -20px rgba(0, 0, 0, 0.9), 0 0 40px -14px rgba(var(--blue-rgb), 0.45);
}
.art-format__label { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; align-items: baseline; justify-content: center; gap: 8px; color: var(--text-muted); font: 500 13px/18px var(--font-poppins); }
.art-format__label strong { color: var(--text); font: 600 18px/22px var(--font-poppins); letter-spacing: -0.01em; }
#af-wide { opacity: 0; }

/* the end: the line runs behind the last card and splits, one branch per platform */
.stop--final { display: flex; flex-direction: column; align-items: center; margin: 40px 0 0 -40px; }
.stop--final .stop__node { position: relative; left: auto; top: auto; margin: 0 0 24px; }
.stop--final .stop__node::before { display: none; }
.stop--final .stop__card { --fx: 0px; --ry: 0deg; width: 100%; max-width: 520px; padding: 28px 24px; }
.stop__split { display: block; width: 1px; height: 1px; margin-top: 36px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 520px; margin: 60px 0 0; padding: 0; list-style: none; }
.platforms li {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04); color: var(--text-muted); font: 500 15px/20px var(--font-poppins);
  transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease, box-shadow 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.platforms li.is-on { border-color: rgba(var(--blue-rgb), 0.8); background: rgba(var(--blue-rgb), 0.1); color: var(--text); box-shadow: 0 0 30px -8px rgba(var(--blue-rgb), 0.6); transform: translateY(-2px); }

/* from 900px: two columns, staggered by half a card, the line flowing through the middle */
@media (min-width: 900px) {
  .why { padding: 140px 0 112px; }
  .why__head { margin-bottom: 48px; }
  .stops { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 120px; row-gap: 0; padding-left: 0; }
  .stop { grid-column: 1; padding-bottom: 28px; }
  .stop:nth-child(1) { grid-row: 1 / span 2; }
  .stop:nth-child(2) { grid-column: 2; grid-row: 2 / span 2; }
  .stop:nth-child(3) { grid-row: 3 / span 2; }
  .stop:nth-child(4) { grid-column: 2; grid-row: 4 / span 2; }
  .stop__node { left: calc(100% + 60px); top: calc(50% - 14px); }
  .stop__node::before { left: auto; right: 100%; width: 52px; background: linear-gradient(270deg, var(--action), rgba(var(--blue-rgb), 0.15)); transform-origin: right; }
  .stop--right .stop__node { left: -60px; }
  .stop--right .stop__node::before { left: 100%; right: auto; background: linear-gradient(90deg, var(--action), rgba(var(--blue-rgb), 0.15)); transform-origin: left; }
  .stop__card { --fx: 70px; --ry: 18deg; padding: 14px 14px 26px; }
  .stop--right .stop__card { --fx: -70px; --ry: -18deg; }
  .stop__art { height: 236px; }
  .stop__title { font-size: 26px; line-height: 32px; }
  .stop--final { grid-column: 1 / -1; grid-row: 6; margin: 56px 0 0; padding-bottom: 0; }
  .stop--final .stop__card { padding: 32px 32px 30px; }
  .stop--final .stop__title { font-size: 32px; line-height: 38px; }
  .platforms { max-width: none; gap: 18px; margin-top: 110px; }
  .platforms li { min-height: 52px; padding: 0 26px; font-size: 16px; }
}

/* ---------- Intro: black, the favicon builds itself, a loading bar, then the site fades in ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: #050402; }
html.is-intro { overflow: hidden; }
html.is-intro .intro { display: grid; }
/* the hero waits behind the curtain and starts its own entrance once the intro leaves */
html.is-intro .rise, html.is-intro .hero__video { animation-play-state: paused; }
.intro__box { display: grid; justify-items: center; gap: 34px; }
.intro__logo { overflow: visible; animation: intro-glow 1.8s ease-in-out 1s infinite alternate; }
.intro__tile {
  fill: #050402; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1;
  opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.8);
  animation: intro-in 900ms cubic-bezier(0.16, 1, 0.3, 1) 150ms forwards;
}
.intro__a {
  fill: #d4d2d2; opacity: 0; filter: blur(6px);
  transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(16px) scaleY(0.88);
  animation: intro-in 1000ms cubic-bezier(0.16, 1, 0.3, 1) 420ms forwards;
}
.intro__dot { fill: #e0001f; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: intro-in 650ms cubic-bezier(0.34, 1.56, 0.64, 1) 1000ms forwards; }
.intro__sheen { animation: intro-sheen 1000ms cubic-bezier(0.77, 0, 0.175, 1) 1150ms forwards; }
.intro__bar { width: 132px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.1); opacity: 0; animation: intro-in 500ms ease 450ms forwards; }
.intro__bar span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--blue-rgb), 0.5), #eafbff);
  box-shadow: 0 0 12px rgba(var(--blue-rgb), 0.9);
  transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 420ms var(--ease-out);
}
@keyframes intro-in { to { opacity: 1; filter: none; transform: none; } }
@keyframes intro-sheen { to { transform: translateX(170px); } }
@keyframes intro-glow { to { filter: drop-shadow(0 0 26px rgba(var(--blue-rgb), 0.35)); } }
/* leaving: the logo grows a little and dissolves, the black lifts */
html.is-leaving .intro { opacity: 0; pointer-events: none; transition: opacity 700ms ease 150ms; }
html.is-leaving .intro__box { opacity: 0; filter: blur(10px); transform: scale(1.1); transition: opacity 500ms ease, filter 700ms ease, transform 800ms var(--ease-out); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--glass-edge); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--text-muted); font: 400 14px/20px var(--font-poppins); }
.footer__inner img { width: auto; height: 20px; margin-bottom: 4px; }
.footer__inner a { display: inline-flex; align-items: center; min-height: 48px; }

/* ---------- Order flow ---------- */
.order { padding: calc(var(--nav-h) + 12px) 0 64px; }
.order .ax-steps {
  justify-content: center; flex-wrap: wrap; row-gap: 4px;
  width: fit-content; max-width: 100%;
  margin: 0 auto 24px; padding: 4px 16px;
  border: 1px solid var(--glass-edge); border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
}
.ax-steps__item { min-height: 48px; }
.ax-steps__link { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 48px; color: inherit; text-decoration: none; border-radius: var(--radius-pill); }
.ax-steps__link:hover .ax-steps__name { text-decoration: underline; text-underline-offset: 4px; }
.view--narrow { max-width: 640px; margin-inline: auto; }
.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 48px; margin-left: -6px; padding-right: 10px;
  border-radius: var(--radius-pill);
  color: var(--action); font: 500 16px/20px var(--font-poppins); text-decoration: none;
}
.back-link svg { width: 24px; height: 24px; flex: none; }
.back-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.view__head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 4px auto 32px; text-align: center; }
.view__title { font: var(--text-heading-1); font-size: 32px; line-height: 38px; letter-spacing: -0.025em; outline: none; }
.view__lead { max-width: 46ch; margin: 8px auto 0; color: var(--text-muted); text-wrap: pretty; }

/* Step 1: style picker (design system ax-card, in glass) */
.picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.picker__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.picker__error { justify-content: center; margin-top: 16px; }
.ax-card__body {
  gap: 6px;
  padding: 8px 8px 14px;
  border: 1px solid var(--card-edge); border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.ax-card:hover .ax-card__body { border-color: rgba(255, 255, 255, 0.5); }
.ax-card__media { margin-bottom: 6px; overflow: hidden; border-radius: var(--r-media); background: var(--surface-raised); }
.ax-card__title { font: 600 16px/22px var(--font-poppins); }
.ax-card__mark { top: 16px; right: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.ax-card__input:checked ~ .ax-card__body { padding: 7px 7px 13px; background: rgba(134, 223, 245, 0.06); }
.ax-card__mark { pointer-events: none; }
/* several styles: a checkbox card; once picked, + and − set how many videos in that style */
.pick .ax-card__input:checked ~ .ax-card__body { padding-bottom: 62px; }
.qty {
  position: absolute; left: 50%; bottom: 12px; z-index: 2; transform: translateX(-50%);
  display: none; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid rgba(var(--blue-rgb), 0.45); border-radius: var(--radius-pill);
  background: rgba(5, 4, 2, 0.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pick .ax-card__input:checked ~ .qty { display: inline-flex; }
.qty__btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.08); color: var(--text);
  font: 500 22px/1 var(--font-poppins); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease, transform 160ms var(--ease-out);
}
.qty__btn:hover { background: rgba(255, 255, 255, 0.16); }
.qty__btn:active { transform: scale(0.92); }
.qty__btn:disabled { opacity: 0.35; cursor: default; }
.qty__btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.qty__val { min-width: 30px; color: var(--text); font: 600 16px/1 var(--font-poppins); text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) {
  /* Phones: one column of compact rows, so all 10 styles fit in a short scroll */
  .picker .ax-card__body {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 14px; row-gap: 2px;
    padding: 8px 16px 8px 8px;
    text-align: left;
  }
  .picker .ax-card__input:checked ~ .ax-card__body { padding: 7px 15px 7px 7px; }
  .picker .ax-card__media { grid-row: 1 / span 2; width: 76px; margin: 0; }
  .picker .ax-card__title { align-self: end; padding-top: 10px; padding-right: 84px; }
  .picker .ax-card__text { align-self: start; padding-right: 76px; }
  .picker .ax-card__mark { top: 12px; right: 12px; bottom: auto; }
  .pick .ax-card__input:checked ~ .ax-card__body { padding-bottom: 7px; }
  .picker .qty { left: auto; right: 10px; bottom: 10px; transform: none; }
  .picker .pick .ax-card__input:checked ~ .ax-card__body .ax-card__text { padding-right: 0; padding-bottom: 50px; }
}

/* Floating glass bar with the next step */
.action-bar {
  position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 640px; margin: 24px auto 0; padding: 8px 8px 8px 20px;
  border-radius: var(--radius-pill);
}
.action-bar__summary { display: flex; flex-direction: column; min-width: 0; color: var(--text-muted); font: 400 14px/20px var(--font-poppins); }
.action-bar__summary strong { color: var(--text); font-weight: 600; }
.action-bar__count { color: var(--text); }
.action-bar__list { overflow: hidden; color: var(--text-muted); font-size: 13px; line-height: 18px; white-space: nowrap; text-overflow: ellipsis; }
.action-bar .ax-btn { flex: none; }

/* Step 2: form in glass panels */
.panel { margin-bottom: 16px; padding: 24px 20px; border-radius: var(--r-panel); }
.form__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.form__legend { margin-bottom: 20px; padding: 0; font: var(--text-heading-2); color: var(--text); }
.form__fields { display: flex; flex-direction: column; gap: 24px; }
.form__actions { display: flex; justify-content: center; margin-top: 24px; }
.form__actions .ax-btn { width: 100%; }
.ax-field__label .muted { font-weight: 400; }
.ax-field__input { border-color: var(--border-control); border-radius: var(--r-input); background: rgba(0, 0, 0, 0.35); transition: border-color 150ms ease; }
.ax-field__input:hover { border-color: #8f8d8d; }

.choice { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; margin: 0; padding: 0; border: 0; }
.choice__legend { margin-bottom: var(--space-1); padding: 0; font: var(--text-label); color: var(--text); }
.choice__options { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.choice__opt { position: relative; }
.choice__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__opt span {
  display: inline-flex; align-items: center; gap: var(--space-1);
  min-height: var(--touch-target); padding: 0 18px;
  border: 1px solid var(--border-control); border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text); font: 500 16px/20px var(--font-poppins);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.choice__opt:hover span { border-color: var(--text); }
.choice__opt input:checked + span { padding: 0 17px; border: 2px solid var(--action); background: rgba(134, 223, 245, 0.08); }
.choice__opt input:checked + span::before { content: "\2713"; color: var(--action); font-weight: 600; }
.choice__opt input:focus-visible + span { box-shadow: var(--focus-ring); }
.choice--error .choice__opt span { padding: 0 17px; border: 2px solid var(--error); }

/* the logo upload: our own English button instead of the browser's (which speaks the system language) */
.upload { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; cursor: pointer; }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload__btn {
  flex: none; display: inline-flex; align-items: center; min-height: var(--touch-target); padding: 0 22px;
  border: 1px solid var(--border-control); border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06); color: var(--text); font: 600 16px/20px var(--font-poppins);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.upload:hover .upload__btn { border-color: var(--text); background: rgba(255, 255, 255, 0.1); }
.upload__input:focus-visible + .upload__btn { box-shadow: var(--focus-ring); }
.upload__name { min-width: 0; overflow: hidden; color: var(--text-muted); white-space: nowrap; text-overflow: ellipsis; }

/* inside "Your input": Company, Video 1, Video 2 … */
.parts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 20px; padding: 0; list-style: none; }
.parts__item {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--glass-edge-strong); border-radius: var(--radius-pill);
  color: var(--text-muted); font: 500 14px/20px var(--font-poppins); text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}
a.parts__item:hover { border-color: var(--text); color: var(--text); }
.parts__item.is-done { color: var(--text); }
.parts__check { color: var(--action); font-weight: 600; }
.parts__item.is-current { border: 2px solid var(--action); padding: 0 13px; background: rgba(var(--blue-rgb), 0.08); color: var(--text); font-weight: 600; }
.parts__item.is-locked { opacity: 0.5; }

.picked { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 8px; border-radius: var(--r-card); }
.picked__thumb { flex: none; width: 40px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: var(--surface); transition: width 240ms var(--ease-out); }
.picked__thumb[data-format="tall"] { width: 34px; aspect-ratio: 9 / 16; }
.picked__thumb[data-format="wide"] { width: 76px; aspect-ratio: 16 / 9; }
.picked__text { display: flex; flex: 1; flex-direction: column; min-width: 0; font: 400 14px/20px var(--font-poppins); }
.picked__text strong { color: var(--text); font: 600 16px/24px var(--font-poppins); }
.picked__change { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 16px; border-radius: var(--radius-pill); font: 500 16px/20px var(--font-poppins); }

/* Step 3: summary and pay */
.summary { padding: 8px 22px 24px; border-radius: var(--r-panel); }
.summary__block { padding-block: 16px; border-bottom: 1px solid var(--glass-edge-strong); }
.summary__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.summary__heading { color: var(--text-muted); font: var(--text-label); }
.summary__change { display: inline-flex; align-items: center; min-height: 48px; margin-right: -12px; padding-inline: 12px; border-radius: var(--radius-pill); font: 500 16px/20px var(--font-poppins); }
.summary__videos { display: grid; gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.summary__video { display: flex; align-items: flex-start; gap: 16px; }
.summary__thumb { flex: none; width: 46px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px; background: var(--surface); }
.summary__thumb[data-format="wide"] { width: 82px; aspect-ratio: 16 / 9; }
.summary__vtext { flex: 1; min-width: 0; }
.summary__vname { color: var(--text); font: 600 16px/24px var(--font-poppins); }
.summary__video .summary__top { min-height: 48px; }
.summary__meta { color: var(--text-muted); font: 500 14px/20px var(--font-poppins); }
.summary__about, .summary__lines { margin-top: 4px; overflow-wrap: anywhere; white-space: pre-line; }
.summary__lines { color: var(--text-muted); font: 400 14px/20px var(--font-poppins); }
.summary__calc { display: block; color: var(--text-muted); font: 400 14px/20px var(--font-poppins); }
.summary__list { display: grid; gap: 16px; margin: 8px 0 0; }
.summary__list div { display: grid; gap: 2px; }
.summary__list dt { color: var(--text-muted); font: 400 14px/20px var(--font-poppins); }
.summary__list dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.summary__currency { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; }
.summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 16px 20px; }
.price { display: inline-flex; align-items: baseline; gap: var(--space-1); }
.price strong { font: var(--text-price); letter-spacing: -0.02em; }
.summary__note { margin-bottom: 16px; color: var(--text-muted); font: 400 14px/20px var(--font-poppins); }
.summary__test { margin-top: 16px; color: var(--text-muted); font: 400 14px/20px var(--font-poppins); text-align: center; }

/* Done */
.done { display: flex; flex-direction: column; align-items: center; max-width: 560px; margin: 24px auto 0; padding: 40px 24px; border-radius: var(--r-panel); text-align: center; }
.done__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 24px;
  border: 2px solid var(--action); border-radius: var(--radius-pill);
  background: rgba(134, 223, 245, 0.08);
  color: var(--action); font: 600 28px/1 var(--font-poppins);
}
.done .view__lead { margin-bottom: 32px; }


/* ---------- 640px and up ---------- */
@media (min-width: 640px) {
  .container { max-width: calc(var(--container-max) + 64px); padding-inline: 32px; }
  .nav__bar { padding: 0 32px; }
  .hero__title { max-width: 15ch; font-size: 52px; line-height: 56px; }
  .picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .panel { padding: 32px; }
  .summary { padding: 8px 32px 32px; }
  .form__actions .ax-btn { width: auto; min-width: 240px; }
  .card__title { font-size: 17px; line-height: 22px; }
  .segmented--sm .segmented__opt span { min-width: 76px; }
  .offer__tile { width: 72px; margin: 0 -8px; border-radius: 12px; }
  .offer__fan { height: 118px; }
}

/* ---------- 768px and up ---------- */
@media (min-width: 768px) {
  .nav__logo { grid-area: 1 / 1; justify-self: start; margin-left: -6px; padding: 0 6px; border-radius: 10px; }
  .nav__word { display: block; }
  .nav__mark, .nav__toggle { display: none; }
  .nav__links {
    position: static; grid-area: 1 / 2; justify-self: center;
    flex-direction: row; align-items: center; gap: clamp(24px, 4.6vw, 72px); padding: 0 30px;
    border-color: rgba(255, 255, 255, 0.09); border-radius: var(--radius-pill);
    background: rgba(10, 12, 18, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 32px -20px rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__links a { min-height: 46px; padding: 0 8px; border-radius: var(--radius-pill); color: rgba(212, 210, 210, 0.78); font: 500 15px/20px var(--font-poppins); letter-spacing: 0.01em; }
  .nav__links a + a { box-shadow: none; }
  .nav__links a:hover { background: none; color: var(--text); }
  .nav__links a[aria-current] { color: var(--text); }
  .nav__links a[aria-current]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 9px; height: 2px; border-radius: 2px; background: var(--action); }
  .detail__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 16px; }
  .detail__media { padding: 32px; }
  .detail__body { padding: 40px 28px 16px 0; }
  .detail__actions { margin-top: auto; padding-top: 24px; }
  .detail__close { top: 28px; right: 28px; }
  .deck__slogan { font-size: 30px; line-height: 36px; bottom: 30px; }
}

/* ---------- 900px and up: the panel and the line story go side by side ---------- */
@media (min-width: 900px) {
  .offer {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) minmax(0, 1fr);
    grid-template-areas: "left main right" "list list list";
    align-items: center; margin-top: 34px; padding: 30px 28px 24px;
  }
  .offer__fan { position: relative; display: block; height: 290px; padding: 0; }
  .offer:hover .offer__fan { --spread: 1.3; }
  .offer__tile { position: absolute; left: 50%; bottom: 22px; width: 138px; margin: 0 0 0 -69px; border-radius: 16px; transform-origin: 50% 135%; }
  .offer__fan--left .offer__tile:nth-child(1) { --r: -16deg; --x: -30px; --y: 12px; }
  .offer__fan--left .offer__tile:nth-child(2) { --r: -6deg; --x: -6px; --y: -8px; }
  .offer__fan--left .offer__tile:nth-child(3) { --r: 5deg; --x: 20px; --y: 6px; }
  .offer__fan--right .offer__tile:nth-child(1) { --r: -5deg; --x: -20px; --y: 6px; }
  .offer__fan--right .offer__tile:nth-child(2) { --r: 6deg; --x: 6px; --y: -8px; }
  .offer__fan--right .offer__tile:nth-child(3) { --r: 16deg; --x: 30px; --y: 12px; }
  .offer__main { padding-top: 0; }
  .offer__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; width: 100%; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--glass-edge); }

}

/* ---------- 1024px and up ---------- */
@media (min-width: 1024px) {
  .hero { padding: calc(var(--nav-h) + 48px) 0 104px; }
  .hero__title { max-width: 21ch; font: var(--text-display-1-lg); font-size: 68px; line-height: 72px; letter-spacing: -0.04em; }
  .hero__lead { max-width: 40ch; font-size: 19px; line-height: 30px; }
  .offer__num { font-size: 96px; }
  .offer__tile { width: 150px; margin-left: -75px; }
  .section__title, .view__title { font: var(--text-heading-1-lg); font-size: 48px; line-height: 54px; letter-spacing: -0.03em; }
  .section__lead { font-size: 18px; line-height: 28px; }
  .deck__head { padding-top: calc(var(--nav-h) + 24px); }
  .picker__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .card__title { font-size: 18px; line-height: 23px; }
}

/* ---------- Accessibility settings ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .rise { animation: fade 300ms ease both; }
  .hero__video, .offer__tile, .offer__amount.swap, .backdrop::before, .why__start circle, .stop__node::after,
  .orb__halo, .orb__swirl, .orb__moon { animation: none !important; }
  .stop__card, .stop__art > *, .stop__title .w > span, .stop__body, .stop__num { transform: none !important; filter: none !important; }
  .intro__tile, .intro__a, .intro__dot, .intro__bar { animation-duration: 1ms !important; animation-delay: 0s !important; }
  .intro__sheen, .intro__logo { animation: none !important; }
  .detail__media.is-switching .detail__frame { filter: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background-color: var(--surface-raised); }
  .nav__links { background: var(--surface-raised); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .ax-btn--glass, .icon-btn, .nav::before, .nav__links, .nav__toggle {
    background: var(--surface-raised);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .ax-btn--liquid { background: var(--action); color: var(--on-action); text-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .backdrop::after { display: none; }
  .backdrop { opacity: 0.6; }
}
@media (prefers-contrast: more) {
  .glass { background: var(--surface-raised); border-color: var(--border-control); }
  .glass::before, .spot::after { display: none; }
  .ax-card__body, .segmented, .icon-btn, .nav__links, .platforms li { border-color: var(--border-control); }
  .card__inner::before { border-color: currentColor; }
  .hero__media::after { background: rgba(5, 4, 2, 0.6); }
}

/* ---------- Legal pages (imprint, privacy, terms) ---------- */
.legal { padding: calc(var(--nav-h) + 12px) 0 72px; }
.legal__doc { color: var(--text); }
.legal__title { margin-top: 8px; font: var(--text-heading-1); font-size: 32px; line-height: 38px; letter-spacing: -0.025em; }
.legal__date { margin-top: 8px; color: var(--text-muted); font: 400 14px/20px var(--font-poppins); }
.legal__intro { margin-top: 24px; color: var(--text-muted); text-wrap: pretty; }
.legal section { margin-top: 40px; }
.legal h2 { font: var(--text-heading-2); letter-spacing: -0.01em; }
.legal h3 { margin-top: 20px; font: 600 16px/24px var(--font-poppins); }
.legal p, .legal ul { margin-top: 8px; max-width: var(--measure); text-wrap: pretty; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal strong { font-weight: 600; }
/* a value still to fill in before the site goes live */
mark.todo { padding: 0 4px; border-radius: 4px; background: rgba(var(--blue-rgb), 0.16); color: var(--action); box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), 0.5); }
@media (min-width: 1024px) { .legal__title { font-size: 40px; line-height: 46px; } }

.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 24px; }
.footer__legal a { color: var(--text-muted); text-decoration: none; }
.footer__legal a:hover, .footer__legal a[aria-current] { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* Pay step: accept the terms before paying */
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; padding: 12px 14px; border: 1px solid var(--glass-edge); border-radius: var(--r-input); background: rgba(255, 255, 255, 0.03); color: var(--text-muted); font: 400 14px/20px var(--font-poppins); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--action); cursor: pointer; }
.consent input:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.consent.is-error { border-color: var(--error); }
