@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;650;700&family=Geist+Mono:wght@400;500&display=swap');.card-spotlight {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(118, 120, 237, 0.1);
}

.card-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 58%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.card-spotlight:hover::before,
.card-spotlight:focus-within::before {
  opacity: 1;
}


.card-spotlight {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(118, 120, 237, 0.1);
}

.card-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 58%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.card-spotlight:hover::before,
.card-spotlight:focus-within::before {
  opacity: 1;
}

:root {
  color-scheme: light;
  font-family: 'Geist', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1a1a1a;
  background: #fafaf9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --page: #fafaf9;
  --surface: #ffffff;
  --surface-soft: #f5f5f2;
  --ink: #1a1a1a;
  --muted: #6f706f;
  --faint: #9a9b99;
  --line: #e6e6e2;
  --line-strong: #d4d4cf;
  --accent: #7678ed;
  --accent-soft: #eeeeff;
  --accent-ink: #4e50b8;
  --positive: #247a51;
  --positive-soft: #e9f7ef;
  --danger: #b33a3a;
  --danger-soft: #fff0f0;
  --code: #17181b;
  --shadow-sm: 0 1px 2px rgba(24, 24, 22, .04), 0 8px 28px rgba(24, 24, 22, .04);
  --shadow-lg: 0 24px 70px rgba(31, 31, 27, .1);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #111210;
  --surface: #181916;
  --surface-soft: #20211e;
  --ink: #f2f2ee;
  --muted: #a4a59f;
  --faint: #777972;
  --line: #2b2c28;
  --line-strong: #3a3b36;
  --accent: #9294ff;
  --accent-soft: #292a48;
  --accent-ink: #b8b9ff;
  --positive: #75c99d;
  --positive-soft: #173526;
  --danger: #f08b8b;
  --danger-soft: #3d2020;
  --code: #0c0d0e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .2), 0 8px 28px rgba(0, 0, 0, .12);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .35);
}

:root[data-theme='dark'] .site-header { background: rgba(17, 18, 16, .86); }
:root[data-theme='dark'] .button-dark { border-color: #f2f2ee; background: #f2f2ee; color: #111210; }
:root[data-theme='dark'] .button-dark:hover { background: #dcdcd7; }
:root[data-theme='dark'] .hero-visual img,
:root[data-theme='dark'] .auth-visual img { filter: brightness(.72) saturate(.8); }
:root[data-theme='dark'] .hero-visual-caption,
:root[data-theme='dark'] .auth-visual > div { border-color: rgba(255, 255, 255, .12); background: rgba(24, 25, 22, .86); color: var(--ink); }
:root[data-theme='dark'] .platform-section,
:root[data-theme='dark'] .site-footer { background: #141512; }
:root[data-theme='dark'] .final-cta { background: #1c1d1a; }
:root[data-theme='dark'] .dashboard-shell { background: #111210; }
:root[data-theme='dark'] .dashboard-header { background: rgba(24, 25, 22, .88); }
:root[data-theme='dark'] .secret-banner code { background: var(--surface); }
:root[data-theme='dark'] .skeleton { background: linear-gradient(90deg, #252621, #30312c, #252621); background-size: 200% 100%; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body { margin: 0; min-width: 320px; min-height: 100dvh; background: var(--page); color: var(--ink); }
body, button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code, pre { font-family: 'Geist Mono', 'SFMono-Regular', Consolas, monospace; }
button, input, select, textarea { border: 0; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
::selection { background: rgba(118, 120, 237, .22); }
:focus-visible { outline: 3px solid rgba(118, 120, 237, .34); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-shell { min-height: 100dvh; overflow: clip; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -.35px; white-space: nowrap; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.site-header { position: relative; z-index: 30; border-bottom: 1px solid rgba(230, 230, 226, .78); background: rgba(250, 250, 249, .88); backdrop-filter: blur(18px); }
.nav-container { display: flex; width: min(1220px, calc(100% - 40px)); min-height: 68px; margin: auto; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 31px; margin-left: 72px; }
.nav-links a, .nav-login { color: #575856; font-size: 14px; font-weight: 500; transition: color 180ms ease; }
.nav-links a:hover, .nav-links a.active, .nav-login:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.theme-toggle { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); transition: color 180ms ease, background 180ms ease; }
.theme-toggle:hover { background: var(--surface-soft); color: var(--ink); }
.mobile-menu, .sidebar-close, .sidebar-toggle { display: none; background: transparent; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 21px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { border: 1px solid #1a1a1a; background: #1a1a1a; color: #fff; box-shadow: 0 8px 20px rgba(16, 16, 16, .12); }
.button-dark:hover { background: #31312f; }
.button-light { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.button-light:hover { border-color: #aaa; background: var(--surface-soft); }
.button-small { min-height: 38px; padding-inline: 17px; font-size: 13px; }
.button-tiny { min-height: 32px; padding-inline: 12px; font-size: 12px; }
.button.full { width: 100%; }
.eyebrow { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid #dcdcf8; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-size: 14px; font-weight: 650; }

.hero { display: grid; min-height: 710px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(36px, 7vw, 92px); padding-block: 78px 82px; }
.hero-copy { padding-top: 12px; }
.hero-title { margin: 18px 0 0; font-size: clamp(45px, 5.3vw, 67px); font-weight: 600; line-height: .99; letter-spacing: -.052em; }
.hero-title + .hero-title { margin-top: 6px; }
.hero-title-accent { color: var(--accent); }
.hero-subtitle { max-width: 565px; margin: 30px 0 0; color: var(--muted); font-size: 17px; line-height: 1.78; }
.hero-actions { display: flex; gap: 10px; margin-top: 31px; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 11px 22px; margin-top: 27px; color: var(--faint); font-size: 12px; }
.hero-metrics span { position: relative; }
.hero-metrics span:not(:last-child)::after { position: absolute; right: -12px; color: #d1d1cd; content: '/'; }
.hero-visual { position: relative; isolation: isolate; min-height: 480px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-visual::before { position: absolute; z-index: -1; top: -18%; right: -18%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: rgba(118, 120, 237, .16); filter: blur(65px); content: ''; }
.hero-visual img { width: 100%; height: 480px; object-fit: cover; }
.hero-visual-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; gap: 8px; padding: 13px 15px; border: 1px solid rgba(255, 255, 255, .88); border-radius: 14px; background: rgba(255, 255, 255, .84); box-shadow: var(--shadow-sm); color: #42433f; font-size: 13px; font-weight: 550; backdrop-filter: blur(16px); }

.platform-section { padding: 100px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f5f5f2; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-heading.centered { display: block; max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-heading h2, .preview-copy h2, .final-cta h2 { margin: 0; font-size: clamp(31px, 3.8vw, 47px); font-weight: 600; line-height: 1.11; letter-spacing: -.038em; }
.section-heading p { max-width: 540px; margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.platform-card { min-height: 180px; padding: 20px 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.platform-card.is-disabled { opacity: .6; filter: saturate(.4); }
.platform-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); color: var(--ink); }
.platform-card h3 { margin: 28px 0 6px; font-size: 15px; }
.platform-card p { min-height: 34px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.availability { display: inline-flex; margin-top: 13px; padding: 4px 7px; border-radius: 999px; background: var(--positive-soft); color: var(--positive); font-size: 10px; font-weight: 650; }
.availability.pending { background: var(--surface-soft); color: var(--muted); }

.stats-section { border-bottom: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { display: flex; min-height: 172px; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.stats-grid > div:first-child { border-left: 1px solid var(--line); }
.stats-grid strong { font-size: 38px; font-weight: 600; letter-spacing: -.04em; }
.stats-grid > div > span { margin-top: 7px; color: var(--muted); font-size: 13px; }
.stats-grid strong span { margin: 0; color: inherit; font-size: inherit; }

.api-preview { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 78px; padding-block: 125px; }
.preview-copy p { margin: 24px 0 0; color: var(--muted); line-height: 1.75; }
.check-list { display: grid; gap: 13px; margin: 29px 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check-list svg { color: var(--accent); }
.code-window { min-width: 0; border: 1px solid #2c2d31; border-radius: var(--radius); background: var(--code); color: #e6e7e8; box-shadow: 0 25px 70px rgba(20, 20, 22, .18); overflow: hidden; }
.code-toolbar { display: flex; min-height: 47px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid #2e3034; background: #1d1e21; color: #aaaeb4; font-size: 12px; }
.code-window pre { margin: 0; padding: 25px; overflow: auto; font-size: 12px; line-height: 1.75; }

.feature-band { padding: 0; background: var(--page); }
.feature-band-grid { display: grid; grid-template-columns: .82fr .82fr 1.36fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-band-grid > div { min-height: 206px; padding: 36px 30px; border-right: 1px solid var(--line); }
.feature-band-grid > div:last-child { border-right: 0; }
.feature-band-grid > div > span { display: block; color: var(--faint); line-height: 1; }
.feature-band h3 { margin: 24px 0 8px; color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.feature-band p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.feature-band .feature-wide { display: flex; flex-direction: column; justify-content: center; padding-left: 38px; }
.feature-band .feature-wide h3 { margin-top: 0; font-size: 22px; }
.feature-band .feature-wide p { max-width: 490px; }
.feature-band .feature-wide a { width: fit-content; margin-top: 18px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.5; }

.endpoint-strip { padding-block: 120px; }
.endpoint-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); overflow: auto; }
.endpoint-table, .dashboard-table { width: 100%; border-collapse: collapse; text-align: left; }
.endpoint-table th, .endpoint-table td, .dashboard-table th, .dashboard-table td { padding: 17px 19px; border-bottom: 1px solid var(--line); }
.endpoint-table th, .dashboard-table th { background: var(--surface-soft); color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; }
.endpoint-table td { color: var(--muted); font-size: 13px; }
.endpoint-table td:first-child { color: var(--ink); font-weight: 600; }
.endpoint-table td:first-child > svg { margin-right: 9px; vertical-align: middle; }
.endpoint-table tr:last-child td, .dashboard-table tr:last-child td { border-bottom: 0; }
.endpoint-table code { padding: 5px 7px; border-radius: 6px; background: var(--surface-soft); color: var(--accent-ink); font-size: 11px; white-space: nowrap; }
.final-cta { margin-bottom: 110px; padding: 85px 40px; border-radius: var(--radius-lg); background: #efefec; text-align: center; }
.final-cta p { max-width: 560px; margin: 18px auto 28px; color: var(--muted); line-height: 1.7; }
.final-cta > div { display: flex; justify-content: center; gap: 10px; }

.site-footer { border-top: 1px solid var(--line); background: #f3f3f0; }
.footer-grid { display: grid; width: min(1180px, calc(100% - 40px)); grid-template-columns: 2fr repeat(3, 1fr); gap: 55px; margin: auto; padding: 68px 0 48px; }
.footer-brand p { max-width: 290px; margin: 19px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-grid h3 { margin: 6px 0 17px; font-size: 13px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid a, .footer-grid span { color: var(--muted); font-size: 13px; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand .support-qq { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.footer-brand .support-qq:hover { border-color: #cfcff8; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.footer-brand .support-qq:active { transform: translateY(0); }
.footer-brand .support-qq svg { flex: none; color: var(--accent); }
.footer-brand .support-qq span { display: grid; gap: 2px; color: var(--ink); }
.footer-brand .support-qq small { color: var(--muted); font-size: 10px; line-height: 1; }
.footer-brand .support-qq strong { font-size: 13px; letter-spacing: .02em; line-height: 1.1; }
.footer-bottom { display: flex; width: min(1180px, calc(100% - 40px)); justify-content: space-between; gap: 30px; margin: auto; padding: 21px 0 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }

/* Inner pages */
.inner-page { min-height: 800px; }
.page-hero { padding-block: 105px 70px; }
.page-hero.centered { max-width: 800px; text-align: center; }
.page-hero.compact { padding-block: 78px 50px; }
.page-hero h1 { margin: 18px 0; font-size: clamp(43px, 5vw, 64px); font-weight: 600; line-height: 1.02; letter-spacing: -.048em; }
.page-hero p { max-width: 680px; margin: 0 auto 27px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.pricing-summary { display: grid; max-width: 1180px; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 90px; }
.pricing-card { display: flex; min-height: 370px; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.pricing-card.primary { border-color: #cfcff8; background: var(--accent-soft); }
.pricing-card small { color: var(--muted); font-weight: 600; }
.pricing-card strong { margin-top: 36px; font-size: 54px; font-weight: 600; letter-spacing: -.055em; }
.pricing-card:not(.primary) > strong { font-size: 38px; }
.pricing-card > span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.pricing-card ul { display: grid; gap: 14px; margin: auto 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; }
.pricing-card li { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.pricing-card li svg { color: var(--accent); }
.pricing-table-section { padding-bottom: 120px; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 330px); align-items: end; gap: 18px; margin-bottom: 18px; }
.platform-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.platform-tabs button { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 12px; }
.platform-tabs button small { padding: 2px 5px; border-radius: 999px; background: var(--surface-soft); color: var(--faint); font-size: 9px; }
.platform-tabs button:hover, .platform-tabs button.active { border-color: #cfcff8; background: var(--accent-soft); color: var(--ink); }
.table-summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 2px; color: var(--muted); font-size: 12px; }
.table-summary strong { color: var(--ink); }
.pricing-endpoint-table { min-width: 920px; table-layout: fixed; }
.pricing-endpoint-table th,
.pricing-endpoint-table td { vertical-align: top; }
.pricing-endpoint-table .pricing-method-cell { width: 72px; }
.pricing-endpoint-table .pricing-endpoint-cell { width: 35%; }
.pricing-endpoint-table .pricing-purpose-cell { line-height: 1.65; overflow-wrap: anywhere; }
.pricing-endpoint-table .pricing-price-cell { width: 104px; text-align: right; }
.pricing-endpoint-table .pricing-endpoint-cell strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 12px; }
.pricing-endpoint-table .pricing-price-cell strong,
.pricing-endpoint-table .pricing-price-cell small { display: block; white-space: nowrap; }
.pricing-endpoint-table .pricing-price-cell small { margin-top: 4px; color: var(--faint); font-size: 10px; }

.playground-page { min-height: 820px; padding-bottom: 100px; }
.playground-page .page-hero p { margin-left: 0; }
.playground-grid { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.playground-form { padding: 31px; }
.playground-selectors { display: grid; grid-template-columns: .7fr 1.3fr; gap: 12px; }
.playground-selectors label { display: grid; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.selected-endpoint-copy { margin: 6px 0 22px; padding: 14px; border-left: 2px solid var(--accent); background: var(--surface-soft); }
.selected-endpoint-copy strong { font-size: 13px; }
.selected-endpoint-copy p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.playground-form > label, .parameter-fields label, .auth-form label, .key-create label, .recharge-form label { display: grid; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); outline: 0; background: var(--surface); color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea { padding-block: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.parameter-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 12px; margin-top: 26px; }
.parameter-fields h3 { grid-column: 1 / -1; margin: 0 0 16px; font-size: 14px; }
.parameter-fields label { position: relative; }
.parameter-fields .body-editor { min-height: 260px; font-family: 'Geist Mono', monospace; font-size: 12px; line-height: 1.6; }
.parameter-fields:has(.body-editor) label { grid-column: 1 / -1; }
.parameter-fields small { position: absolute; top: 0; right: 0; color: var(--accent-ink); font-size: 10px; }
.request-summary { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 19px; padding: 13px; border-radius: var(--radius-sm); background: var(--surface-soft); }
.request-summary code { color: var(--accent-ink); font-size: 11px; }
.request-summary span { color: var(--muted); font-size: 11px; }
.playground-output { min-width: 0; min-height: 590px; background: var(--code); color: #e7e8eb; }
.playground-output > div { display: flex; min-height: 47px; align-items: center; justify-content: space-between; padding: 0 19px; border-bottom: 1px solid #303137; color: #a7a9b0; font-size: 11px; }
.playground-output pre { margin: 0; padding: 25px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-size: 12px; line-height: 1.7; }

/* API docs */
.docs-page { display: grid; width: min(1500px, calc(100% - 40px)); min-height: 850px; grid-template-columns: 190px minmax(280px, 340px) minmax(0, 1fr); gap: 0; margin: 0 auto; padding: 52px 0 110px; }
.docs-sidebar { position: sticky; top: 24px; height: max-content; padding: 6px 16px 20px 0; border-right: 1px solid var(--line); }
.docs-brand { display: flex; flex-direction: column; gap: 5px; margin: 0 0 20px 10px; }
.docs-sidebar strong { font-size: 14px; }
.docs-sidebar small { color: var(--faint); font-size: 11px; }
.docs-sidebar nav { display: grid; gap: 4px; }
.docs-sidebar button { display: grid; min-height: 40px; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 10px; border-radius: 9px; background: transparent; color: var(--muted); text-align: left; font-size: 13px; }
.docs-sidebar button small { padding: 2px 6px; border-radius: 999px; background: var(--surface-soft); }
.docs-sidebar button:hover, .docs-sidebar button.active { background: var(--surface-soft); color: var(--ink); }
.docs-index { min-width: 0; padding: 7px 18px 20px; border-right: 1px solid var(--line); }
.docs-index-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.docs-index-head span { font-size: 13px; font-weight: 650; }
.docs-index-head strong { color: var(--faint); font-size: 11px; }
.catalog-search { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--faint); }
.catalog-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.catalog-search input { min-width: 0; min-height: 38px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 12px; }
.docs-index-list { max-height: calc(100dvh - 170px); margin-top: 18px; overflow-y: auto; scrollbar-width: thin; }
.category-group { margin-bottom: 22px; }
.category-group > div { display: flex; align-items: center; justify-content: space-between; margin: 0 6px 7px; color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.endpoint-index-button { display: grid; width: 100%; grid-template-columns: 43px minmax(0, 1fr); align-items: start; gap: 7px; padding: 9px 8px; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; }
.endpoint-index-button > span:last-child { display: grid; min-width: 0; gap: 4px; }
.endpoint-index-button strong { overflow: hidden; color: inherit; font-size: 12px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.endpoint-index-button small { overflow: hidden; color: var(--faint); font-family: 'Geist Mono', monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.endpoint-index-button:hover, .endpoint-index-button.active { background: var(--surface-soft); color: var(--ink); }
.docs-content { min-width: 0; padding: 7px 0 0 42px; }
.docs-intro h1 { margin: 18px 0 13px; font-size: 47px; font-weight: 600; letter-spacing: -.045em; }
.docs-intro p, .endpoint-doc-head p { color: var(--muted); line-height: 1.7; }
.catalog-state { padding: 34px 12px; color: var(--faint); text-align: center; font-size: 12px; }
.catalog-state.compact { padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.catalog-notice { margin: 12px 0; padding: 9px 11px; border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: 11px; line-height: 1.5; }
.method { display: inline-flex; width: max-content; align-items: center; justify-content: center; padding: 4px 7px; border-radius: 5px; background: var(--positive-soft); color: var(--positive); font-family: 'Geist Mono', monospace; font-size: 9px; font-weight: 700; }
.method-post { background: var(--accent-soft); color: var(--accent-ink); }
.method.mini { margin-right: 8px; }
.endpoint-doc { margin-top: 46px; }
.endpoint-meta { display: flex; align-items: center; gap: 9px; color: var(--faint); font-size: 11px; }
.endpoint-doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.endpoint-doc-head h2 { margin: 12px 0 8px; font-size: 31px; letter-spacing: -.035em; }
.endpoint-doc-head p { margin: 0; }
.endpoint-doc-head > strong { padding: 8px 11px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; white-space: nowrap; }
.path-bar { display: flex; min-height: 50px; align-items: center; justify-content: space-between; margin: 30px 0; padding-left: 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); }
.path-bar code { color: var(--accent-ink); font-size: 12px; }
.path-bar button { display: grid; width: 47px; align-self: stretch; place-items: center; border-left: 1px solid var(--line); background: transparent; }
.endpoint-doc h3 { margin: 34px 0 15px; font-size: 16px; }
.params-list { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.params-list > div { display: grid; grid-template-columns: minmax(110px, 1fr) 58px minmax(100px, .8fr) 48px minmax(180px, 2fr); align-items: center; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); }
.params-list > div:last-child { border-bottom: 0; }
.params-list code { color: var(--accent-ink); font-size: 12px; }
.params-list span { color: var(--muted); font-size: 11px; }
.params-list p { margin: 0; color: var(--muted); font-size: 12px; }
.docs-code { box-shadow: none; }
.docs-code .code-toolbar div { display: flex; gap: 5px; }
.docs-code .code-toolbar button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 6px; background: transparent; color: #aaaeb4; font-size: 11px; }
.docs-code .code-toolbar button.active, .docs-code .code-toolbar button:hover { background: #2e3035; color: white; }

/* Auth */
.auth-page { display: grid; min-height: 100dvh; grid-template-columns: minmax(440px, .84fr) minmax(480px, 1.16fr); background: var(--surface); }
.auth-brand { position: absolute; z-index: 4; top: 30px; left: 38px; display: flex; width: calc(42% - 76px); align-items: center; justify-content: space-between; }
.auth-brand > a { color: var(--muted); font-size: 12px; }
.auth-panel { display: grid; place-items: center; padding: 110px 50px 50px; }
.auth-form-wrap { width: min(390px, 100%); }
.auth-form-wrap h1 { margin: 19px 0 10px; font-size: 38px; font-weight: 600; letter-spacing: -.045em; }
.auth-form-wrap > p { margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.password-field { position: relative; }
.password-field input { padding-right: 46px; }
.password-field button { position: absolute; top: 0; right: 0; display: grid; width: 45px; height: 45px; place-items: center; background: transparent; color: var(--muted); }
.form-error { margin: -3px 0 16px; padding: 10px 12px; border-radius: 8px; background: var(--danger-soft); color: var(--danger); font-size: 12px; line-height: 1.45; }
.auth-switch { margin-top: 21px; color: var(--muted); text-align: center; font-size: 13px; }
.auth-switch a { margin-left: 5px; color: var(--accent-ink); font-weight: 600; }
.auth-visual { position: relative; margin: 14px; border-radius: var(--radius-lg); background: var(--surface-soft); overflow: hidden; }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; }
.auth-visual > div { position: absolute; right: 24px; bottom: 24px; left: 24px; padding: 19px 21px; border: 1px solid rgba(255, 255, 255, .86); border-radius: var(--radius); background: rgba(255, 255, 255, .85); backdrop-filter: blur(16px); }
.auth-visual strong { font-size: 16px; }
.auth-visual p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

/* Dashboard */
.dashboard-shell { display: grid; min-height: 100dvh; grid-template-columns: 245px minmax(0, 1fr); background: #f6f6f3; }
.sidebar { position: sticky; top: 0; display: flex; height: 100dvh; flex-direction: column; padding: 24px 17px 18px; border-right: 1px solid var(--line); background: var(--surface); }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 22px; }
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-nav a, .sidebar-logout { display: flex; min-height: 42px; align-items: center; gap: 11px; padding: 0 12px; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--surface-soft); color: var(--ink); }
.sidebar-nav a.active svg { color: var(--accent); }
.sidebar-support { margin: auto 0 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.sidebar-support p { margin: 0 0 7px; color: var(--muted); font-size: 11px; }
.sidebar-support a { color: var(--accent-ink); font-size: 12px; font-weight: 650; }
.sidebar-logout { width: 100%; cursor: pointer; }
.sidebar-logout:hover { background: var(--danger-soft); color: var(--danger); }
.dashboard-main { min-width: 0; }
.dashboard-header { display: flex; height: 72px; align-items: center; justify-content: flex-end; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); }
.dashboard-header-actions { display: flex; align-items: center; gap: 14px; }
.dashboard-user { display: flex; align-items: center; gap: 10px; }
.user-avatar { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.dashboard-user div { display: flex; flex-direction: column; gap: 2px; }
.dashboard-user strong { font-size: 12px; }
.dashboard-user small { color: var(--faint); font-size: 10px; }
.dashboard-content { width: min(1150px, calc(100% - 60px)); margin: 0 auto; padding: 44px 0 80px; }
.dashboard-title { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.dashboard-title h1 { margin: 12px 0 6px; font-size: 34px; font-weight: 600; letter-spacing: -.042em; }
.dashboard-title p { margin: 0; color: var(--muted); font-size: 13px; }
.metric-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-card { display: flex; min-height: 150px; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.metric-card.featured { border-color: #d2d2fa; background: var(--accent-soft); }
.metric-card > span { color: var(--muted); font-size: 12px; }
.metric-card strong { margin-top: auto; font-size: 31px; font-weight: 600; letter-spacing: -.04em; }
.metric-card small { margin-top: 3px; color: var(--faint); font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; margin-top: 12px; }
.dashboard-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.quick-start, .spend-panel { padding: 24px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.panel-heading h2, .dashboard-panel h2 { margin: 0; font-size: 16px; }
.panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.panel-heading > svg { color: var(--accent); }
.quick-start ol { display: grid; gap: 4px; margin: 19px 0 0; padding: 0; list-style: none; }
.quick-start li { display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: 11px; padding: 12px; border-radius: var(--radius-sm); }
.quick-start li:hover { background: var(--surface-soft); }
.quick-start li > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.quick-start strong { font-size: 12px; }
.quick-start p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.quick-start li > a { display: grid; place-items: center; color: var(--faint); }
.spend-rule { display: flex; margin-top: 28px; flex-direction: column; }
.spend-rule strong { font-size: 39px; letter-spacing: -.05em; }
.spend-rule span { color: var(--muted); font-size: 11px; }
.spend-panel > p { margin: 26px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.key-create { margin-bottom: 12px; padding: 20px; }
.key-create form { display: flex; align-items: end; gap: 10px; }
.key-create label { flex: 1; margin: 0; }
.table-panel { margin-top: 12px; overflow: hidden; }
.table-panel > .panel-heading { padding: 21px; border-bottom: 1px solid var(--line); }
.dashboard-table-wrap { overflow: auto; }
.dashboard-table { min-width: 760px; }
.dashboard-table th, .dashboard-table td { padding: 15px 17px; font-size: 11px; white-space: nowrap; }
.dashboard-table td { color: #555653; }
.dashboard-table code { padding: 4px 6px; border-radius: 5px; background: var(--surface-soft); color: #555780; font-size: 10px; }
.status-badge { display: inline-flex; padding: 5px 7px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: 9px; font-weight: 650; }
.status-badge.success { background: var(--positive-soft); color: var(--positive); }
.status-badge.error { background: var(--danger-soft); color: var(--danger); }
.icon-button { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: transparent; }
.icon-button.danger:hover { background: var(--danger-soft); color: var(--danger); }
.secret-banner { display: grid; grid-template-columns: 1fr auto; gap: 14px 22px; margin: 12px 0; padding: 20px; border: 1px solid #cfcff8; border-radius: var(--radius); background: var(--accent-soft); }
.secret-banner > div { display: flex; align-items: center; gap: 12px; }
.secret-banner > div > span { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 10px; background: white; color: var(--accent); }
.secret-banner strong { font-size: 13px; }
.secret-banner p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.secret-banner code { grid-column: 1; padding: 12px; border: 1px solid #d9d9fb; border-radius: 8px; background: white; color: #4c4e99; font-size: 11px; word-break: break-all; }
.secret-banner > button { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 118px; border-radius: 8px; background: var(--ink); color: white; font-size: 11px; }
.secret-banner .secret-close { grid-column: 1 / -1; min-height: 34px; background: transparent; color: var(--accent-ink); }
.empty-state { display: grid; min-height: 260px; place-items: center; align-content: center; padding: 40px; text-align: center; }
.empty-state > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: var(--surface-soft); color: var(--muted); }
.empty-state h3 { margin: 13px 0 5px; font-size: 14px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 11px; }
.recharge-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 12px; }
.recharge-form, .recharge-note { padding: 25px; }
.recharge-form h2, .recharge-note h2 { margin-bottom: 23px; }
.amount-input { position: relative; }
.amount-input span { position: absolute; top: 50%; left: 14px; color: var(--muted); transform: translateY(-50%); }
.amount-input input { height: 54px; padding-left: 36px; font-size: 20px; font-weight: 600; }
.quick-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: -5px 0 24px; }
.quick-amounts button { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); font-size: 11px; }
.quick-amounts button.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.recharge-form fieldset { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 0 23px; padding: 0; border: 0; }
.recharge-form legend { margin-bottom: 9px; color: #4d4e4b; font-size: 13px; font-weight: 600; }
.recharge-form fieldset button { display: flex; min-height: 67px; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-align: left; }
.recharge-form fieldset button.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.recharge-form fieldset span { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; }
.recharge-form fieldset small { color: var(--muted); font-size: 9px; font-weight: 400; }
.recharge-note > div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.recharge-note > div strong { color: var(--ink); }
.recharge-note .credit-estimate { padding: 22px 0; }
.recharge-note .credit-estimate strong { color: var(--accent-ink); font-size: 25px; }
.recharge-note p { margin: 23px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.notice { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 12px; }
.notice.success { border-color: #c8ead8; background: var(--positive-soft); color: var(--positive); }
.route-loader { display: grid; width: min(500px, calc(100% - 40px)); gap: 12px; margin: 25vh auto; }
.skeleton { height: 16px; border-radius: 7px; background: linear-gradient(90deg, #ecece8, #f6f6f3, #ecece8); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton.wide { height: 45px; }
.skeleton.metric { width: 80%; height: 36px; margin-top: auto; }
.table-skeleton { display: grid; gap: 10px; padding: 22px; }
.spin { animation: spin .85s linear infinite; }
.not-found { display: grid; min-height: 100dvh; place-items: center; align-content: center; padding: 30px; text-align: center; }
.not-found > span { color: var(--accent); font-size: 13px; font-weight: 650; }
.not-found h1 { margin: 15px 0 8px; font-size: 45px; letter-spacing: -.05em; }
.not-found p { margin: 0 0 25px; color: var(--muted); }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1060px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-card { min-height: 170px; }
  .docs-page { grid-template-columns: 170px minmax(250px, 300px) minmax(0, 1fr); }
  .docs-content { padding-left: 28px; }
  .metric-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 860px) {
  .section-shell, .nav-container, .footer-grid, .footer-bottom, .docs-page { width: min(100% - 28px, 700px); }
  .nav-links { position: absolute; top: 67px; right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 9px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg); }
  :root[data-theme='dark'] .nav-links { background: rgba(24, 25, 22, .98); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px; border-radius: 8px; }
  .nav-links a:hover { background: var(--surface-soft); }
  .mobile-menu { display: grid; width: 36px; height: 36px; place-items: center; }
  .nav-login { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 70px 0; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 410px; }
  .hero-visual img { height: 410px; }
  .api-preview { grid-template-columns: 1fr; gap: 43px; padding-block: 90px; }
  .feature-band-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-band-grid .feature-wide { grid-column: 1 / -1; border-top: 1px solid var(--line); border-right: 0; }
  .footer-grid { grid-template-columns: 2fr repeat(2, 1fr); }
  .footer-grid > div:last-child { display: none; }
  .playground-grid { grid-template-columns: 1fr; }
  .playground-output { min-height: 430px; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .docs-page { grid-template-columns: 1fr; gap: 28px; }
  .docs-sidebar { position: static; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-brand { margin-left: 0; }
  .docs-sidebar nav { grid-template-columns: repeat(4, 1fr); }
  .docs-index { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-index-list { max-height: 380px; }
  .docs-content { padding: 0; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { width: calc(100% - 48px); top: 24px; left: 24px; }
  .auth-visual { display: none; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 50; width: 245px; transform: translateX(-105%); transition: transform 220ms ease; }
  .sidebar.is-open { transform: translateX(0); box-shadow: 20px 0 70px rgba(25, 25, 22, .15); }
  .sidebar-close, .sidebar-toggle { display: grid; width: 38px; height: 38px; place-items: center; }
  .dashboard-header { justify-content: space-between; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section-shell, .nav-container, .footer-grid, .footer-bottom, .docs-page { width: calc(100% - 24px); }
  .nav-actions .button { display: none; }
  .hero { padding: 58px 0; }
  .hero-title { font-size: clamp(40px, 13vw, 56px); }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-metrics span::after { display: none; }
  .hero-visual { min-height: 340px; border-radius: 21px; }
  .hero-visual img { height: 340px; }
  .platform-section { padding: 76px 0; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div { min-height: 135px; border-bottom: 1px solid var(--line); }
  .stats-grid > div:nth-child(odd) { border-left: 1px solid var(--line); }
  .stats-grid strong { font-size: 31px; }
  .feature-band-grid { grid-template-columns: 1fr; }
  .feature-band-grid > div { min-height: 0; padding: 28px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-band-grid > div:last-child { border-bottom: 0; }
  .feature-band-grid .feature-wide { grid-column: auto; padding-left: 4px; border-top: 0; }
  .endpoint-strip { padding-block: 80px; }
  .section-heading { display: block; }
  .endpoint-table { min-width: 720px; }
  .final-cta { margin-bottom: 75px; padding: 60px 23px; }
  .final-cta > div { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .pricing-summary { grid-template-columns: 1fr; }
  .pricing-card { min-height: 340px; }
  .page-hero { padding-block: 75px 50px; }
  .page-hero h1 { font-size: 43px; }
  .parameter-fields { grid-template-columns: 1fr; }
  .playground-selectors { grid-template-columns: 1fr; gap: 0; }
  .playground-form { padding: 22px; }
  .docs-sidebar nav { grid-template-columns: repeat(2, 1fr); }
  .docs-intro h1 { font-size: 39px; }
  .endpoint-doc-head { flex-direction: column; }
  .params-list > div { grid-template-columns: 1fr auto; gap: 7px; }
  .params-list p { grid-column: 1 / -1; }
  .auth-panel { padding-inline: 22px; }
  .dashboard-content { width: calc(100% - 24px); padding-top: 30px; }
  .dashboard-header { padding: 0 12px; }
  .dashboard-user div { display: none; }
  .dashboard-title { align-items: flex-start; }
  .dashboard-title > .button { padding-inline: 13px; }
  .metric-cards { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 132px; padding: 17px; }
  .metric-card strong { font-size: 25px; }
  .key-create form { flex-direction: column; align-items: stretch; }
  .secret-banner { grid-template-columns: 1fr; }
  .secret-banner code, .secret-banner > button, .secret-banner .secret-close { grid-column: 1; min-height: 39px; }
  .recharge-grid { grid-template-columns: 1fr; }
  .recharge-form fieldset { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
