.home-story .section-head,
.home-snapshot .section-head,
.home-pricing .section-head {
  max-width: 760px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.story-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface), #ffffff 3%), var(--surface));
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.story-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -45px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.22), rgba(255, 122, 24, 0));
  pointer-events: none;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-turquoise));
}

.story-card h3 {
  margin-bottom: 0.45rem;
}

.home-snapshot {
  padding-top: 0.4rem;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.snapshot-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.15rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.snapshot-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.snapshot-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--text);
}

.snapshot-list span:first-child {
  color: var(--success);
}

.provider-pills.modern {
  display: grid;
  gap: 0.55rem;
}

.provider-pills.modern .pill {
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.provider-pills.modern .pill strong {
  color: var(--text);
  font-size: 0.95rem;
}

.provider-pills.modern .pill em {
  font-style: normal;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-pricing .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.pricing-showcase {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1rem;
}

.plan-card {
  width: min(100%, 290px);
  min-height: 620px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card.popular {
  width: min(100%, 330px);
  min-height: 660px;
  border-color: color-mix(in srgb, var(--brand-orange), var(--border) 45%);
  box-shadow: 0 24px 50px rgba(9, 16, 22, 0.26);
  transform: translateY(-12px);
}

.plan-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-turquoise));
  border-radius: 999px;
  padding: 0.26rem 0.65rem;
}

.plan-card h3 {
  margin-bottom: 0.45rem;
}

.plan-card .price {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.plan-card .price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-subtitle {
  min-height: 2.5rem;
  margin: 0 0 0.7rem;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
  flex: 1;
}

.plan-features li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 0.45rem;
  color: var(--text);
}

.plan-features li.disabled {
  color: var(--text-muted);
}

.checkmark {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.plan-features li.enabled .checkmark {
  border-color: rgba(32, 215, 160, 0.38);
}

.plan-features li.disabled .checkmark {
  border-color: rgba(145, 161, 172, 0.5);
}

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

  .pricing-showcase {
    flex-wrap: wrap;
  }

  .plan-card.popular {
    transform: none;
  }
}

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

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

  .pricing-showcase {
    flex-direction: column;
    align-items: stretch;
  }

  .plan-card,
  .plan-card.popular {
    width: 100%;
    min-height: 0;
  }
}
