/* Methodology page — uses the tokens in styles.css (:root) */
.method {
  max-width: calc(880px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 56px var(--gutter) 112px;
  color: var(--ink);
}
.method .kicker { margin: 0; font-size: 11px; letter-spacing: 0.99px; text-transform: uppercase; color: var(--muted); }
.method h1 { margin: 10px 0 0; font-size: 44px; font-weight: 600; line-height: 1.1; letter-spacing: -1.2px; }
.method .lede { margin: 20px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 720px; }
.method .toc { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 32px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method .toc a { font-size: 13px; line-height: 1.5; color: var(--link); }
.method .toc a:hover { text-decoration: underline; }
.method section { margin-top: 56px; scroll-margin-top: 24px; }
.method h2 { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.3px; }
.method p, .method li { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.method p { margin: 14px 0 0; max-width: 720px; }
.method ul { margin: 14px 0 0; padding-left: 20px; max-width: 720px; }
.method li + li { margin-top: 8px; }
.method b { color: var(--ink); font-weight: 600; }
.method .small { font-size: 14px; color: var(--muted); }
.method .tone.good { color: var(--good); font-weight: 600; }
.method .tone.bad { color: var(--bad); font-weight: 600; }
.method .loading { color: var(--muted); font-size: 14px; }

.tbl-wrap { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.tbl thead th { font-size: 11px; font-weight: 500; letter-spacing: 0.99px; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.tbl tbody th { font-weight: 400; }
.tbl tbody th b { display: block; font-size: 15px; }
.tbl .q { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.tbl .num { text-align: right; font-family: var(--mono); font-size: 13px; white-space: nowrap; padding-right: 0; padding-left: 12px; }
.tbl thead .num { font-family: inherit; font-size: 11px; }
.tbl .na { color: var(--faint); }
.tbl.pillars tbody th { width: 34%; }
.tbl.weights tbody th { min-width: 240px; }
.method .mlist { list-style: none; margin: 0; padding: 0; max-width: none; }
.mlist li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.mlist li + li { margin-top: 6px; }
.mlist .w { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tbl .sub { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.defs { margin: 20px 0 0; max-width: 760px; }
.defs dt { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--ink); }
.defs dd { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

@media (max-width: 720px) {
  .method { padding-top: 32px; }
  .method h1 { font-size: 34px; }
  .method .lede { font-size: 17px; }
  .tbl.pillars tbody th { width: auto; }
  .tbl.pillars, .tbl.pillars tbody, .tbl.pillars tr, .tbl.pillars th, .tbl.pillars td { display: block; }
  .tbl.pillars thead { display: none; }
  .tbl.pillars tbody th { border-bottom: 0; padding-bottom: 4px; }
  .tbl.weights tbody th { min-width: 180px; }
}

/* Legal pages (terms, privacy, disclaimer) reuse this layout */
.method .inline-link { color: var(--link); }
.method .inline-link:hover { text-decoration: underline; }
.method.legal .lede + .small { margin-top: 12px; }

/* Privacy policy > Your rights: download / delete when signed in (auth.js renderDataActions) */
.data-actions { margin-top: 20px; max-width: 720px; padding: 20px; border: 1px solid var(--line-soft); background: var(--surface); }
.data-actions .data-who { margin: 0; font-size: 15px; }
.data-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.data-download { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--ink); background: #fff; font-size: 14px; font-weight: 500; }
.data-download:hover { background: var(--ink); color: #fff; }
.data-delete { font-size: 14px; color: var(--bad); text-decoration: underline; }
