/* Subscription flow — natural page scroll, readable pricing layout */

body {
  margin: 0;
  min-height: 100vh;
  background: #f7f8fa;
}

#subscription-content {
  min-height: 100vh;
}

.subscription-messages {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  width: min(520px, calc(100% - 2rem));
}

.subscription-message {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #eef4f8;
  border: 1px solid #cfe0ea;
  color: #12344d;
  font-family: "Inter", "DM Sans", sans-serif;
  font-size: 0.9rem;
}

.subscription-message--error,
.subscription-message--danger {
  background: #fff4f4;
  border-color: #f5c2c7;
  color: #842029;
}

/* Starter | Hybrid switcher */
.plan-tier-nav {
  display: flex;
  justify-content: center;
  padding: 14px 16px 0;
  font-family: "DM Sans", sans-serif;
}

.plan-tier-nav-inner {
  display: inline-flex;
  background: #fff;
  border: 1.5px solid #e3e8ee;
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.plan-tier-link {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.plan-tier-link.active {
  background: #262a30;
  color: #fff;
}

.plan-tier-link:hover:not(.active) {
  color: #262a30;
}

.subscription-flow-viewport {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 48px;
  background:
    radial-gradient(circle at top right, rgba(37, 126, 178, 0.1), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #eef4f8 100%);
  font-family: "Inter", "DM Sans", sans-serif;
}

.subscription-flow-viewport > .subscription-shell,
.subscription-flow-viewport > .subscription-pricing-page {
  width: 100%;
  max-width: 980px;
}

.subscription-flow-viewport--starter > .subscription-pricing-page {
  max-width: 720px;
}

.subscription-flow-viewport--hybrid > .subscription-pricing-page {
  max-width: 1200px;
}

@media (max-width: 768px) {
  .subscription-flow-viewport {
    padding: 0 14px 36px;
  }

  .plan-tier-link {
    padding: 7px 14px;
    font-size: 12px;
  }
}
