/* Monark site: shared styles for every page (tokens, nav, footer, components, home sections). */
/* ============================================================
   Tokens (from Figma: Monark Website Redesign / 01 Home v3)
   ============================================================ */
:root {
  --bg: #0a0a0f;
  --bg-deep: #050508;
  --surface: #13141c;
  --surface-2: #1a1c26;
  --line: #292b38;
  --line-strong: #4d526b;
  --text: #f5f5f7;
  --muted: #a1a6b8;
  --muted-2: #d9dbe5;
  --blue: #1e3af2;
  --blue-soft: #738fff;
  --navy: #0b1f4d;
  --chip-bg: #0d122e;
  --chip-line: #293361;

  --font-display: "Geist", system-ui, -apple-system, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(20px, 8.333vw, 120px);
  --section-y: clamp(64px, 6.667vw, 96px);
  --radius: 16px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3 { margin: 0; }
::selection { background: rgba(30, 58, 242, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); background: var(--bg); position: relative; }

.display { font-family: var(--font-display); font-weight: 500; color: var(--text); }
@media (max-width: 900px) { .display, .cta__title { text-wrap: balance; } }
.h2 { font-size: clamp(30px, 3.056vw, 44px); line-height: 1.15; }
.h3 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; }
.lede { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }
.eyebrow { font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--blue-soft); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1.4; white-space: nowrap;
  padding: 16px 28px; isolation: isolate; overflow: hidden;
  /* the magnetic pull rides on translate (set every frame by site.js); transform is kept for the press */
  translate: var(--bx, 0px) var(--by, 0px);
  transform: translateZ(0); backface-visibility: hidden;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), background-color .45s var(--ease-out), border-color .45s var(--ease-out), color .45s var(--ease-out), box-shadow .6s var(--ease-out);
}
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(115, 143, 255, .28) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1);
}
.btn--primary:hover { box-shadow: 0 14px 40px -12px rgba(115, 143, 255, .55); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--line-strong); background: #181a24; }
/* outline: the fill rises from the bottom instead of switching on */
.btn--outline { border: 1.5px solid var(--text); color: var(--text); padding: 12px 22px; }
.btn--outline::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--text);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.65, 0, .35, 1);
}
.btn--outline:hover { color: var(--bg); transition-delay: 0s, 0s, 0s, .08s, 0s; }
.btn--outline:hover::before { transform: scaleY(1); }
.btn--sm { padding: 12px 22px; }
/* a light press that springs back */
.btn:active { transform: translateZ(0) scale(.965); transition-duration: .18s; }

.arrow { display: inline-block; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
a:hover .arrow, .btn:hover .arrow, .card-link:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; font-size: 16px; line-height: 1.4; color: var(--text);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px; transition: background-size .5s var(--ease-out);
}
.text-link:hover { background-size: calc(100% - 22px) 1px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-done { transition-delay: 0ms; }

/* Skip link: first stop for keyboard users, hidden until focused */
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 10002; padding: 12px 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 500; font-size: 14px;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }
main:focus { outline: none; }

/* keep hyphenated terms like Pre-IPO on one line */
.nowrap { white-space: nowrap; }

/* Visually hidden but available to screen readers */
.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; }

/* ============================================================
   01  Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(10, 10, 15, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5.556vw, 80px); min-height: 97px;
  max-width: 1440px; margin-inline: auto;
}
.nav__logo img { width: 144px; height: 26px; object-fit: contain; }
.nav__links { position: relative; display: flex; gap: 36px; font-size: 15px; line-height: 1.4; font-weight: 500; }
.nav__links a { position: relative; color: var(--muted); padding: 8px 0; transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active { font-weight: 500; }
.nav__pill {
  position: absolute; top: 50%; height: 36px; left: 0; width: 0; z-index: -1;
  border-radius: 999px; background: rgba(245, 245, 247, .06); border: 1px solid rgba(245, 245, 247, .06);
  transform: translateY(-50%); opacity: 0;
  transition: left .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
}
.nav__menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); position: relative; }
.nav__menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.nav__menu-btn span:nth-child(1) { top: 18px; }
.nav__menu-btn span:nth-child(2) { top: 25px; }
.nav.is-open .nav__menu-btn span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__menu-btn span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.nav__drawer { display: none; }

/* ============================================================
   01  Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  /* deep base with one soft bloom of navy at the top: calmer than a full navy flood */
  background:
    radial-gradient(1100px 620px at 50% -12%, rgba(30, 58, 242, .30), rgba(30, 58, 242, 0) 62%),
    radial-gradient(720px 420px at 88% 6%, rgba(115, 143, 255, .10), rgba(115, 143, 255, 0) 60%),
    linear-gradient(180deg, #0b1230 0%, var(--bg) 70%);
  padding-top: clamp(88px, 10vw, 148px);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 30%), rgba(115, 143, 255, .08), transparent 60%);
}
.hero:hover .hero__glow { opacity: 1; }
/* the grid texture is retired for a cleaner surface */
.hero__grid { display: none; }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.hero__inner > .stage { margin-top: 36px; }

/* label: plain, small and letter-spaced; no container */
.hero__kicker {
  font-family: var(--font-body); font-weight: 500; font-size: 12px; line-height: 1.2; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}

/* headline: lighter weight, tighter tracking, balanced lines; the close of the sentence in soft Monark blue */
.hero__title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.028em;
  color: var(--text); max-width: 1100px; text-wrap: balance;
}
.hero__title .w:nth-last-of-type(-n+4) > span { color: #a9b7ff; }
.hero__sub { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; max-width: 600px; text-wrap: balance; }

/* split-word entrance */
.split .w { display: inline-block; vertical-align: top; }
.split .w > span {
  display: inline-block; opacity: 0; transform: translateY(.3em); filter: blur(10px);
  transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out), filter 1.2s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms + var(--base, 0ms));
}
.is-loaded .split .w > span { opacity: 1; transform: none; filter: none; }
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.is-loaded .fade-up { opacity: 1; transform: none; }

/* ---------- Hero player ---------- */
.stage { width: 100%; max-width: 1200px; perspective: 1600px; }
.player {
  --tilt: 14deg; --lift: 80px; --scale: .9;
  position: relative; width: 100%; aspect-ratio: 1200 / 640;
  border-radius: 20px 20px 0 0; overflow: hidden; background: #000;
  border: 1px solid rgba(245, 245, 247, .08); border-bottom: 0;
  box-shadow: 0 -30px 120px -40px rgba(30, 58, 242, .45);
  transform-origin: 50% 100%;
  transform: translateY(var(--lift)) rotateX(var(--tilt)) scale(var(--scale));
  opacity: 0;
  transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out), box-shadow .3s;
  transition-delay: 650ms;
  will-change: transform;
  cursor: pointer; outline: none;
}
.player:focus-visible { box-shadow: 0 0 0 2px var(--blue-soft), 0 -30px 120px -40px rgba(30, 58, 242, .45); }
.is-loaded .player { opacity: 1; --lift: 0px; --scale: .965; --tilt: 9deg; }
.player.is-settled { transition: transform .15s linear, opacity .6s, box-shadow .3s; transition-delay: 0ms; }
.player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* bottom scrim: only as tall as the controls need, only when they show */
.player__scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .28) 45%, rgba(0, 0, 0, .62) 100%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.player:hover .player__scrim, .player.is-engaged .player__scrim { opacity: 1; }
.player.is-engaged.is-idle .player__scrim { opacity: 0; }

/* preview state: one quiet prompt, bottom-left */
.player__prompt {
  position: absolute; left: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 16px 0 6px; border-radius: 999px;
  background: rgba(10, 10, 15, .48); border: 1px solid rgba(245, 245, 247, .14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 500; line-height: 1; color: var(--text); white-space: nowrap;
  transition: background-color .3s, border-color .3s, opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.player__prompt-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; flex: none; }
.player__prompt-icon svg { width: 12px; height: 12px; margin-left: 2px; }
.player__prompt time { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.player:hover .player__prompt, .player__prompt:focus-visible { background: rgba(10, 10, 15, .72); border-color: rgba(245, 245, 247, .3); }
.player.is-engaged .player__prompt { opacity: 0; transform: translateY(8px); pointer-events: none; }

/* controls: progress on top, buttons below, no box */
.player__bar {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 10px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  /* hidden controls stay out of the tab order until the film is engaged */
  visibility: hidden;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s linear .5s;
  cursor: default;
}
.player.is-engaged .player__bar { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.player.is-engaged.is-idle .player__bar { opacity: 0; transform: translateY(6px); pointer-events: none; }
.player.is-engaged.is-idle { cursor: none; }
.player__row { display: flex; align-items: center; gap: 2px; }
.player__spacer { flex: 1; }
.pbtn { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: rgba(245, 245, 247, .85); flex: none; transition: color .2s, background-color .2s; }
.pbtn:hover { color: #fff; background: rgba(245, 245, 247, .08); }
.pbtn svg { width: 18px; height: 18px; }
.pbtn .i-pause, .pbtn .i-vol-off, .pbtn .i-exit { display: none; }
.player.is-playing .pbtn .i-play { display: none; }
.player.is-playing .pbtn .i-pause { display: block; }
.player.is-muted .pbtn .i-vol-on { display: none; }
.player.is-muted .pbtn .i-vol-off { display: block; }
.player.is-fs .pbtn .i-enter { display: none; }
.player.is-fs .pbtn .i-exit { display: block; }
.ptime { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 500; color: rgba(245, 245, 247, .62); padding: 0 8px; white-space: nowrap; }
.ptime b { color: #fff; font-weight: 500; }

.scrub { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; margin: 0 4px 2px; }
.scrub__rail { position: relative; width: 100%; height: 3px; border-radius: 3px; background: rgba(245, 245, 247, .22); overflow: hidden; transition: height .2s var(--ease-out); }
.scrub:hover .scrub__rail, .scrub.is-drag .scrub__rail, .scrub:focus-visible .scrub__rail { height: 5px; }
.scrub__buf, .scrub__fill { position: absolute; inset: 0 auto 0 0; width: 0; }
.scrub__buf { background: rgba(245, 245, 247, .28); }
.scrub__fill { background: #fff; }
.scrub__knob {
  position: absolute; top: 50%; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%) scale(0); box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  transition: transform .2s var(--ease-out);
}
.scrub:hover .scrub__knob, .scrub.is-drag .scrub__knob, .scrub:focus-visible .scrub__knob { transform: translate(-50%, -50%) scale(1); }
.scrub:focus-visible { outline: none; }
.scrub__tip {
  position: absolute; bottom: 20px; left: 0; transform: translateX(-50%);
  padding: 3px 7px; border-radius: 6px; background: rgba(10, 10, 15, .86); color: #fff;
  font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.scrub:hover .scrub__tip, .scrub.is-drag .scrub__tip { opacity: 1; }

.vol { display: flex; align-items: center; }
.vol__range { width: 0; opacity: 0; transition: width .35s var(--ease-out), opacity .25s; overflow: hidden; display: flex; align-items: center; }
.vol:hover .vol__range, .vol:focus-within .vol__range { width: 80px; opacity: 1; }
.vol__range input { width: 68px; margin: 0 6px; accent-color: #fff; cursor: pointer; }

/* brief play/pause acknowledgement */
.player__flash {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; background: rgba(10, 10, 15, .45); color: #fff;
  display: grid; place-items: center; opacity: 0; pointer-events: none;
}
.player__flash svg { width: 22px; height: 22px; }
.player__flash.is-on { animation: flash .55s var(--ease-out); }
@keyframes flash { from { opacity: .85; transform: scale(.9); } to { opacity: 0; transform: scale(1.2); } }

.player:fullscreen { border-radius: 0; border: 0; transform: none !important; }
.player:fullscreen .player__video { object-fit: contain; }
.player.is-fs { border-radius: 0; }

/* fallback placeholder (if video missing) */
.player__fallback {
  position: absolute; inset: 0; display: none; place-items: center;
  background: var(--surface-2); border: 1.5px dashed var(--line-strong); border-bottom: 0; border-radius: inherit;
  color: var(--muted); font-weight: 500; font-size: 15px;
}
.player.is-missing .player__fallback { display: grid; }
.player.is-missing .player__prompt, .player.is-missing .player__bar, .player.is-missing .player__scrim { display: none; }
.player.is-missing { cursor: default; }

/* inline variant (case study walkthrough): no entrance tilt, full 16:9 frame */
.player.player--inline, .is-loaded .player.player--inline {
  opacity: 1; transform: none; transition: box-shadow .3s;
  aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 40px 100px -50px rgba(30, 58, 242, .45);
}
.player--inline .player__fallback { border-bottom: 1.5px dashed var(--line-strong); }

/* ============================================================
   02  Trusted
   ============================================================ */
.trusted { padding-block: 72px; background: var(--bg); }
.trusted__title { text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 1.944vw, 28px); line-height: 1.25; }
.marquee {
  position: relative; margin-top: 40px; height: 120px; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; flex: none; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; align-items: center; gap: 56px; padding-right: 56px; }
.marquee__group img { flex: none; max-width: none; opacity: .9; transition: opacity .4s, transform .5s var(--ease-out), filter .4s; }
.marquee:hover .marquee__group img { opacity: .35; }
.marquee .marquee__group img:hover { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Cards (shared spotlight)
   ============================================================ */
.card {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: border-color .4s, transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(115, 143, 255, .10), transparent 65%);
}
.card:hover { border-color: #3a3e52; }
.card:hover::before { opacity: 1; }
/* Cards that also reveal keep the reveal's fade + stagger alongside their own hover transitions;
   once in (.is-done) the delay drops so hover feels instant. */
.card.reveal { transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out); transition-delay: var(--d, 0ms); }
.card.reveal.is-done { transition-delay: 0ms; transition-duration: .4s, .6s, .4s, .6s; }

/* ============================================================
   03  What Monark does
   ============================================================ */
.what__title { text-align: center; max-width: 900px; margin-inline: auto; }
.what__grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 24px; align-items: stretch; }
.pcard { padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pcard h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 1.944vw, 28px); line-height: 1.2; }
.pcard p { color: var(--muted); font-size: 15px; line-height: 1.5; }
/* equal-height cards: the call to action sits on the same line in both */
.pcard .btn { margin-top: auto; }
.pcard p:last-of-type { margin-bottom: 10px; }
.pcard:hover { translate: 0 -4px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }

/* ============================================================
   04  Evergreen
   ============================================================ */
.eg__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.eg__title { font-size: clamp(32px, 3.333vw, 48px); line-height: 1.12; max-width: 900px; }
.eg__lede { max-width: 820px; }
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step__num {
  width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: var(--text);
  display: grid; place-items: center; font-weight: 500; font-size: 15px; line-height: 1.5;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.step__num svg { width: 20px; height: 20px; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.25; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.step:hover { translate: 0 -4px; }
.step:hover .step__num { box-shadow: 0 0 0 6px rgba(30, 58, 242, .18), 0 8px 24px -6px rgba(30, 58, 242, .7); transform: rotate(-4deg); }
.steps:hover .step:not(:hover) { opacity: .62; }
.step { transition: opacity .4s, border-color .4s, transform .6s var(--ease-out); }

.coverage { margin-top: 48px; padding: 28px; display: flex; align-items: center; gap: 24px; }
.coverage > div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.coverage__label { font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--blue-soft); }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 14px; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--chip-line);
  font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--text);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.chip:hover { background: #142060; border-color: var(--blue-soft); transform: translateY(-2px); }
.coverage__text { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--text); }
.eg__ctas { margin-top: 48px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.eg__ctas .btn { font-size: 15px; line-height: 1.5; }

/* ============================================================
   05  In action
   ============================================================ */
.action__title { margin-bottom: 56px; }
.case { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.case__tag { font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--blue-soft); }
/* partner lockup: logo, hairline, descriptor */
.case__tag--brand { display: inline-flex; align-items: center; gap: 14px; }
.case__logo { display: block; width: auto; height: 22px; }
.case__logo--altruist { height: 25px; }
.case__sep { width: 1px; height: 20px; background: var(--line-strong); }
.case__lede { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }
.webull { display: flex; align-items: center; gap: 80px; }
.webull .case { flex: 1 1 0; min-width: 0; }
.webull .h3 { max-width: 640px; }
.webull .case__lede { max-width: 600px; }
.phone {
  --rx: 0deg; --ry: 0deg;
  flex: none; width: 320px; height: 640px; border-radius: 40px; padding: 18px;
  background: var(--surface); border: 2px solid var(--line-strong);
  display: grid; place-items: center;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
  box-shadow: 0 40px 100px -40px rgba(30, 58, 242, .35);
}
.phone:hover { box-shadow: 0 50px 120px -40px rgba(30, 58, 242, .55); }
.slot {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface-2); border: 1.5px dashed var(--line-strong); color: var(--muted); text-align: center; line-height: 1.4;
}
.slot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(245, 245, 247, .045) 50%, transparent 70%);
  transform: translateX(-100%); animation: sheen 4.5s var(--ease-in-out) infinite;
}
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.slot strong { font-weight: 500; font-size: 15px; }
.slot span { font-size: 13px; }
.slot__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; margin-bottom: 6px; color: var(--muted-2); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #000; isolation: isolate; }
.phone__video { width: 100%; height: 100%; object-fit: cover; }
.phone__toggle {
  position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(10, 10, 15, .55); border: 1px solid rgba(245, 245, 247, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s, background-color .3s;
}
.phone__toggle:hover { background: rgba(10, 10, 15, .75); }
.phone:hover .phone__toggle, .phone__toggle:focus-visible, .phone__toggle.is-paused { opacity: 1; }
@media (hover: none) { .phone__toggle { opacity: .85; } }
.phone__toggle svg { width: 14px; height: 14px; }
.phone__toggle .i-play, .phone__toggle.is-paused .i-pause { display: none; }
.phone__toggle.is-paused .i-play { display: block; }
.altruist { margin-top: 56px; }
.altruist .h3 { max-width: 760px; }
.altruist .case__lede { max-width: 720px; }

/* ============================================================
   06  News
   ============================================================ */
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.news__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard { display: flex; flex-direction: column; }
.ncard__img { height: 220px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); font-weight: 500; font-size: 15px; position: relative; overflow: hidden; }
.ncard__img::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 30%, rgba(30, 58, 242, .18), transparent 55%), radial-gradient(circle at 75% 70%, rgba(115, 143, 255, .12), transparent 50%);
  transition: transform 1.2s var(--ease-out); opacity: .8;
}
.ncard__img span { position: relative; }
.ncard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ncard__img--top img { object-position: top center; }
.ncard__img:has(img)::before { display: none; }
/* square announcement graphics: shown whole, on the graphic's own black */
.ncard__img--graphic { background: #07080d; }
.ncard__img--graphic img { object-fit: contain; }
.ncard:hover .ncard__img img { transform: scale(1.05); }
.ncard:hover .ncard__img::before { transform: scale(1.15) rotate(6deg); }
.ncard__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ncard__meta { display: flex; gap: 10px; font-size: 13px; line-height: 1.4; }
.ncard__meta b { color: var(--blue-soft); font-weight: 500; }
.ncard__meta time { color: var(--muted); }
.ncard h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.3; }
.ncard .card-link { font-weight: 500; font-size: 14px; line-height: 1.4; }
.ncard:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }

/* ============================================================
   07  CTA + Footer
   ============================================================ */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--navy) 100%);
  padding-block: clamp(88px, 9.722vw, 140px);
}
.cta__orb {
  position: absolute; left: 50%; bottom: -55%; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(30, 58, 242, .35), transparent);
  filter: blur(20px); pointer-events: none; animation: breathe 9s var(--ease-in-out) infinite;
}
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.12); opacity: .75; } }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 4.444vw, 64px); line-height: 1.08; max-width: 1000px; }

.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 64px 0 48px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 408fr) repeat(3, minmax(0, 200fr)); gap: 64px; }
.footer__brand img { width: 156px; height: 28px; object-fit: contain; }
.footer__brand p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 360px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.4; }
.footer__col h4, .footer__col .footer__h { margin: 0; font-family: var(--font-body); line-height: 1.4; font-weight: 500; color: var(--text); font-size: 14px; }
.footer__col a { color: var(--muted); transition: color .3s, transform .4s var(--ease-out); width: fit-content; }
.footer__col a:hover { color: var(--text); transform: translateX(3px); }
.disclosures { margin: 40px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.disclosures p { margin: 0; color: var(--muted); line-height: 1.65; }
.disclosures a { color: var(--muted-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.disclosures a:hover { color: var(--text); text-decoration-color: var(--text); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .webull { gap: 48px; }
}
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .coverage { flex-direction: column; align-items: stretch; gap: 24px; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__menu-btn { display: block; }
  .nav__inner { min-height: 72px; padding-block: 14px; }
  html { scroll-padding-top: 72px; }
  .nav__drawer {
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out);
    border-top: 1px solid transparent;
  }
  .nav.is-open .nav__drawer { grid-template-rows: 1fr; border-top-color: var(--line); }
  .nav__drawer > div { overflow: hidden; }
  .nav__drawer nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; }
  .nav__drawer a:not(.btn) { padding: 14px 0; font-size: 20px; font-family: var(--font-display); font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); }
  .nav__drawer a.is-active { color: var(--text); }
  .nav__drawer .btn { margin-top: 20px; justify-content: center; }
  .nav.is-open { background: rgba(10, 10, 15, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .what__grid { grid-template-columns: 1fr; }
  .webull { flex-direction: column; align-items: stretch; }
  .phone { align-self: center; width: min(320px, 78vw); height: auto; aspect-ratio: 1 / 2; }
  .news__grid { grid-template-columns: 1fr; }
  .ncard__img { height: 200px; }
  .vol__range { display: none; }
  .player__prompt { left: 16px; bottom: 16px; }
  .marquee__track { zoom: .82; }
}
@media (max-width: 640px) {
  .hero__inner { gap: 24px; }
  .hero__sub br { display: none; }
  .player { aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; }
  .player__prompt { left: 12px; bottom: 12px; height: 40px; font-size: 13px; padding-right: 14px; gap: 8px; }
  .player__prompt-icon { width: 26px; height: 26px; }
  .player__scrim { height: 110px; }
  .trusted { padding-block: 56px; }
  .marquee { margin-top: 24px; height: 80px; }
  .marquee__track { zoom: .7; }
  .player__bar { padding: 0 8px 4px; }
  .pbtn { width: 40px; height: 40px; }
  .scrub { height: 22px; }
  .ptime { font-size: 12px; padding: 0 4px; }
  .steps { grid-template-columns: 1fr; }
  .news__head { flex-direction: column; align-items: flex-start; }
  .player.player--inline { border-radius: 12px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .eg__ctas .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
  .split .w > span { opacity: 1; transform: none; filter: none; }
  .player { opacity: 1; --lift: 0px; --scale: 1; --tilt: 0deg; }
}

/* ============================================================
   Print: black on white, no chrome or motion; content always fully shown
   ============================================================ */
@media print {
  :root { --text: #111; --muted: #444; --muted-2: #222; --line: #ccc; --line-strong: #999; --surface: #fff; --surface-2: #fff; --bg: #fff; }
  html, body { background: #fff !important; color: #111 !important; }
  .nav, .skip, .mpill, .aurora, .burst, .hero__grid, .hero__glow, .company__glow, .cta__orb,
  .legal__toc, .player__bar, .player__prompt, .player__scrim, .player__flash, .phone__toggle, .marquee, .press-more,
  .footer__top, video { display: none !important; }
  /* scroll reveals and masks must never hide content on paper */
  main *, footer * { opacity: 1 !important; transform: none !important; clip-path: none !important; visibility: visible !important; }
  main [hidden] { display: revert !important; }
  .hero, .eg-hero, .company__hero, .legal-hero, .cta, .section, .notfound { background: none !important; padding-block: 24px !important; }
  .card { background: #fff !important; border-color: #ccc !important; box-shadow: none !important; }
  .card::before, .card::after { display: none !important; }
  h1, h2, h3, h4, .display { color: #111 !important; break-after: avoid; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a { color: #111 !important; }
  .footer { border: 0; padding-top: 12px; background: #fff !important; }
  .disclosures { margin-top: 0; }
  /* legal pages: one clean column, addresses written out after links */
  .legal__grid { display: block; }
  .legal__body { max-width: none; font-size: 11pt; line-height: 1.55; color: #111; }
  .legal__body h2 { font-size: 15pt; margin: 22px 0 8px; }
  .legal__body .legal__sub { font-size: 11pt; margin: 14px 0 4px; }
  .legal__body a[href^="http"]:not(.is-url)::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; overflow-wrap: anywhere; }
  .legal-hero__title { font-size: 26pt; }
  @page { margin: 18mm 16mm; }
}
