.best-page .hero {
  padding: 24px 0 10px;
}

.best-page .hero__inner {
  display: grid;
  gap: 16px;
}

.best-page__hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(0, 199, 177, 0.16), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(0, 187, 255, 0.12), transparent 26%),
    var(--bg-surface);
  border: 1px solid var(--border-soft);
}

.best-page__hero-panel p {
  margin: 0;
  color: var(--text-secondary);
}

.best-page__hero-list {
  display: grid;
  gap: 10px;
}

.best-page__hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  line-height: 1.56;
  text-wrap: pretty;
}

.best-page__hero-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--brand-primary);
}

.best-page__top-picks {
  display: grid;
  gap: 20px;
}

.best-page__step {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  padding: clamp(16px, 2vw, 22px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 116%, rgba(0, 187, 255, 0.1), transparent 36%),
    linear-gradient(160deg, rgba(19, 29, 50, 0.86), rgba(11, 18, 34, 0.92));
  border: 1px solid var(--border-soft);
}

.best-page__step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.best-page__step-index {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-accent-soft, rgba(189, 238, 0, 0.14));
  color: var(--card-accent, var(--brand-primary));
  font-weight: 900;
}

.best-page__step-title {
  margin: 0;
  font-size: 1.02rem;
}

.best-page__step-copy {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.58;
  text-wrap: pretty;
}

.best-page__aside {
  display: grid;
  gap: 12px;
}

.best-page__note {
  padding: clamp(15px, 1.8vw, 20px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 116%, rgba(0, 187, 255, 0.1), transparent 36%),
    linear-gradient(160deg, rgba(19, 29, 50, 0.86), rgba(11, 18, 34, 0.92));
  border: 1px solid var(--border-soft);
}

.best-page__note h2,
.best-page__note h3 {
  margin: 0;
  font-size: 1.02rem;
}

.best-page__note p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.58;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.best-page__link-grid {
  display: grid;
  gap: 12px;
}

.best-page__link {
  display: grid;
  gap: 6px;
  padding: 15px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 187, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
}

.best-page__link strong {
  font-size: 0.98rem;
}

.best-page__link span {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.48;
}

@media (min-width: 700px) {
  .best-page .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
    align-items: start;
  }

  .best-page__top-picks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 699px) {
  .best-page .hero {
    padding: 10px 0 0;
  }

  .best-page .hero__inner {
    gap: 12px;
  }

  .best-page__hero-panel,
  .best-page__step,
  .best-page__note {
    padding: 14px;
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.1);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
      rgba(13, 20, 40, 0.82);
    box-shadow: 0 8px 18px rgba(2, 6, 18, 0.2);
  }

  .best-page__top-picks {
    gap: 12px;
  }

  .best-page__aside {
    gap: 10px;
  }

  .best-page .rank-head {
    gap: 8px;
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .best-page .table-block {
    gap: 14px;
    padding-top: 0;
  }

  .best-page #intent-table .table-scroll {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .best-page #intent-table .table-scroll table {
    min-width: 0;
    width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
  }

  .best-page #intent-table .compare-table {
    display: block;
  }

  .best-page #intent-table .compare-table thead,
  .best-page #intent-table .compare-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .best-page #intent-table .compare-table tbody {
    display: grid;
    gap: 12px;
  }

  .best-page #intent-table .compare-table tbody tr {
    display: block;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
      rgba(13, 20, 40, 0.82);
    box-shadow: 0 8px 18px rgba(2, 6, 18, 0.2);
  }

  .best-page #intent-table .compare-table tbody tr:nth-child(odd) td,
  .best-page #intent-table .compare-table tbody tr:nth-child(odd) th[scope="row"],
  .best-page #intent-table .compare-table tbody tr:hover td,
  .best-page #intent-table .compare-table tbody tr:hover th[scope="row"] {
    background: transparent !important;
  }

  .best-page #intent-table .compare-table tbody th[scope="row"],
  .best-page #intent-table .compare-table tbody td {
    position: relative;
    display: block;
    width: 100%;
    padding: 8px 0 10px 82px;
    border: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    background: transparent !important;
    text-align: left;
  }

  .best-page #intent-table .compare-table tbody th[scope="row"] {
    padding-top: 0;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .best-page #intent-table .compare-table tbody td[data-label="Action"] {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .best-page #intent-table .compare-table tbody th[scope="row"]::before,
  .best-page #intent-table .compare-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 10px;
    width: 74px;
    color: var(--text-muted);
    font-size: 0.62rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .best-page #intent-table .compare-table tbody th[scope="row"]::before {
    top: 3px;
  }

  .best-page #intent-table .table-entity {
    gap: 8px;
  }

  .best-page #intent-table .table-entity__logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .best-page #intent-table .table-entity strong {
    font-size: 0.9rem;
  }

  .best-page #intent-table .table-entity span {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .best-page #intent-table .table-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .best-page #intent-table .table-actions .btn-primary,
  .best-page #intent-table .table-actions .btn-secondary {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    font-size: 0.78rem;
  }
}

.best-page #intent-table .table-v1 td[data-label="Why it wins"] {
  line-height: 1.45;
  text-wrap: pretty;
}

@media (max-width: 699px) {
  .best-page #intent-table .table-v1 tbody td[data-label="Fit"] {
    font-weight: 700;
  }

  .best-page #intent-table .table-v1 tbody td[data-label="Why it wins"] {
    font-size: 0.82rem;
    line-height: 1.42;
  }
}

.best-page__step .rank-card__brand {
  align-items: center;
}

.best-page__step .rank-card__logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 699px) {
  .best-page__step .rank-card__logo {
    width: 50px;
    height: 50px;
    border-radius: 13px;
  }

  .best-page__step-title {
    line-height: 1.2;
    text-wrap: balance;
  }
}

.best-page__hero-panel,
.best-page__step,
.best-page__note {
  background:
    linear-gradient(166deg, rgba(19, 30, 53, 0.88), rgba(10, 18, 34, 0.94)),
    var(--bg-surface);
  border-color: rgba(145, 184, 224, 0.2);
  box-shadow:
    0 10px 22px rgba(2, 8, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.best-page #intent-table .table-scroll {
  border-radius: 18px;
}

.best-page #intent-table .compare-table thead th:first-child {
  border-top-left-radius: 14px;
}

.best-page #intent-table .compare-table thead th:last-child {
  border-top-right-radius: 14px;
}

.best-page main {
  gap: clamp(14px, 2vw, 24px);
}

.best-page__hero-panel,
.best-page__step,
.best-page__note {
  padding: clamp(16px, 1.9vw, 22px);
}

.best-page__top-picks,
.best-page__aside,
.best-page .table-block {
  gap: clamp(12px, 1.6vw, 18px);
}

@media (max-width: 699px) {
  .best-page main {
    gap: 14px;
  }
}
