/* Homepage layout: colour-blocked hero, diagonal bands, stepped offsets */

.hero {
  background: var(--hero);
  color: oklch(0.97 0.015 155);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(28rem 18rem at 18% 20%, oklch(0.62 0.18 155 / 0.45), transparent 58%),
    radial-gradient(22rem 16rem at 88% 70%, oklch(0.7 0.1 180 / 0.28), transparent 55%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero p, .hero a { color: oklch(0.9 0.04 155); }
.hero a { color: oklch(0.86 0.12 155); }
.hero-line {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.4vw, 5.1rem);
  font-weight: 800;
  line-height: 0.98;
  max-width: 16ch;
  margin: 0 0 var(--space-md);
  color: oklch(0.98 0.01 155);
}
.notice {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  font-size: 0.92rem;
  margin-bottom: var(--space-sm);
}
.notice strong {
  color: oklch(0.86 0.12 155);
  font-weight: 700;
}

.step-a { padding-inline: clamp(1rem, 4vw, 2rem); }
.step-b { padding-inline: clamp(1.5rem, 7vw, 4.5rem); }
.step-c { padding-inline: clamp(1rem, 10vw, 6.5rem); }

.band {
  padding-block: var(--space-2xl);
}
.band-tint {
  background: color-mix(in oklch, var(--mist) 70%, transparent);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}
.band-float {
  background: transparent;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.9fr);
  gap: var(--space-lg);
  align-items: start;
}
.side-card {
  background: color-mix(in oklch, var(--paper) 50%, white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-md) 0;
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--paper) 40%, white);
  padding: var(--space-sm);
}
.cmp {
  width: 100%;
  min-width: 52rem;
  border-collapse: separate;
  border-spacing: 0 0.55rem;
  font-variant-numeric: tabular-nums;
}
.cmp th, .cmp td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  vertical-align: top;
  background: transparent;
}
.cmp thead th {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
  background: var(--mist);
}
.cmp thead th:first-child { border-radius: 0.8rem 0 0 0.8rem; }
.cmp thead th:last-child { border-radius: 0 0.8rem 0.8rem 0; }
.cmp tbody td { background: color-mix(in oklch, var(--paper) 30%, white); }
.cmp tbody td:first-child,
.cmp thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: oklch(0.97 0.015 155);
}
.cmp tbody tr.is-featured td {
  background: color-mix(in oklch, var(--emerald) 10%, white);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.cmp tbody tr.is-featured td:first-child {
  background: color-mix(in oklch, var(--emerald) 12%, white);
}
.cmp .op {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  min-width: 11rem;
}
.cmp .op img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  background: white;
  border-radius: 0.7rem;
  padding: 0.2rem;
}
.grade {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--emerald-deep);
  line-height: 1;
}
.expand {
  font-size: 0.92rem;
  max-width: 62ch;
  margin-top: 0.45rem;
}

.ad-note {
  font-size: 0.88rem;
  background: var(--mist);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
}

.picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.pick {
  background: color-mix(in oklch, var(--paper) 45%, white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}
.pick h3 { font-size: 1.35rem; }
.pick ol { margin: 0; padding-left: 1.15rem; }

.rows { display: grid; gap: var(--space-md); }
.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-md);
  align-items: center;
  background: color-mix(in oklch, var(--paper) 42%, white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  will-change: transform;
}
.row-logo {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  background: white;
  border-radius: 1rem;
  padding: 0.35rem;
}
.row-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  min-width: 9rem;
}
.row-action .fine {
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-align: right;
  max-width: 12rem;
}
.meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.4rem 0; }
.licence {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}
.licence a { font-size: 0.8rem; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}
.stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.faq details {
  background: color-mix(in oklch, var(--paper) 40%, white);
  padding: var(--space-md);
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
}
.faq .answer { margin-top: var(--space-sm); max-width: var(--measure); }

.safety {
  background: var(--ink);
  color: oklch(0.95 0.02 155);
  padding: var(--space-xl) 0;
}
.safety h2 { color: oklch(0.97 0.01 155); }
.safety p { color: oklch(0.86 0.03 155); }
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.safety a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  background: color-mix(in oklch, white 8%, transparent);
  padding: var(--space-md);
  border-radius: var(--radius);
  color: oklch(0.92 0.05 155);
  text-decoration: underline;
}
.safety img {
  height: 2rem;
  width: auto;
  max-width: 7rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.disclaimer {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-bottom: var(--space-xl);
}

@media (max-width: 960px) {
  .lead-grid, .picks, .safety-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: auto 1fr; }
  .row-action { grid-column: 1 / -1; align-items: flex-start; }
  .cta { width: 100%; }
}
@media (max-width: 640px) {
  .lead-grid, .picks, .safety-grid { grid-template-columns: 1fr; }
  .hero { clip-path: none; padding-bottom: 2rem; }
  .band-tint { clip-path: none; }
}
