.express-section-links {
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 4px;
  background: #efe3f2;
  border: 1px solid #cfb8d9;
  border-radius: 999px;
}
.express-section-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px clamp(12px, 1.35vw, 22px);
  border: 1px solid #dccae2;
  border-radius: 999px;
  background: #fffbf8;
  color: #482165;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.express-section-links a:focus-visible {
  color: white;
  background: #482165;
  outline: 2px solid #482165;
  outline-offset: 2px;
}
@media (hover: hover) {
  .express-section-links a:hover {
    color: white;
    background: #482165;
    transform: translateY(-1px);
  }
}
.express-section-links a:active {
  color: white;
  background: #371b49;
}
@media (max-width: 760px) {
  header:has(> .express-section-links) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    gap: 10px 8px;
    padding: 14px clamp(12px, 4vw, 22px) 10px;
  }
  .express-section-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
    grid-row: 2;
    border-radius: 23px;
  }
  .express-section-links a {
    min-height: 44px;
    padding: 6px 3px;
    font-size: clamp(12px, 3vw, 14px);
  }
  header:has(> .express-section-links) > .button {
    grid-column: 2;
    grid-row: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .express-section-links a { transition: none; }
  .express-section-links a:hover { transform: none; }
}

/* Plan choices need a visible change even without motion. */
.plan-card .button[data-choose] {
  transition: transform .18s ease;
}
@media (hover: hover) {
  .plan-card .button[data-choose]:hover {
    background: #f2c5ad;
    color: #321542;
    box-shadow: inset 0 0 0 2px #321542;
  }
}
.plan-card .button[data-choose]:focus-visible {
  background: #f2c5ad;
  color: #321542;
  outline: 3px solid #321542;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .plan-card .button[data-choose] {
    transform: none;
    transition: none;
  }
}
