/* =========================================
   top-index.css
   tousiportal.jp トップページ専用（競合整理・完成版）
   ※カテゴリ4枚は #top-categories ラッパー前提
========================================= */

.top-page {
  --top-bg: #f7fbff;
  --top-surface: #ffffff;
  --top-surface-soft: #fbfdff;
  --top-border: #d9e3ec;
  --top-text: #223548;
  --top-muted: #5b6b79;
  --top-primary: #0653a6;
  --top-primary-dark: #043f7d;
  --top-primary-soft: #eef6ff;
  --top-shadow: 0 8px 24px rgba(20, 45, 90, 0.08);
  --top-shadow-soft: 0 3px 10px rgba(15, 35, 60, 0.05);
  --top-shadow-hover: 0 12px 28px rgba(20, 45, 90, 0.12);
  --top-radius: 14px;
  --top-radius-lg: 18px;
  --top-gap: 16px;
  --top-tap: 48px;
}

/* 既存 title をトップでは視覚的に整理 */
.top-page > .title {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 共通 */
.top-page p,
.top-page li,
.top-page a,
.top-page span,
.top-page small {
  font-size: 0.9rem;
}

.top-page .anime-item {
  border-radius: var(--top-radius);
  border: 1px solid var(--top-border);
  box-shadow: var(--top-shadow-soft);
}

.top-page .anime-title {
  line-height: 1.45;
}

.top-page .category-section {
  scroll-margin-top: 72px;
}

.top-page .top-card {
  width: auto;
  margin: 0;
}

.top-page .top-card:hover,
.top-page .top-card:focus-visible {
  color: inherit;
}

.top-page .review {
  border-color: var(--top-border);
}

.top-page .review-card {
  width: 100%;
}

.top-page .review-card span {
  color: var(--top-text);
}

.top-section {
  margin: 0.85rem 0 1.15rem;
  scroll-margin-top: 78px;
}

.top-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

.top-section__title {
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 5px solid #0077cc;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #2c3e50;
}

.top-section__link {
  flex-shrink: 0;
  color: var(--top-primary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.top-section__link:hover,
.top-section__link:focus-visible,
.top-page .top-hero__links a:hover,
.top-page .top-hero__links a:focus-visible {
  text-decoration: underline;
}

/* =========================
   Hero 本体
   ========================= */
.top-hero {
  padding: 24px 22px;
  border: 1px solid var(--top-border);
  border-radius: var(--top-radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--top-shadow-soft);
}

.top-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.top-hero__main {
  min-width: 0;
}

.top-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 10px;
  padding: 0.2rem 0.7rem;
  border: 1px solid #c9d9ea;
  border-radius: 999px;
  background: var(--top-primary-soft);
  color: var(--top-primary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.top-hero__title {
  margin: 0;
  max-width: 520px;
  font-size: 1.55rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--top-text);
  text-wrap: balance;
}

.top-hero__lead {
  margin-top: 14px;
  margin-bottom: 0;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.75;
  color: #2f3f52;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.top-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* =========================
   Hero trust badges
   ========================= */
.top-hero__trust {
  margin-top: 18px;
}

.top-hero__trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-hero__trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #d7e4f0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(20, 45, 90, 0.06);
}

.top-hero__trust-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0653a6;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.top-hero__trust-text {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
  color: #2b3e50;
  white-space: normal;
  text-wrap: pretty;
}

/* ボタン */
.top-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--top-tap);
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.top-button:hover,
.top-button:focus-visible {
  transform: translateY(-1px);
}

.top-button--primary {
  background: var(--top-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(6, 83, 166, 0.18);
}

.top-button--primary:hover,
.top-button--primary:focus-visible {
  background: var(--top-primary-dark);
  color: #fff;
}

.top-button--secondary {
  background: #fff;
  color: var(--top-primary);
  border-color: #bdd2e8;
}

.top-button--secondary:hover,
.top-button--secondary:focus-visible {
  background: #f7fbff;
  color: var(--top-primary);
}

.top-hero__actions .top-button--secondary {
  min-width: 190px;
  border-width: 1.5px;
}

.top-hero__actions .top-button--secondary:hover,
.top-hero__actions .top-button--secondary:focus-visible {
  background: #f1f7ff;
  border-color: #9fc3e7;
}

/* Grid */
.top-grid {
  display: grid;
  gap: var(--top-gap);
}

.top-grid--1,
.top-grid--3,
.top-grid--4 {
  grid-template-columns: 1fr;
}

.top-grid--metrics {
  grid-template-columns: repeat(2, 1fr);
}

/* Cards */
.top-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--top-border);
  border-radius: var(--top-radius);
  background: var(--top-surface);
  box-shadow: var(--top-shadow-soft);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.top-card:hover,
.top-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--top-shadow-hover);
  border-color: #bfd3e8;
}

.top-card__title {
  margin: 8px 0 8px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--top-text);
}

.top-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--top-muted);
}

.top-card--shortcut {
  min-height: 152px;
}

.top-card--feature,
.top-card--panel {
  min-height: 140px;
}

/* Badge */
.top-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.65rem;
  border: 1px solid #c9d9ea;
  border-radius: 999px;
  background: var(--top-primary-soft);
  color: var(--top-primary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

/* =========================
   ヒーロー直下の証拠ブロック
   ========================= */
.top-proof {
  margin: 14px 0 16px;
  padding: 14px 16px;
  border: 2px solid #8fb7df;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
  box-shadow: 0 10px 24px rgba(6, 83, 166, 0.08);
}

.top-proof__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #1f3550;
  letter-spacing: 0.01em;
}

.top-proof__text strong {
  font-size: 1.03rem;
  font-weight: 800;
}

/* =========================
   Categories Panel
   ========================= */
#top-categories {
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid #d7e3ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  box-shadow: 0 14px 34px rgba(20, 45, 90, 0.08);
}

#top-categories .top-categories-panel__head {
  margin-bottom: 14px;
}

#top-categories .top-categories-panel__title {
  margin: 0 0 8px;
  font-size: 1.22rem;
  line-height: 1.45;
  color: #1f3550;
}

#top-categories .top-categories-panel__lead {
  margin: 0;
  color: var(--top-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

#top-categories .top-grid {
  gap: 14px;
}

#top-categories .top-card--category {
  position: relative;
  display: block;
  min-height: 188px;
  padding: 18px 18px 48px;
  border: 1px solid #d3dfeb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 20px rgba(20, 45, 90, 0.06);
  color: inherit;
  text-decoration: none;
}

#top-categories .top-card--category:hover,
#top-categories .top-card--category:focus-visible {
  transform: translateY(-3px);
  border-color: #b9cde2;
  box-shadow: 0 14px 28px rgba(20, 45, 90, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fe 100%);
}

#top-categories .top-card--category .top-card__title {
  margin: 10px 0 8px;
  color: #1f3550;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
}

#top-categories .top-card--category .top-card__text {
  margin: 0;
  color: #516273;
  font-size: 0.92rem;
  line-height: 1.75;
}

#top-categories .top-card--category .top-badge {
  background: #eef6ff;
  color: #0653a6;
  border: 1px solid #c9d9ea;
}

#top-categories .top-card--category::after {
  content: "→";
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 1rem;
  font-weight: 800;
  color: #0653a6;
  opacity: 0.72;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

#top-categories .top-card--category:hover::after,
#top-categories .top-card--category:focus-visible::after {
  transform: translateX(4px);
  opacity: 1;
}

#top-categories .top-card--category-feature {
  border-color: #8fb7df;
  background: linear-gradient(180deg, #f3f9ff 0%, #eaf4ff 100%);
  box-shadow:
    0 12px 26px rgba(6, 83, 166, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

#top-categories .top-card--category-feature:hover,
#top-categories .top-card--category-feature:focus-visible {
  border-color: #6ea6d8;
  background: linear-gradient(180deg, #f8fbff 0%, #e4f1ff 100%);
}

#top-categories .top-card--category-feature .top-badge {
  background: #0653a6;
  color: #fff;
  border-color: #0653a6;
}

/* おすすめ一社 */
#top-shortcuts {
  margin-top: 18px;
}

#top-shortcuts .top-section__head {
  margin-bottom: 14px;
}

#top-shortcuts .top-section__title {
  line-height: 1.5;
}

.top-shortcuts-lead {
  margin: 0 0 16px;
  color: var(--top-muted);
  line-height: 1.8;
}

.top-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#top-shortcuts .top-pick {
  margin: 0;
}

#top-shortcuts .top-pick__box {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 226px;
  padding: 16px 16px 15px;
  border: 2px solid #d6e3ef;
  border-radius: var(--top-radius);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--top-shadow-soft);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

#top-shortcuts .top-pick__box:hover,
#top-shortcuts .top-pick__box:focus-visible {
  transform: translateY(-2px);
  border-color: #bfd3e8;
  box-shadow: var(--top-shadow-hover);
}

#top-shortcuts .top-pick__box--total {
  border-color: #d9c27a;
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
  box-shadow:
    0 14px 28px rgba(112, 90, 18, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

#top-shortcuts .top-pick__box--beginner {
  border-color: #8fb7df;
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
  box-shadow:
    0 12px 24px rgba(6, 83, 166, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

#top-shortcuts .top-pick__box--total:hover,
#top-shortcuts .top-pick__box--total:focus-visible {
  border-color: #bea04a;
}

#top-shortcuts .top-pick__box--beginner:hover,
#top-shortcuts .top-pick__box--beginner:focus-visible {
  border-color: #5e9ad2;
}

#top-shortcuts .top-pick__head,
#top-shortcuts .top-pick__main {
  margin-bottom: 10px;
}

#top-shortcuts .top-pick__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

#top-shortcuts .top-pick__rank {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

#top-shortcuts .top-pick__rank--total {
  color: #8a6720;
}

#top-shortcuts .top-pick__rank--beginner {
  color: #0653a6;
}

#top-shortcuts .top-pick__title {
  margin: 0;
  font-size: 1.13rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--top-text);
}

#top-shortcuts .top-pick__lead {
  margin: 6px 0 0;
  color: var(--top-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

#top-shortcuts .top-pick__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.2rem 0.7rem;
  border: 1px solid #c9d9ea;
  border-radius: 999px;
  background: var(--top-primary-soft);
  color: var(--top-primary);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

#top-shortcuts .top-pick__label {
  margin: 0 0 8px;
  color: var(--top-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

#top-shortcuts .top-pick__points {
  display: grid;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

#top-shortcuts .top-pick__points li {
  color: var(--top-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.top-pick-group + .top-pick-group {
  margin-top: 18px;
}

.top-pick-group {
  padding: 16px;
  border: 1px solid #d7e3ef;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--top-shadow-soft);
}

.top-pick-group--beginner {
  border-color: #cfe2f4;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.top-pick-group__head {
  margin-bottom: 14px;
}

.top-pick-group__title {
  margin: 0 0 6px;
  font-size: 1.14rem;
  line-height: 1.45;
  color: #1e3650;
}

.top-pick-group__lead {
  margin: 0;
  color: var(--top-muted);
  line-height: 1.7;
}

.top-pick--violent .top-pick__title {
  font-size: 1.18rem;
}

/* サイト説明・方針 */
.top-summary-lead,
.top-site-brief__lead,
.top-experience__lead,
.top-diagnosis-lead,
.top-category-intro {
  color: var(--top-muted);
  line-height: 1.8;
}

.top-summary-lead,
.top-site-brief__lead,
.top-experience__lead {
  margin: 0 0 12px;
}

.top-diagnosis-lead {
  margin: 0 0 14px;
}

.top-category-intro {
  margin: 0 0 10px;
}

.top-summary-table td,
.top-summary-table th {
  line-height: 1.45;
}

.top-site-brief {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.top-site-brief__links,
.top-experience__actions,
.top-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.top-experience {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.top-experience__box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--top-border);
  border-radius: var(--top-radius);
  background: #fff;
  box-shadow: var(--top-shadow-soft);
}

.top-experience__sub {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--top-text);
}

.top-diagnosis-section {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

/* FAQや既存カード接続 */
.top-review-list .review {
  margin-bottom: 12px;
}

.top-sub-title {
  margin: 26px 0 12px;
  padding: 8px 12px;
  border-left: 4px solid #2f6f5f;
  border-radius: 6px;
  background: rgba(255, 255, 255, .55);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.top-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--top-border);
  border-radius: 999px;
  background: #fff;
  color: var(--top-primary);
  text-decoration: none;
  font-weight: 700;
}

/* CTA */
.top-cta-band {
  border: 1px solid var(--top-border);
  border-radius: var(--top-radius-lg);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: var(--top-shadow-soft);
}

.top-cta-band__inner {
  padding: 22px 18px;
}

.top-cta-band__title {
  margin: 0 0 14px;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--top-text);
}

/* スキップリンク */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0653a6;
  color: #fff;
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ジャンプ先ハイライト */
.jump-highlight {
  position: relative;
  animation: jumpGlowStrong 3s ease forwards;
}

.jump-highlight::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(238, 246, 255, 0.96), rgba(226, 239, 255, 0.78));
  box-shadow:
    0 0 0 2px rgba(6, 83, 166, 0.22),
    0 0 0 8px rgba(6, 83, 166, 0.10),
    0 16px 32px rgba(6, 83, 166, 0.12);
  animation: jumpGlowStrongOutline 3s ease forwards;
  pointer-events: none;
}

.category-section.jump-highlight .linecenter {
  color: var(--top-primary);
}

@keyframes jumpGlowStrong {
  0% { transform: translateY(0); }
  14% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@keyframes jumpGlowStrongOutline {
  0% { opacity: 0; transform: scale(0.994); }
  12% { opacity: 1; transform: scale(1); }
  72% { opacity: 0.7; }
  100% { opacity: 0; transform: scale(1); }
}

/* focus */
.top-page a:focus-visible,
.top-page button:focus-visible {
  outline: 2px solid #7bb2f2;
  outline-offset: 3px;
}

/* tablet */
@media (min-width: 768px) {
  .top-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .top-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-grid--metrics,
  .top-grid--metrics.top-grid--metrics-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* pc */
@media (min-width: 1024px) {
  .top-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .top-cta-band__inner {
    padding: 26px 24px;
  }

  .top-summary-table colgroup col:nth-child(1) { width: 18%; }
  .top-summary-table colgroup col:nth-child(2) { width: 24%; }
  .top-summary-table colgroup col:nth-child(3) { width: 34%; }
  .top-summary-table colgroup col:nth-child(4) { width: 24%; }
}

/* responsive */
@media (max-width: 960px) {
  .top-hero__trust {
    margin-top: 14px;
  }

  .top-hero__trust-list {
    gap: 10px;
  }

  .top-hero__trust-item {
    min-height: 78px;
    padding: 12px 14px;
  }

  .top-hero__trust-text {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

@media (max-width: 900px) {
  .top-hero__inner {
    grid-template-columns: 1fr;
  }

  .top-pick-grid {
    grid-template-columns: 1fr;
  }

  #top-shortcuts .top-pick__box,
  #top-categories .top-card--category {
    min-height: auto;
  }
}

@media (max-width: 740px) {
  .top-hero__title {
    max-width: 420px;
    font-size: 1.18rem;
    line-height: 1.32;
    letter-spacing: -0.015em;
  }
}

@media (max-width: 600px) {
  .top-hero {
    padding: 16px;
  }

  .top-hero__title {
    max-width: 100%;
  }

  .top-hero__title--compact {
    font-size: 1.1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
  }

  .top-hero__trust {
    margin-top: 12px;
  }

  .top-hero__trust-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .top-hero__trust-item {
    min-height: auto;
    padding: 12px 13px;
    border-radius: 12px;
  }

  .top-hero__trust-label {
    font-size: 0.68rem;
    min-height: 22px;
    padding: 0 9px;
  }

  .top-hero__trust-text {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .top-section__head {
    display: block;
  }

  .top-section__link {
    display: inline-block;
    margin-top: 4px;
  }

  .top-button {
    width: 100%;
  }

  .top-grid--metrics,
  .top-grid--metrics.top-grid--metrics-compact {
    grid-template-columns: 1fr;
  }

  #top-categories {
    padding: 14px;
    border-radius: 16px;
  }

  #top-categories .top-categories-panel__title {
    font-size: 1.08rem;
  }

  #top-categories .top-categories-panel__lead {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  #top-categories .top-card--category {
    padding: 16px 16px 46px;
    border-radius: 14px;
  }

  #top-categories .top-card--category .top-card__title {
    font-size: 1rem;
  }

  #top-categories .top-card--category .top-card__text {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  #top-categories .top-card--category::after {
    right: 14px;
    bottom: 12px;
  }

  .top-proof {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .top-proof__text,
  .top-proof__text strong {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  #top-shortcuts .top-pick__box {
    padding: 15px 14px;
  }

  #top-shortcuts .top-pick__head {
    flex-direction: column;
    gap: 8px;
  }

  #top-shortcuts .top-pick__title {
    font-size: 1.04rem;
  }

  #top-shortcuts .top-pick__points li,
  .top-category-intro {
    font-size: 0.9rem;
  }

  .top-pick-group {
    padding: 14px;
  }

  .top-site-brief__links,
  .top-experience__actions,
  .top-cta-band__actions {
    display: grid;
    gap: 10px;
  }

  .top-experience__box {
    padding: 16px;
  }

  .top-page .review-card {
    align-items: flex-start;
  }

  .top-page .review-card img {
    width: 42px;
    height: 42px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .top-button,
  .top-card,
  #top-categories .top-card--category,
  #top-categories .top-card--category::after,
  .jump-highlight,
  .jump-highlight::before {
    transition: none;
    animation: none;
  }

  .jump-highlight::before {
    opacity: 1;
  }
}

.card small {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  background: #eef6ff;
  color: #0653a6;
}
