.hero {
  background: var(--gradient-hero);
  padding: 68px 0 40px;
  text-align: center;
}
.hero__inner { max-width: 720px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  margin-top: 14px;
}
.hero__sub {
  font-size: 18px;
  color: var(--slate);
  margin-bottom: 30px;
}
.zip-form {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-panel);
  max-width: 480px;
  margin: 0 auto;
}
.zip-form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
}
.zip-form input::placeholder { color: var(--muted); }
.zip-form .btn { white-space: nowrap; }
.zip-form__note {
  min-height: 20px;
  color: #D64545;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 10px;
}
.hero__trust {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 560px) {
  .zip-form { flex-direction: column; border-radius: var(--radius-md); }
  .zip-form .btn { width: 100%; }
}

/* Best carrier grid on homepage */
.carrier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.carrier-tile {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 16px;
  text-align: center;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.carrier-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-blue-bright);
}
.carrier-tile--logo img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.carrier-tile--logo:hover img {
  transform: scale(1.05);
}
@media (max-width: 760px) {
  .carrier-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Article preview cards (also reused on articles index) */
.article-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card__media {
  height: 150px;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
}
.article-card__media svg { width: 46px; height: 46px; stroke: var(--accent-blue); }
.article-card__body { padding: 28px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.article-card__body h3 { font-size: 18px; margin-top: 2px; margin-bottom: 12px; }
.article-card__body p { font-size: 14.5px; flex: 1; }
.article-card__link { font-weight: 700; font-size: 14px; margin-top: 10px; }

/* Illustration slots for the "where to compare" / "only accept the best" section */
.section-image { display: flex; align-items: center; }
.section-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Illustration slots for the 3 "how it works" process tiles */
.tile-illustration {
  margin: -32px -32px 22px;
}
.tile-illustration .image-placeholder {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  aspect-ratio: 16 / 10;
}
.tile-illustration img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: block;
}

.image-placeholder {
  width: 100%;
  border: 1.5px dashed var(--border-soft);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
}
.image-placeholder svg {
  width: 38px;
  height: 38px;
  stroke: var(--accent-blue);
}
.image-placeholder span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}
