:root {
  --bg: #f6f8fb;
  --bg-accent: #eef4f8;
  --surface: #ffffff;
  --ink: #1a2332;
  --muted: #5b6775;
  --muted2: #6b7785;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #2b6cb0;
  --accent-hover: #245f9a;
  --accent-soft: #e8f2fc;
  --accent-muted: #5a8fc4;
  --teal: #0f766e;
  --teal-soft: #e6f6f4;
  --amber: #b45309;
  --amber-soft: #fff8ed;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(26, 35, 50, 0.06), 0 8px 24px rgba(26, 35, 50, 0.05);
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI",
    "Noto Sans SC", sans-serif;
  --preview-h: 40px;
  --topbar-h: 56px;
  --roadmap-bg: #fafbfd;
  --roadmap-icon-bg: #eef1f5;
  --roadmap-border: #c5ced8;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f141c;
  --bg-accent: #171f2b;
  --surface: #1a2332;
  --ink: #eef2f7;
  --muted: #a3b0c2;
  --muted2: #8b98aa;
  --line: #2a3648;
  --line-strong: #3a4a61;
  --accent: #5ba3e8;
  --accent-hover: #7bb8ef;
  --accent-soft: #1e3a55;
  --accent-muted: #8bb8e8;
  --teal: #5eead4;
  --teal-soft: #163832;
  --amber: #fbbf24;
  --amber-soft: #3d2f14;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.28);
  --roadmap-bg: #141c28;
  --roadmap-icon-bg: #1e2836;
  --roadmap-border: #3a4a61;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.preview-banner {
  background: var(--amber-soft);
  color: #7c4a12;
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
  border-bottom: 1px solid #f0dfc4;
}

.preview-banner strong {
  color: var(--amber);
}

.preview-banner a {
  margin-left: 8px;
  font-weight: 650;
  color: var(--amber);
}

.accounts-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .accounts-topbar {
  background: rgba(26, 35, 50, 0.92);
}

.topbar-inner {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  min-width: 0;
}

.topbar-brand:hover strong {
  color: var(--accent);
}

.topbar-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.topbar-brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.topbar-brand small {
  display: block;
  font-size: 12px;
  color: var(--muted2);
  margin-top: 1px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--bg-accent);
}

.lang-switch-btn {
  min-width: 40px;
  min-height: 32px;
  padding: 0 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.lang-switch-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(26, 35, 50, 0.08);
}

.btn-icon {
  min-width: 38px;
  padding: 0;
}

.theme-icon-dark {
  display: none;
}

html[data-theme="dark"] .theme-icon-light {
  display: none;
}

html[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

html[data-theme="dark"] .preview-banner {
  color: #e8c98a;
  border-bottom-color: #4a3d22;
}

html[data-theme="dark"] .credits-card {
  background: linear-gradient(160deg, #1a2332 0%, #1e2d42 55%, #243a52 100%);
  border-color: #355575;
}

html[data-theme="dark"] .btn-ghost:hover {
  background: #243044;
}

.app {
  min-height: calc(100vh - var(--preview-h) - var(--topbar-h));
  display: flex;
  flex-direction: column;
}

.page-intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.page-intro-copy {
  flex: 1;
  min-width: min(100%, 280px);
}

.page-intro-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.5vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.page-intro-copy p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 40em;
  line-height: 1.65;
}

.page-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  color: inherit;
  flex-shrink: 0;
}

.page-brand--aside {
  align-self: center;
  text-align: right;
}

.page-brand--aside > div {
  text-align: left;
}

.page-brand:hover strong {
  color: var(--accent);
}

.brand-logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8ecf0;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.page-brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.page-brand small {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

.page-brand--aside .brand-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #b8c4d4;
  background: #fafcfe;
}

.main {
  flex: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.page-intro {
  margin-bottom: 0;
}

.page-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.5vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.page-intro > p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 40em;
  line-height: 1.65;
}

.grid-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 16px;
  margin-bottom: 20px;
  align-items: stretch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.credits-card {
  background: linear-gradient(160deg, #ffffff 0%, #f8fbfe 55%, #eef6fc 100%);
  border-color: #d4e4f2;
  display: flex;
  flex-direction: column;
}

.credits-card .credits-hint {
  flex: 1;
}

.credits-card .credits-actions {
  margin-top: auto;
  padding-top: 4px;
}

.credits-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.credits-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-muted);
}

.credits-pill {
  font-size: 11px;
  font-weight: 650;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid #b8e0db;
  padding: 4px 10px;
  border-radius: 999px;
}

.credits-value {
  font-size: clamp(44px, 6vw, 58px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 10px 0 12px;
  color: var(--ink);
}

.credits-value #creditsBalance {
  font-size: 1em;
}

.credits-value .credits-unit {
  font-size: 0.36em;
  font-weight: 600;
  color: var(--muted2);
  margin-left: 6px;
  vertical-align: baseline;
}

.credits-hint {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.75;
  max-width: 36em;
}

.credits-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-card {
  display: flex;
  flex-direction: column;
}

.profile-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-card h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.btn-sm {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  flex-shrink: 0;
}

.profile-highlight {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-name-line {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.45;
}

.profile-dot {
  color: var(--muted2);
  font-weight: 500;
  margin: 0 4px;
}

.profile-org {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.profile-list--compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin: 0;
}

.profile-list--compact div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  font-size: 12px;
  align-items: baseline;
  min-width: 0;
}

.profile-list--compact dt {
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-list--compact dd {
  min-width: 0;
  word-break: break-word;
}

html[lang^="en"] .profile-list--compact {
  gap: 12px 28px;
}

html[lang^="en"] .profile-list--compact div {
  gap: 8px 14px;
}

.profile-more-hint {
  margin: 14px 0 0;
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted2);
}

.badge {
  font-size: 11px;
  font-weight: 650;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid #b8e0db;
  border-radius: 999px;
  padding: 3px 9px;
}

.profile-list {
  margin: 0;
  display: grid;
  gap: 11px;
}

.profile-list div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  font-size: 13px;
}

.profile-list dt {
  color: var(--muted2);
  margin: 0;
}

.profile-list dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.link-arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 650;
  color: var(--accent);
}

.link-arrow:hover {
  color: var(--accent-hover);
}

.section-block {
  margin-bottom: 20px;
}

.section-lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 100%;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.panel-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
}

.panel-head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.panel-head a:hover {
  color: var(--accent);
}

.products-showcase {
  padding: 0;
  overflow: hidden;
}

.product-feature {
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.product-feature-main {
  display: flex;
  gap: 18px;
  flex: 1;
  min-width: min(100%, 280px);
}

.product-feature-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}

.product-feature-copy p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 42em;
}

.product-feature-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-feature-meta h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.product-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted2);
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--line);
}

.product-tag.is-live {
  color: var(--teal);
  background: var(--teal-soft);
  border-color: #b8e0db;
}

.product-tag.is-muted {
  color: var(--muted2);
  background: transparent;
}

.product-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}

.products-roadmap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 24px;
  background: var(--roadmap-bg);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.products-roadmap strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 2px;
}

.products-roadmap p {
  margin: 0;
}

.products-roadmap-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px dashed var(--roadmap-border);
  background: var(--roadmap-icon-bg);
  flex-shrink: 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  gap: 16px;
}

.usage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.usage-table th,
.usage-table td {
  text-align: left;
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
}

.usage-table th {
  color: var(--muted2);
  font-weight: 600;
  font-size: 12px;
}

.usage-table tr:last-child td {
  border-bottom: none;
}

.usage-table .cost {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--ink);
}

.usage-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  padding: 11px 13px;
  background: var(--bg-accent);
  border-radius: 10px;
  border: 1px solid #dce6ef;
  line-height: 1.7;
}

.tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.tips-list li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 12px;
  border-left: 3px solid #c5d9ed;
  line-height: 1.7;
}

.tips-list strong {
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.sign-out-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sign-out-row button {
  width: 100%;
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: #fafbfc;
  color: var(--muted);
  font-weight: 600;
}

.sign-out-row button:hover {
  color: var(--ink);
  border-color: #b8c4d4;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.panel-head .link-button {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.panel-head .link-button:hover {
  color: var(--accent);
}

.tips-list .link-button {
  display: inline;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

body.modal-open {
  overflow: hidden;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 100;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #f4f7fa;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 12px 40px rgba(26, 35, 50, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.45);
}

.modal-panel {
  position: relative;
  width: min(100%, 480px);
  max-height: min(88vh, 720px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(26, 35, 50, 0.2);
  padding: 22px 22px 20px;
}

.modal-panel.is-wide {
  width: min(100%, 640px);
}

.modal-panel--billing {
  width: min(100%, 720px);
}

.modal-panel--profile {
  width: min(100%, 560px);
}

.profile-form {
  margin: 0;
  border: none;
  padding: 0;
  min-width: 0;
}

.profile-form-section {
  border: none;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}

.profile-form-section legend {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 12px;
  padding: 0;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.profile-form .field select,
.profile-form .field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  font: inherit;
  line-height: 1.5;
}

.profile-form .field textarea {
  min-height: 88px;
  resize: vertical;
}

@media (max-width: 520px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbfc;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.modal-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.modal-preview-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid #f0dfc4;
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 10px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.amount-chip {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fafbfc;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.amount-chip.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span,
.field > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
}

.verification-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.verification-row input {
  flex: 1;
  min-width: 0;
  width: auto;
}

.verification-row .btn {
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .verification-row {
    flex-wrap: wrap;
  }

  .verification-row input {
    flex-basis: 100%;
  }
}

.field input:read-only {
  background: #f4f6f8;
  color: var(--muted);
}

.field-hint {
  font-size: 12px;
  color: var(--muted2);
  margin: 6px 0 0;
  line-height: 1.6;
}

.pay-methods {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.pay-methods label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.pay-methods label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.billing-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.billing-intro {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.75;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.billing-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 14px;
  background: #fafbfc;
}

.billing-acc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

.billing-grid h3 {
  margin: 14px 0 6px;
  font-size: 15px;
  color: var(--ink);
}

.billing-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.billing-flow {
  margin: 16px 0;
  border-radius: 12px;
  background: var(--bg-accent);
  border: 1px solid #dce6ef;
  padding: 14px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.billing-flow i {
  font-style: normal;
  color: var(--accent);
}

.billing-faq h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  color: var(--ink);
}

.billing-faq h3:first-child {
  margin-top: 4px;
}

.billing-faq p {
  margin: 0 0 10px;
}

.billing-cost-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 14px 0 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.billing-cost-reference strong {
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.billing-cost-reference span {
  font-size: 13px;
  color: var(--muted);
}

.billing-small-copy {
  font-size: 12px !important;
  color: var(--muted2) !important;
}

.billing-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  background: #f8f9fb;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.billing-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.billing-link {
  font-size: 13px;
  font-weight: 650;
  color: var(--accent);
}

.billing-link:hover {
  color: var(--accent-hover);
}

@media (max-width: 560px) {
  .billing-grid {
    grid-template-columns: 1fr;
  }
}

.usage-modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.usage-modal-table th,
.usage-modal-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer {
  display: none;
}

@media (max-width: 900px) {
  .grid-hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .profile-list--compact {
    grid-template-columns: 1fr;
  }

  .product-feature {
    flex-direction: column;
  }

  .product-feature-actions {
    width: 100%;
  }

  .product-feature-actions .btn {
    flex: 1;
  }
}

@media (max-width: 720px) {
  .main {
    padding: 20px 16px 40px;
  }

  .page-intro-row {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .page-brand--aside {
    align-self: flex-start;
  }
}
