.layout {
  display: flex;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.content {
  flex: 1;
  min-width: 0;
}

.pageTitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--color-text-primary);
}

.subtitle {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

/* Tier grid */
.tierGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .tierGrid {
    grid-template-columns: 1fr;
  }
  .layout {
    flex-direction: column;
    gap: 1rem;
  }
}

.tierCard {
  position: relative;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.tierCard:hover {
  border-color: var(--color-text-muted);
}

.tierCardActive {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent-subtle);
}

.activeBadge {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  background: var(--color-accent);
  color: var(--color-bg-page);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}

.tierName {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 0.75rem;
}

.tierPrice {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.priceAmount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}

.pricePeriod {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.tierDescription {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  flex: 1;
}

.featureList {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featureItem {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.featureCheck {
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.tierCta {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
}

.tierCtaActive {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  cursor: default;
}

.tierCtaDisabled {
  background: var(--color-bg-surface-hover);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.tierCtaDisabled:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Coming Soon modal */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modalContent {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  max-width: 24rem;
  text-align: center;
}

.modalTitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.modalText {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.modalClose {
  background: var(--color-accent);
  color: var(--color-bg-page);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.modalClose:hover {
  opacity: 0.85;
}
