@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Michroma";
  src: url("/fonts/michroma-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: var(--color-ink);
  --muted: var(--color-ink-muted);
  --canvas: var(--color-surface);
  --line: var(--color-line);
  --brand: var(--color-brand);
  --brand-strong: var(--color-brand-strong);
  --signal: var(--color-signal);
  --dark: var(--color-canvas);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.site-nav,
.site-footer,
main > section {
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgb(17 1 10 / 96%);
  color: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: var(--text-label);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.875rem;
}

.brand-mark span {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--signal);
}

.site-nav nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav nav a,
.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: var(--text-label);
  font-weight: 700;
  text-decoration: none;
  transition:
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.site-nav nav a:hover,
.site-footer a:hover {
  color: var(--signal);
  transform: translateY(-1px);
}

.site-nav nav a[aria-current="page"] {
  color: var(--signal);
}

.comparison-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding-top: 112px;
  padding-bottom: 96px;
  background: var(--dark);
  color: white;
}

.comparison-hero::before {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(48vw, 760px);
  background: url("/images/hero-poster.jpg") 58% center / cover no-repeat;
  content: "";
  opacity: 0.42;
  mask-image: linear-gradient(90deg, transparent, black 32%);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 32%);
}

.comparison-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgb(255 255 255 / 16%);
  content: "";
}

.comparison-hero > * {
  position: relative;
  z-index: 1;
}

.comparison-hero--hub {
  min-height: 500px;
}

.eyebrow,
.card-meta {
  color: var(--brand-strong);
  font-size: var(--text-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-hero .eyebrow {
  color: var(--signal);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  scroll-margin-top: 96px;
}

h1 {
  max-width: 1080px;
  margin-top: 24px;
  font-size: var(--text-display);
  line-height: var(--leading-tight);
  text-wrap: balance;
}

h1 span {
  color: var(--brand);
}

h2 {
  font-size: var(--text-heading);
  line-height: var(--leading-heading);
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.3;
  text-wrap: pretty;
}

.hero-copy {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: var(--text-label);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--brand);
  color: white;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.button--secondary:hover {
  border-color: white;
  background: rgb(255 255 255 / 10%);
}

.checked {
  margin: 24px 0 0;
  color: var(--color-text-subtle);
  font-size: var(--text-caption);
}

.coverage-strip {
  display: grid;
  max-width: 860px;
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.coverage-strip > div {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 16px;
  padding: 16px 24px 16px 0;
}

.coverage-strip > div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.coverage-strip strong {
  color: var(--signal);
  font-family: "Michroma", sans-serif;
  font-size: 26px;
  font-weight: 400;
  white-space: nowrap;
}

.coverage-strip span {
  color: var(--color-text-muted);
  font-size: var(--text-caption);
  line-height: 1.45;
}

.content-band,
.source-band,
.method-band,
.cta-band {
  padding-top: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--line);
}

.quick-answer {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
}

.quick-answer h2,
.section-heading h2,
.source-band h2,
.method-band h2,
.cta-band h2 {
  margin-top: 16px;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-self: start;
  background: var(--line);
}

.answer-grid article {
  min-height: 250px;
  padding: 32px;
  background: white;
}

.answer-grid article:first-child {
  border-top: 4px solid var(--brand);
}

.answer-grid article:last-child {
  border-top: 4px solid var(--signal);
}

.answer-grid p,
.comparison-card p,
.section-heading > p,
.source-band p,
.method-band > p,
.workflow p {
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.7;
}

.section-heading,
.source-band,
.method-band,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 64px;
}

.section-heading > p,
.method-band > p {
  margin: 0;
}

.table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: white;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

thead th {
  background: var(--dark);
  color: white;
  font-size: 13px;
}

thead th:first-child {
  width: 52%;
}

tbody th {
  font-size: var(--text-body);
}

tbody th small {
  display: block;
  max-width: 580px;
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 500;
  line-height: 1.5;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background-color var(--duration-fast) var(--ease-out);
}

tbody tr:hover {
  background: color-mix(in srgb, var(--brand) 4%, white);
}

.status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: var(--text-caption);
  font-weight: 800;
  white-space: nowrap;
}

.status--sphen {
  background: var(--color-status-brand-bg);
  color: var(--color-status-brand-ink);
}

.status--yes {
  background: var(--color-status-positive-bg);
  color: var(--color-status-positive-ink);
}

.status--unknown {
  background: var(--color-status-neutral-bg);
  color: var(--color-status-neutral-ink);
}

.workflow-band {
  padding-top: 112px;
  padding-bottom: 112px;
  background: var(--dark);
  color: white;
}

.workflow-band .eyebrow {
  color: var(--signal);
}

.workflow-band h2 {
  max-width: 900px;
  margin-top: 16px;
}

.workflow {
  display: grid;
  margin: 64px 0 0;
  padding: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.workflow li {
  min-height: 240px;
  padding: 28px 24px 24px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow li + li {
  padding-left: 24px;
}

.workflow li:last-child {
  border-right: 0;
}

.workflow span {
  display: block;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.workflow strong {
  display: block;
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
}

.workflow p {
  color: rgba(255, 255, 255, 0.56);
}

.source-band {
  align-items: start;
}

.source-band p:first-child {
  margin-top: 0;
}

.source-band ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.source-band li {
  border-top: 1px solid var(--line);
}

.source-band li:last-child {
  border-bottom: 1px solid var(--line);
}

.source-band a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 16px 0;
  font-size: var(--text-label);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.source-band a:hover {
  color: var(--brand-strong);
}

.cta-band {
  border-bottom: 0;
  background: var(--signal);
}

.cta-band .eyebrow {
  color: #4a6100;
}

.cta-band .button {
  justify-self: end;
}

.comparison-grid {
  display: block;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.comparison-card {
  display: grid;
  min-height: 150px;
  grid-template-columns:
    minmax(150px, 0.65fr)
    minmax(230px, 1.15fr)
    minmax(280px, 1.5fr)
    minmax(150px, 0.7fr)
    auto;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background-color var(--duration-base) var(--ease-out),
    padding var(--duration-base) var(--ease-out);
}

.comparison-card:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: var(--color-surface-raised);
}

.comparison-card h3 {
  margin: 0;
}

.comparison-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: var(--text-label);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.card-coverage {
  margin: 0;
  color: var(--color-brand-deeper);
  font-size: var(--text-caption);
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-card a span {
  color: var(--brand);
  font-size: 20px;
}

.site-footer {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--dark);
  color: white;
}

.site-footer strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}

.site-footer p {
  max-width: 500px;
  color: var(--color-text-subtle);
  font-size: var(--text-label);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .quick-answer,
  .section-heading,
  .source-band,
  .method-band,
  .cta-band {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .comparison-grid {
    display: block;
  }

  .comparison-card {
    grid-template-columns: minmax(130px, 0.6fr) minmax(0, 1.4fr) auto;
  }

  .comparison-card p {
    grid-column: 1 / -1;
  }

  .card-coverage {
    grid-column: 2;
  }

  .comparison-card a {
    grid-column: 3;
  }

  .cta-band .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-nav,
  .site-footer,
  main > section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-nav nav {
    gap: 14px;
  }

  .site-nav nav a {
    font-size: var(--text-caption);
  }

  .brand > span:last-child {
    display: none;
  }

  .comparison-hero {
    min-height: 520px;
    padding-top: 80px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .content-band,
  .source-band,
  .method-band,
  .cta-band,
  .workflow-band {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .answer-grid,
  .workflow,
  .coverage-strip {
    grid-template-columns: 1fr;
  }

  .coverage-strip > div,
  .coverage-strip > div + div {
    min-height: 74px;
    padding: 14px 0;
    border-left: 0;
  }

  .coverage-strip > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  table {
    min-width: 0;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  tbody tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    background: white;
  }

  tbody th {
    padding: 22px 20px;
    border-bottom: 1px solid var(--line);
  }

  tbody td {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
  }

  tbody td:last-child {
    border-bottom: 0;
  }

  tbody td::before {
    max-width: 58%;
    content: attr(data-label);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
  }

  .answer-grid article,
  .comparison-card {
    min-height: 0;
  }

  .comparison-card,
  .comparison-card:hover {
    display: flex;
    padding: 28px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: transparent;
  }

  .comparison-card a {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .workflow li,
  .workflow li + li {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
  }

  .workflow strong {
    margin-top: 24px;
  }

  .site-footer {
    min-height: 280px;
    align-items: flex-start;
    padding-top: 64px;
    padding-bottom: 64px;
    flex-direction: column;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .comparison-card,
  .site-nav nav a,
  .site-footer a {
    transition: none;
  }
}
