
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #021315;
  --bg-elev: #042024;
  --panel: rgba(6, 36, 38, 0.78);
  --panel-2: rgba(4, 28, 30, 0.92);
  --line: rgba(158, 255, 241, 0.10);
  --line-strong: rgba(158, 255, 241, 0.22);
  --txt: #f2fffc;
  --muted: #8eb9b3;
  --accent: #03dac5;
  --accent-2: #7ff6e8;
  --ok: #85f0b1;
  --warn: #ffd479;
  --bad: #ff8d83;
  --shadow: 0 24px 64px rgba(0,0,0,.35);
  --r: 18px;
  --r-lg: 28px;
  --pad: 1.1rem;
  --font: "Manrope", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #021315;
  scroll-padding-top: 80px; /* clear sticky nav on anchor jumps */
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--txt);
  position: relative;
  isolation: isolate;
  background-color: #021315;
  background-image:
    radial-gradient(ellipse 100% 60% at 10% -8%, rgba(3, 218, 197, 0.16), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(160, 255, 245, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% 105%, rgba(3, 100, 110, 0.35), transparent 55%),
    linear-gradient(168deg, #052226 0%, #021315 40%, #031a1e 75%, #010d0f 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Dedicated fog layer (DOM, not pseudo) — survives caches & paints reliably */
.site-fog {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.site-fog__mark {
  position: absolute;
  border-radius: 50%;
  /*
   * Logo disc through fog (outer r = 2× inner r):
   * transparent core 0–50%, thick band 50–100%, soft edge past that.
   * Not a thin “rubber band” mid-ring.
   */
  background: radial-gradient(
    circle at 50% 50%,
    transparent 0%,
    transparent 46%,
    rgba(2, 90, 95, 0.10) 50%,
    rgba(3, 140, 145, 0.18) 62%,
    rgba(3, 160, 155, 0.16) 78%,
    rgba(2, 100, 105, 0.10) 90%,
    rgba(2, 70, 78, 0.04) 96%,
    transparent 100%
  );
  box-shadow:
    0 0 100px 30px rgba(3, 120, 130, 0.04),
    inset 0 0 80px 24px rgba(2, 80, 88, 0.06);
  filter: blur(32px);
  opacity: 0.72;
  will-change: transform, opacity;
}
.site-fog__mark--a {
  width: min(110vw, 820px);
  height: min(110vw, 820px);
  top: -22%;
  right: -28%;
  animation: fogDriftA 38s ease-in-out infinite alternate;
}
.site-fog__mark--b {
  width: min(85vw, 620px);
  height: min(85vw, 620px);
  left: -30%;
  bottom: -24%;
  filter: blur(40px);
  opacity: 0.55;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 0%,
    transparent 46%,
    rgba(2, 80, 90, 0.08) 50%,
    rgba(3, 120, 130, 0.14) 64%,
    rgba(3, 130, 135, 0.12) 80%,
    rgba(2, 90, 100, 0.06) 92%,
    transparent 100%
  );
  animation: fogDriftB 48s ease-in-out infinite alternate;
}
.site-fog__bloom {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.35;
  background: radial-gradient(circle, rgba(3, 140, 150, 0.14) 0%, transparent 68%);
}
.site-fog__bloom--tl {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  top: -8%;
  left: -6%;
  animation: fogDriftA 32s ease-in-out infinite alternate-reverse;
}
.site-fog__bloom--br {
  width: min(45vw, 320px);
  height: min(45vw, 320px);
  right: 8%;
  bottom: 4%;
  opacity: 0.28;
  background: radial-gradient(circle, rgba(40, 120, 125, 0.12) 0%, transparent 70%);
  animation: fogDriftB 40s ease-in-out infinite alternate-reverse;
}
@keyframes fogDriftA {
  from { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.75; }
  to { transform: translate3d(-2.5%, 3%, 0) scale(1.07) rotate(6deg); opacity: 1; }
}
@keyframes fogDriftB {
  from { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  to { transform: translate3d(3%, -2.5%, 0) scale(1.09) rotate(-5deg); }
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: .75rem 0 3.5rem;
}

/* —— Sticky Header —— */
.site-header {
  position: sticky;
  top: .65rem;
  z-index: 100;
  margin-bottom: 1.1rem;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 18, 20, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 4px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  transition: background .2s ease, box-shadow .2s ease;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  text-decoration: none;
  transition: opacity .15s ease;
}
.brand-lockup:hover { text-decoration: none; opacity: .85; }
.brand-mark { width: 26px; height: 26px; }
.brand-name { display: block; font-weight: 700; letter-spacing: -.02em; font-size: .95rem; }
.brand-sub { display: block; font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
.main-nav { display: flex; flex-wrap: wrap; gap: .3rem; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .84rem;
  font-weight: 600;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.main-nav a:hover { color: var(--txt); background: rgba(255,255,255,.05); text-decoration: none; }
.main-nav a.active {
  color: var(--accent-2);
  border-color: rgba(3,218,197,.28);
  background: rgba(3,218,197,.08);
}
.main-nav a.cta {
  color: #021315;
  background: var(--accent);
  border-color: transparent;
  font-weight: 700;
}
.main-nav a.cta:hover { background: var(--accent-2); color: #021315; }

/* —— Floating back button (asset pages) —— */
.fab-back {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem .55rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(2, 18, 20, 0.92);
  backdrop-filter: blur(16px);
  color: var(--txt);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
  cursor: pointer;
}
.fab-back:hover {
  border-color: rgba(3,218,197,.45);
  color: var(--accent-2);
  transform: translateX(-2px);
  text-decoration: none;
}
.fab-back svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; fill: none; flex-shrink: 0; }

/* —— Surfaces —— */
.panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.045) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8,42,45,.62), rgba(3,22,25,.86));
  border-radius: var(--r-lg);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px) saturate(1.08);
}
.panel-pad { padding: var(--pad) 1.25rem; }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background:
    radial-gradient(ellipse 50% 70% at 18% 35%, rgba(3, 218, 197, 0.12), transparent 58%),
    radial-gradient(ellipse 36% 50% at 78% 18%, rgba(180, 255, 245, 0.06), transparent 52%),
    linear-gradient(145deg, rgba(255,255,255,.05) 0%, transparent 36%),
    linear-gradient(155deg, rgba(8, 42, 45, 0.78), rgba(3, 22, 25, 0.9));
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255,255,255,.07);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 1.35rem 1.35rem;
}
.hero-kicker {
  color: var(--accent-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  margin: .35rem 0 0;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.08; /* room for descenders (g) with gradient text clip */
  letter-spacing: -.05em;
  font-weight: 800;
  max-width: 12ch;
  padding-bottom: .12em;
  background: linear-gradient(120deg, #fff 10%, var(--accent-2) 70%, #c9fff5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin: 1.25rem 0 0; /* clear title descenders */
  color: var(--muted);
  max-width: none;
  font-size: 1.02rem;
}
.hero-lead strong { color: var(--txt); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #021315;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--accent-2); text-decoration: none; color: #021315; }
.btn.ghost {
  background: transparent;
  color: var(--txt);
  border-color: var(--line-strong);
}
.btn.ghost:hover { border-color: rgba(3,218,197,.4); color: var(--accent-2); }

/* Hero: logo-ring through heavy fog — hollow, soft, never hard stroke discs */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-ambient .fog-logo {
  position: absolute;
  border-radius: 50%;
  /* thick disc band: hole to 50%, filled ring to outer edge */
  background: radial-gradient(
    circle,
    transparent 0%,
    transparent 46%,
    rgba(2, 95, 100, 0.08) 50%,
    rgba(3, 130, 135, 0.14) 65%,
    rgba(3, 140, 140, 0.11) 82%,
    rgba(2, 90, 95, 0.05) 94%,
    transparent 100%
  );
  filter: blur(36px);
  opacity: .55;
  will-change: transform, opacity;
}
.hero-ambient .fog-logo-a {
  width: min(55vw, 340px);
  height: min(55vw, 340px);
  left: -8%;
  top: -28%;
  animation: fogDriftA 36s ease-in-out infinite alternate;
}
.hero-ambient .fog-logo-b {
  width: min(38vw, 220px);
  height: min(38vw, 220px);
  left: 22%;
  bottom: -36%;
  filter: blur(44px);
  opacity: .4;
  animation: fogDriftB 44s ease-in-out infinite alternate;
}
.hero-ambient .fog-core {
  position: absolute;
  left: 14%;
  top: 28%;
  width: min(28vw, 160px);
  height: min(28vw, 160px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 120, 130, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  opacity: .35;
  animation: fogDriftA 30s ease-in-out infinite alternate-reverse;
}

/* —— Portfolio strip —— */
.portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .75rem;
  margin-top: .25rem;
  align-self: stretch;
  min-width: 0;
}
.portfolio .kpi {
  padding: 1rem 1.1rem;
}
.portfolio .kpi .val {
  margin-top: .35rem;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.1;
}
.kpi {
  padding: .9rem 1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}
.kpi .lbl {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  min-height: 3.6em; /* reserve ~3 lines to align values */
  display: flex;
  align-items: flex-start;
}
.kpi .val {
  margin-top: .25rem;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.kpi .subname {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.25;
  text-transform: none;
}
.kpi .hint { margin-top: auto; padding-top: .4rem; color: var(--muted); font-size: .78rem; min-height: 2.4em; }

/* —— Section —— */
.section { margin-top: 1.35rem; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .9rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -.03em;
}
.section-head p {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .92rem;
  max-width: 40rem;
}

/* —— Mode toggle —— */
.mode-toggle {
  display: inline-flex;
  padding: .25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.2);
  gap: .2rem;
}
.mode-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: .45rem .95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .86rem;
  cursor: pointer;
}
.mode-toggle button[aria-selected="true"] {
  background: rgba(3,218,197,.16);
  color: var(--accent-2);
}

/* —— Filters —— */
.filters {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: .7rem;
  padding: .9rem 1rem;
  margin-bottom: 1rem;
}
.filters label {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.filters input, .filters select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
  color: var(--txt);
  padding: .7rem .85rem;
  outline: none;
}
.filters input:focus, .filters select:focus {
  border-color: rgba(3,218,197,.45);
  box-shadow: 0 0 0 3px rgba(3,218,197,.12);
}

/* —— Asset cards (Scan) —— */
.asset-grid { display: grid; gap: .85rem; }
.asset-card {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1.1rem 1.15rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  transition: border-color .15s ease, transform .15s ease;
}
.asset-card:hover {
  border-color: rgba(3,218,197,.32);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.asset-card-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.asset-card-chart {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-self: stretch;
}
.asset-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
/* Whole-card link wrapper */
a.asset-card-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.asset-card {
  cursor: pointer;
  text-decoration: none;
  color: var(--txt);
}
.asset-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.asset-card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -.03em;
}
.asset-card h3 a { color: inherit; text-decoration: none; }
.asset-card h3 a:hover { color: var(--accent-2); }
.meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .22rem .6rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
}
.badge.ok, .badge.good { color: var(--ok); border-color: rgba(133,240,177,.28); }
.badge.warn { color: var(--warn); border-color: rgba(255,212,121,.28); }
.badge.bad { color: var(--bad); border-color: rgba(255,141,131,.28); }
.badge.accent { color: var(--accent-2); border-color: rgba(3,218,197,.28); background: rgba(3,218,197,.08); }
.asset-blurb { margin: .55rem 0 .8rem; color: var(--muted); font-size: .9rem; }
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-top: auto;
}
.metric-row .kpi {
  padding: .7rem .75rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.metric-row .kpi .val {
  font-size: 1.2rem;
  min-height: 1.25em;
  margin-top: .3rem;
  line-height: 1.1;
}
.metric-row .kpi .subname {
  min-height: 2.1em;
}
.metric-row .kpi .hint {
  margin-top: auto;
  padding-top: .25rem;
  min-height: 2.2em;
  font-size: .72rem;
}
.good { color: var(--ok); }
.warn, .mid { color: var(--warn); }
.bad { color: var(--bad); }
.spark {
  width: 100%;
  flex: 1 1 0; /* Grow to fill right column */
  min-height: 160px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
.asset-card-chart .note {
  flex: 0 0 auto;
  margin-bottom: .2rem;
}
.spark-controls {
  position: absolute;
  bottom: 28px;
  right: 6px;
  z-index: 3;
}
.chip {
  border: 1px solid rgba(3,218,197,.35);
  background: rgba(2,22,25,.88);
  color: var(--accent-2);
  border-radius: 999px;
  padding: .3rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 1.85rem;
}
.chip:hover { background: rgba(3,218,197,.14); }
.card-actions { margin-top: .85rem; }

/* —— Compare table —— */
.compare-shell { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
table.compare th, table.compare td {
  text-align: right;
  padding: .85rem .55rem;
  border-bottom: 1px solid rgba(158,255,241,.08);
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
}
table.compare th:first-child, table.compare td:first-child { text-align: left; }
table.compare th {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}
table.compare td strong { font-size: 1rem; }
table.compare td.good { color: var(--ok); font-weight: 600; }
table.compare td.bad { color: var(--bad); font-weight: 600; }
table.compare td.warn { color: var(--warn); font-weight: 600; }
table.compare tr:hover td { background: rgba(255,255,255,.03); }
table.compare tr.outlier-low td { background: rgba(255,69,58,.06); }
table.compare tr.outlier-high td { background: rgba(48,209,88,.05); }
.compare-lead {
  margin: 0 0 .85rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
  max-width: none;
}

.lessons { margin-top: 1.65rem; }
.lesson-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.lesson-card {
  min-height: 100%; padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(158,255,241,.14); border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(3,218,197,.08), transparent 48%), rgba(255,255,255,.025);
}
.lesson-card__tag { color: var(--accent-2); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lesson-card h3 { margin: .45rem 0 .55rem; font-size: 1.05rem; line-height: 1.2; }
.lesson-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.review-queue { margin-top: 1.65rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.review-card {
  min-height: 100%; padding: .95rem 1.05rem;
  border: 1px solid rgba(255,212,121,.16); border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(255,212,121,.06), transparent 52%), rgba(255,255,255,.02);
}
.review-card p { margin: .5rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }

/* —— Shared metric / section helpers —— */
.meta-tight { margin-top: .4rem; }
.section-title { margin: 0 0 .75rem; font-size: 1.15rem; }
.stack-heading {
  padding: .75rem 1rem .25rem;
}
.stack-heading h3 { margin: 0; font-size: 1rem; }
.stack-toolbar { padding: 0 1rem; }
.lab-lead { margin: .85rem 0; }
.chart-stack + .chart-stack,
.lab-body .chart-stack.spaced { margin-top: 1rem; }
.lab-body .chart-stack.first { margin-top: .75rem; }
.kpi.compact .val { font-size: 1.2rem; }
.verdict-kpis .kpi .lbl { line-height: 1.3; }

/* Methodology long-form */
.methodology-content {
  margin-top: 1.5rem;
}
@media (min-width: 980px) {
  .methodology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .methodology-content .wide-block {
    grid-column: span 2;
  }
}
.methodology-content .method-block {
  margin-top: 0;
}
.method-block { margin-top: 1.35rem; }
.method-block h2 {
  margin: 0 0 .55rem;
  font-size: 1.1rem;
  letter-spacing: -.02em;
}
.method-block p {
  margin: 0 0 .65rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: none;
}
.method-block ul {
  margin: .35rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: none;
}
.method-block li { margin: .25rem 0; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .65rem;
  margin-top: .75rem;
}
.method-card {
  padding: .9rem 1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.method-card h3 {
  margin: 0 0 .35rem;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.method-card p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--txt);
  max-width: none;
}

/* —— Asset inspect page —— */
.crumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  color: var(--muted); font-size: .86rem; margin-bottom: .75rem;
}
.crumb a { color: var(--accent-2); }
/* Cross-asset switcher on Inspect pages */
.asset-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .45rem;
  margin: 0 0 1rem;
  padding: .65rem .85rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
}
.asset-switcher__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .25rem;
}
.asset-switcher a {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.asset-switcher a:hover {
  color: var(--txt);
  border-color: var(--line-strong);
  background: rgba(3, 218, 197, 0.08);
}
.asset-switcher a.is-current {
  color: #041512;
  background: var(--accent);
  border-color: transparent;
  pointer-events: none;
}
.asset-switcher a .sw-class {
  margin-left: .3rem;
  font-size: .65rem;
  font-weight: 700;
  opacity: .75;
  letter-spacing: .04em;
}
.asset-switcher a.is-current .sw-class { opacity: .85; }
.asset-page-nav {
  position: sticky;
  top: 58px; /* clear sticky site header */
  z-index: 8;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .55rem .85rem;
  border-radius: var(--r);
  border: 1px solid rgba(158, 255, 241, 0.14);
  background: rgba(2, 14, 16, 0.92);
  backdrop-filter: blur(20px);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* —— Tooltips —— */
[data-tip] { position: relative; cursor: help; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4, 32, 36, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--txt);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.45;
  padding: .55rem .75rem;
  white-space: nowrap;
  max-width: 260px;
  white-space: normal;
  text-align: left;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity .15s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: normal;
}
[data-tip]:hover::after, [data-tip]:focus::after { opacity: 1; }

/* —— Class-coded card borders —— */
a.asset-card[data-class-label="A"] {
  border-color: rgba(3, 218, 197, 0.25);
  background: linear-gradient(165deg, rgba(3,218,197,.05), rgba(255,255,255,.01));
}
a.asset-card[data-class-label="A"]:hover {
  border-color: rgba(3, 218, 197, 0.55);
  box-shadow: 0 8px 32px rgba(3,218,197,.12), 0 2px 8px rgba(0,0,0,.3);
}
a.asset-card[data-class-label="F"] {
  border-color: rgba(255, 141, 131, 0.15);
}
a.asset-card[data-class-label="F"]:hover {
  border-color: rgba(255, 141, 131, 0.35);
  box-shadow: 0 8px 32px rgba(255,100,90,.08), 0 2px 8px rgba(0,0,0,.3);
}

/* —— Credibility stat bar —— */
.stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  align-items: center;
}
.stat-bar__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.stat-bar__val {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--txt);
  font-variant-numeric: tabular-nums;
}
.stat-bar__lbl { font-size: .74rem; color: var(--muted); font-weight: 500; }
.stat-bar__sep { flex: 1; }
.stat-bar__run { font-size: .72rem; color: var(--muted); margin-left: auto; }

/* —— How-to-read callout —— */
.how-to-read {
  margin-bottom: 1rem;
  border-radius: var(--r);
  border: 1px solid rgba(3,218,197,.18);
  background: linear-gradient(135deg, rgba(3,218,197,.06), rgba(255,255,255,.015));
  overflow: hidden;
}
.how-to-read summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.1rem;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
  color: var(--accent-2);
  list-style: none;
  user-select: none;
}
.how-to-read summary::-webkit-details-marker { display: none; }
.how-to-read summary::before {
  content: '+';
  font-size: 1rem;
  font-weight: 800;
  transition: transform .2s ease;
  display: inline-block;
  width: 1em;
  text-align: center;
}
details.how-to-read[open] summary::before { content: '−'; }
.how-to-read__body {
  padding: 0 1.1rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .65rem;
}
.how-to-read__term {
  padding: .65rem .85rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
}
.how-to-read__term strong {
  display: block;
  color: var(--accent-2);
  font-size: .8rem;
  margin-bottom: .25rem;
}
.how-to-read__term span { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* —— Empty state —— */
.empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--muted);
  gap: .75rem;
}
.empty-state svg { opacity: .35; }
.empty-state h3 { margin: 0; font-size: 1.1rem; color: var(--txt); }
.empty-state p { margin: 0; font-size: .88rem; }

/* —— Run date tag on card —— */
.run-date { font-size: .68rem; color: var(--muted); opacity: .7; margin-top: .3rem; }

/* —— Prev / Next nav —— */
.prev-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.prev-next a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--txt);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.prev-next a:hover { border-color: rgba(3,218,197,.45); color: var(--accent-2); text-decoration: none; }
.prev-next__center { font-size: .8rem; color: var(--muted); text-align: center; }
.prev-next svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; flex-shrink: 0; }
.asset-page-nav::-webkit-scrollbar { display: none; }
.asset-page-nav__label {
  flex: 0 0 auto;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .15rem;
}
.asset-page-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: .42rem .78rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--txt);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.asset-page-nav a:hover {
  color: var(--accent-2);
  border-color: rgba(3,218,197,.34);
  background: rgba(3,218,197,.10);
  text-decoration: none;
  transform: translateY(-1px);
}
.panel[id],
.section[id],
.chart-box[id],
.lab[id] {
  scroll-margin-top: 6rem;
}
.verdict {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: start;
}
.verdict h1 {
  margin: .35rem 0 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -.045em;
  line-height: 1;
}
.verdict-copy { color: var(--muted); margin: .7rem 0 0; max-width: none; }
.verdict-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.chart-box {
  margin-top: 1rem;
  padding: 1rem;
}
.chart-box h2 {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.chart-box .hint { color: var(--muted); font-size: .86rem; margin: 0 0 .75rem; }
.chart-toolbar {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .65rem;
}
.chart-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 2rem;
}
.chart-btn:hover { color: var(--txt); border-color: var(--line-strong); }
.chart-btn.active {
  color: var(--accent-2);
  border-color: rgba(3,218,197,.42);
  background: rgba(3,218,197,.12);
}
.main-chart {
  width: 100%;
  min-height: 360px;
  height: 360px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.16);
  position: relative;
}
.main-chart-controls {
  position: absolute; top: 10px; right: 10px; z-index: 3;
}
.lab {
  margin-top: 1rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.12);
  overflow: hidden;
}
.lab > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}
.lab > summary::-webkit-details-marker { display: none; }
.lab > summary::after { content: "Show"; color: var(--accent-2); font-size: .86rem; }
.lab[open] > summary::after { content: "Hide"; }
.lab-body { padding: 0 1rem 1.1rem; border-top: 1px solid var(--line); }
.lab-body .chart-stack { margin-top: .9rem; }
.lab-body h3 { margin: 0 0 .55rem; font-size: 1rem; }
/* Canvas-matched chart stack proportions (report_canvas: 380 / 120 / 90 / 80) */
.chart-stack {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.14);
}
.stack-pane {
  position: relative;
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(158,255,241,.06);
  /* No horizontal padding — LW chart width must match host or hairline drifts */
  padding: 0;
}
.stack-pane:first-child { border-top: none; }
.stack-pane__host {
  position: relative;
  width: 100%;
  z-index: 1;
}
/* Heights are chart canvas sizes */
.stack-pane.main { min-height: 380px; }
.stack-pane.ind { min-height: 90px; }
.stack-pane.ind.daily { min-height: 120px; }
.stack-pane.ind.zones { min-height: 100px; }
.stack-pane .pane-title {
  position: absolute;
  top: 6px;
  left: 12px;
  z-index: 3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8b949e;
  pointer-events: none;
}
.stack-pane.main .pane-title {
  top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f7;
  text-transform: none;
  letter-spacing: -.01em;
}
/* Indicator: title row + value readout below. Main: values sit under title. */
.stack-pane .pane-legend {
  position: absolute;
  top: 22px;
  left: 12px;
  right: 64px;
  z-index: 3;
  font-size: 11px;
  color: #cfe8e3;
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  line-height: 1.35;
  font-family: inherit;
}
.stack-pane.main .pane-legend,
.stack-pane .pane-legend--main {
  top: 10px;
  font-size: 12px;
  gap: 8px 12px;
}
.stack-pane .pane-legend .lg-date { color: #8b949e; }
.stack-pane .pane-legend .lg-series { color: var(--lg-c, #cfe8e3); }
.stack-pane .pane-legend strong { color: #f2fffc; font-weight: 700; }
.page-title {
  margin: 0;
  letter-spacing: -.04em;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.page-title.tight { margin: .5rem 0 0; }
.mt-1 { margin-top: 1rem; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .65rem 1rem;
  background: var(--accent);
  color: #041512;
  font-weight: 700;
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid var(--accent-2);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
table.compare:focus { outline: 2px solid rgba(3,218,197,.35); outline-offset: 2px; }
.stack-pane .pane-guide,
.stack-pane__host .pane-guide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  margin: 0;
  padding: 0;
  background: rgba(245,245,247,.55);
  pointer-events: none;
  display: none;
  z-index: 5;
  transform: translateX(-0.5px); /* center on pixel */
}
@media (max-width: 720px) {
  .stack-pane.main { min-height: 280px; }
  .stack-pane.ind.daily { min-height: 100px; }
  .stack-pane.ind { min-height: 72px; }
  .stack-pane.ind.zones { min-height: 84px; }
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .55rem;
  align-items: stretch;
}
/* Bottom-align big numbers so 1-line and 2-line labels share one value baseline */
.matrix-grid .kpi {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.matrix-grid .kpi .lbl {
  line-height: 1.3;
  flex: 0 0 auto;
}
.matrix-grid .kpi .val {
  margin-top: auto;
  padding-top: .45rem;
}
.window-read-copy {
  margin: 0 0 .85rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
  max-width: 48rem;
}
.window-read-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .7rem;
}
.window-read-grid .kpi {
  min-height: 100%;
}
.window-read-grid .kpi .hint {
  margin-top: .4rem;
  line-height: 1.4;
}
.fund-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .15rem;
}
.fund-asof {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .02em;
}
.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .7rem;
}
.fund-card {
  min-height: 100%;
  padding: .95rem 1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.fund-card__head {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: .45rem;
}
.fund-card h3 {
  margin: 0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fund-card__metric {
  color: var(--accent-2);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
}
.fund-card p {
  margin: 0;
  color: var(--txt);
  font-size: .88rem;
  line-height: 1.5;
}
.fund-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: .8rem;
}
.fund-sources__label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fund-sources a {
  display: inline-flex;
  align-items: center;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
}
.fund-sources a:hover {
  border-color: rgba(3,218,197,.34);
  background: rgba(3,218,197,.08);
  text-decoration: none;
}
.note { color: var(--muted); font-size: .86rem; }
footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
.hidden { display: none !important; }
.inline-link { color: var(--accent-2); }

/* —— Desktop —— */
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 300px; }
  .hero-ambient .fog-logo-a { left: -6%; top: -30%; right: auto; }
  .hero-ambient .fog-logo-b { left: 18%; bottom: -40%; right: auto; }
  .hero-ambient .fog-core { left: 10%; top: 22%; }
  .asset-card { grid-template-columns: 1.05fr 1fr; }
  .spark { min-height: 220px; height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-fog__mark,
  .site-fog__bloom,
  .hero-ambient .fog-logo,
  .hero-ambient .fog-core {
    animation: none !important;
  }
}

/* —— Tablet —— */
@media (max-width: 979px) {
  .lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio { grid-template-columns: 1fr 1fr; }
  .asset-card { grid-template-columns: 1fr; }
  .asset-card-chart { min-height: 200px; }
  .spark { min-height: 200px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .verdict { grid-template-columns: 1fr; }
}

/* —— Mobile —— */
@media (max-width: 720px) {
  .lesson-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .wrap { width: min(100vw - 1rem, 1120px); padding-top: .5rem; }
  .site-header-inner {
    border-radius: 18px;
    padding: .5rem .75rem;
    gap: .5rem;
  }
  .brand-sub { display: none; }
  .main-nav a { padding: .35rem .6rem; font-size: .78rem; }
  .portfolio { grid-template-columns: 1fr 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr; }
  .spark { min-height: 180px; }
  .main-chart { min-height: 260px; height: 260px; }
  .hero h1 { max-width: none; }
  .hero-ambient { opacity: .45; }
  .site-fog__mark--a { width: 120vw; height: 120vw; top: -18%; right: -40%; filter: blur(24px); }
  .site-fog__mark--b { width: 95vw; height: 95vw; left: -40%; bottom: -20%; filter: blur(30px); }
  .mode-toggle { width: 100%; }
  .mode-toggle button { flex: 1; }
  .fab-back { bottom: 1rem; left: 1rem; }
}

@media (max-width: 420px) {
  .portfolio, .metric-row, .verdict-kpis { grid-template-columns: 1fr; }
  .fab-back { bottom: 1rem; left: 1rem; font-size: .78rem; }
}

/* —— How-to-read pill bar —— */
.how-to-read-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  padding: .65rem 1rem;
  border-radius: var(--r);
  border: 1px solid rgba(3,218,197,.18);
  background: linear-gradient(135deg, rgba(3,218,197,.055), rgba(255,255,255,.01));
  position: relative;
}
.how-to-read-bar__label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .35rem;
  flex-shrink: 0;
}
.how-to-read-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(3,218,197,.22);
  background: rgba(3,218,197,.07);
  color: var(--txt);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.how-to-read-pill:hover { background: rgba(3,218,197,.16); border-color: rgba(3,218,197,.45); }
.how-to-read-pill.active { background: rgba(3,218,197,.2); border-color: rgba(3,218,197,.55); color: var(--accent-2); }
.how-to-read-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  z-index: 30;
  padding: .75rem 1rem;
  border-radius: var(--r);
  border: 1px solid rgba(3,218,197,.25);
  background: rgba(2,18,20,.97);
  backdrop-filter: blur(16px);
  font-size: .84rem;
  line-height: 1.55;
  color: var(--txt);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.how-to-read-popover.show { display: block; }

/* —— Scorecard groups —— */
.scorecard-group { margin-bottom: 1.25rem; }
.scorecard-group:last-child { margin-bottom: 0; }
.scorecard-group__label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 .55rem;
  opacity: .8;
}

/* —— Card share button —— */
.card-share-btn {
  position: absolute; top: .75rem; right: .85rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.25);
  color: var(--muted);
  cursor: pointer;
  font-size: .8rem;
  transition: color .15s, border-color .15s, background .15s;
  z-index: 2;
}
.card-share-btn:hover { color: var(--accent-2); border-color: rgba(3,218,197,.4); background: rgba(3,218,197,.08); }
.asset-card { position: relative; }

/* —— Share toast —— */
.share-toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(3,218,197,.12);
  border: 1px solid rgba(3,218,197,.3);
  backdrop-filter: blur(16px);
  color: var(--accent-2);
  padding: .55rem 1.2rem;
  border-radius: 999px;
  font-size: .84rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 500;
}
.share-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* —— About the data strip —— */
.data-strip {
  margin-top: 1.5rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  display: flex; flex-wrap: wrap; gap: .35rem .9rem;
  align-items: center;
  font-size: .78rem; color: var(--muted);
}
.data-strip strong { color: var(--txt); font-weight: 600; }

/* —— Print styles —— */
@media print {
  .site-header, .fab-back, .site-fog, .hero-ambient, .share-toast,
  .how-to-read-bar, .mode-toggle, .filters, .chart-toolbar,
  .asset-switcher, .asset-page-nav, .prev-next, .card-share-btn { display: none !important; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .panel, .kpi, .fund-card, .method-card, .lesson-card, .review-card {
    border-color: #ccc; background: #fff; box-shadow: none; backdrop-filter: none;
  }
  .hero h1, .verdict h1, .page-title { color: #111; background: none; -webkit-background-clip: unset; background-clip: unset; }
  a { color: #0056b3; }
  .chart-box, .lab, .asset-card { break-inside: avoid; }
}
