/* Photographic cards, score graphs, avatars, and softer surfaces */
.hero {
  background: #081a32;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 13, 28, .88) 0%, rgba(5, 13, 28, .63) 43%, rgba(5, 13, 28, .12) 76%);
  pointer-events: none;
}

.hero::after { display: none; }

.hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy { z-index: 2; }

.site-photo {
  position: relative;
  height: 270px;
  margin: 0;
  overflow: hidden;
  background: #0d1b2a;
}

.site-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 15, 30, .82), rgba(6, 15, 30, .14) 58%, rgba(6, 15, 30, .02));
  pointer-events: none;
}

.site-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#rank-2 .site-photo img { object-position: 58% center; }
#rank-4 .site-photo img { object-position: center; }

#rank-1 .site-photo {
  height: 430px;
  background: #070b15;
}

#rank-1 .site-photo img {
  object-fit: contain;
  object-position: center;
}

#rank-2 .site-photo img,
#rank-3 .site-photo img {
  object-position: center top;
}

.table-box table { min-width: 650px; }
.external-cta { background: linear-gradient(#22c873, #079b55); }

.site-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}

.site-photo figcaption small {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.site-photo figcaption strong {
  font-size: 36px;
  line-height: 1;
  letter-spacing: .08em;
}

.score-chart {
  margin: 20px;
  padding: 20px;
  border: 1px solid #dbe2eb;
  border-radius: 14px;
  background: linear-gradient(145deg, #f7fafc, #eef3f7);
}

.score-chart__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d6dee8;
}

.score-chart__head h3 { margin: 0; font-size: 18px; }
.score-chart__head small { color: #6c7583; font-size: 10px; }
.metrics { display: grid; gap: 11px; }
.metric { display: grid; grid-template-columns: 72px 1fr 30px; align-items: center; gap: 10px; }
.metric > span { color: #354052; font-size: 12px; font-weight: 900; }
.metric > b { color: #e3343c; font-size: 14px; text-align: right; }
.track { height: 10px; overflow: hidden; border-radius: 999px; background: #d8e0e9; box-shadow: inset 0 1px 2px #73839925; }
.track i { display: block; width: var(--score); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1486d1, #10b96a); box-shadow: 0 0 8px #0fa26755; }

/* Unified person silhouette for reviews */
.review > div > span {
  position: relative;
  overflow: hidden;
  color: transparent !important;
  background: linear-gradient(145deg, #1c8fd0, #075889) !important;
  box-shadow: 0 3px 9px #07588933;
}

.review > div > span::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.review > div > span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 34px;
  height: 22px;
  border-radius: 18px 18px 8px 8px;
  background: #fff;
  transform: translateX(-50%);
}

/* Softer blocks */
.card { overflow: hidden; border-radius: 16px; }
.card-head { overflow: hidden; }
.compare, .intro, .guide { border-radius: 18px; }
.table-box { border-radius: 12px; }
.rank-nav { border-radius: 0 0 12px 12px; }
.rank-nav a { border-radius: 8px; }
.benefit { margin: 12px 17px 0; border-radius: 10px; }
.body li { border-radius: 0 9px 9px 0; }
.review { overflow: hidden; border-radius: 12px; }
.guide article { border-radius: 12px; }
.closing a, .cta { border-radius: 10px; }

@media (max-width: 600px) {
  .hero-photo { object-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,13,28,.9), rgba(5,13,28,.58) 68%, rgba(5,13,28,.16)); }
  .site-photo { height: 210px; }
  #rank-1 .site-photo { height: 360px; }
  .site-photo figcaption { left: 18px; bottom: 18px; }
  .site-photo figcaption strong { font-size: 28px; }
  .score-chart { margin: 14px; padding: 15px; border-radius: 12px; }
  .score-chart__head { display: block; }
  .score-chart__head small { display: block; margin-top: 4px; }
  .metric { grid-template-columns: 62px 1fr 27px; gap: 7px; }
  .metric > span { font-size: 10px; }
  .card { border-radius: 13px; }
}
