.pricing-grid article > button {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  border: 1px solid #397284;
  border-radius: 22px;
  background: transparent;
  color: #e9f8fa;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.pricing-grid article.featured > button { border-color: #35d9e6; background: #35d9e6; color: #061018; }
.pricing-grid article > button:hover { border-color: #65dfbd; color: #65dfbd; }
.pricing-grid article.featured > button:hover { color: #061018; }
.pricing-grid article > button svg { width: 15px; }
body.trial-open { overflow: hidden; }

/* Pricing emphasis */
.billing-toggle button[data-billing="yearly"] {
  animation: yearly-attention 1.8s ease-in-out infinite;
}
.billing-toggle button[data-billing="yearly"].active {
  animation: yearly-attention-active 1.8s ease-in-out infinite;
}
.pricing-grid article > button {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.pricing-grid article > button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -4px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--contact-angle), transparent 0 55%, #1685d1 70%, #4af0ed 87%, transparent 100%);
  pointer-events: none;
  filter: drop-shadow(0 0 5px #35d9e666);
  animation: contact-ring-spin 2.8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.pricing-grid article:nth-child(2) > button::before { animation-delay: -.7s; }
.pricing-grid article:nth-child(3) > button::before { animation-delay: -1.4s; }
.pricing-grid article:nth-child(4) > button::before { animation-delay: -2.1s; }
@keyframes yearly-attention {
  0%, 100% { background-color: transparent; box-shadow: inset 0 0 0 0 #35d9e600; color: #91a6b0; }
  50% { background-color: #17414b; box-shadow: inset 0 0 0 1px #35d9e688, 0 0 18px #35d9e633; color: #fff; }
}
@keyframes yearly-attention-active {
  0%, 100% { background-color: #17313d; box-shadow: 0 0 0 #35d9e600; }
  50% { background-color: #1d5660; box-shadow: 0 0 19px #35d9e644; }
}
@media (prefers-reduced-motion: reduce) {
  .billing-toggle button[data-billing="yearly"],
  .billing-toggle button[data-billing="yearly"].active,
  .pricing-grid article > button::before { animation: none; }
}
.trial-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: #02070ddd; backdrop-filter: blur(10px); }
.trial-modal[hidden] { display: none; }
.trial-modal > section { width: min(610px, 100%); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid #315567; border-radius: 8px; background: #0d1821; box-shadow: 0 30px 90px #000b; }
.trial-modal header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid #233b49; }
.trial-modal header small { color: #35d9e6; font-weight: 900; }
.trial-modal h2 { margin: 7px 0 5px; font-size: 25px; }
.trial-modal header p { margin: 0; color: #91a5af; font-size: 12px; }
.trial-modal header > button { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border: 1px solid #294351; border-radius: 6px; background: #101f2a; color: #dcecef; cursor: pointer; }
.trial-modal form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; }
.trial-modal label { display: grid; gap: 7px; color: #bdd0d8; font-size: 11px; font-weight: 800; }
.trial-modal input { min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #294351; border-radius: 6px; outline: 0; background: #08121a; color: #fff; }
.trial-modal input:focus { border-color: #35d9e6; }
.trial-modal label small { color: #718995; font-size: 9px; }
.trial-consent, .trial-message, .trial-submit { grid-column: 1 / -1; }
.trial-consent { display: flex !important; align-items: flex-start; gap: 9px !important; font-weight: 500 !important; }
.trial-consent input { width: 17px; min-height: 17px; flex: 0 0 17px; padding: 0; accent-color: #35d9e6; }
.trial-consent a { color: #65dfbd; }
.trial-message { display: none; margin: 0; padding: 11px 12px; border-radius: 5px; font-size: 11px; }
.trial-message.error, .trial-message.success { display: block; }
.trial-message.error { background: #ff65731a; color: #ff8a95; }
.trial-message.success { background: #65dfbd18; color: #65dfbd; }
.trial-submit { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 6px; background: #35d9e6; color: #061018; font-weight: 900; cursor: pointer; }
.trial-submit:disabled { opacity: .55; cursor: wait; }
.trial-submit svg { width: 17px; }
@media (max-width: 650px) {
  .trial-modal { padding: 10px; }
  .trial-modal > section { max-height: calc(100vh - 20px); }
  .trial-modal form { grid-template-columns: 1fr; }
  .trial-modal label, .trial-consent, .trial-message, .trial-submit { grid-column: 1; }
}
