/*
 * About tab: thesis, model bullets, measured vs assumed table, calibration gates, airline
 * sources, what the model does not cover, design docs.
 *
 * Straight article layout, no charts, small tables. Paper palette everywhere; ink for the
 * headings, ink-soft for the copy. Keep readable in a single narrow column.
 */

.about-tab {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--gap-l) var(--page-side) 60px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-l);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.about-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-title {
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.005em;
}
.about-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 62ch;
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-section h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  padding-top: var(--gap-m);
}

.about-inline {
  margin: 0;
  color: var(--ink-soft);
}

.about-list {
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-list li { padding-left: 4px; }

.about-list code {
  background: var(--paper-2);
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink);
}

.about-list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.about-list a:hover { color: var(--moving); }

.about-docs a { font-weight: 500; }

.about-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.about-table th,
.about-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.about-table th {
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--rule);
}

/*
 * Assumption table: three columns (Number, Value, Source or assumption). The kind attribute
 * tints the source column so a reader can scan down which numbers are measured versus
 * assumed instead of parsing each cell as prose.
 */
.about-assumptions-table tr[data-kind="assumption"] td:last-child {
  color: var(--ink);
  background: color-mix(in oklab, var(--paper-2) 60%, transparent);
  font-style: italic;
}
.about-assumptions-table tr[data-kind="estimate"] td:last-child {
  color: var(--ink-soft);
  font-style: italic;
}
.about-assumptions-table tr[data-kind="derived"] td:last-child {
  color: var(--ink-soft);
}
.about-assumptions-table tr[data-kind="measured"] td:last-child {
  color: var(--ink);
}
/*
 * N7-n7: a demonstration (a controlled test with n=1, e.g. MythBusters) is not the same
 * evidence class as a peer-reviewed measurement; nudge the treatment so a reader scanning
 * the source column sees the distinction at a glance without hunting the sample size in
 * the source text.
 */
.about-assumptions-table tr[data-kind="demonstration"] td:last-child {
  color: var(--ink-soft);
  font-style: italic;
  text-decoration: underline dotted color-mix(in oklab, var(--rule) 65%, transparent);
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .about-table { display: block; overflow-x: auto; }
}

/* Round-08 N8-m7: legend for the assumption-table encodings. Each swatch inherits the
 * style of the row-kind it names, so the code reads at a glance instead of by trial. */
.about-assumptions-key {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.7;
}
.about-assumptions-key .key-swatch {
  padding: 1px 6px;
  border-radius: 3px;
  background: color-mix(in oklab, var(--paper-2) 40%, transparent);
  margin: 0 1px;
}
.about-assumptions-key .key-swatch[data-kind="assumption"] { color: var(--ink); font-style: italic; }
.about-assumptions-key .key-swatch[data-kind="estimate"] { color: var(--ink-soft); font-style: italic; }
.about-assumptions-key .key-swatch[data-kind="derived"] { color: var(--ink-soft); }
.about-assumptions-key .key-swatch[data-kind="measured"] { color: var(--ink); font-weight: 600; }
.about-assumptions-key .key-swatch[data-kind="demonstration"] {
  color: var(--ink-soft);
  font-style: italic;
  text-decoration: underline dotted color-mix(in oklab, var(--rule) 65%, transparent);
  text-underline-offset: 3px;
}

.about-airlines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
@media (max-width: 600px) {
  .about-airlines { grid-template-columns: 1fr; }
}

.about-airline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  font-size: 12px;
}
.about-airline-title {
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
}
.about-airline-body { color: var(--ink-soft); line-height: 1.45; }
.about-airline-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }
.about-airline-link:hover { color: var(--moving); }

.about-generation {
  margin: 0;
  padding: 12px 14px;
  background: var(--paper-2);
  border-radius: var(--radius-m);
  color: var(--ink-soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
