.account-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.account-page-head h1 {
  margin-top: 8px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
}

.account-page-head p {
  max-width: 670px;
  margin: 16px 0 0;
  color: var(--portal-muted);
  font-size: 15px;
}

.account-kicker {
  color: var(--portal-violet-dark);
  font:
    800 9px/1 "Manrope",
    sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.account-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e6e2d9;
  color: #5f5c55;
  font:
    700 9px/1 "Manrope",
    sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-state::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.account-state.is-on {
  background: #e4f2d5;
  color: #397540;
}

.account-state.is-warning {
  background: #fff0ce;
  color: #916315;
}

.account-section {
  margin-top: 42px;
}

.account-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.account-section-head h2 {
  margin-top: 6px;
  font-size: 25px;
}

.account-section-head a,
.next-step-card a,
.operation-note a,
.support-card a,
.billing-card a {
  color: #6740bc;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.account-limit {
  display: grid;
  justify-items: end;
}

.account-limit strong {
  font:
    700 28px/1 "Manrope",
    sans-serif;
}

.account-limit span {
  color: var(--portal-muted);
  font-size: 11px;
}

.portal-button,
.portal-button-secondary {
  transition:
    transform 140ms ease,
    background 140ms ease;
}

.portal-button:hover,
.portal-button-secondary:hover {
  transform: translateY(-1px);
}

.portal-button-secondary:hover {
  background: #fff;
}

.portal-button-secondary:disabled,
.portal-button-secondary[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

.portal-badge[data-plan="BUSINESS"] {
  background: #e9ddff;
  color: #6735bd;
}

.portal-badge[data-plan="SCALE"] {
  background: #1b1b19;
  color: var(--account-green);
}

.portal-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-button .portal-icon,
.portal-button-secondary .portal-icon {
  width: 15px;
  height: 15px;
  margin-left: 6px;
  vertical-align: -3px;
}

.account-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.account-inline-link .portal-icon {
  width: 13px;
  height: 13px;
}
