/* FLEX datasheet (/flex/datasheet, /ua/flex/datasheet): components the rest
   of the site does not use. Loaded after /styles.css. */

.lead {
  color: var(--text-secondary);
  margin-top: 1.5rem;
  max-width: 46rem;
}

.hero-sub + .hero-sub { margin-top: 1rem; }

.text-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.text-link:hover { color: var(--accent-text); }

/* Multi-column data table (compression comparison) */
.table-scroll {
  overflow-x: auto;
  margin-top: 3rem;
}

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

.data-table th,
.data-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--divider-faint);
  white-space: nowrap;
}

.data-table thead th {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom-color: var(--divider-light);
}

.data-table tbody th {
  color: var(--text-primary);
  font-weight: 600;
}

.data-table td {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.data-table td.is-flex {
  color: var(--text-primary);
  font-weight: 600;
}

.table-note {
  margin-top: 1.25rem;
  max-width: 52rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-tertiary);
}

.table-note strong { color: var(--text-secondary); font-weight: 600; }

/* Spec table whose row labels may wrap (long platform names) */
.spec-table.spec-wrap th { white-space: normal; }

/* Plain list */
.bullet-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
  max-width: 46rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.6rem;
  height: 1px;
  background: var(--text-secondary);
}

/* Field-proof card — the one teal mark on the page */
.split-grid.split-top { align-items: start; }

.proof-card {
  background: var(--bg-panel-2);
  border: 1px solid var(--divider-faint);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.proof-card .eyebrow {
  color: var(--accent-text);
  margin-bottom: 0.75rem;
}

.proof-card p {
  margin-top: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Word-valued stats */
.stat .stat-value.stat-text {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Numbered steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  border-top: 1px solid var(--divider-light);
  padding-top: 1.25rem;
}

.step-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}

.step h3 { margin-top: 0.5rem; }

.step p {
  margin-top: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

#specs { scroll-margin-top: 5rem; }

@media screen and (max-width: 767px) {
  .data-table th,
  .data-table td { padding: 0.85rem 0.9rem; }
}

/* Four number stats on one row without mid-value wraps */
.stat-row.stat-compact .stat-value {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  white-space: nowrap;
}

/* Two-by-two feature cards */
@media screen and (min-width: 768px) {
  .feature-grid.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
