/* ==========================================================================
   NuClear Path AI · landing page styles (v2, visual edition)
   --------------------------------------------------------------------------
   Layout: a white canvas with one dark, film-like hero. The product showreel
   straddles the hero's lower edge. Each use case is a text column beside a
   large rounded video whose chapters are listed as a progress list.

   Light theme only, by design (matches the reference). Every colour is a token
   below; the hero and the request banner are dark on purpose.
   ========================================================================== */

:root {
  /* Colour */
  --bg: #FFFFFF;
  --bg-soft: #F2F6FB;          /* soft bands and cards, blue-biased grey */
  --ink: #0B1B30;
  --ink-2: #44566C;
  --ink-3: #66788D;
  --line: #E1E8F1;
  --line-strong: #C6D3E2;
  --brand: #1B66D2;            /* NuClear blue: buttons, links, progress */
  --brand-hover: #1655B2;
  --brand-ink: #1650A8;        /* blue text on white */
  --brand-soft: #EAF2FE;
  --brand-ring: rgba(27, 102, 210, 0.22);
  --on-brand: #FFFFFF;
  --night: #061428;            /* hero + request banner */
  --on-night: #F3F7FC;
  --on-night-2: rgba(229, 238, 250, 0.80);
  --glass: rgba(255, 255, 255, 0.10);
  --glass-hover: rgba(255, 255, 255, 0.18);
  --glass-line: rgba(255, 255, 255, 0.28);
  --glow: #7ECBFA;
  --header-dark: rgba(6, 20, 40, 0.62);
  --header-light: rgba(255, 255, 255, 0.88);
  --scrim: rgba(11, 27, 48, 0.58);
  --focus: #3D8BFD;
  --ok: #157F3B;
  --ok-soft: #E3F6EA;
  --danger: #B42318;
  --warn-ink: #7A4A00;
  --warn-soft: #FFF5DD;
  --reg-ink: #8A4500;
  --reg-soft: #FDEBD3;
  --dot-ca: #1B66D2;
  --dot-us: #0891B2;
  --dot-you: #16A34A;
  --mark-orbit: #4172AE;       /* logo on light */
  --mark-electron: #A8D4F5;
  --mark-orbit-dark: #EEF3F9;  /* logo on dark */
  --mark-electron-dark: #4F86C9;
  --logo-orbit: var(--mark-orbit);
  --logo-electron: var(--mark-electron);
  --logo-spark: #7ECBFA;
  --media-ground: linear-gradient(160deg, #FFFFFF 0%, #EEF4FC 60%, #E4EEFB 100%);
  --shadow-media: 0 2px 6px rgba(11, 27, 48, 0.04), 0 30px 70px -36px rgba(22, 66, 140, 0.40);
  --shadow-reel: 0 60px 120px -50px rgba(3, 12, 26, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);

  /* Type: one family, two voices (display at medium weight, text at regular) */
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;                                    /* 13 */
  --fs-sm: 0.9375rem;                                    /* 15 */
  --fs-body: 1.0625rem;                                  /* 17 */
  --fs-h3: 1.1875rem;                                    /* 19 */
  --fs-lede: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); /* 17-20 */
  --fs-h2: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);         /* 32-56 */
  --fs-h1: clamp(2.75rem, 1.3rem + 5vw, 5.5rem);         /* 44-88 */

  /* Layout */
  --content: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --section-y: clamp(72px, 9vw, 128px);
  --r-media: clamp(18px, 2.2vw, 28px);
  --r-card: 24px;
  --r-field: 12px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--bg); color: var(--ink); font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow-media);
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* One outer gutter for every band (clears phone side bars too) */
.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section-y); }

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.4;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow--light { color: var(--glow); }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 36em; }

.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Status pill. Remove the element (data-status) when a feature ships. */
.soon {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; line-height: 1.2;
  letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.soon--inline { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-glass {
  background: var(--glass); color: var(--on-night); border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: var(--glass-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.btn-sm { height: 38px; padding: 0 16px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* --------------------------------------------------------------------------
   Header (fixed): dark-on-hero, then light. JS sets .is-scrolled / .is-light.
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-night);
  --logo-orbit: var(--mark-orbit-dark); --logo-electron: var(--mark-electron-dark);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  background: var(--header-dark);
  -webkit-backdrop-filter: saturate(1.3) blur(16px); backdrop-filter: saturate(1.3) blur(16px);
}
.site-header.is-light {
  background: var(--header-light); color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(1.3) blur(16px); backdrop-filter: saturate(1.3) blur(16px);
  --logo-orbit: var(--mark-orbit); --logo-electron: var(--mark-electron);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.brand-mark { width: 26px; height: 29px; }
.brand-word { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.site-nav { margin-inline: auto; }
.nav-list { list-style: none; display: flex; gap: 4px; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: inherit; text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  opacity: 0.82; transition: opacity 0.2s, background-color 0.2s;
}
.nav-list a:hover { opacity: 1; }
.nav-list a.is-active { opacity: 1; background: var(--glass); }
.site-header.is-light .nav-list a.is-active { background: var(--bg-soft); }
.nav-mobile-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-signin { color: inherit; text-decoration: none; font-size: var(--fs-sm); font-weight: 600; opacity: 0.9; }
.header-signin:hover { opacity: 1; text-decoration: underline; }
.icon-btn {
  display: none; place-items: center; width: 44px; height: 44px; margin-right: -8px;
  border: 0; border-radius: 12px; background: transparent; cursor: pointer;
}
.icon-btn .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (max-width: 1059px) {
  .icon-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .header-signin { display: none; }
  .site-nav {
    display: none;
    position: fixed; left: 0; right: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--bg); color: var(--ink);
    box-shadow: 0 1px 0 var(--line), 0 30px 40px -30px rgba(11, 27, 48, 0.35);
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 15px 2px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; opacity: 1; }
  .nav-list a.is-active, .site-header.is-light .nav-list a.is-active { background: none; color: var(--brand-ink); }
  .site-header.is-menu { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 22px; }
  .nav-mobile-actions .btn { height: 52px; font-size: 1rem; }
}
@media (max-width: 479px) {
  .header-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   The dark stage stops partway down the showreel (--overlap), so the reel
   sits across the edge between the dark hero and the white page.
   -------------------------------------------------------------------------- */
.hero {
  --reel-ratio: 0.5625;                          /* 16:9 */
  --reel-w: min(var(--content), 100vw - 2 * var(--gutter));
  --chap-h: 76px;
  --overlap: calc(var(--reel-w) * var(--reel-ratio) * 0.42 + var(--chap-h));
  position: relative; isolation: isolate;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(36px, 5vw, 72px));
}
.hero-stage {
  position: absolute; left: 0; right: 0; top: 0; bottom: var(--overlap);
  z-index: -1; overflow: hidden;
  background: var(--night);
}
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero-stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.55) 0%, rgba(6, 20, 40, 0) 34%),
    radial-gradient(60% 50% at 50% 28%, rgba(6, 20, 40, 0.35), rgba(6, 20, 40, 0) 70%);
}
.hero-bg-toggle {
  position: absolute; z-index: 2;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--glass-line); background: var(--glass); color: var(--on-night);
  cursor: pointer; opacity: 0.75;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-bg-toggle:hover { opacity: 1; }
.hero-bg-toggle .icon { width: 14px; height: 14px; }

.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: var(--on-night);
}
.app-icon {
  width: 68px; height: 68px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 18px 50px -10px rgba(126, 203, 250, 0.55);
}
.app-icon svg { width: 38px; height: 42px; }
.hero-name { margin-top: 18px; font-size: 1.0625rem; font-weight: 600; color: var(--on-night-2); }
.hero h1 { margin-top: 10px; font-size: var(--fs-h1); max-width: 16ch; }
.hero-lede { margin-top: 20px; max-width: 34em; font-size: var(--fs-lede); line-height: 1.5; color: var(--on-night-2); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Showreel */
.showreel { margin-top: clamp(40px, 5vw, 64px); }
.media--reel { aspect-ratio: 16 / 9; box-shadow: var(--shadow-reel); }
.reel-chapters {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 24px); margin-top: 20px;
}
.reel-chapters button {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "bar bar" "n t"; column-gap: 8px; row-gap: 12px; align-items: baseline;
  padding: 0 0 4px; border: 0; background: none; text-align: left; cursor: pointer;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-3);
  transition: color 0.2s;
}
.reel-chapters button:hover, .reel-chapters button.is-active { color: var(--ink); }
.rc-n { grid-area: n; font-size: var(--fs-xs); font-weight: 700; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.rc-t { grid-area: t; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-bar { grid-area: bar; display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rc-bar b, .ch-bar b {
  display: block; height: 100%; background: var(--brand);
  transform: scaleX(var(--p, 0)); transform-origin: left center;
}

@media (max-width: 719px) {
  .hero { --reel-ratio: 1; --chap-h: 64px; }
  .media--reel { aspect-ratio: 1; }
  .rc-n { display: none; }
  .reel-chapters button { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "t"; row-gap: 10px; font-size: var(--fs-xs); }
}

/* --------------------------------------------------------------------------
   Media frames (videos and pictures)
   -------------------------------------------------------------------------- */
.media {
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; max-width: 100%;
  border-radius: var(--r-media);
  background: var(--media-ground);
}
.media > video, .media > img { width: 100%; height: 100%; object-fit: cover; }
.media--square { aspect-ratio: 1; }
.media--tall { aspect-ratio: 9 / 16; border-radius: clamp(16px, 2vw, 24px); }
.media-toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; background: var(--scrim); color: var(--on-night); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0.88; transition: opacity 0.2s, transform 0.2s;
}
.media-toggle:hover { opacity: 1; transform: scale(1.06); }
.media-toggle .icon { width: 16px; height: 16px; }
.media-toggle .i-pause, [data-state="playing"] > .media-toggle .i-play,
.hero-bg-toggle .i-play, .hero-bg-toggle[data-state="paused"] .i-pause { display: none; }
[data-state="playing"] > .media-toggle .i-pause,
.hero-bg-toggle[data-state="paused"] .i-play { display: block; }
.no-js .media-toggle { display: none; }

/* --------------------------------------------------------------------------
   Value propositions
   -------------------------------------------------------------------------- */
.props { padding-top: clamp(64px, 8vw, 112px); }
.tiles {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(16px, 2.2vw, 28px);
}
.tile { display: flex; flex-direction: column; gap: 6px; height: 100%; color: var(--ink); text-decoration: none; }
.tile-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 10; margin-bottom: 14px;
  border-radius: 20px; background: var(--media-ground);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-media .soon { position: absolute; top: 12px; left: 12px; background: var(--bg); color: var(--ink); box-shadow: 0 2px 10px rgba(11, 27, 48, 0.14); }
.tile-k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); }
.tile-t { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.tile-d { font-size: var(--fs-sm); color: var(--ink-2); }
.tile:hover .tile-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

@media (max-width: 979px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tile {
    display: grid; grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas: "m k" "m t" "m d"; grid-template-rows: auto auto 1fr;
    column-gap: 16px; row-gap: 2px; align-items: start;
  }
  .tile-media { grid-area: m; margin: 0; aspect-ratio: 1; border-radius: 16px; }
  .tile-media .soon { top: auto; bottom: 8px; left: 8px; right: 8px; justify-content: center; padding: 3px 6px; font-size: 0.6875rem; }
  .tile-k { grid-area: k; padding-top: 4px; }
  .tile-t { grid-area: t; font-size: 1.0625rem; }
  .tile-d { grid-area: d; font-size: var(--fs-xs); }
}

/* --------------------------------------------------------------------------
   Use-case rows: text beside a chaptered video
   -------------------------------------------------------------------------- */
.usecase { padding-block: clamp(56px, 7vw, 104px); }
.uc-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ".    media" "head media" "chap media" ".    media";
  column-gap: clamp(40px, 6vw, 96px); row-gap: 32px;
}
.usecase--flip .uc-grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "media .   " "media head" "media chap" "media .   ";
}
.uc-head { grid-area: head; display: grid; gap: 16px; min-width: 0; }
.uc-media { grid-area: media; align-self: center; box-shadow: var(--shadow-media); }
.chapters, .uc-foot { grid-area: chap; min-width: 0; }

.chapters { list-style: none; display: grid; }
.chapters li { display: block; }
.chapters button {
  position: relative; width: 100%;
  display: grid; gap: 4px; padding: 16px 0 18px;
  border: 0; border-top: 1px solid var(--line); background: none;
  text-align: left; cursor: pointer;
}
.chapters li:last-child button { border-bottom: 1px solid var(--line); }
.ch-t { font-size: 1.125rem; font-weight: 600; line-height: 1.35; color: var(--ink-3); transition: color 0.2s; }
.ch-d { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-3); }
.chapters button:hover .ch-t, .chapters button.is-active .ch-t { color: var(--ink); }
.chapters button.is-active .ch-d { color: var(--ink-2); }
.ch-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }

@media (max-width: 899px) {
  .uc-grid, .usecase--flip .uc-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "head" "media" "chap";
    row-gap: 28px;
  }
  .uc-media { max-width: 620px; justify-self: center; }
}

/* Coverage chips */
.uc-foot { display: grid; gap: 16px; align-content: start; }
.fw-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.fw-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.2;
}
.fw-chips li::before, .fw-legend span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--dot, var(--brand));
}
.fw-ca { --dot: var(--dot-ca); }
.fw-us { --dot: var(--dot-us); }
.fw-you { --dot: var(--dot-you); }
.fw-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-xs); color: var(--ink-3); }
.fw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fine { font-size: var(--fs-xs); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Stakeholder lenses
   -------------------------------------------------------------------------- */
.lenses { background: var(--bg-soft); }
.lens-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.lens { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lens .media { margin-bottom: 10px; box-shadow: var(--shadow-media); }
.lens-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.lens-tag { padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 0.75rem; font-weight: 700; }
.lens-tag--reg { background: var(--reg-soft); color: var(--reg-ink); }
.lens-d { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 899px) { .lens-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 399px) { .lens-t { font-size: 1rem; } .lens-d { font-size: var(--fs-xs); } }

/* --------------------------------------------------------------------------
   Security
   -------------------------------------------------------------------------- */
.security { padding-top: clamp(56px, 7vw, 104px); }
.sec-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2.2vw, 24px); align-items: stretch; }
.sec-visual { height: 100%; aspect-ratio: auto; min-height: 320px; box-shadow: inset 0 0 0 1px var(--line); }
.sec-visual > img { position: absolute; inset: 0; }
.sec-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.sec-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-card); background: var(--bg-soft); }
.sec-ico { width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); color: var(--brand); box-shadow: 0 1px 2px rgba(11, 27, 48, 0.06); }
.sec-ico .icon { width: 24px; height: 24px; }
.sec-card p { font-size: var(--fs-sm); color: var(--ink-2); }
.caution {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: clamp(16px, 2.2vw, 24px); padding: 14px 18px; border-radius: 14px;
  background: var(--warn-soft); color: var(--warn-ink);
  font-size: var(--fs-sm); font-weight: 500;
}
.caution .icon { margin-top: 2px; }
.caution a { color: inherit; font-weight: 700; margin-left: 4px; }
@media (max-width: 899px) {
  .sec-layout { grid-template-columns: minmax(0, 1fr); }
  .sec-visual { height: auto; aspect-ratio: 1; min-height: 0; max-width: 620px; }
}
@media (max-width: 599px) { .sec-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Request access
   -------------------------------------------------------------------------- */
.request { padding-block: clamp(40px, 5vw, 72px); }
.req-banner {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5.5vw, 80px);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--night); color: var(--on-night);
}
.req-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.req-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 20, 40, 0.92) 0%, rgba(6, 20, 40, 0.70) 55%, rgba(6, 20, 40, 0.45) 100%);
}
.req-copy { display: grid; gap: 16px; align-content: center; min-width: 0; }
.req-copy h2 { max-width: 14ch; }
.req-lede { font-size: var(--fs-lede); color: var(--on-night-2); max-width: 30em; }
.req-steps { list-style: none; display: grid; gap: 12px; margin-top: 12px; }
.req-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.req-steps span {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--glass-line); background: var(--glass);
  font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums;
}
.form-card {
  min-width: 0; padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-card);
  background: var(--bg); color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.request-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field input {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-field);
  background: var(--bg); color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:hover { border-color: var(--ink-3); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: var(--fs-xs); color: var(--ink-3); }
.field-error { font-size: var(--fs-xs); font-weight: 600; color: var(--danger); }
.consent { font-size: var(--fs-xs); color: var(--ink-3); }
.form-status { font-size: var(--fs-sm); font-weight: 600; color: var(--danger); }
.form-status:empty { display: none; }
.form-success { display: grid; justify-items: start; gap: 10px; outline: none; }
.form-success h3 { font-size: 1.375rem; }
.form-success p { color: var(--ink-2); }
.ok-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.form-success-note { padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); font-size: var(--fs-xs); color: var(--ink-3); }
.form-alt { margin-top: 16px; text-align: center; font-size: var(--fs-sm); color: var(--ink-3); }
.form-alt a { font-weight: 600; }
.req-actions { display: grid; gap: 16px; justify-items: center; }
.req-actions p { font-size: var(--fs-sm); color: var(--on-night-2); }
.req-actions p a { color: var(--on-night); text-underline-offset: 4px; }
@media (max-width: 899px) {
  .req-banner { grid-template-columns: minmax(0, 1fr); }
  .req-copy h2 { max-width: 18ch; }
}
@media (max-width: 479px) {
  .req-banner { padding: 24px 16px 16px; border-radius: 24px; }
  .form-card { padding: 20px 16px; border-radius: 18px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* Account dialogs share the landing page's typography and form tokens. */
html { scrollbar-gutter: stable; }
body.auth-open { overflow: hidden; }
.auth-dialog {
  width: min(480px, calc(100% - 32px)); max-width: none;
  max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--bg); color: var(--ink); font: inherit;
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 28px 100px rgba(3, 12, 26, 0.3);
}
.auth-dialog::backdrop { background: rgba(6, 20, 40, 0.68); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.auth-shell { position: relative; padding: 32px; }
.auth-brand { width: fit-content; max-width: calc(100% - 28px); }
.auth-brand .brand-word { font-size: 1rem; }
.auth-brand .brand-mark { width: 26px; height: 29px; }
.auth-close {
  position: absolute; top: 24px; right: 20px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 10px; color: var(--ink-2);
}
.auth-close:hover { color: var(--ink); background: var(--bg-soft); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 28px 0 24px; border-radius: 12px; background: var(--bg-soft); }
.auth-tabs button {
  min-height: 42px; border: 0; border-radius: 9px; background: transparent;
  color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.auth-tabs button:hover { color: var(--brand-ink); }
.auth-tabs button[aria-selected="true"] { background: var(--bg); color: var(--brand-ink); box-shadow: 0 1px 4px rgba(11, 27, 48, 0.08); }
.auth-dialog h2 { font-size: 2rem; line-height: 1.15; }
.auth-description { margin-top: 10px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.auth-form { display: grid; gap: 16px; margin-top: 24px; }
.auth-form .btn { width: 100%; }
.auth-password { position: relative; }
.auth-password input { padding-right: 76px; }
.auth-password button {
  position: absolute; top: 8px; bottom: 8px; right: 8px; padding: 0 10px;
  border: 0; border-radius: 6px; background: var(--bg-soft); color: var(--ink-2);
  font-size: var(--fs-xs); font-weight: 600; cursor: pointer;
}
.auth-password button:hover { color: var(--brand-ink); }
.auth-switch { margin-top: 20px; color: var(--ink-2); font-size: var(--fs-sm); text-align: center; }
.auth-switch a { font-weight: 600; }
.auth-credit { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-xs); text-align: center; }
.auth-credit a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.auth-dialog .form-success { margin-top: 28px; }
.auth-dialog .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.no-js .auth-tabs, .no-js [data-password-toggle] { display: none; }
.no-js .auth-dialog[open] { position: fixed; inset: 16px; z-index: 100; box-shadow: 0 0 0 100vmax rgba(6, 20, 40, 0.68); }
.no-js .auth-dialog h2 { margin-top: 28px; }
@media (max-width: 479px) {
  .auth-shell { padding: 24px; }
  .auth-close { top: 16px; right: 16px; }
  .auth-dialog h2 { font-size: 1.75rem; }
  .auth-tabs { margin-top: 24px; }
}
@media (max-width: 359px) {
  .auth-shell { padding: 20px; }
  .auth-brand .brand-word { font-size: 0.875rem; }
  .auth-dialog .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 600; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 22px; height: 22px; color: var(--ink-3); transition: transform 0.25s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list summary:hover span { color: var(--brand-ink); }
.faq-a { padding-bottom: 22px; max-width: 64ch; color: var(--ink-2); }
@media (max-width: 899px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-soft);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: calc(clamp(32px, 4vw, 48px) + env(safe-area-inset-bottom, 0px));
}
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.footer-brand { display: grid; gap: 14px; max-width: 420px; color: var(--ink); }
.footer-brand p { font-size: var(--fs-sm); color: var(--ink-2); }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 22px; max-width: 560px; }
.footer-links a { font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 110ch; font-size: var(--fs-xs); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Mobile sticky call to action
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  background: var(--header-light); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; }
.sticky-signin { padding: 10px 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* --------------------------------------------------------------------------
   Reduced motion: no transitions; videos wait for a tap (see main.js)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
