/* Myseum.AI v2 — site system */
:root {
  --ink: #0b1437;
  --ink-2: #33406a;
  --muted: #5d6789;
  --line: #e2e7f3;
  --line-2: #cfd7ea;
  --mist: #f5f7fc;
  --white: #fff;
  --blue: #1a6bff;
  --blue-deep: #0d52d9;
  --violet: #7b3cff;
  --magenta: #e04bf2;
  --amber: #ffb03a;
  --up: #0a8f5b;
  --down: #d6334f;
  --on-ink: #f1f4ff;
  --on-ink-2: #aab4d8;

  --font: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1136px;
  --gutter: clamp(20px, 4vw, 32px);
  --radius: 10px;
  --radius-lg: 16px;
  --skew: 6deg;
  --pad: clamp(88px, 10vw, 144px);
  --pad-tight: clamp(56px, 7vw, 88px);
  --skew-h: calc(tan(var(--skew)) * 100vw);

  --shadow-sm: 0 2px 5px -1px rgb(11 20 55 / .12), 0 1px 3px -1px rgb(0 0 0 / .1);
  --shadow: 0 13px 27px -5px rgb(11 20 55 / .22), 0 8px 16px -8px rgb(0 0 0 / .25);
  --shadow-lg: 0 50px 100px -20px rgb(11 20 55 / .3), 0 30px 60px -30px rgb(0 0 0 / .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font);
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
button { font: inherit; color: inherit; }
::selection { background: rgb(26 107 255 / .22); color: var(--ink); }
.section--ink ::selection, .hero ::selection { background: rgb(255 176 58 / .4); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section--ink :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: var(--amber); }
input, select, textarea { caret-color: var(--blue); }
html { scrollbar-color: #b9c3dd transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #c4cce2; border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: #98a4c6; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus, .skip:hover { top: 12px; color: #fff; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.section { position: relative; padding: var(--pad) 0; }
.section--tight { padding: var(--pad-tight) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-ink-2); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a:not(.btn) { color: #9fc0ff; }
.section--ink a:not(.btn):hover { color: #fff; }
.skew-top { clip-path: polygon(0 var(--skew-h), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--skew-h) * -1); padding-top: calc(var(--pad) + var(--skew-h)); }
/* An angled section slides up under the one above it by --skew-h, so that one keeps a matching margin of clear space. */
.section:has(+ .skew-top) { padding-bottom: calc(var(--pad) + var(--skew-h)); }
.section--tight:has(+ .skew-top) { padding-bottom: calc(var(--pad-tight) + var(--skew-h)); }
.rails::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  --c: rgb(11 20 55 / .06);
  background:
    linear-gradient(var(--c), var(--c)) calc(50% - var(--wrap) / 2) 0 / 1px 100% no-repeat,
    linear-gradient(var(--c), var(--c)) calc(50% - var(--wrap) / 4) 0 / 1px 100% no-repeat,
    linear-gradient(var(--c), var(--c)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--c), var(--c)) calc(50% + var(--wrap) / 4) 0 / 1px 100% no-repeat,
    linear-gradient(var(--c), var(--c)) calc(50% + var(--wrap) / 2) 0 / 1px 100% no-repeat;
  -webkit-mask: linear-gradient(transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.section--ink.rails::before { --c: rgb(255 255 255 / .07); }
.rails > * { position: relative; z-index: 1; }
.grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- type ---------- */
.display { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); line-height: 1.02; letter-spacing: -.038em; font-weight: 500; }
.h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
.h4 { font-size: 1.06rem; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.section--ink .lede { color: var(--on-ink-2); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.head .lede { margin-top: 20px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lede { margin-inline: auto; }
.accent { color: var(--blue); }
.section--ink .accent { color: var(--amber); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; gap: 2px;
  height: 44px; padding: 0 16px 0 20px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 0; cursor: pointer;
  font: 600 15px/1 var(--font); letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { --bg: var(--blue-deep); color: var(--fg); }
.btn--ink { --bg: var(--ink); }
.btn--ink:hover { --bg: #1d2a5c; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: #eef2ff; --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); padding-left: 4px; }
.btn--ghost:hover { --bg: transparent; --fg: var(--blue); }
.on-dark .btn--ghost, .section--ink .btn--ghost, .hero .btn--ghost { --fg: #fff; }
.on-dark .btn--ghost:hover, .section--ink .btn--ghost:hover, .hero .btn--ghost:hover { --fg: #fff; opacity: .72; }
.btn--sm { height: 34px; font-size: 14px; padding: 0 10px 0 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.arrow { width: 10px; height: 10px; margin-left: 6px; overflow: visible; flex: none; }
.arrow .shaft { opacity: 0; transition: opacity .15s; }
.arrow .head { transition: transform .15s var(--ease); }
a:hover > .arrow .shaft, button:hover > .arrow .shaft, a:focus-visible > .arrow .shaft { opacity: 1; }
a:hover > .arrow .head, button:hover > .arrow .head, a:focus-visible > .arrow .head { transform: translateX(3px); }
.link { font-weight: 600; display: inline-flex; align-items: center; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- header / nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  color: #fff; transition: background-color .25s, box-shadow .25s, color .25s;
}
.nav.is-solid, .nav.is-open { background: rgb(255 255 255 / .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(1px)) { .nav.is-solid { background: rgb(255 255 255 / .82); backdrop-filter: saturate(1.6) blur(14px); } }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand svg { width: 132px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-trigger, .nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: none; border: 0; color: inherit; font: 500 15px/1 var(--font); cursor: pointer; transition: opacity .2s, background-color .2s;
}
.nav-trigger:hover, .nav-link:hover, .nav-trigger[aria-expanded="true"] { color: inherit; opacity: .72; }
.nav-link[aria-current="page"], .nav-trigger.is-current { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-trigger .chev { width: 9px; height: 9px; transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ticker {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px;
  font: 500 13px/1 var(--mono); color: inherit; background: rgb(255 255 255 / .14); white-space: nowrap;
}
.nav.is-solid .ticker, .nav.is-open .ticker { background: var(--mist); }
.ticker:hover { color: inherit; background: rgb(255 255 255 / .22); }
.nav.is-solid .ticker:hover { background: #e9eefa; }
.ticker b { font-weight: 600; font-family: var(--font); letter-spacing: .02em; }
.ticker .chg { opacity: .85; }
.ticker[data-state="loading"] .val { opacity: .5; }
.nav .btn { --bg: rgb(255 255 255 / .18); }
.nav .btn:hover { --bg: rgb(255 255 255 / .28); }
.nav.is-solid .btn, .nav.is-open .btn { --bg: var(--ink); --fg: #fff; }
.nav.is-solid .btn:hover, .nav.is-open .btn:hover { --bg: #1d2a5c; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 10px; }
.nav-burger svg { width: 22px; height: 22px; margin: auto; }

/* morphing dropdown */
.drop {
  position: fixed; top: 64px; left: 0; z-index: 60;
  perspective: 1200px; pointer-events: none;
}
.drop-shell {
  position: relative; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg), 0 0 0 1px rgb(11 20 55 / .04);
  overflow: hidden; opacity: 0; transform: rotateX(-12deg) translateY(-6px); transform-origin: 50% -40px;
  transition: opacity .22s var(--ease), transform .3s var(--ease), width .38s var(--ease), height .38s var(--ease);
}
.drop.is-open { pointer-events: auto; }
.drop.is-open .drop-shell { opacity: 1; transform: none; }
.drop-shell::before { content: ""; position: absolute; top: -6px; left: var(--caret, 50%); width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.drop-panel { position: absolute; top: 0; left: 0; padding: 22px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .38s var(--ease), visibility 0s .38s; color: var(--ink-2); }
.drop-panel.is-active { opacity: 1; visibility: visible; transition: opacity .25s .08s, transform .38s var(--ease), visibility 0s; }
.drop-panel.from-left { transform: translateX(-60px); }
.drop-panel.from-right { transform: translateX(60px); }
.drop-panel.is-active { transform: none; }
.drop-grid { display: grid; gap: 4px 12px; }
.drop-grid--2 { grid-template-columns: repeat(2, 244px); }
.drop-grid--1 { grid-template-columns: 280px; }
.drop-item { display: flex; gap: 14px; padding: 10px 12px; border-radius: 10px; color: var(--ink); align-items: flex-start; }
.drop-item:hover, .drop-item:focus-visible { background: var(--mist); color: var(--ink); }
.drop-item .ic { flex: none; display: grid; place-items: center; color: var(--blue); padding-top: 1px; }
.drop-item .ic svg { width: 20px; height: 20px; }
.drop-item b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.drop-item span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.drop-item .ext { width: 10px; height: 10px; display: inline-block; margin-left: 4px; vertical-align: 1px; color: var(--muted); }
.drop-foot { margin: 14px -22px -22px; padding: 16px 34px; background: var(--mist); border-top: 1px solid var(--line); display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.drop-foot a { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; }
.drop-foot a:hover { color: var(--blue); }
.drop-list { list-style: none; margin: 0; padding: 0; }
.drop-list a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.drop-list a:hover { background: var(--mist); color: var(--ink); }
.ic--pp { color: var(--violet) !important; }
.ic--ent { color: var(--ink) !important; }
.ic--mag { color: var(--magenta) !important; }
.ic--dc { color: #c97d00 !important; }

/* mobile sheet */
.sheet { display: none; }
@media (max-width: 980px) {
  .nav-menu, .nav-end .btn, .drop { display: none; }
  .nav-burger { display: grid; margin-left: 0; }
  .nav-end { gap: 6px; }
  .sheet {
    display: block; position: fixed; inset: 72px 0 0; z-index: 49; background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s;
  }
  .sheet.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
  .sheet details { border-bottom: 1px solid var(--line); }
  .sheet summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 600 19px/1.2 var(--font); color: var(--ink); }
  .sheet summary::-webkit-details-marker { display: none; }
  .sheet summary svg { width: 12px; height: 12px; transition: transform .2s; }
  .sheet details[open] summary svg { transform: rotate(180deg); }
  .sheet ul { list-style: none; margin: 0 0 16px; padding: 0; }
  .sheet li a { display: block; padding: 10px 0; color: var(--ink-2); font-size: 16.5px; }
  .sheet .sheet-cta { margin-top: 28px; display: grid; gap: 12px; }
  .sheet .sheet-cta .btn { justify-content: center; height: 50px; }
  body.sheet-open { overflow: hidden; }
}
@media (max-width: 420px) { .ticker .chg { display: none; } .brand svg { width: 112px; } }

/* ---------- hero / gradient ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  padding: calc(72px + clamp(56px, 9vw, 112px)) 0 calc(clamp(96px, 12vw, 168px) + var(--skew-h));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--skew-h)), 0 100%);
}
.hero--page { padding-bottom: calc(clamp(64px, 8vw, 104px) + var(--skew-h)); }
.hero--short { padding-top: calc(72px + clamp(40px, 6vw, 72px)); padding-bottom: calc(clamp(48px, 6vw, 72px) + var(--skew-h)); }
.hero h1, .hero h2 { color: #fff; }
.hero .lede { color: rgb(255 255 255 / .86); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.hero-bg::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(40% 55% at 18% 30%, var(--blue) 0, transparent 70%),
    radial-gradient(35% 50% at 55% 20%, var(--violet) 0, transparent 70%),
    radial-gradient(40% 55% at 85% 45%, var(--magenta) 0, transparent 70%),
    radial-gradient(45% 50% at 70% 95%, var(--amber) 0, transparent 70%),
    var(--ink);
}
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg canvas.is-live { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 20 55 / .38), rgb(11 20 55 / 0) 40%); pointer-events: none; }
.hero-crumb { font-size: 14.5px; font-weight: 500; color: rgb(255 255 255 / .82); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hero-crumb a { color: #fff; }
.hero-crumb a:hover { color: #fff; opacity: .75; }
.hero-crumb svg { width: 8px; height: 8px; opacity: .6; }

/* page-level sub nav (investors) */
.subnav { position: sticky; top: 72px; z-index: 40; background: rgb(255 255 255 / .92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .subnav { background: rgb(255 255 255 / .78); backdrop-filter: saturate(1.6) blur(14px); } }
.subnav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }

/* ---------- cards & surfaces ---------- */
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.float { box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); background: #fff; }
.ic-badge { display: inline-flex; width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; color: var(--blue); margin-bottom: 14px; }
.ic-badge svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
.section--ink .feature p { color: var(--on-ink-2); }
.section--ink .ic-badge { color: var(--amber); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--mist); color: var(--ink-2); }
.hero .tag { background: rgb(255 255 255 / .16); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* store badges */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px; border-radius: 12px; background: var(--ink); color: #fff; line-height: 1.05; }
.store:hover { background: #1d2a5c; color: #fff; }
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .75; font-weight: 500; }
.store b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.on-dark .store, .section--ink .store, .hero .store { background: #fff; color: var(--ink); }
.on-dark .store:hover, .section--ink .store:hover, .hero .store:hover { background: #e9eefc; color: var(--ink); }

/* ---------- stock / data ---------- */
.up { color: var(--up); }
.down { color: var(--down); }
.hero .up, .section--ink .up { color: #3ee0a1; }
.hero .down, .section--ink .down { color: #ff8da1; }
.quote-price { font: 500 clamp(2.4rem, 2rem + 1.5vw, 3.2rem)/1 var(--mono); color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.quote-chg { font: 500 15px/1 var(--mono); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--open { background: #e2f7ee; color: #07734a; }
.pill--pre { background: #fff3dd; color: #7f4c05; }
.pill--closed { background: var(--mist); color: var(--muted); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .area { fill: url(#chartfill); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.stats dt { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.stats dd { margin: 0; font: 500 17px/1.2 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--mist); border-radius: 999px; }
.seg button { border: 0; background: none; height: 32px; padding: 0 14px; border-radius: 999px; font: 600 13.5px/1 var(--font); color: var(--muted); cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button.active, .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 500 14px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 40px !important; }

.field { display: grid; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 600; color: var(--ink); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  font: 400 16px/1.4 var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #5f6887; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: #aab5d3; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(26 107 255 / .16); }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--down); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--mist); white-space: nowrap; }
.table td { padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafbff; }
.form-badge { display: inline-block; font: 600 12.5px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--mist); color: var(--ink-2); white-space: nowrap; }
.fb-10k { background: #e8efff; color: var(--blue-deep); }
.fb-10q { background: #efe8ff; color: #5a25d9; }
.fb-8k { background: #fff1dc; color: #8f5507; }
.fb-s1 { background: #fde8fb; color: #a4239a; }
.fb-def { background: #e2f7ee; color: #0a7049; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager-btn { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font: 500 14px/1 var(--mono); color: var(--ink-2); cursor: pointer; }
.pager-btn:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.pager-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-btn:disabled { opacity: .4; cursor: not-allowed; }
.pager-ellipsis { align-self: center; color: var(--muted); padding: 0 4px; }

.skel { background: linear-gradient(90deg, #eef1f8 0 40%, #f7f9fd 50%, #eef1f8 60% 100%) 0 0 / 300% 100%; border-radius: 8px; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
.state-msg { padding: 28px; border-radius: var(--radius-lg); background: var(--mist); color: var(--ink-2); display: flex; gap: 14px; align-items: flex-start; }
.state-msg svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--down); }

/* press release list */
.release { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 8px 32px; }
.release:first-child { padding-top: 8px; }
.release-date { font: 500 13.5px/1.6 var(--mono); color: var(--muted); padding-top: 3px; }
.release h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
.release h3 a { color: var(--ink); }
.release h3 a:hover { color: var(--blue); }
.release p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.release-actions { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 14.5px; }
.release-actions a, .release-actions button { font-weight: 600; background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; }
.release-actions button:hover, .release-actions a:hover { color: var(--blue-deep); }
.release-body { grid-column: 2; display: none; margin-top: 18px; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--mist); font-size: 16px; color: var(--ink-2); max-width: 72ch; }
.release.is-open .release-body { display: block; }
.release-body .pr-dateline { font-weight: 600; color: var(--ink); }
.release-body .pr-subhead { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 1.2em 0 .6em; }
.release-body a { word-break: break-word; }
@media (max-width: 700px) { .release { grid-template-columns: 1fr; } .release-body { grid-column: 1; padding: 20px; } }

/* people */
.person { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; padding: 44px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; padding-top: 0; }
.person img { width: 200px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--mist); }
.person h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.person .role { font-weight: 600; color: var(--blue); margin: 6px 0 16px; font-size: 15px; }
.person p { max-width: 68ch; }
@media (max-width: 700px) { .person { grid-template-columns: 1fr; gap: 20px; } .person img { width: 140px; } }

/* prose (legal / long reads) */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto; font-size: 14px; padding-right: 8px; }
.toc p { font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; color: var(--muted); border-left: 1px solid transparent; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--blue); border-left-color: var(--blue); }
.prose { max-width: 70ch; font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-size: 1.55rem; line-height: 1.25; margin: 2.2em 0 .7em; letter-spacing: -.02em; scroll-margin-top: 104px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.8em 0 .6em; letter-spacing: -.01em; scroll-margin-top: 104px; }
.prose h4 { font-size: 1rem; font-weight: 600; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--blue); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); color: var(--ink); font-weight: 600; }
.prose .updated { display: inline-flex; font-size: 14px; color: var(--muted); margin-bottom: 1.6em; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; } }

/* close / CTA band */
.close { position: relative; }
.close-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.close-grid .h2 { margin-bottom: 20px; }
.close-item { padding-top: 6px; }
.close-item .ic-badge { margin-bottom: 14px; }
.close-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.close-item p { color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }
@media (max-width: 900px) { .close-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--mist); color: var(--muted); font-size: 14.5px; padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot .foot-h { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); margin-bottom: 18px; }
.foot address { font-style: normal; line-height: 1.7; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13.5px; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.foot-social a:hover { color: var(--blue); }
.foot-social svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal (content visible by default) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .nav, .sheet, .drop, .subnav, .foot, .hero-bg { display: none !important; }
  .hero { color: var(--ink); clip-path: none; padding: 24px 0; }
  .hero h1 { color: var(--ink); }
}
.nav:not(.is-solid):not(.is-open) .ticker .up { color: #5ff0b6; }
.nav:not(.is-solid):not(.is-open) .ticker .down { color: #ffb1bf; }
[hidden] { display: none !important; }

/* shared fixes from page builds */
.hero-crumb svg { transform: rotate(-90deg); }
.hero--short .display { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); }
.prose .bold { font-weight: 600; color: var(--ink); }
.foot { border-top: 1px solid var(--line); }
.section--ink a.store, .section--ink a.store:hover { color: var(--ink); }
.field { align-content: start; }

/* shared chrome polish (lead) */
.drop:not(.is-open) { visibility: hidden; transition: visibility 0s .3s; }
.drop.is-open { visibility: visible; transition: none; }
.drop-item b { color: var(--ink); }
.drop-item:hover b { color: var(--blue); }
.drop-grid--1 { grid-template-columns: 300px; }
.drop-item { gap: 12px; padding: 11px 14px; }
.foot-social { gap: 4px; }
.foot-social a { width: 40px; height: 40px; background: none; box-shadow: none; border-radius: 999px; color: var(--muted); }
.foot-social a:hover { background: #fff; color: var(--ink); }
.foot-social svg { width: 18px; height: 18px; }
.foot-base { align-items: center; }

/* investor pages polish (page group B: investors.html + investors/*) */
p { text-wrap: pretty; }
/* the 4-column rails only read as a grid at desktop widths; on phones the center rail cuts through body text */
@media (max-width: 700px) { .rails::before { display: none; } }
/* subnav: clear the hero's angled edge, and line the first tab's text up with the .wrap grid */
.hero + .subnav { margin-top: 24px; }
.subnav ul { margin-inline: calc(var(--gutter) * -1); padding-inline: calc(var(--gutter) - 14px); }
@media (max-width: 980px) {
  .subnav ul { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
}
/* toolbar (press, SEC): search left, filters right; filters scroll in one row on phones */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.toolbar .search { flex: 0 1 360px; min-width: min(100%, 260px); }
@media (max-width: 600px) {
  .toolbar .search { flex: 1 1 100%; }
  .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); width: calc(100% + var(--gutter) * 2); }
  .toolbar .chips::-webkit-scrollbar { display: none; }
  .chip { height: 44px; padding: 0 16px; flex: none; }
}
/* pager: range summary left, controls right; drawn chevrons instead of text glyphs */
.pager { justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.pager-sum { font-size: 14px; color: var(--muted); }
.pager-sum .num { color: var(--ink-2); }
.pager-btns { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager-btn { display: inline-grid; place-items: center; min-width: 40px; height: 40px; transition: border-color .15s, color .15s, background-color .15s; }
.pager-btn svg { width: 10px; height: 10px; }
.pager-btn .prev { transform: rotate(90deg); }
.pager-btn .next { transform: rotate(-90deg); }
.pager-btn:disabled { opacity: .35; }
@media (max-width: 600px) { .pager { flex-direction: column-reverse; } .pager-btn { min-width: 44px; height: 44px; } }
/* releases: keep the reading measure */
.release h3 { max-width: 44em; }
.release p { max-width: 72ch; }
@media (max-width: 600px) { .release-actions { gap: 0 20px; margin-top: 6px; } .release-actions a, .release-actions button { min-height: 44px; } }
/* people: on phones the portrait sits beside the name and role, the bio runs full width below */
@media (max-width: 700px) {
  .person { grid-template-columns: 88px minmax(0, 1fr); gap: 0 18px; align-items: center; padding: 36px 0; }
  .person img { width: 88px; grid-row: 1 / 3; border-radius: 12px; box-shadow: var(--shadow-sm); }
  .person > div { display: contents; }
  .person h2, .person h3 { grid-column: 2; align-self: end; font-size: 1.35rem; }
  .person .role { grid-column: 2; align-self: start; margin: 4px 0 0; }
  .person p:not(.role) { grid-column: 1 / -1; }
  .person .role + p { margin-top: 20px; }
}
.pager-sum { font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .subnav ul { padding-right: 48px; } }

/* text links on the mist ground: --blue measures 4.3:1 there, --blue-deep clears AA */
.section--mist a:not(.btn):not(.store):not(.chip):not(.pager-btn), .foot a:hover { color: var(--blue-deep); }
.section--mist a:not(.btn):not(.store):not(.chip):not(.pager-btn):hover { color: #0a3fae; }

/* final review fixes (lead) */
/* investor tab bar clears the hero's angled low point */
.hero + .subnav { margin-top: clamp(32px, 4vw, 56px); }
/* mini quote stats: same three cells in one row on phones */
@media (max-width: 700px) {
  #iq-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  #iq-stats > div { grid-column: auto !important; padding-right: 10px; }
  #iq-stats dd { font-size: 14.5px; white-space: nowrap; }
}
/* phone footer: contact lines stack, no dangling separators */
.foot-contact { display: flex; flex-wrap: wrap; gap: 4px 14px; }
@media (max-width: 700px) { .foot-contact { flex-direction: column; } .foot-contact .sep { display: none; } }
/* stats never break inside a label or a value; one order everywhere */
.stats dt, .stats dd { white-space: nowrap; }
@media (max-width: 700px) {
  #iq-stats > div { order: 0 !important; grid-row: auto !important; }
  #iq-stats dt { font-size: 12.5px; }
}
@media (max-width: 600px) { #q-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } #iq-stats dd { font-size: 13.5px; } }
