.hero {
  padding: 72px 0 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-accent {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--yellow);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
  max-width: 820px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
}

.section-methodology {
  background: var(--black);
  color: var(--white);
  padding: 72px 0;
}

.methodology-intro {
  max-width: 740px;
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.criterion-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.criterion-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.criterion-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: var(--white);
}

.criterion-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.35rem;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .criteria-grid { grid-template-columns: 1fr 1fr; }
}

.section-ranking {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

.agency-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.agency-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  border-color: var(--yellow);
}

.agency-card.rank-1 {
  border-left: 4px solid var(--yellow);
  background: #FAFFF0;
}

.agency-num {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.agency-card.rank-1 .agency-num {
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}

.agency-name {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin: 0 0 0.25rem !important;
  color: var(--text);
}

.agency-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.agency-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

.agency-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-mid);
}

.agency-best-for {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.agency-best-for strong {
  color: var(--text);
}

.agency-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border: 2px solid var(--black);
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.agency-link:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

@media (max-width: 767px) {
  .agency-card {
    grid-template-columns: 1fr;
  }

  .agency-num {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

.section-table {
  background: var(--black);
  padding: 80px 0;
}

.section-table .section-title {
  color: var(--white);
}

.section-table .section-subtitle {
  color: rgba(255,255,255,0.55);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 900px;
  color: rgba(255,255,255,0.82);
}

.comparison-table th {
  background: rgba(255,255,255,0.06);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.875rem 1.25rem;
  text-align: left;
  white-space: nowrap;
}

.comparison-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  vertical-align: top;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:first-child td {
  color: var(--white);
  font-weight: 600;
}

.comparison-table tbody tr:hover td {
  background: rgba(255,255,255,0.03);
}

.section-content {
  padding: 80px 0;
}

.section-content-alt {
  background: var(--gray-light);
  padding: 80px 0;
}

.content-prose {
  max-width: 840px;
}

.content-prose p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.content-prose p:last-child {
  margin-bottom: 0;
}

.content-prose strong {
  color: var(--black);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pricing-card.featured {
  border-color: var(--yellow);
  border-width: 2px;
}

.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.section-faq {
  background: var(--gray-light);
  padding: 80px 0;
}

.faq-list {
  max-width: 740px;
  margin-top: 2.5rem;
}

details {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

details[open] {
  border-color: var(--yellow);
}

summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 1rem;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  line-height: 1.45;
  flex: 1;
}

summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  line-height: 1;
}

details[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.faq-answer p {
  margin-bottom: 0;
}

.section-cta {
  background: var(--yellow);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-cta .section-title {
  color: var(--black);
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  color: rgba(0,0,0,0.65);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
  margin: 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--black);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.btn-cta:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

@media (max-width: 767px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .hero,
  .section-methodology,
  .section-ranking,
  .section-table,
  .section-content,
  .section-content-alt,
  .section-faq,
  .section-cta {
    padding: 48px 0;
  }
}

/* ── Agency tags ──────────────────────────────────────────────────────────── */
.agency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.tag {
  font-size: 0.73rem;
  font-weight: 500;
  padding: 0.22rem 0.65rem;
  background: var(--gray-light);
  color: var(--text-muted);
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid var(--gray-mid);
}

/* ── Agency metrics strip ─────────────────────────────────────────────────── */
.agency-metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.metric-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}
.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Callout boxes ────────────────────────────────────────────────────────── */
.callout {
  background: var(--gray-light);
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  line-height: 1.7;
}
.callout strong {
  color: var(--black);
}

.callout--dark {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  border-left-color: var(--yellow);
}
.callout--dark strong {
  color: var(--white);
}

.callout--yellow {
  background: var(--yellow);
  color: var(--black);
  border-left: none;
  padding-left: 1.5rem;
}
.callout--yellow strong {
  color: var(--black);
}
