html { scroll-behavior: smooth; }
.cmp-hero { padding: 36px 0 40px; border-bottom: 1px solid var(--hairline); }
.cmp-hero h1 { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -0.03em; max-width: 20ch; margin: 0 0 16px; }
.cmp-hero__lead { max-width: 68ch; color: var(--body); font-size: 17px; line-height: 1.55; }

.cmp-bill {
  margin: 40px auto 0;
  max-width: 36rem;
  text-align: center;
}
.cmp-bill__head {
  display: block;
  color: var(--on-dark);
  text-decoration: none;
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.88;
}
.cmp-bill__head:hover,
.cmp-bill__head:focus-visible { color: var(--btn-hover); }
.cmp-bill__line {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmp-bill__rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.cmp-bill__rule::before,
.cmp-bill__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.cmp-bill__field {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
}
.cmp-bill__field a {
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: clamp(15px, 2.1vw, 18px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cmp-bill__field a:hover,
.cmp-bill__field a:focus-visible { color: var(--on-dark); }

.cmp-section { padding: 48px 0; border-bottom: 1px solid var(--hairline); }
.cmp-section--hooks .cmp-hero__lead { margin-left: auto; margin-right: auto; text-align: center; }
.cmp-section--hooks .cmp-kicker,
.cmp-section--hooks .rv-section__title { text-align: center; }
.cmp-kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.cmp-avgs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.cmp-avg { border: 1px solid var(--hairline); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.cmp-avg b { font-variant-numeric: tabular-nums; }
.cmp-chart-wrap { position: relative; height: min(420px, 62vw); background: rgba(255,255,255,0.02); border: 1px solid var(--hairline); border-radius: 16px; padding: 16px 12px 8px; }
.cmp-chart-wrap canvas { width: 100%; height: 100%; display: block; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cmp-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.cmp-tip { position: absolute; pointer-events: none; background: #121826; border: 1px solid var(--hairline); border-radius: 8px; padding: 8px 10px; font-size: 12px; color: var(--on-dark); display: none; z-index: 2; white-space: nowrap; }
.cmp-note { font-size: 13px; color: var(--muted); max-width: 72ch; margin: 14px 0 0; }

.cmp-hooks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 32px auto 0;
}
.cmp-hook {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 168px;
  padding: 20px 28px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  scroll-margin-top: 96px;
}
.cmp-hook--duel { border-color: rgba(94, 110, 255, 0.35); }
.cmp-hook__mark {
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmp-hook__mark img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}
.cmp-hook__body { min-width: 0; }
.cmp-hook__brand {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmp-hook h3 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; color: var(--on-dark); }
.cmp-hook p { font-size: 14px; line-height: 1.5; color: var(--body); margin: 0; overflow-wrap: anywhere; }

.cmp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.cmp-table th, .cmp-table td { border-bottom: 1px solid var(--hairline); padding: 12px 10px; text-align: left; vertical-align: top; }
.cmp-table thead th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.cmp-table tbody th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; width: 7.5rem; }
.cmp-table .fight { color: #e8b86d; }

.cmp-close {
  padding: 56px 0 64px;
  border-top: 1px solid var(--hairline);
  background:
    radial-gradient(80% 70% at 8% 0%, rgba(94, 110, 255, 0.14), transparent 55%),
    radial-gradient(60% 50% at 100% 100%, rgba(32, 208, 149, 0.06), transparent 50%);
}
.cmp-close .rv-section__title { max-width: 18ch; }
.cmp-close__prose { max-width: 68ch; }
.cmp-close__prose p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 18px;
}
.cmp-close__prose p:last-child { margin-bottom: 0; color: var(--body-strong); }

@media (max-width: 800px) {
  .cmp-hero { padding: 24px 0 28px; }
  .cmp-hero h1 { max-width: none; }
  .cmp-hero__lead { font-size: 16px; }
  .cmp-bill { margin-top: 32px; }
  .cmp-bill__field { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .cmp-section { padding: 36px 0; }
  .cmp-hook {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 16px 16px;
  }
  .cmp-hook__mark,
  .cmp-hook__mark img { width: 72px; height: 72px; }
  .cmp-hook h3 { font-size: 17px; }
  .cmp-chart-wrap { height: 260px; padding: 10px 6px 4px; }
  .cmp-close { padding: 40px 0 48px; }
  .cmp-close .rv-section__title { max-width: none; }
  .cmp-close__prose p { font-size: 16px; }
}
