/* semi-custom.html: benefits, plan list */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem 2rem;
}

.benefits li {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}

.plans-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.plans-bar label {
  display: grid;
  gap: .3rem;
  font-size: .9rem;
  font-weight: 500;
}

.plans-bar select {
  font: inherit;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
}

.plan {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.plan-name {
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.plan-specs {
  color: var(--text-soft);
}

.plan-price {
  font-family: var(--font-title);
  font-size: 1.9rem;
}

.plan-soon {
  color: var(--text-soft);
  font-size: .9rem;
}

@media (max-width: 768px) {
  /* name + price on the first line, specs + download on the second */
  .plan {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name price"
      "specs cta";
    gap: .5rem 1rem;
  }
  .plan-name { grid-area: name; }
  .plan-price { grid-area: price; text-align: right; }
  .plan-specs { grid-area: specs; }
  .plan > :last-child { grid-area: cta; justify-self: end; }
}
