/* ── London Overpricing Index ─────────────────────────────────────────── */

.idx-headline { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }

.idx-hero-stat { text-align: center; margin-bottom: 44px; }
.idx-hero-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(64px, 13vw, 132px);
  line-height: 1;
  font-weight: 500;
  color: var(--over);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.idx-hero-label {
  font-size: 18px;
  color: var(--slate);
  max-width: 460px;
  margin: 16px auto 0;
  line-height: 1.55;
}
.idx-hero-label strong { color: var(--ink); }

.idx-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.idx-split-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  background: var(--surface);
}
.idx-split-item.under { background: var(--under-bg); border-color: transparent; }
.idx-split-item.fair  { background: var(--fair-bg);  border-color: transparent; }
.idx-split-item.over  { background: var(--over-bg);  border-color: transparent; }
.idx-split-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 34px; font-weight: 500; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.idx-split-item.under .idx-split-num { color: var(--under); }
.idx-split-item.fair  .idx-split-num { color: var(--fair); }
.idx-split-item.over  .idx-split-num { color: var(--over); }
.idx-split-label { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.idx-split-sub { font-size: 12.5px; color: var(--slate); margin-top: 3px; }

.idx-basis {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  text-align: center;
}
.idx-basis strong { color: var(--ink); }

/* ── Area table ── */
.idx-table-section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.idx-table-section h2 { font-size: 26px; margin-bottom: 10px; }
.idx-note { font-size: 14px; color: var(--slate); margin-bottom: 24px; max-width: 640px; line-height: 1.65; }

.idx-table-wrap { overflow-x: auto; }
.idx-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.idx-table th, .idx-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.idx-table thead th {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--slate); font-weight: 600; white-space: nowrap;
}
.idx-table tbody th { font-weight: 600; color: var(--ink); }
.idx-table tbody th a { color: var(--ink); text-decoration: none; }
.idx-table tbody th a:hover { text-decoration: underline; }
.idx-table .num {
  text-align: right;
  font-family: 'IBM Plex Mono', monospace;
  font-variant-numeric: tabular-nums;
}
.idx-table .muted { color: var(--slate); font-size: 13.5px; }
.idx-table .over-val { color: var(--over); font-weight: 500; }
.idx-table .under-val a { color: var(--under); font-weight: 500; text-decoration: none; }
.idx-table .under-val a:hover { text-decoration: underline; }
.idx-table tbody tr:hover { background: var(--paper); }

/* ── Method + citation ── */
.idx-method { padding: 56px 0; }
.idx-method .container { max-width: 720px; }
.idx-method h2 { font-size: 24px; margin: 0 0 14px; }
.idx-method h2 + p { margin-top: 0; }
.idx-method h2:not(:first-child) { margin-top: 40px; }
.idx-method p { font-size: 15.5px; line-height: 1.78; color: var(--slate); margin-bottom: 16px; }
.idx-method strong { color: var(--ink); }
.idx-method a { color: var(--action); text-decoration: underline; text-underline-offset: 2px; }

.idx-cite {
  background: var(--paper);
  border-left: 3px solid var(--action);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin-top: 26px;
}
.idx-cite-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--slate); font-weight: 600; margin-bottom: 8px;
}
.idx-cite p { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.6; word-break: break-word; }

@media (max-width: 575px) {
  .idx-split { grid-template-columns: 1fr; }
  .idx-hero-label { font-size: 16px; }
}
