/* Homepage — bento magazine layout */
.masthead {
  position: relative;
  isolation: isolate;
  padding: var(--space-7) 0 var(--space-6);
  background:
    linear-gradient(120deg, rgba(247, 249, 252, 0.94) 35%, rgba(30, 58, 95, 0.12) 100%),
    url("/assets/hero-atmosphere.jpg") center / cover no-repeat;
  overflow: hidden;
}

.masthead::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: var(--lime);
  opacity: 0.18;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 80%);
  z-index: -1;
}

.mast-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  margin-bottom: var(--space-4);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-question {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--slate);
  max-width: 14ch;
  margin: 0 0 var(--space-4);
}

.hero-question em {
  font-style: normal;
  color: var(--ink);
  background: linear-gradient(180deg, transparent 62%, var(--lime) 62%);
}

.hero-answer {
  font-size: 1.2rem;
  max-width: 52ch;
  margin-bottom: var(--space-5);
}

.independence {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  max-width: 70ch;
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--lime);
  padding: var(--space-3) var(--space-4);
  font-size: 0.95rem;
}

.independence p {
  margin: 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
}

.bento > * {
  grid-column: span 12;
}

@media (min-width: 720px) {
  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
  .span-12 { grid-column: span 12; }
}

.section {
  padding: var(--space-6) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: end;
  margin-bottom: var(--space-5);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--slate);
}

.stat-num span {
  color: var(--lime-ink);
  background: var(--lime);
  padding: 0 0.15em;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
  margin: var(--space-2) 0 0;
}

/* Compact comparison table + featured row */
.showcase-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 var(--space-2);
  font-family: var(--font-ui);
  font-size: 0.92rem;
}

.showcase-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 0 var(--space-3) var(--space-2);
}

.showcase-table td {
  background: var(--tile);
  padding: var(--space-3);
  vertical-align: middle;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-table td:first-child {
  border-left: 4px solid var(--slate);
}

.showcase-table td:last-child {
  border-right: 1px solid var(--line);
}

.showcase-table tr.is-featured td {
  background: linear-gradient(90deg, #f3ffe3, #fff);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.showcase-table tr.is-featured td:first-child {
  border-left-color: var(--lime);
  border-left-width: 6px;
}

.op-cell {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 180px;
}

.op-cell img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 4px;
}

.op-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--slate);
}

.op-cell .meta {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 28ch;
}

.featured-blurb {
  display: none;
}

tr.is-featured .featured-blurb {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  max-width: 42ch;
}

.score-pill {
  display: inline-block;
  min-width: 3.5rem;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(30, 58, 95, 0.08);
  padding: 0.35rem 0.5rem;
}

.table-scroll {
  overflow-x: auto;
}

.aff-note {
  margin-top: var(--space-3);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 4px solid var(--slate-soft);
  padding-left: var(--space-3);
}

/* Operator rows (card style: bordered rows) */
.op-rows {
  display: grid;
  gap: var(--space-3);
}

.op-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  background: var(--tile);
  border: 1px solid var(--line);
  border-left: 4px solid var(--slate);
  padding: var(--space-4);
}

@media (min-width: 800px) {
  .op-row {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.op-row__logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px;
}

.op-row__body h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-2);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-3) 0;
}

.op-row__action {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  min-width: 160px;
}

.op-row__action .score {
  font-size: 1.6rem;
}

.op-row__action .score small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.tiny-note {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
}

.info-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.info-link::before {
  content: "[ ";
}

.info-link::after {
  content: " ]";
  color: var(--slate-mid);
}

/* Head-to-head duels */
.duels {
  display: grid;
  gap: var(--space-3);
}

.duel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  background: var(--tile);
  border-left: 4px solid var(--lime);
  padding: var(--space-4);
}

@media (min-width: 760px) {
  .duel {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }
}

.duel-vs {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate);
  display: grid;
  place-items: center;
  padding: 0 var(--space-2);
}

.duel h3 {
  font-size: 1.35rem;
}

.duel ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.95rem;
}

.band-tinted {
  background:
    linear-gradient(180deg, rgba(238, 242, 247, 0.92), rgba(238, 242, 247, 0.96)),
    url("/assets/section-band.jpg") center / cover no-repeat;
  border-block: 1px dashed var(--line);
}

.figure-block {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 840px) {
  .figure-block {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.figure-block figure {
  margin: 0;
  border-left: 4px solid var(--slate);
  background: var(--tile);
}

.figure-block img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.figure-block figcaption {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
  padding: var(--space-2) var(--space-3);
}

.faq-prose {
  display: grid;
  gap: var(--space-5);
}

.faq-prose article {
  border-left: 4px solid var(--slate);
  padding-left: var(--space-4);
}

.faq-prose h3 {
  font-size: 1.5rem;
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: var(--space-4);
}

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

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}

.checklist li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--slate);
  font-weight: 700;
}

@media (max-width: 700px) {
  .showcase-table th:nth-child(3),
  .showcase-table td:nth-child(3),
  .showcase-table th:nth-child(4),
  .showcase-table td:nth-child(4) {
    display: none;
  }
}
