/* Coinbase IR — stylesheet.
 * Design tokens first, then layout primitives, then one block per section. */

:root {
  --blue: #0052FF;
  --blue-dark: #0041CC;
  --blue-tint: #E4EDFF;
  --blue-wash: #F0F4FF;
  --blue-wash-line: #DCE7FF;
  --blue-sky: #7FA8FF;

  --ink: #0A0B0D;
  --ink-soft: #22252B;
  --slate: #5B616E;
  --muted: #8A919E;

  --line: #ECEFF3;
  --line-strong: #D8DEE7;
  --wash: #F7F9FC;

  --green: #05955B;
  --red: #DF1B41;
  --live: #FF5C5C;

  --shell: 1240px;
  --gutter: 32px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;
  --pill: 999px;

  --shadow-card: 0 30px 70px -34px rgba(10, 11, 13, .28);
  --shadow-hover: 0 10px 30px -12px rgba(10, 11, 13, .15);
  --shadow-tip: 0 10px 28px rgba(10, 11, 13, .14);
}

/* ------------------------------------------------------------------- reset */

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
::selection { background: var(--blue); color: #fff; }

img { max-width: 100%; }

[hidden] { display: none !important; }

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skiplink {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-tip);
}
.skiplink:focus { left: 8px; }

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.mount { flex: 1; display: flex; flex-direction: column; }

/* --------------------------------------------------------------- keyframes */

@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ------------------------------------------------------------------ shared */

.blip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
  animation: pulse 2s infinite;
}
.blip--red { width: 7px; height: 7px; background: var(--live); animation-duration: 1.4s; }
.blip--green { width: 8px; height: 8px; background: var(--green); animation-duration: 1.6s; }

.tone-up { color: var(--green); }
.tone-down { color: var(--red); }
.tone-neutral { color: var(--slate); }

.h1 { margin: 0 0 12px; font-size: 42px; font-weight: 800; letter-spacing: -.03em; }
.h1--sm { font-size: 38px; margin-bottom: 10px; }
.h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.h3--gap { margin-bottom: 20px; }
.h3--top { margin-top: 36px; }
.h4 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }

.lede { max-width: 640px; margin-bottom: 40px; }
.lede__sub { margin: 0; font-size: 17px; line-height: 1.55; color: var(--slate); text-wrap: pretty; }
.lede__sub--sm { font-size: 16px; max-width: 560px; }
.lede__sub--gap { margin-bottom: 40px; max-width: 620px; }

.fine { margin: 28px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.fine--wide { margin-top: 26px; font-size: 11.5px; max-width: 820px; }

.link { font-size: 14px; font-weight: 700; }
.link--sm { font-size: 12.5px; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--pill);
}
.eyebrow--tint { color: var(--blue); background: var(--blue-tint); margin-bottom: 22px; }
.eyebrow--live {
  color: var(--live);
  background: rgba(255, 92, 92, .12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 5px 11px;
}

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }

.rule { display: flex; align-items: center; gap: 14px; margin: 36px 0 22px; }
.rule__line { height: 1px; flex: 1; background: var(--line); }
.rule__note { font-size: 13px; color: var(--slate); font-weight: 600; }

.stack { display: flex; flex-direction: column; gap: 14px; }
.stack--tight { gap: 12px; }
.stack--tight .channel { gap: 12px; }

.sticky { position: sticky; top: 96px; }

/* -------------------------------------------------------------------- btns */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--pill);
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; padding: 13px 22px; }
.btn--ink:hover { background: var(--ink-soft); color: #fff; }
.btn--sm { font-size: 13.5px; font-weight: 600; padding: 9px 16px; }
.btn--block { width: 100%; margin-top: 18px; font-size: 13.5px; padding: 12px; }

/* --------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 12px 24px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nav__brand { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__brand img { height: 22px; width: auto; display: block; }
.nav__brand-sub { font-size: 17px; font-weight: 500; color: var(--slate); white-space: nowrap; }

/* Second row: the section tabs scroll horizontally rather than wrapping, so
   the header keeps a fixed height at every width.

   Left padding is 13px, not 16px, so the first tab's TEXT lands at 24px —
   flush with the wordmark above it (24px .nav__inner padding − 11px .navtab
   padding = 13px). The active pill's background bleeds 11px further left on
   purpose; aligning the pill edge instead would push the text visibly inboard.
   If .nav__inner's padding or .navtab's changes, re-derive this. */
.nav__tabrow {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 16px 8px 13px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav__tabrow::-webkit-scrollbar { display: none; }
.navtab {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: var(--r-sm);
  color: var(--ink);
  white-space: nowrap;
  flex: none;
  transition: background .15s;
}
.navtab:hover { background: #EEF2F8; color: var(--ink); }
.navtab.is-active { background: var(--ink); color: #fff; font-weight: 700; }

.nav__right { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.pill {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 12.5px;
  white-space: nowrap;
}
.pill__sym { font-weight: 700; }
.pill__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.pill__delta { color: var(--green); font-weight: 600; }

/* --------------------------------------------------- "Open in…" AI menu */

.aimenu { position: relative; display: flex; }

.aimenu__panel {
  position: absolute;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 18px 44px -14px rgba(10, 11, 13, .25);
  padding: 6px;
  display: flex;
  flex-direction: column;
}
/* Header menu hangs from the right edge, hero menu from the left. */
.nav .aimenu__panel { right: 0; }
.hero .aimenu__panel { left: 0; }

.aimenu__item {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: var(--r-sm);
  padding: 10px 12px;
  text-align: left;
  background: transparent;
  color: var(--ink);
  width: 100%;
}
.aimenu__item:hover { background: var(--blue-wash); color: var(--ink); }

.aimenu__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: none;
}
.aimenu__icon--gpt { background: var(--ink); color: #fff; font-size: 10px; }
.aimenu__icon--claude { background: #D97757; color: #fff; font-size: 13px; }
.aimenu__icon--copy { background: var(--blue-tint); color: var(--blue); font-size: 13px; }

.aimenu__text { flex: 1; min-width: 0; }
.aimenu__label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.aimenu__sub { display: block; font-size: 12px; color: var(--slate); }

/* Split button: link on the left, caret on the right, one pill overall. */
.splitbtn { display: flex; }
.splitbtn__main,
.splitbtn__toggle {
  display: flex;
  align-items: center;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line-strong);
  transition: border-color .15s, color .15s;
}
.splitbtn__main {
  font-size: 15px;
  padding: 14px 20px 14px 26px;
  border-radius: var(--pill) 0 0 var(--pill);
  border-right: none;
  color: var(--ink);
}
.splitbtn__toggle {
  font-size: 12px;
  padding: 14px 16px 14px 12px;
  border-radius: 0 var(--pill) var(--pill) 0;
  border-left: 1px solid var(--line);
  color: var(--slate);
}
.splitbtn__main:hover,
.splitbtn__toggle:hover { border-color: var(--ink); color: var(--ink); }

/* -------------------------------------------------------------------- page */

.page { flex: 1; }
.page--narrowtop {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter) 96px;
  width: 100%;
}
.page--wash { background: var(--wash); }
.page__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px var(--gutter) 80px;
  width: 100%;
}

.section { max-width: var(--shell); margin: 0 auto; padding: 56px var(--gutter); width: 100%; }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.section__head--tight { margin-bottom: 18px; }
.section--split {
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
}

.band { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__inner { max-width: var(--shell); margin: 0 auto; padding: 56px var(--gutter); }

.grid { display: grid; gap: 16px; }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid--feature { grid-template-columns: repeat(auto-fit, minmax(360px, 1.5fr)); gap: 20px; }
.grid--episodes { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--podtop { grid-template-columns: repeat(auto-fit, minmax(400px, 1.25fr)); gap: 20px; margin-bottom: 20px; }
.grid--archive { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: start; }
.grid--execs { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 52px; }
.grid--docs { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.grid--room { grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* -------------------------------------------------------------------- hero */

.hero { background: linear-gradient(180deg, #fff 0%, var(--blue-wash) 100%); border-bottom: 1px solid var(--line); }
.hero__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 72px var(--gutter) 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 48px;
  align-items: center;
}
.hero__copy { animation: fadeUp .5s ease both; }
.hero__card { animation: fadeUp .5s .08s ease both; }
.hero__title {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: min(639px, 100%);
}
.hero__sub { margin: 0 0 30px; font-size: 18px; line-height: 1.55; color: var(--slate); max-width: 520px; text-wrap: pretty; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.herocard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px 14px;
  box-shadow: var(--shadow-card);
}
.herocard__head { margin-bottom: 6px; }
.herocard__label { font-size: 12.5px; font-weight: 700; color: var(--slate); }
.herocard__row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.herocard__value { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.herocard__delta { font-size: 13px; font-weight: 700; color: var(--green); }
.herocard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.chart { display: block; }
.chart--hero { width: 100%; }

.dots { display: flex; gap: 6px; align-items: center; }
.dot {
  padding: 0;
  width: 22px;
  height: 4px;
  border-radius: var(--pill);
  background: var(--line-strong);
  transition: background .2s;
}
.dot.is-active { background: var(--blue); }

/* --------------------------------------------------------------- statcards */

.statcard { padding: 22px; transition: box-shadow .2s; }
.statcard:hover { box-shadow: var(--shadow-hover); }
.statcard__label { font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 10px; }
.statcard__value { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.statcard__delta { font-size: 13px; font-weight: 600; margin-top: 8px; }

/* --------------------------------------------------------------------- ask */

.ask { background: var(--wash); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; }
.ask__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.ask__mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
  font-size: 14px;
}
.ask__title { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ask__badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: var(--pill);
}
.ask__fine { font-size: 11px; color: var(--muted); margin-top: 10px; }
.ask__fine a { font-size: 11px; }

.chat__log {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 2px 4px;
}
.chat__row { display: flex; gap: 8px; margin-top: 12px; }
.chat__input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  padding: 12px 18px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: #fff;
}
.chat__input:focus { border-color: var(--blue); }
.chat__row .btn { font-size: 14px; padding: 12px 22px; flex: none; }

.bubble { display: flex; }
.bubble--user { justify-content: flex-end; }
.bubble--assistant { justify-content: flex-start; }
.bubble__body {
  max-width: 72%;
  padding: 11px 15px;
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.bubble--user .bubble__body { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.bubble--assistant .bubble__body { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.thinking {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--slate);
  font-weight: 600;
  padding: 2px 4px;
}
.thinking .blip { width: 7px; height: 7px; animation-duration: 1s; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: #fff;
  color: var(--slate);
  text-align: left;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ----------------------------------------------------------------- feature */

.embed { display: block; width: 100%; border: none; }
.embed--spotify { border-radius: var(--r-sm); }
.embed--wide { aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--ink); }
.embed--feature { flex: 1; min-height: 320px; background: var(--ink); }

.feature { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); display: flex; flex-direction: column; }
.feature__foot {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.feature__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 4px;
}
.feature__title { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.feature__link { font-size: 12.5px; font-weight: 700; color: var(--blue-sky); white-space: nowrap; }
.feature__link:hover { color: #fff; }

/* -------------------------------------------------------------------- docs */

.doc {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  transition: border-color .15s;
}
.doc:hover { border-color: var(--blue); color: var(--ink); }
.doc__tag {
  border-radius: var(--r-sm);
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: none;
}
.doc__body { flex: 1; min-width: 0; }
.doc__title { display: block; font-weight: 700; }
.doc__meta { display: block; color: var(--slate); margin-top: 2px; }
.doc__arrow { color: var(--blue); font-weight: 800; }

.doc--lg { flex: 1; padding: 20px 22px; }
.doc--lg .doc__tag { width: 44px; height: 44px; font-size: 11px; }
.doc--lg .doc__title { font-size: 15px; }
.doc--lg .doc__meta { font-size: 13px; }

.doc--sm { background: #fff; border-radius: var(--r-md); padding: 18px 20px; gap: 14px; }
.doc--sm .doc__tag { width: 40px; height: 40px; font-size: 10px; }
.doc--sm .doc__title { font-size: 14px; }
.doc--sm .doc__meta { font-size: 12px; }

.doc--gov { border-radius: var(--r-md); padding: 16px 20px; gap: 14px; }
.doc--gov .doc__tag { width: 38px; height: 38px; font-size: 10px; }
.doc--gov .doc__title { font-size: 14.5px; }
.doc--gov .doc__meta { font-size: 12.5px; }

/* -------------------------------------------------------- news/event rows */

.datebadge {
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  background: var(--blue-tint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
}
.datebadge__mo { font-size: 10px; font-weight: 800; color: var(--blue); text-transform: uppercase; }
.datebadge__day { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1; }
.datebadge--dark { width: 48px; height: 48px; background: rgba(0, 82, 255, .18); }
.datebadge--dark .datebadge__mo { font-size: 9px; color: var(--blue-sky); }
.datebadge--dark .datebadge__day { font-size: 17px; color: #fff; }

.newsrow,
.eventrow {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: center;
}
.newsrow { color: var(--ink); }
.newsrow__title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.newsrow:hover .newsrow__title { color: var(--blue); }
.eventrow__body { flex: 1; }
.eventrow__title { font-size: 15px; font-weight: 700; }
.eventrow__meta { font-size: 13px; color: var(--slate); margin-top: 2px; }
.tagbtn {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid #C9DAFF;
  padding: 6px 12px;
  border-radius: var(--pill);
  white-space: nowrap;
}
.tagbtn:hover { background: var(--blue-tint); }

/* ---------------------------------------------------------------- podcasts */

.panel { border-radius: var(--r-lg); }
.panel--dark { background: var(--ink); color: #fff; padding: 22px 24px; }
.panel--tint { background: var(--blue-wash); border: 1px solid var(--blue-wash-line); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.panel--wash { background: var(--wash); border: 1px solid var(--line); padding: 26px; margin-bottom: 16px; }
.panel--blue { background: var(--blue); color: #fff; padding: 30px; margin-bottom: 16px; }
.panel--gap { margin-top: 24px; padding: 24px; }

.panel__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.panel--blue .panel__title { font-size: 22px; margin: 0 0 8px; }
.panel__title--sm { font-size: 15px; font-weight: 800; margin: 0 0 8px; letter-spacing: 0; }
.panel__meta { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.panel__meta a { color: var(--blue-sky); }
.panel__kicker { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.panel__kicker--sky { color: var(--blue-sky); font-size: 13px; margin-bottom: 16px; }
.panel__lede { font-size: 14.5px; color: #CFE0FF; line-height: 1.55; margin-bottom: 20px; }
.panel__body { font-size: 14px; color: var(--slate); line-height: 1.6; }
.panel__body--loose { line-height: 1.7; }
.panel--dark .panel__body { color: var(--muted); }

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 11px 15px;
  border: 1px solid transparent;
  color: var(--ink);
}
.channel:hover { border-color: var(--blue); color: var(--ink); }
.channel__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.channel__body { flex: 1; min-width: 0; }
.channel__name { display: block; font-size: 13.5px; font-weight: 700; }
.channel__meta { display: block; font-size: 12px; color: var(--slate); }
.channel__arrow { color: var(--blue); font-weight: 800; }

/* ------------------------------------------------------------- data room */

.tape { border-bottom: 1px solid var(--line); overflow: hidden; background: #fff; }
.tape__track { display: flex; white-space: nowrap; width: max-content; animation: tape 30s linear infinite; }
.tape__item { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 26px; font-size: 13px; }
.tape__sym { color: var(--slate); font-weight: 700; }
.tape__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.tape__chg { font-weight: 600; }

.roomhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.livebadge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.roomgrid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.roomgrid__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  align-self: stretch;
}

.metricnav { display: flex; flex-direction: column; gap: 20px; }
.metricnav__group {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 4px;
}
.metricnav__items { display: flex; flex-direction: column; gap: 6px; }
.metricnav__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .15s;
}
.metricnav__item:hover { border-color: var(--blue); }
.metricnav__item.is-active { background: var(--blue-tint); border-color: var(--blue); }
.metricnav__label { font-size: 13.5px; font-weight: 700; }
.metricnav__item.is-active .metricnav__label { color: var(--blue); }
.metricnav__latest { font-size: 12.5px; font-weight: 700; color: var(--slate); font-variant-numeric: tabular-nums; }

.chartcard {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 18px;
}
.chartcard__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.chartcard__label { font-size: 14px; font-weight: 700; color: var(--slate); }
.chartcard__row { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; }
.chartcard__value { font-size: 38px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chartcard__delta { font-size: 15px; font-weight: 700; }
.chartcard__desc { font-size: 12px; color: var(--muted); text-align: right; max-width: 260px; line-height: 1.5; }
.chartcard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.chartcard__source { font-size: 11.5px; color: var(--muted); }

.plot { position: relative; flex: 1; display: flex; }
.chart--main { width: 100%; height: 100%; min-height: 430px; }

.tip {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -110%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 13px;
  box-shadow: var(--shadow-tip);
  white-space: nowrap;
}
.tip__q { font-size: 11px; color: var(--slate); font-weight: 700; }
.tip__v { font-size: 16px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.exports { display: flex; gap: 8px; }
.exportbtn {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate);
  border: 1px solid var(--line-strong);
  padding: 4px 11px;
  border-radius: var(--pill);
  transition: color .15s, border-color .15s;
}
.exportbtn:hover { color: var(--blue); border-color: var(--blue); }

.roomstat { border-radius: var(--r-md); padding: 18px 20px; }
.roomstat__label { font-size: 12px; font-weight: 700; color: var(--slate); }
.roomstat__value { font-size: 24px; font-weight: 800; margin-top: 6px; letter-spacing: -.01em; }
.roomstat__note { font-size: 12px; font-weight: 600; margin-top: 4px; }

.docroom { margin-top: 44px; }
.docroom .rule { margin: 0 0 18px; }

/* -------------------------------------------------------------------- news */

.filters { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.filter {
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
}
.filter:hover { border-color: var(--blue); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.newsitem { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.newsitem__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.newsitem__date { font-size: 13px; color: var(--slate); font-weight: 600; }
.newsitem__title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.newsitem:hover .newsitem__title { color: var(--blue); }
.newsitem__sub { font-size: 14px; color: var(--slate); margin-top: 6px; line-height: 1.5; text-wrap: pretty; }

.newstag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--pill);
}
.newstag--earnings { background: var(--blue-tint); color: var(--blue); }
.newstag--product { background: #E6F7EF; color: var(--green); }
.newstag--corporate { background: #F3E8FF; color: #7C3AED; }
.newstag--filing { background: #FFF1E4; color: #B45309; }

.darkevent {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.darkevent__body { flex: 1; }
.darkevent__title { font-size: 14px; font-weight: 700; }
.darkevent__meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* -------------------------------------------------------------- governance */

.avatar {
  border-radius: 50%;
  background: var(--blue-tint);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--blue);
  flex: none;
  overflow: hidden;
}
.avatar__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 72px; height: 72px; font-size: 18px; margin-bottom: 14px; }
.avatar--sm { width: 42px; height: 42px; font-size: 13px; background: var(--blue-wash); }

.execcard { padding: 22px; transition: box-shadow .2s; }
.execcard:hover { box-shadow: var(--shadow-hover); }
.execcard__name { font-size: 16px; font-weight: 800; }
.execcard__role { font-size: 13px; color: var(--blue); font-weight: 700; margin: 3px 0 8px; }
.execcard__bio { font-size: 13px; color: var(--slate); line-height: 1.5; }

.boardrow { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.boardrow__body { flex: 1; }
.boardrow__name { font-size: 15px; font-weight: 700; }
.boardrow__role { font-size: 13px; color: var(--slate); }
.boardrow__chip {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 4px 10px;
  border-radius: var(--pill);
  white-space: nowrap;
}

.shareclasses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.shareclasses__k { font-size: 20px; font-weight: 800; color: #fff; }

/* --------------------------------------------------------------- resources */

.faq { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.faq__q:hover { color: var(--blue); }
.faq__glyph { color: var(--blue); font-size: 18px; font-weight: 800; flex: none; }
.faq__a { padding: 0 22px 20px; font-size: 14.5px; color: var(--slate); line-height: 1.6; text-wrap: pretty; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: var(--pill);
  background: var(--wash);
}

.signup__row { display: flex; gap: 8px; }
.signup__input {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: var(--pill);
  padding: 13px 18px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.signup__error { margin-top: 10px; font-size: 13px; font-weight: 700; color: #FFD9DE; }
.signup__ok {
  background: rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 14.5px;
  font-weight: 700;
}

.kv { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv__k { color: var(--slate); font-weight: 600; }
.kv__v { font-weight: 700; text-align: right; }

/* ------------------------------------------------------------------ footer */

.footer { background: var(--ink); color: var(--muted); }
.footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__brand { max-width: 360px; }
.footer__brand img { height: 19px; width: auto; display: block; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer__fine { margin: 0; font-size: 12.5px; line-height: 1.65; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; font-size: 13.5px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__coltitle { color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer__col a { color: var(--muted); }
.footer__col a:hover { color: #fff; }

/* ------------------------------------------------------------------- toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--pill);
  box-shadow: var(--shadow-tip);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 80;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .roomgrid { grid-template-columns: minmax(0, 1fr); }
  .chartcard__desc { text-align: left; max-width: none; }
  .sticky { position: static; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .hero__inner { padding: 48px var(--gutter); grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero__title { font-size: 34px; }
  .hero__sub { font-size: 16px; }
  .h1 { font-size: 32px; }
  .h1--sm { font-size: 30px; }
  .h2 { font-size: 22px; }
  .section, .band__inner { padding: 40px var(--gutter); }
  .page--narrowtop { padding: 40px var(--gutter) 64px; }
  .page__inner { padding: 32px var(--gutter) 56px; }
  .section--split { gap: 32px; }
  .grid--split, .grid--stats, .grid--feature, .grid--episodes,
  .grid--podtop, .grid--archive, .grid--execs, .grid--docs {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid--room { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask { padding: 20px; }
  .chartcard { padding: 20px 18px 14px; }
  .chart--main { min-height: 320px; }
  .footer__cols { gap: 32px; }
  .nav__inner { padding: 10px var(--gutter) 6px; }
  /* Same derivation as above against the 20px mobile gutter: 20 − 11 = 9. */
  .nav__tabrow { padding: 0 12px 8px 9px; }
  .bubble__body { max-width: 86%; }
  .splitbtn__main { padding: 14px 16px 14px 20px; font-size: 14px; }
  .splitbtn__toggle { padding: 14px 14px 14px 10px; }
  .aimenu__panel { min-width: min(250px, calc(100vw - 40px)); }
  .nav .aimenu__panel { right: 0; }
}
