/* ============================================================
   持盈 · 十一家公司估值地图
   A quiet, editorial research desk. No frameworks.
   ============================================================ */

:root {
  --paper: #f4f0e6;
  --paper-2: #ece6d8;
  --card: #fbf8f1;
  --ink: #15181f;
  --ink-2: #3d414b;
  --muted: #777a80;
  --line: #d9d1c1;
  --line-strong: #bfb5a2;
  --teal: #1f6b5c;
  --teal-soft: #dceae4;
  --brick: #9c3f36;
  --brick-soft: #f0ddd8;
  --amber: #9a6b25;
  --amber-soft: #f0e4cc;
  --navy: #1c2a3a;
  --shadow: 0 1px 0 rgba(21, 24, 31, 0.04), 0 18px 40px -28px rgba(21, 24, 31, 0.4);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "Inter", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;
  --shell: 1240px;
  --pad: clamp(20px, 3.2vw, 38px);
  --label-w: 220px;
  --meta-w: 150px;
}

[data-theme="dark"] {
  --paper: #121417;
  --paper-2: #181b1f;
  --card: #1b1e23;
  --ink: #f0ece2;
  --ink-2: #c9c4b8;
  --muted: #8f8b82;
  --line: #2c3037;
  --line-strong: #3d424b;
  --teal: #6fbfa8;
  --teal-soft: #1d332d;
  --brick: #d98b80;
  --brick-soft: #3a2421;
  --amber: #d5a45c;
  --amber-soft: #332a1c;
  --navy: #e8e3d7;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 18px 40px -28px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(31, 107, 92, 0.07), transparent 62%),
    radial-gradient(900px 520px at -8% 8%, rgba(156, 63, 54, 0.055), transparent 58%),
    var(--paper);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[data-theme="dark"] body {
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(111, 191, 168, 0.07), transparent 62%),
    radial-gradient(900px 520px at -8% 8%, rgba(217, 139, 128, 0.05), transparent 58%),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

::selection {
  background: var(--teal-soft);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow .rule {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------------- Masthead ---------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 22%, transparent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.mast-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.market-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 12%, transparent);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  transform: rotate(-8deg);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: clamp(54px, 8vw, 104px) 0 clamp(42px, 6vw, 70px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: end;
}

.hero-copy {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1 {
  margin: 20px 0 22px;
  font-family: var(--serif);
  font-size: clamp(40px, 6.2vw, 78px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
  background: linear-gradient(transparent 72%, color-mix(in srgb, var(--teal-soft) 80%, transparent) 0);
  padding: 0 0.05em;
}

.hero-lede {
  max-width: 590px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.95;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn span {
  font-family: var(--mono);
  font-size: 14px;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--navy);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink-2);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  box-shadow: var(--shadow);
  animation: rise 0.8s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 42px;
  height: 2px;
  background: var(--teal);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-head .mono {
  letter-spacing: 0.02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 8px 0 2px;
}

.hero-stat {
  padding: 15px 0 13px;
  border-bottom: 1px solid var(--line);
}

.hero-stat:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

.hero-stat:nth-child(even) {
  padding-left: 18px;
}

.hero-stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-stat.accent b {
  color: var(--teal);
}

.hero-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hero-meter {
  padding-top: 16px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.meter {
  display: flex;
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.meter i {
  display: block;
  height: 100%;
}

.m-over {
  background: var(--brick);
}

.m-fair {
  background: var(--amber);
}

.m-under {
  background: var(--teal);
}

.hero-card-foot {
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

/* ---------------- Sections ---------------- */

.section {
  padding: clamp(46px, 6.5vw, 82px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 30px;
  animation: rise 0.6s both;
}

.section-head h2 {
  margin-top: 11px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  max-width: 380px;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  text-align: right;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--card) 76%, transparent);
  box-shadow: var(--shadow);
}

/* ---------------- Chart ---------------- */

.chart-panel {
  padding: 20px var(--pad) 8px;
  animation: rise 0.7s 0.08s both;
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.legend {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend i {
  width: 8px;
  height: 8px;
  border-radius: 1px;
}

.legend .lg-under {
  background: var(--teal);
}

.legend .lg-over {
  background: var(--brick);
}

.filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter {
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter span {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0.7;
}

.filter:hover {
  border-color: var(--line);
  color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chart-axis {
  display: grid;
  grid-template-columns: var(--label-w) minmax(0, 1fr) var(--meta-w);
  align-items: center;
  gap: 0;
  height: 30px;
  margin-top: 6px;
  border-bottom: 1px solid var(--line);
}

.axis-track {
  position: relative;
  height: 100%;
  margin: 0 18px;
}

.axis-tick {
  position: absolute;
  top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.chart-list {
  position: relative;
}

.chart-row {
  display: grid;
  grid-template-columns: var(--label-w) minmax(0, 1fr) var(--meta-w);
  align-items: center;
  min-height: 58px;
  border-bottom: 1px dashed var(--line);
  color: inherit;
  transition: background 0.18s ease;
}

.chart-row:last-child {
  border-bottom: 0;
}

.chart-row:hover {
  background: color-mix(in srgb, var(--paper-2) 60%, transparent);
}

.chart-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 0;
}

.rank {
  flex: 0 0 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.chart-label b {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-label small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-track {
  position: relative;
  height: 30px;
  margin: 0 18px;
  border-radius: 2px;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 20% 100%;
}

.chart-zero {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--zero, 36.36%);
  width: 1px;
  background: var(--line-strong);
}

.chart-bar {
  position: absolute;
  top: 9px;
  height: 12px;
  border-radius: 1px;
  transform-origin: left;
  animation: barGrow 0.75s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.chart-bar.pos {
  background: var(--teal);
}

.chart-bar.neg {
  background: var(--brick);
  transform-origin: right;
}

.chart-meta {
  padding: 8px 0 8px 12px;
  text-align: right;
}

.chart-meta b {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.chart-meta span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.01em;
}

.chart-meta .pos-text {
  color: var(--teal);
}

.chart-meta .neg-text {
  color: var(--brick);
}

.no-results {
  padding: 46px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------------- Table ---------------- */

.table-panel {
  margin-top: 20px;
  padding: 4px var(--pad) 10px;
  overflow: hidden;
}

.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.table-tools .count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.search {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 190px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 60%, transparent);
  transition: border-color 0.2s;
}

.search:focus-within {
  border-color: var(--ink-2);
}

.search svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.search input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

.search input::placeholder {
  color: var(--muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-only {
  display: none;
}

.company-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 13px;
}

.company-table th {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.company-table th.num {
  text-align: right;
}

.company-table th.sortable {
  padding: 0;
}

.company-table th.sortable button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
}

.company-table th.sortable button:hover {
  color: var(--ink);
}

.company-table th .sort-arrow {
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0.55;
}

.company-table th.is-sorted .sort-arrow {
  opacity: 1;
  color: var(--teal);
}

.company-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.company-table tbody tr {
  transition: background 0.16s;
}

.company-table tbody tr:hover {
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
}

.company-table tbody tr:last-child td {
  border-bottom: 0;
}

.company-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.company-table .strong {
  font-weight: 600;
}

.cell-name a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.cell-name .rank {
  flex-basis: 18px;
}

.cell-name .nm {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cell-name .tk {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.range-strip {
  width: 138px;
  height: 24px;
  overflow: visible;
}

.range-strip .range-line {
  stroke: var(--line-strong);
  stroke-width: 1.4;
}

.range-strip .range-cap {
  stroke: var(--line-strong);
  stroke-width: 1.2;
}

.range-strip .range-base {
  fill: var(--ink);
}

.range-strip .range-price {
  stroke: var(--teal);
  stroke-width: 1.6;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.signal::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.signal-under {
  background: var(--teal-soft);
  color: var(--teal);
}

.signal-fair {
  background: var(--amber-soft);
  color: var(--amber);
}

.signal-over {
  background: var(--brick-soft);
  color: var(--brick);
}

.pos-text {
  color: var(--teal);
}

.neg-text {
  color: var(--brick);
}

.table-foot {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

/* ---------------- Conclusion cards ---------------- */

.conclusion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.conclusion-card {
  position: relative;
  padding: 24px 22px 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-strong);
  border-radius: 2px;
  background: color-mix(in srgb, var(--card) 60%, transparent);
  transition: transform 0.25s, box-shadow 0.25s;
}

.conclusion-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.conclusion-card.tone-under {
  border-top-color: var(--teal);
}

.conclusion-card.tone-fair {
  border-top-color: var(--amber);
}

.conclusion-card.tone-over {
  border-top-color: var(--brick);
}

.conclusion-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.conclusion-card h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.conclusion-card > p {
  min-height: 54px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.conclusion-list {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.conclusion-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}

.conclusion-list a:last-child {
  border-bottom: 0;
}

.conclusion-list a:hover b {
  color: var(--teal);
}

.conclusion-list b {
  font-weight: 500;
  transition: color 0.2s;
}

.conclusion-list span {
  font-family: var(--mono);
  font-size: 10px;
}

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

.company-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px) 0 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-2) 42%, transparent);
}

.company-hero::after {
  content: attr(data-ticker);
  position: absolute;
  right: -10px;
  bottom: 26px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(60px, 11vw, 142px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
  opacity: 0.035;
  pointer-events: none;
  white-space: nowrap;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb span:last-child {
  color: var(--ink-2);
}

.company-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-top: 26px;
  animation: rise 0.55s both;
}

.company-title .eyebrow {
  margin-bottom: 10px;
}

.company-title h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.company-title h1 .en {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-verdict {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.company-verdict::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--ink-2);
}

.quote-block {
  display: grid;
  grid-template-columns: auto auto;
  gap: clamp(22px, 4vw, 44px);
  padding-bottom: 4px;
}

.quote-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.quote-block b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.quote-block .delta,
.quote-block .up {
  display: inline-block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.quote-block .up {
  color: var(--teal);
}

.quote-block .down {
  color: var(--brick);
}

.company-range {
  margin: 30px 0 0;
  padding-bottom: 23px;
}

.range-big {
  position: relative;
  height: 58px;
  margin: 4px 0 2px;
}

.range-big svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.range-big .range-line {
  stroke: var(--line-strong);
  stroke-width: 2;
}

.range-big .range-cap {
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.range-big .range-base {
  fill: var(--ink);
}

.range-big .range-price {
  stroke: var(--teal);
  stroke-width: 2;
}

.range-big .range-price-dot {
  fill: var(--teal);
}

.range-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.range-legend b {
  color: var(--ink-2);
  font-weight: 500;
}

.range-legend .now b {
  color: var(--teal);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.stat-strip > div {
  padding: 15px 16px 16px 0;
}

.stat-strip > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.stat-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.stat-strip b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ---------------- Company body ---------------- */

.company-body {
  padding-top: clamp(38px, 5vw, 60px);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(290px, 0.78fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.company-main {
  min-width: 0;
}

.pullquote {
  position: relative;
  padding: 22px 26px 22px 28px;
  border-left: 3px solid var(--teal);
  background: color-mix(in srgb, var(--card) 72%, transparent);
  animation: rise 0.55s 0.06s both;
}

.pullquote p {
  font-family: var(--serif);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.85;
  letter-spacing: 0.005em;
}

.content-block {
  margin-top: clamp(38px, 5vw, 54px);
}

.block-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line-strong);
}

.block-num {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.block-head h2 {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.content-block > p {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.95;
}

.content-block > p:last-child {
  margin-bottom: 0;
}

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

.point-card {
  padding: 17px 16px 16px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal);
  background: color-mix(in srgb, var(--card) 55%, transparent);
}

.point-card.is-concern {
  border-top-color: var(--brick);
}

.point-card h4 {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.point-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table tr {
  border-bottom: 1px dashed var(--line);
}

.data-table tr:last-child {
  border-bottom: 0;
}

.data-table th,
.data-table td {
  padding: 11px 0;
  text-align: left;
  vertical-align: baseline;
}

.data-table th {
  width: 36%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.data-table td {
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.data-table td .note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.tone-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 1px;
}

.tone-dot.good {
  background: var(--teal);
}

.tone-dot.bad {
  background: var(--brick);
}

.tone-dot.neutral {
  background: var(--line-strong);
}

.assumption-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
}

.assumption-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.assumption-row span {
  color: var(--muted);
  font-size: 11px;
}

.assumption-row b {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.assumption-row small {
  grid-column: 1 / -1;
  margin-top: -4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.fineprint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.notice {
  margin-top: 14px;
  padding: 12px 15px;
  border-left: 2px solid var(--amber);
  background: color-mix(in srgb, var(--amber-soft) 45%, transparent);
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.8;
}

.scenario-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2px;
}

.scenario-table th {
  padding: 0 0 9px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: left;
}

.scenario-table th.num,
.scenario-table td.num {
  text-align: right;
}

.scenario-table td {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  vertical-align: baseline;
}

.scenario-table td.num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.scenario-table td .note {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.scenario-table .base-row td {
  color: var(--teal);
}

.buy-ladder {
  margin-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.buy-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.buy-row span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.buy-row b {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.risk-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.risk-list li {
  position: relative;
  padding: 9px 0 9px 15px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.7;
}

.risk-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brick);
  font-family: var(--mono);
}

.source-note {
  margin-top: 34px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

/* ---------------- Sidebar ---------------- */

.company-side {
  min-width: 0;
}

.side-card {
  margin-bottom: 14px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 68%, transparent);
}

.side-card.sticky {
  position: sticky;
  top: 88px;
}

.side-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.bridge-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 5px 0;
  font-size: 11px;
}

.bridge-row span {
  color: var(--muted);
}

.bridge-row b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.bridge-row.is-total {
  margin-top: 4px;
  padding-top: 9px;
  border-top: 1px solid var(--line-strong);
}

.bridge-row.is-total span {
  color: var(--ink);
  font-weight: 600;
}

.bridge-row.is-total b {
  font-size: 12px;
  font-weight: 600;
}

.mini-assumptions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-assumptions div {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.mini-assumptions span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.mini-assumptions b {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.scenario-ladder {
  padding-top: 2px;
}

.sc-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}

.sc-row > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.sc-track {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
}

.sc-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--line-strong);
}

.sc-row.is-base .sc-fill {
  background: var(--teal);
}

.sc-row.is-bear .sc-fill {
  background: var(--brick);
  opacity: 0.65;
}

.sc-price {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 1px;
  border-left: 1px dashed var(--teal);
}

.sc-row b {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sc-row.is-base b {
  color: var(--teal);
}

.sc-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.sc-foot::before {
  content: "";
  width: 14px;
  border-top: 1px dashed var(--teal);
}

.buy-mini {
  display: grid;
  gap: 0;
}

.buy-mini div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 10px;
}

.buy-mini div:last-child {
  border-bottom: 0;
}

.buy-mini span {
  color: var(--muted);
}

.buy-mini b {
  font-weight: 500;
  line-height: 1.5;
}

/* ---------------- Pager ---------------- */

.company-pager {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-2) 32%, transparent);
}

.pager-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pager-grid a {
  display: block;
  padding: 26px 0;
  transition: color 0.2s;
}

.pager-grid a:hover {
  color: var(--teal);
}

.pager-grid a + a {
  padding-left: 28px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.pager-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.pager-grid b {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

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

.method-hero {
  padding: clamp(52px, 7vw, 90px) 0 clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.method-hero h1 {
  max-width: 900px;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.method-hero p {
  max-width: 660px;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.95;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
}

.company-main,
.company-side,
.method-main,
.method-side {
  min-width: 0;
}

.formula-card {
  margin: 6px 0 20px;
  padding: 22px 24px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2.1;
  overflow-x: auto;
}

.formula-card .formula-line {
  display: block;
  white-space: nowrap;
}

.formula-card em {
  font-style: normal;
  color: #b9d8cc;
}

[data-theme="dark"] .formula-card em {
  color: #2a5f50;
}

.formula-card .formula-note {
  display: block;
  margin-top: 10px;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.7;
  white-space: normal;
}

.assumption-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 11px;
}

.assumption-table th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: right;
  white-space: nowrap;
}

.assumption-table th:first-child,
.assumption-table td:first-child {
  text-align: left;
}

.assumption-table td {
  padding: 9px 10px;
  border-bottom: 1px dashed var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.assumption-table td:first-child {
  font-weight: 500;
}

.assumption-table td:first-child span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
}

.assumption-table tr:last-child td {
  border-bottom: 0;
}

.callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 2px solid var(--teal);
  background: color-mix(in srgb, var(--teal-soft) 40%, transparent);
  font-size: 12px;
  line-height: 1.85;
}

.callout strong {
  font-weight: 600;
}

.caveat-list {
  counter-reset: caveat;
}

.caveat-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.8;
  counter-increment: caveat;
}

.caveat-list li::before {
  content: counter(caveat, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
}

.caveat-list li b {
  color: var(--ink);
  font-weight: 600;
}

.method-side .side-card {
  position: static;
}

.method-side .side-card + .side-card {
  margin-top: 14px;
}

.method-side p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.source-list {
  display: grid;
  gap: 0;
}

.source-list div {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.source-list div:last-child {
  border-bottom: 0;
}

.source-list b {
  display: block;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
}

/* ---------------- Footer ---------------- */

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-2) 38%, transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  padding: 34px 0 40px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer-note,
.footer-disclaimer {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.footer-disclaimer {
  text-align: right;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 44px;
  }

  .company-layout,
  .method-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.7fr);
    gap: 36px;
  }

  .points-grid {
    grid-template-columns: 1fr;
  }

  .point-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }

  .point-card h4 {
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --label-w: 180px;
    --meta-w: 126px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-card {
    max-width: 520px;
  }

  .company-layout,
  .method-layout {
    grid-template-columns: 1fr;
  }

  .company-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
  }

  .side-card {
    margin-bottom: 0;
  }

  .side-card.sticky {
    position: static;
  }

  .conclusion-grid {
    grid-template-columns: 1fr;
  }

  .conclusion-card > p {
    min-height: 0;
  }

  .company-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .quote-block {
    grid-template-columns: auto auto;
    justify-content: start;
  }

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

  .stat-strip > div:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }

  .stat-strip > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 720px) {
  :root {
    --label-w: 154px;
    --meta-w: 108px;
  }

  .shell {
    width: calc(100% - 36px);
  }

  .masthead-inner {
    min-height: 60px;
    gap: 14px;
  }

  .brand-text small {
    display: none;
  }

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 11px;
  }

  .market-date {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 50px);
  }

  .method-hero h1 {
    font-size: clamp(28px, 4.2vw, 40px);
    line-height: 1.2;
  }

  .hero-lede {
    font-size: 13px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-desc {
    max-width: none;
    text-align: left;
  }

  .chart-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filters {
    justify-content: flex-start;
  }

  .chart-axis {
    display: none;
  }

  .chart-row {
    grid-template-columns: minmax(0, 1fr) 94px;
    grid-template-areas:
      "label meta"
      "track track";
    padding: 10px 0 12px;
    row-gap: 4px;
  }

  .chart-label {
    grid-area: label;
    padding: 0;
  }

  .chart-track {
    grid-area: track;
    margin: 0;
    height: 22px;
  }

  .chart-meta {
    grid-area: meta;
    padding: 0;
  }

  .chart-bar {
    top: 6px;
    height: 10px;
  }

  .table-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .table-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .search {
    min-width: 0;
  }

  .mobile-only {
    display: inline;
  }

  .company-table {
    min-width: 620px;
  }

  .company-table .col-range,
  .company-table .col-pe,
  .company-table .col-div {
    display: none;
  }

  .range-strip {
    width: 104px;
  }

  .assumption-grid {
    grid-template-columns: 1fr;
  }

  .risk-list {
    grid-template-columns: 1fr;
  }

  .company-side {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-strip > div {
    padding: 12px 14px 12px 0;
  }

  .stat-strip > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .stat-strip > div:nth-child(4) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .stat-strip > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .quote-block b {
    font-size: 26px;
  }

  .company-title h1 {
    font-size: 38px;
  }

  .point-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .buy-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .pager-grid b {
    font-size: 17px;
  }

  .formula-card {
    font-size: 10px;
    padding: 18px;
  }
}

@media (max-width: 460px) {
  .brand-text strong {
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .nav a {
    font-size: 10px;
  }

  .hero-stats b {
    font-size: 26px;
  }

  .filter {
    padding: 6px 9px;
    font-size: 10px;
  }

  .chart-label b {
    font-size: 13px;
  }

  .chart-meta b {
    font-size: 12px;
  }

  .chart-meta span {
    display: none;
  }

  .company-table {
    min-width: 520px;
  }

  .cell-name a {
    min-width: 150px;
  }
}

/* ---------------- Motion ---------------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------- Print ---------------- */

@media print {
  body {
    background: #fff;
    color: #000;
  }

  body::before,
  .masthead,
  .site-footer,
  .company-pager,
  .hero-actions,
  .filters,
  .search,
  .theme-toggle {
    display: none !important;
  }

  .shell {
    width: 100%;
  }

  .panel,
  .side-card,
  .conclusion-card,
  .point-card {
    box-shadow: none;
    background: #fff;
  }

  .chart-bar.pos {
    background: #1f6b5c;
  }

  .chart-bar.neg {
    background: #9c3f36;
  }
}

/* ---------------- Deep report ---------------- */

.report-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "kicker arrow"
    "title arrow"
    "desc arrow";
  gap: 3px 20px;
  align-items: center;
  margin: 22px 0 8px;
  padding: 20px 24px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.report-cta:hover {
  transform: translateY(-2px);
  background: var(--teal-deep);
}

.report-cta-kicker {
  grid-area: kicker;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.report-cta-title {
  grid-area: title;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.report-cta-desc {
  grid-area: desc;
  font-size: 12px;
  color: rgba(247, 243, 235, 0.68);
}

.report-cta-arrow {
  grid-area: arrow;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  color: var(--amber);
}

.report-hero {
  padding: 42px 0 0;
  border-top: 4px solid var(--ink);
  background:
    linear-gradient(180deg, rgba(31, 107, 92, 0.045), transparent 44%),
    var(--paper);
}

.report-kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 46px;
  align-items: start;
  padding: 26px 0 22px;
}

.report-title h1 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.report-sub {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.rating-box {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.rating-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--line);
}

.rating-row span {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.rating-row b {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
}

.rating-row b.rating {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--brick);
}

.rating-box .fineprint {
  margin-top: 10px;
}

.report-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-meta > div {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
}

.report-meta > div:first-child {
  padding-left: 0;
}

.report-meta > div:last-child {
  border-right: 0;
}

.report-meta span {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.report-meta b {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.report-body {
  padding-top: 44px;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 54px;
  align-items: start;
}

.report-main {
  min-width: 0;
}

.report-section {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.report-section:first-child {
  padding-top: 0;
}

.report-sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--ink);
}

.report-sec-head span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.report-sec-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.report-lede {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 3px solid var(--teal);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.report-summary {
  margin: 8px 0 26px;
}

.summary-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px dotted var(--line);
}

.summary-item:last-child {
  border-bottom: 1px dotted var(--line);
}

.summary-item > span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 4px;
}

.summary-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
}

.report-section > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.report-intro {
  margin: 0 0 16px;
  color: var(--muted) !important;
  font-size: 13.5px !important;
}

.report-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.report-subhead span {
  font-weight: 600;
}

.report-subhead small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.report-table th {
  padding: 7px 8px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: left;
  vertical-align: bottom;
}

.report-table td {
  padding: 8px;
  border-bottom: 1px dotted var(--line);
  vertical-align: top;
  line-height: 1.55;
}

.report-table .num {
  text-align: right;
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: nowrap;
}

.report-table tbody tr:hover {
  background: var(--teal-wash);
}

.report-moat {
  margin-top: 18px;
}

.report-moat .moat-card {
  border-top: 2px solid var(--ink);
}

.report-dcf-summary {
  margin: 18px 0 8px;
  padding: 4px 18px 12px;
  border: 1px solid var(--line);
  background: var(--teal-wash);
}

.report-dcf-summary .report-subhead {
  border-bottom-color: var(--line);
}

.dcf-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  border-bottom: 1px dotted var(--line);
}

.dcf-line span {
  font-size: 12px;
  color: var(--ink-soft);
}

.dcf-line b {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
}

.dcf-line:last-of-type {
  border-bottom: 0;
  padding-top: 10px;
}

.dcf-line:last-of-type b {
  font-size: 16px;
  color: var(--teal);
}

.report-buy {
  margin-top: 18px;
}

.report-buy .buy-ladder {
  max-width: 520px;
}

.concern-list {
  margin-top: 4px;
}

.concern-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 14px 0;
  border-top: 1px dotted var(--line);
}

.concern-row:last-child {
  border-bottom: 1px dotted var(--line);
}

.concern-q {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.concern-q span {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--brick);
}

.concern-a {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.report-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.report-minihead {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-list li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-top: 1px dotted var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.report-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.report-boundary {
  border-bottom: 0;
}

.report-side {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.report-side .side-card.sticky {
  position: static;
}

.side-rating {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0 11px;
  border-bottom: 1px solid var(--line);
}

.side-rating b {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--brick);
}

.side-rating span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.side-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dotted var(--line);
}

.side-kv:last-child {
  border-bottom: 0;
}

.side-kv span {
  font-size: 11px;
  color: var(--muted);
}

.side-kv b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}

.report-pager {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .report-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rating-box {
    max-width: 420px;
  }

  .report-meta {
    grid-template-columns: repeat(3, 1fr);
  }

  .report-meta > div:nth-child(3) {
    border-right: 0;
  }

  .report-meta > div:nth-child(4),
  .report-meta > div:nth-child(5) {
    border-top: 1px solid var(--line);
  }

  .report-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .report-side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .report-cta {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "desc"
      "arrow";
    gap: 6px;
    padding: 18px;
  }

  .report-cta-title {
    font-size: 19px;
  }

  .report-cta-arrow {
    margin-top: 4px;
  }

  .report-hero {
    padding-top: 28px;
  }

  .report-kicker {
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 9px;
  }

  .report-head {
    padding-top: 18px;
  }

  .report-title h1 {
    font-size: 29px;
    line-height: 1.25;
  }

  .report-sub {
    font-size: 14.5px;
    line-height: 1.7;
  }

  .rating-box {
    max-width: none;
  }

  .report-meta {
    grid-template-columns: 1fr 1fr;
  }

  .report-meta > div {
    padding: 10px 8px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .report-meta > div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .report-meta > div:first-child,
  .report-meta > div:nth-child(2) {
    border-top: 0;
  }

  .report-body {
    padding-top: 30px;
  }

  .report-section {
    padding: 26px 0 30px;
  }

  .report-sec-head h2 {
    font-size: 21px;
  }

  .report-lede {
    font-size: 16.5px;
    line-height: 1.75;
    padding-left: 13px;
  }

  .summary-item {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
  }

  .summary-item p {
    font-size: 14px;
  }

  .report-section > p {
    font-size: 14px;
  }

  .concern-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .report-two-col {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .report-side {
    grid-template-columns: 1fr;
  }

  .report-pager {
    grid-template-columns: 1fr;
  }
}

@media print {
  .report-cta,
  .report-side,
  .report-pager {
    display: none !important;
  }

  .report-layout {
    display: block;
  }

  .report-section {
    break-inside: avoid;
  }

  .report-hero {
    border-top-width: 2px;
  }
}

/* Long DCF assumption strings must wrap inside the mobile column */
.report-intro,
.report-section p,
.report-section li,
.summary-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}
