/* letvolo.com plan cards and the monthly/yearly switch. */
.plans-section {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(2.5rem, 2rem + 2.5vw, 4rem);
}

.plans-section h2 {
  margin: 0 0 0.5rem;
  font: 600 clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem) / 1.1 var(--font-display);
  letter-spacing: -0.03em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem;
  border: 1.5px dashed rgb(17 17 17 / 0.45);
  border-radius: 12px;
  background: rgb(255 250 241 / 0.85);
}

.plan h3 {
  margin: 0;
  font: 600 1.5rem / 1.15 var(--font-display);
}

.plan p {
  margin: 0;
}

.tagline,
.trial,
.billing-note {
  font-size: 0.875rem;
}

.price strong {
  font: 600 2rem / 1 var(--font-display);
}

.plan ul {
  margin: 0;
  padding-left: 1.125rem;
  font-size: 0.875rem;
}

.cta {
  display: block;
  margin-top: auto;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Shown only when JavaScript runs; without it the cards show monthly prices. */
.billing-switch {
  display: inline-flex;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0.25rem;
  border: 1.5px dashed rgb(17 17 17 / 0.45);
  border-radius: 999px;
}

.billing-switch[hidden] {
  display: none;
}

.billing-switch button {
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: 600 0.875rem / 1.2 var(--font-body);
  cursor: pointer;
}

.billing-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.billing-switch button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.badge {
  margin-left: 0.375rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--signal);
  color: var(--paper);
  font-size: 0.75rem;
}
