:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --bg-soft: #f2f4f6;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: #f2f4f6;
  --surface-muted: #e7ecf2;
  --ink: #191f28;
  --muted: #6b7684;
  --faint: #8b95a1;
  --line: #e5e8eb;
  --line-strong: #d1d6db;
  --accent: #3182f6;
  --accent-strong: #0f67e7;
  --accent-soft: #e8f2ff;
  --cyan: #1687a7;
  --green: #008a5c;
  --amber: #b76e00;
  --rose: #d92d20;
  --blue: #3182f6;
  --shadow: 0 10px 30px rgba(21, 36, 66, 0.07);
  --shadow-soft: 0 4px 14px rgba(21, 36, 66, 0.06);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111318;
  --bg-soft: #151922;
  --surface: #181d26;
  --surface-strong: #1d2430;
  --surface-soft: #242b38;
  --surface-muted: #2f3848;
  --ink: #f2f4f6;
  --muted: #a8b2c0;
  --faint: #8e9aad;
  --line: #303948;
  --line-strong: #465267;
  --accent: #74b4ff;
  --accent-strong: #9cccff;
  --accent-soft: rgba(49, 130, 246, 0.16);
  --cyan: #67d4f2;
  --green: #7ee2a8;
  --amber: #f6c768;
  --rose: #ff9b9b;
  --blue: #8fc4ff;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.26);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
}

a { color: inherit; }

code {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 2px 5px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--accent-strong);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-actions a,
.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease, color 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.hero {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  font-weight: 700;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-actions a {
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-actions a:first-child {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.hero-actions a:hover,
.hero-actions a:focus-visible {
  transform: translateY(-1px);
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent), transparent 42%);
}

.hero-actions a:first-child:hover,
.hero-actions a:first-child:focus-visible {
  color: #fff;
  background: var(--accent-strong);
}

.hero-note,
.panel,
.metric-card,
.leader-card,
.method-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-note {
  padding: 20px;
}

.hero-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.snapshot-control {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.snapshot-control label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.snapshot-control select {
  width: 100%;
}

.snapshot-summary {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.status-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  margin-top: 12px;
}

.hero-note .status-stack {
  flex-wrap: wrap;
}

.hero-note .status-stack::-webkit-scrollbar {
  display: none;
}

.hero-note .status-chip {
  flex: 0 0 auto;
}

.status-message {
  border-left: 3px solid var(--amber);
  padding-left: 10px;
  color: var(--amber) !important;
}

.section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 32px;
  scroll-margin-top: 74px;
}

.section-heading {
  margin-bottom: 14px;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.metric-grid,
.chart-grid,
.leader-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.chart-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.leader-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card,
.leader-card,
.panel,
.method-grid article {
  padding: 18px;
}

.metric-card {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 112px;
}

.metric-card .eyebrow {
  margin-bottom: 0;
}

.metric-card .value {
  min-width: 0;
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.metric-card .detail {
  min-width: 0;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.panel-header.compact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.status-chip,
.score-pill,
.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.status-chip.ok,
.score-pill.good {
  color: var(--green);
  background: color-mix(in srgb, var(--green), transparent 90%);
  border-color: color-mix(in srgb, var(--green), transparent 74%);
}

.status-chip.warning,
.score-pill.watch {
  color: var(--amber);
  background: color-mix(in srgb, var(--amber), transparent 90%);
  border-color: color-mix(in srgb, var(--amber), transparent 72%);
}

.status-chip.error,
.score-pill.bad {
  color: var(--rose);
  background: color-mix(in srgb, var(--rose), transparent 91%);
  border-color: color-mix(in srgb, var(--rose), transparent 72%);
}

.status-chip.neutral {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent), transparent 76%);
}

.bar-chart {
  display: grid;
  gap: 6px;
  min-height: 244px;
  align-content: start;
}

.bar-row {
  display: grid;
  grid-template-columns: 74px minmax(140px, 1fr) 78px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 28px;
  min-width: 0;
  border: 0;
  border-radius: var(--radius-md);
  padding: 5px 7px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.bar-row:hover,
.bar-row:focus-visible,
.bar-row.is-active {
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.bar-row.is-active {
  box-shadow: inset 3px 0 0 var(--accent);
}

.bar-chart.has-active .bar-row:not(.is-active),
.quadrant.has-active .quad-point:not(.is-active) {
  opacity: 0.46;
}

.bar-label {
  color: var(--ink);
  font-weight: 700;
}

.bar-track {
  display: block;
  height: 12px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line), transparent 18%);
  border-radius: 999px;
  background: var(--surface-muted);
}

.bar-fill {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: var(--accent);
}

.bar-fill.green { background: var(--green); }
.bar-fill.amber { background: var(--amber); }

.bar-value {
  color: var(--ink);
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.chart-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 72%);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: var(--muted);
  background: var(--accent-soft);
  font-size: 13px;
}

.chart-readout strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.chart-readout strong span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.chart-readout dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  margin: 0;
}

.chart-readout dl div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.chart-readout dt {
  color: var(--muted);
  font-size: 11px;
}

.chart-readout dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.quadrant {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), color-mix(in srgb, var(--line-strong), transparent 20%) calc(50% - 1px), color-mix(in srgb, var(--line-strong), transparent 20%) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(180deg, transparent calc(50% - 1px), color-mix(in srgb, var(--line-strong), transparent 20%) calc(50% - 1px), color-mix(in srgb, var(--line-strong), transparent 20%) calc(50% + 1px), transparent calc(50% + 1px)),
    var(--surface-soft);
}

.quadrant-plot {
  position: absolute;
  inset: 24px;
}

html[data-quant-preview='silicon'] body[data-qd-project='sox'] .quad-point {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  padding: 0 !important;
  background: var(--qd-accent, #66d9ed) !important;
  border: 2px solid var(--qd-surface, #111416) !important;
  overflow: visible !important;
}
html[data-quant-preview='silicon'] body[data-qd-project='sox'] .chart-grid > .panel > :is(.bar-chart, .quadrant) {
  margin-top: 0 !important;
  flex-shrink: 0 !important;
}
html[data-quant-preview='silicon'] body[data-qd-project='sox'] .quad-point > span {
  position: absolute;
  bottom: 20px;
  padding: 3px 6px;
  border: 1px solid var(--qd-border, #30363b);
  border-radius: 4px;
  background: var(--qd-surface, #111416);
  color: var(--qd-text, #eef1f2);
  font-size: 12px;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}
html[data-quant-preview='silicon'] body[data-qd-project='sox'] .quad-point:is(:hover,:focus-visible,.is-active) > span {
  visibility: visible;
}

.quad-point {
  position: absolute;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 38%);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.quad-point:hover,
.quad-point:focus-visible,
.quad-point.is-active {
  z-index: 2;
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translate(-50%, -50%) scale(1.14);
}

.quad-point.is-active {
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent), transparent 82%), var(--shadow-soft);
}

.bar-row.is-pinned,
.quad-point.is-pinned {
  border-color: var(--accent);
}

.quad-axis {
  position: absolute;
  color: var(--faint);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quad-axis.x { right: 12px; bottom: 10px; }
.quad-axis.y { top: 10px; left: 12px; }

.leader-card h3 {
  margin-bottom: 10px;
}

.leader-list {
  display: grid;
  gap: 7px;
}

.leader-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 9px 10px;
  background: var(--surface-soft);
}

.leader-item strong {
  color: var(--ink);
}

.leader-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.table-tools {
  display: grid;
  grid-template-columns: auto minmax(180px, 260px);
  align-items: center;
  gap: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

input,
select {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  outline: none;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

input:focus,
select:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent), transparent 68%);
  outline-offset: 2px;
}

.table-wrap {
  max-height: min(620px, 70vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

caption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--muted);
  background: var(--surface-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

th button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 0;
  justify-content: flex-end;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

th button:hover {
  color: var(--accent-strong);
}

th:nth-child(2) button,
th:nth-child(3) button {
  justify-content: flex-start;
}

.sort-indicator {
  display: inline-block;
  min-width: 0.85em;
  color: var(--accent-strong);
}

th:nth-child(2),
th:nth-child(3),
td:nth-child(2),
td:nth-child(3) {
  text-align: left;
}

tbody tr:hover {
  background: var(--accent-soft);
}

.ticker-select {
  min-height: auto;
  border: 0;
  border-radius: 7px;
  padding: 4px 6px;
  color: var(--accent-strong);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

tbody tr.is-selected {
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

td.name-cell {
  max-width: 220px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
}

.method-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.method-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ops-details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.ops-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.ops-details summary::-webkit-details-marker {
  display: none;
}

.ops-details summary::after {
  content: "+";
  color: var(--accent-strong);
  font-size: 20px;
  font-weight: 500;
}

.ops-details[open] summary::after {
  content: "−";
}

.ops-details .method-grid {
  border-top: 1px solid var(--line);
  padding: 14px;
}

.ops-details .method-grid article {
  padding: 16px;
  box-shadow: none;
}

.ops-details h3 {
  margin-bottom: 10px;
}

.ops-list {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
}

.ops-list div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
}

.ops-list dt {
  color: var(--muted);
  font-size: 12px;
}

.ops-list dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.ops-meta {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px !important;
  overflow-wrap: anywhere;
}

.site-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 22px auto 48px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer a {
  color: var(--accent-strong);
}

.skeleton,
.skeleton-box {
  color: var(--muted);
  background: linear-gradient(90deg, color-mix(in srgb, var(--surface-soft), transparent 16%), color-mix(in srgb, var(--surface-muted), transparent 8%), color-mix(in srgb, var(--surface-soft), transparent 16%));
  background-size: 240% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-box {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.positive { color: var(--green); }
.negative { color: var(--rose); }
.muted { color: var(--muted); line-height: 1.7; }

.page-jump-nav {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 1000;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.page-jump-nav a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: color-mix(in srgb, var(--surface), transparent 8%);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.page-jump-nav a:hover,
.page-jump-nav a:focus-visible {
  color: var(--accent-strong);
  border-color: color-mix(in srgb, var(--accent), transparent 50%);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

#page-bottom {
  scroll-margin-top: 24px;
}

.moved-notice {
  margin-top: 28px !important;
  scroll-margin-top: 28px;
}

.weight-matrix-cell {
  min-width: 138px;
  vertical-align: top;
}

.weight-matrix-cell strong,
.weight-matrix-cell small {
  display: block;
}

.weight-matrix-cell strong {
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums lining-nums;
}

.weight-matrix-cell small {
  margin-top: 4px;
  color: var(--muted) !important;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .hero-grid,
  .chart-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {

  .hero {
    width: min(100% - 28px, 1240px);
    padding: 26px 0 22px;
  }

  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.55rem; }

  .split-heading {
    align-items: start;
    flex-direction: column;
  }

  .table-tools {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .metric-grid,
  .leader-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .metric-card,
  .leader-card {
    flex: 0 0 min(82vw, 292px);
    scroll-snap-align: start;
  }

  .section {
    width: min(100% - 28px, 1240px);
  }

  h1 {
    font-size: 2.1rem;
    line-height: 1.16;
  }

  h2 { font-size: 1.45rem; }

  .hero-actions a {
    flex: 1 1 130px;
  }

  .bar-row {
    grid-template-columns: 62px minmax(110px, 1fr) 68px;
    font-size: 12px;
  }

  .panel,
  .hero-note {
    padding: 16px;
  }

  .chart-readout {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .chart-readout dl {
    justify-content: flex-start;
  }

  .quadrant {
    min-height: 240px;
  }

  .hero,
  main,
  footer,
  .panel,
  .hero-note,
  .metric-card,
  .leader-card,
  .method-grid article {
    min-width: 0;
    max-width: 100%;
  }

  .hero h1,
  .hero p,
  .section-heading p,
  .metric-card .detail,
  .leader-item,
  .method-grid p {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    line-break: anywhere;
  }

  .page-jump-nav {
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }

  .page-jump-nav a {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Navigation inheritance matches the Quant Research Hub across project styles. */
.quant-shared-nav {
  font: 15px/1.55 Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
  font-variant-numeric: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.quant-shared-nav__link { border: 1px solid transparent; }
.quant-shared-nav__theme { margin: 0; gap: 0; font-family: inherit; font-size: .88rem; font-weight: 650; line-height: 1.55; }
