/*
  MRGV site styles.

  Tokens mirror the console's design system (web/src/design/theme.css) so the
  site and the product read as one thing: deep plum for authority, burnt coral
  for the one action on a screen, mint for anything live, Rubik throughout.

  Every offset is a logical property. The document is RTL; nothing here knows
  which side "start" is.
*/

/* Rubik, served from this site: the Hebrew and Latin subsets of the variable
   font as Google Fonts cuts them (weights 300 to 900, SIL OFL 1.1, the notice
   is in each file). No third-party stylesheet blocks the first paint and no
   visitor's address goes to Google. unicode-range keeps a page from fetching
   a subset it has no characters for; the pages preload the Hebrew one. */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/rubik-hebrew.e59af50ac9.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/rubik-latin.99ec7ccb40.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --plum: #430d6e;
  --plum-2: #5b2a86;
  --plum-3: #2d004f;
  --plum-glow: #cf9afd;
  --coral: #fd7958;
  --coral-deep: #a7391e;
  /* Coral as text on the light surfaces: 4.0:1 on --surface, where --coral is 2.5:1. */
  --coral-text: #d4502e;
  --mint: #43ddbc;
  --mint-deep: #0b5c4b;
  --surface: #faf9ff;
  --surface-2: #f1f3ff;
  --surface-3: #e9edfe;
  --white: #ffffff;
  --ink: #161b27;
  --ink-soft: #4c4450;
  --line: #cec3d2;
  --line-soft: #e4e8f8;
  /* The edge of a control that has no other outline (a text field): 3.6:1 on white. */
  --line-strong: #8e8293;

  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 24px;
  --radius-sm: 14px;
  --pill: 999px;
  --shadow: 0 1px 3px rgba(31, 36, 48, 0.05), 0 12px 32px rgba(67, 13, 110, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 36, 48, 0.18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
/* Anchors and focused fields land below the sticky header, not under it. */
html { scroll-behavior: smooth; scroll-padding-block-start: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.2vw, 74px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
/* The hidden attribute wins over any display a class sets (.btn is inline-flex):
   main.js hides and shows the WhatsApp buttons and their fallback with it. */
[hidden] { display: none !important; }
/* A focus ring at 3:1 or more against what surrounds it (WCAG 1.4.11): plum on
   the light surfaces (9.5:1), coral on the plum bands (3.8:1 to 6.6:1), where
   plum would vanish. Coral on the light surface is only 2.5:1. */
:focus-visible { outline: 3px solid var(--plum-2); outline-offset: 3px; }
.strip :focus-visible, .hero :focus-visible, .band-plum :focus-visible, .promo :focus-visible,
.foot :focus-visible, .cookie-notice :focus-visible, .video-lightbox :focus-visible { outline-color: var(--coral); }
/* main takes focus only as the skip link's target; it needs no ring. */
main:focus { outline: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 880px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

/* Icons are inline SVG: each page carries a hidden sprite of the Material
   Symbols it draws, and <svg class="ms"><use href="#i-name" /></svg> shows
   one. A fixed box, so nothing moves when it paints; the colour is the text's. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ms { width: 22px; height: 22px; flex: none; fill: currentColor; }

/* --- Type helpers --------------------------------------------------------- */
.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--plum-2); margin-bottom: 12px;
}
.eyebrow-light { color: var(--plum-glow); }
.eyebrow-coral { color: var(--coral); }
.section-title { margin-bottom: 14px; }
.section-title.light { color: var(--white); }
.section-lede { color: var(--ink-soft); max-width: 62ch; font-size: 18px; }

/* --- Buttons: pills, one loud, the rest quiet ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding-inline: 20px; border-radius: var(--pill);
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn-lg { height: 54px; padding-inline: 26px; font-size: 16px; }
.btn .ms { width: 20px; height: 20px; }
/* Ink on coral: white on this coral is under AA; ink is 8:1. */
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover { background: #ff8e72; transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--plum-2); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--plum-glow); }
.btn-outline-light:hover { background: rgba(207,154,253,.12); }

/* --- Capability strip ------------------------------------------------------ */
.strip { display: flex; align-items: center; background: var(--plum-3); color: var(--plum-glow); font-size: 13px; font-weight: 600; overflow: hidden; }
.strip-viewport { flex: 1; min-width: 0; overflow: hidden; }
.strip-track { display: flex; align-items: center; gap: 22px; width: max-content; padding-block: 8px; animation: strip 40s linear infinite; }
.strip.paused .strip-track { animation-play-state: paused; }
.strip-track span { white-space: nowrap; }
.strip-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); flex: none; }
/* The track holds the list twice; moving it by half its width loops seamlessly. */
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* Pause controls for the two things that move on their own (WCAG 2.2.2). Under
   reduced motion nothing moves, so there is nothing to pause. */
.motion-toggle {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: inherit;
}
.strip-toggle { color: var(--plum-glow); border-radius: 0; }
.strip-toggle:hover { color: var(--white); }
.hero-toggle {
  position: absolute; inset-inline-end: var(--gutter); bottom: 16px; z-index: 1;
  background: rgba(255,255,255,.14); color: var(--white); border: 1.5px solid rgba(255,255,255,.45);
}
.hero-toggle:hover { background: rgba(255,255,255,.26); }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

/* --- Top bar ---------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 12px var(--gutter); background: rgba(250, 249, 255, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 22px; font-weight: 900; letter-spacing: .02em; color: var(--plum); }
.brand-text small { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.top-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.top-nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: var(--pill); color: var(--ink-soft); }
.top-nav a:hover { background: var(--surface-3); color: var(--ink); }
.top-actions { display: flex; gap: 8px; }
.menu { display: none; margin-inline-start: auto; background: none; border: 1.5px solid var(--line-strong); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }

/* --- Hero ------------------------------------------------------------------- */
/* The poster is the hero's own background, so there is always a picture of
   the lab: before the film has loaded, when autoplay is refused, and under
   reduced motion or Save-Data, where no film is fetched and the still stays.
   A narrow screen gets the 640px still, matching the film it will play; the
   pages preload whichever of the two this media query picks. */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--plum) url('assets/hero-poster.fc887d237a.webp') center / cover no-repeat;
}
@media (max-width: 720px) { .hero { background-image: url('assets/hero-poster-640.194f78a974.webp'); } }
/* The film sits under everything; the shade tints it plum and darkens the
   text side so the headline reads on any frame. Order: video, shade, glow. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  /* Heavier behind the copy (inline start), lighter over the film. Behind the
     whole copy column it stays at .84 or more, so the lede keeps 4.5:1 over the
     brightest frame (measured on the poster at 1440 and 390 wide). */
  background:
    linear-gradient(to left, rgba(67, 13, 110, .9) 0%, rgba(67, 13, 110, .84) 55%, rgba(67, 13, 110, .3) 100%),
    linear-gradient(to top, rgba(45, 0, 79, .8), transparent 45%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(circle at 18% 22%, rgba(253, 121, 88, .34), transparent 52%),
    radial-gradient(circle at 82% 78%, rgba(67, 221, 188, .22), transparent 46%),
    radial-gradient(circle at 60% 10%, rgba(207, 154, 253, .16), transparent 40%);
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-grid {
  position: relative; max-width: var(--container); margin-inline: auto; padding: clamp(48px, 8vw, 110px) var(--gutter);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero .eyebrow { color: var(--mint); }
.hero h1 em { font-style: normal; color: #ffa28a; } /* Light coral: 3:1 over the brightest frame; --coral dips below. */
.lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.84); max-width: 58ch; }
.hero-pill {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1.5px solid rgba(253,121,88,.7); border-radius: var(--pill); padding: 10px 20px; font-weight: 600; font-size: 15px;
}
.hero-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* The example card: a slab of the product, not stock imagery. */
.hero-card {
  margin: 0; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-lg); border-inline-start: 10px solid var(--mint);
  display: grid; gap: 16px;
  /* The tilt is the rotate property, not part of transform: the entrance
     animation owns transform, and its final frame would otherwise keep the
     card tilted where the narrow layout straightens it. */
  rotate: -1.5deg;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-title { font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.card-rows { margin: 0; display: grid; gap: 12px; }
.card-rows div { display: grid; gap: 2px; }
.card-rows dt { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.card-rows dd { margin: 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-rows dd[dir='ltr'] { text-align: end; direction: ltr; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.score { font-size: 30px; font-weight: 900; color: var(--plum); font-variant-numeric: tabular-nums; }
.score small { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reasons li { background: var(--surface-2); border-radius: var(--pill); padding: 6px 12px; font-size: 13px; font-weight: 500; display: inline-flex; gap: 6px; align-items: baseline; }
.reasons b { color: var(--plum-2); font-weight: 800; }

.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--pill); padding: 5px 12px; font-size: 13px; font-weight: 700; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip-mint { background: rgba(67, 221, 188, .18); color: var(--mint-deep); }
.chip-plum { background: rgba(91, 42, 134, .1); color: var(--plum-2); }

/* --- Bands ------------------------------------------------------------------ */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-plum { background: var(--plum); color: var(--white); }
.band-plum h2 { color: var(--white); }
.band-text { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); color: rgba(255,255,255,.82); max-width: 66ch; }

/* --- Facts ------------------------------------------------------------------ */
.facts { padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-soft); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fact { display: grid; gap: 10px; padding-inline-start: 18px; border-inline-start: 4px solid var(--coral); }
.fact-big { font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; color: var(--plum); line-height: 1.05; }
.fact-text { color: var(--ink-soft); }

/* --- Categories ------------------------------------------------------------- */
.cats { padding-block: 22px; border-bottom: 1px solid var(--line-soft); background: var(--white); }
.cats-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cats-row span { border: 1.5px solid var(--line); border-radius: var(--pill); padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }

/* --- Services / cards ------------------------------------------------------- */
.services { padding-block: clamp(56px, 8vw, 104px); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.svc {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start;
}
.svc p { color: var(--ink-soft); }
.svc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-3); color: var(--plum-2); }
.svc-icon .ms { width: 28px; height: 28px; }

.who { border: 1.5px solid rgba(207,154,253,.35); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.who h3 { color: var(--coral); }
.who p { color: rgba(255,255,255,.84); }
/* What a card promises for later, said as later. */
.who .soon { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 15px; color: var(--plum-glow); }
.soon-tag { background: rgba(207,154,253,.2); color: var(--white); border-radius: var(--pill); padding: 2px 10px; font-size: 13px; font-weight: 700; }

/* --- Promo ------------------------------------------------------------------ */
.promo {
  background: var(--plum-2); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: center; box-shadow: var(--shadow-lg);
  margin-block: 10px clamp(56px, 8vw, 104px);
}
.promo h2 { font-size: clamp(22px, 2.6vw, 32px); }
/* Coral at eyebrow size is 3.8:1 on this plum; the lighter tint is 5.1:1 (AA). */
.promo .eyebrow-coral { color: #ffa28a; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; color: rgba(255,255,255,.86); }
.ticks li { padding-inline-start: 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--mint); }
.promo-actions { display: grid; gap: 10px; justify-items: stretch; }

/* --- Screenshots: the request screen wide, the other two beside each other -- */
/* No top padding: the promo card above already ends with its own margin. */
.look { padding-block: 0 clamp(56px, 8vw, 104px); }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.shot { margin: 0; display: grid; gap: 10px; align-content: start; }
.shot-wide { grid-column: 1 / -1; }
.shot img { border-radius: var(--radius-sm); border: 1px solid var(--line-soft); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.shot figcaption { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 1000px) { .shots { grid-template-columns: 1fr; } }

/* --- Steps ------------------------------------------------------------------ */
.how { padding-block: clamp(56px, 8vw, 104px); }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line-soft); }
.steps li:last-child { border-bottom: 1px solid var(--line-soft); }
.num { font-size: 40px; font-weight: 900; color: var(--coral-text); line-height: 1; font-variant-numeric: tabular-nums; }
.steps p { color: var(--ink-soft); margin-top: 6px; max-width: 64ch; }

/* --- Verify ----------------------------------------------------------------- */
.verify { background: var(--surface-2); padding-block: clamp(56px, 8vw, 96px); border-block: 1px solid var(--line-soft); }
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.verify-form { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.verify-form label { font-weight: 600; font-size: 15px; }
.verify-row { display: flex; gap: 10px; }
.verify-row input {
  flex: 1; min-width: 0; height: 50px; border: 1.5px solid var(--line-strong); border-radius: 14px; padding-inline: 16px;
  font: inherit; font-size: 18px; font-variant-numeric: tabular-nums; direction: ltr; text-align: start;
}
/* A real ring, not only a tint: the field's focus is as visible as a button's. */
.verify-row input:focus { border-color: var(--plum-2); outline: 3px solid var(--plum-2); outline-offset: 2px; }
.verify-row input[aria-invalid='true'] { border-color: var(--coral-deep); }
.hint { font-size: 13px; color: var(--ink-soft); }
/* Said in words, tied to the field (aria-describedby); the colour only repeats it. */
.field-error { font-size: 14px; font-weight: 600; color: var(--coral-deep); }
.privacy-note { font-size: 13px; color: var(--ink-soft); }
.privacy-note a { color: var(--plum-2); }

/* --- Warranty activation page ---------------------------------------------- */
.page-head { padding-block: clamp(40px, 6vw, 72px); }
.page-title { font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; line-height: 1.08; }
.activate { padding-block: clamp(48px, 7vw, 88px); }
.activate-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.activate-form { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); display: grid; gap: 12px; }
.activate-form h2 { font-size: clamp(24px, 3vw, 34px); }
.activate-form label { font-weight: 600; margin-top: 8px; }
.find-serial { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; background: var(--surface-2); }
.find-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.find-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.find-list .ms { color: var(--plum-2); width: 26px; height: 26px; }
.find-list b { color: var(--ink); }
.hint a { color: var(--plum-2); }
@media (max-width: 1000px) { .activate-grid { grid-template-columns: 1fr; } }

/* Section spacing that used to be an inline style (the CSP blocks style attributes). */
.section-pad { padding-block: clamp(40px, 6vw, 72px); }

/* --- Contact + footer ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center; }
.contact-actions { display: grid; gap: 10px; }
.foot { background: var(--plum-3); color: rgba(255,255,255,.8); padding-block: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.foot-brand { grid-row: span 2; }
/* Both lines hug the start edge: a full-width column would push the LTR name to the far side. */
.foot-brand .brand-text { align-items: flex-start; }
.foot-brand .brand-text b { color: var(--white); }
.foot-brand .brand-text small { color: var(--plum-glow); }
.foot-brand p { margin-top: 12px; max-width: 46ch; font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
/* 44px tall: these are the only way to the legal pages on a phone. */
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; font-size: 15px; }
.foot nav a:hover, .foot nav a[aria-current='page'] { color: var(--white); text-decoration: underline; }
.foot-policies { border-top: 1px solid rgba(255,255,255,.12); padding-top: 6px; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13px; }
.foot-legal p + p { margin-top: 4px; }

/* --- Legal pages: privacy, terms, accessibility ------------------------------- */
.legal { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); color: var(--plum); margin-block: 36px 12px; }
.legal h3 { font-size: 18px; margin-block: 22px 8px; }
.legal p, .legal li { color: var(--ink-soft); max-width: 72ch; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.legal b { color: var(--ink); }
.legal a { color: var(--plum-2); }
.legal-meta { font-size: 14px; font-weight: 600; }
/* The operator's legal details, until registration completes: one line, set apart. */
.legal .legal-entity {
  margin-top: 12px; padding: 12px 16px; border-radius: 12px; border-inline-start: 4px solid var(--coral);
  background: var(--surface-2); color: var(--ink); font-weight: 600;
}

/* --- Cookie notice (consent.js) ----------------------------------------------- */
/* Fixed to the bottom, never a modal: the page scrolls and works underneath,
   and while it is open the page gets room at its end so nothing stays covered. */
.cookie-notice {
  position: fixed; z-index: 60; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 760px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 18px;
  background: var(--plum-3); color: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(207,154,253,.35);
}
.cookie-notice-text { flex: 1 1 280px; font-size: 15px; line-height: 1.5; }
.cookie-notice-text a { color: var(--plum-glow); text-underline-offset: 3px; }
.cookie-notice-ok { min-width: 96px; height: 44px; }
html.has-cookie-notice body { padding-block-end: 132px; }
html.has-cookie-notice { scroll-padding-block-end: 140px; }
@media (max-width: 560px) {
  html.has-cookie-notice body { padding-block-end: 188px; }
  html.has-cookie-notice { scroll-padding-block-end: 196px; }
  .cookie-notice-ok { flex: 1 1 100%; }
}

/* --- Page-load: hero settles in, once ---------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-card { animation: rise .7s .25s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* --- Between pages: the content fades in and rises; the header stays put ------ */
/* A cross-document view transition, for links within the site and only where
   motion is welcome. A browser without them simply navigates, as before. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .top { view-transition-name: site-top; }
  main { view-transition-name: site-main; }
  ::view-transition-old(site-top) { display: none; }
  ::view-transition-group(site-top), ::view-transition-new(site-top) { animation: none; }
  ::view-transition-old(site-main) { animation: page-out .12s ease-out both; }
  ::view-transition-new(site-main) { animation: page-in .22s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes page-out { to { opacity: 0; } }
  @keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
}

/* --- A serial on its way to the console (main.js sets aria-busy) --------------- */
/* Until the console answers, a spinner takes the icon's place (the same 20px, so
   the button keeps its width). Under reduced motion it breathes instead. */
.btn[aria-busy='true'] { cursor: progress; }
.btn[aria-busy='true'] .ms { display: none; }
.btn[aria-busy='true']::before {
  content: ''; box-sizing: border-box; width: 20px; height: 20px; flex: none; border-radius: 50%;
  border: 2.5px solid currentColor; border-inline-end-color: transparent; animation: busy-spin .8s linear infinite;
}
@keyframes busy-spin { to { rotate: 1turn; } }
@keyframes busy-breathe { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .btn[aria-busy='true']::before { border-inline-end-color: currentColor; animation: busy-breathe 2s ease-in-out infinite; }
}

/* --- Responsive ------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { rotate: none; max-width: 520px; }
  .facts-grid, .cards3 { grid-template-columns: 1fr; }
  .promo, .verify-grid, .contact-grid, .video-cards, .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-row: auto; }
  /* Stacked, the copy spans the whole width: one even shade, no glow, under all of it. */
  .hero-shade { background: linear-gradient(rgba(67, 13, 110, .86), rgba(67, 13, 110, .86)); } .hero-glow { display: none; }
  /* Room under the stacked hero for the film's pause button. */
  .hero-grid { padding-bottom: 88px; }
  .top-nav { display: none; }
  .top-actions { display: none; }
  .menu { display: grid; place-items: center; }
  /* Open: the bar wraps and the nav and actions flow below it as one column,
     so nothing has to know how tall the other is. */
  .top.open { flex-wrap: wrap; }
  .top.open .top-nav, .top.open .top-actions {
    display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 0;
  }
  .top.open .top-nav { padding-top: 8px; border-top: 1px solid var(--line-soft); }
  .top.open .top-nav a { padding-block: 12px; font-size: 17px; }
  .top.open .top-actions { padding-block: 8px 4px; gap: 10px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps li { grid-template-columns: 56px 1fr; }
  .num { font-size: 30px; }
  .verify-row { flex-direction: column; }
  /* In a column, flex: 1 collapses the input to its text height; keep it a real target. */
  .verify-row input { flex: none; min-height: 48px; }
  .cta-row .btn { width: 100%; }
}
