/*
 * Professional UI layer for the existing API Hub product.
 * Presentation only: no generated product copy, state changes, or data overrides.
 * Load after the existing styles. Semantic status colours and visibility rules
 * remain owned by their original components.
 */
:root {
  --primary-50: #eef4fe;
  --primary-100: #e0eafb;
  --primary-200: #c4d7f6;
  --primary-300: #9bbced;
  --primary-400: #6c99df;
  --primary-500: #4679d2;
  --primary-600: #2c63c9;
  --primary-700: #2459bd;
  --primary-800: #204b99;
  --primary-900: #203f77;
  --primary-950: #14284c;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dde5ef;
  --gray-300: #c6d2e2;
  --gray-400: #91a2b9;
  --gray-500: #6c7e96;
  --gray-600: #52657f;
  --gray-700: #3a4e6b;
  --gray-800: #263c5c;
  --gray-900: #182c49;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius-2xl: 8px;
  --shadow-card: 0 1px 3px rgba(24, 44, 73, .035);
  --shadow-glass: 0 8px 24px rgba(24, 44, 73, .055);
  --shadow-glow: none;
  --ui-surface: #fff;
  --ui-background: #f5f7fb;
  --ui-subtle: #f7f9fc;
  --ui-line: #dde5ef;
  --ui-text: #182c49;
  --ui-muted: #687d97;
  --ui-nav: #13233c;
  --ui-nav-line: #2b3d58;
}
html.dark {
  --ui-surface: #16243a;
  --ui-background: #0d1728;
  --ui-subtle: #1a2b43;
  --ui-line: #2d405b;
  --ui-text: #e5edf8;
  --ui-muted: #a4b5ce;
  --ui-nav: #0f1b2f;
  --ui-nav-line: #293a54;
}
body { line-height: 1.65; text-rendering: optimizeLegibility; }
body, body.landing, body.landing.home-page { background: var(--ui-background); color: var(--ui-text); }
html.dark body, html.dark body.landing, html.dark body.landing.home-page { background: var(--ui-background); color: var(--ui-text); }
::selection { background: rgba(70, 121, 210, .18); color: var(--primary-900); }
html.dark ::selection { color: #edf4ff; }
:focus-visible { outline: 3px solid rgba(108, 153, 223, .7); outline-offset: 3px; }
.mesh { background: none; }
/* Flat, legible controls. Danger and status colours are intentionally retained. */
.btn { border-radius: 5px; padding: 10px 16px; font-weight: 550; line-height: 1.5; transition: background-color .15s, border-color .15s, color .15s; }
.btn:active { transform: none; }
.btn-primary, .site-console .btn-primary, .account-main .btn-primary { background: var(--primary-700); background-image: none; color: #fff; box-shadow: none; }
.btn-primary:hover, .site-console .btn-primary:hover, .account-main .btn-primary:hover { background: var(--primary-800); }
html.dark .btn-primary, html.dark .site-console .btn-primary, html.dark .account-main .btn-primary { background: #2e65c7; color: #fff; }
html.dark .btn-primary:hover, html.dark .site-console .btn-primary:hover, html.dark .account-main .btn-primary:hover { background: #3e75d7; }
.btn-secondary, .btn:not(.btn-primary):not(.btn-danger):not(.btn-ghost):not(.btn-icon), .site-console .btn-secondary { background: var(--ui-surface); border-color: var(--ui-line); box-shadow: none; }
html.dark .btn-secondary, html.dark .btn:not(.btn-primary):not(.btn-danger):not(.btn-ghost):not(.btn-icon), html.dark .site-console .btn-secondary { background: var(--ui-surface); border-color: var(--ui-line); }
.btn-secondary:hover { border-color: #b4c7e2; background: var(--ui-subtle); }
html.dark .btn-secondary:hover { border-color: #537097; background: var(--ui-subtle); }
.btn-danger { background: var(--red-600); background-image: none; box-shadow: none; }
.btn-danger:hover { background: var(--red-700); }
.btn-sm, .btn-tiny { border-radius: 4px; padding: 7px 11px; font-size: 12px; }
.btn-icon { border-radius: 5px; }
.input, input, select, textarea, .account-main input, .account-main select { border-radius: 5px; border-color: var(--ui-line); box-shadow: none; }
input:focus, select:focus, textarea:focus, .input:focus { border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(70, 121, 210, .14); }
html.dark input:focus, html.dark select:focus, html.dark textarea:focus, html.dark .input:focus { border-color: var(--primary-400); box-shadow: 0 0 0 3px rgba(108, 153, 223, .15); }
.input-label, .form-grid label, .toolbar label { font-weight: 550; }
.card, .panel, .node, dialog form, .card-glass { border-radius: 8px; background: var(--ui-surface); border-color: var(--ui-line); box-shadow: var(--shadow-card); backdrop-filter: none; }
html.dark .card, html.dark .panel, html.dark .node, html.dark dialog form, html.dark .card-glass { background: var(--ui-surface); border-color: var(--ui-line); box-shadow: none; }
.panel, .node { padding: 24px; }
.panel h3, .node h3 { margin-bottom: 16px; font-size: 16px; font-weight: 600; }
.badge, .pill { border-radius: 4px; padding: 3px 8px; font-size: 11px; font-weight: 550; }
.mark, .avatar, .site-console .sidebar-header .mark, .site-console .avatar { border-radius: 6px; background: var(--primary-700); background-image: none; box-shadow: none; }
.eyebrow, .account-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.stat { padding: 22px; gap: 15px; }
.stat-icon { width: 37px; height: 37px; border-radius: 6px; }
.stat-label { font-size: 12px; line-height: 1.7; margin-bottom: 5px; }
.stat-value { font-size: 27px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.stat-trend { margin-top: 6px; font-size: 12px; line-height: 1.6; }
html.dark .stat-icon-primary, html.dark .badge-primary, html.dark .st-deploying { background: #203b63; color: #9cbeef; }
.table-container, .table-wrap { border-color: var(--ui-line); border-radius: 6px; }
html.dark .table-container, html.dark .table-wrap { border-color: var(--ui-line); }
th { padding-block: 13px; color: #687d97; font-size: 12px; font-weight: 550; background: #f4f7fb; border-color: var(--ui-line); }
td { padding-block: 14px; border-bottom-color: #e7edf5; font-size: 13px; }
html.dark th { color: #b4c4db; background: #1a2c44; border-color: var(--ui-line); }
html.dark td { border-bottom-color: #26384e; }
tbody tr:nth-child(even) { background: #fafbfd; }
tbody tr:hover { background: #f1f6fd; }
html.dark tbody tr:nth-child(even) { background: #142238; }
html.dark tbody tr:hover { background: #1d324f; }
.settings-tabs { gap: 10px; }
.settings-tab { font-weight: 550; border-radius: 0; }
.segment { border-radius: 6px; }
.segment-btn { border-radius: 4px; font-weight: 550; }
.empty-icon { border-radius: 6px; }
dialog { border-radius: 9px; }
dialog::backdrop { background: rgba(15, 29, 50, .52); backdrop-filter: none; }
dialog header, dialog .modal-header { padding: 20px 24px; border-color: var(--ui-line); }
dialog footer, .modal-footer { border-color: var(--ui-line); }
.drawer { border-color: var(--ui-line); background: var(--ui-surface); box-shadow: -12px 0 32px rgba(18, 35, 60, .09); }
html.dark .drawer { background: var(--ui-surface); border-color: var(--ui-line); box-shadow: -12px 0 32px rgba(0, 0, 0, .2); }
/* Shared navigation: desktop, collapsed and mobile-open mechanics stay untouched. */
.site-header { border-color: var(--ui-line); background: var(--ui-surface); box-shadow: none; padding-inline: max(28px, calc((100% - 1200px) / 2 + 28px)); gap: 36px; }
html.dark .site-header { background: var(--ui-surface); border-color: var(--ui-line); }
.brand { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.site-nav { gap: 28px; }
.site-nav a { font-size: 13px; font-weight: 550; color: #5c7190; }
.site-nav a:hover, .site-nav [aria-current="page"] { color: var(--primary-700); }
html.dark .site-nav a { color: #b2c2da; }
html.dark .site-nav a:hover, html.dark .site-nav [aria-current="page"] { color: #aacbff; }
.site-actions { gap: 12px; }
#header-cta { border-radius: 5px; }
.site-console { --site-surface: var(--ui-surface); --site-background: var(--ui-background); --site-border: var(--ui-line); --site-muted: var(--ui-muted); --site-gutter: 32px; }
html.dark .site-console { --site-surface: var(--ui-surface); --site-background: var(--ui-background); --site-border: var(--ui-line); --site-muted: var(--ui-muted); }
.site-console .sidebar { background: var(--ui-nav); border-color: var(--ui-nav-line); }
html.dark .site-console .sidebar { background: var(--ui-nav); border-color: var(--ui-nav-line); }
.site-console .sidebar-header { border-color: var(--ui-nav-line); padding-inline: 22px; gap: 12px; }
.site-console .sidebar-brand strong { color: #edf3fd; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.site-console .sidebar-brand em, html.dark .site-console .sidebar-brand em { color: #9fb2ce; background: none; letter-spacing: .045em; font-size: 10px; margin-top: 5px; }
.site-console .sidebar-nav { padding: 20px 13px; }
.site-console .sidebar-section-title, html.dark .site-console .sidebar-section-title { color: #8197b8; font-size: 10px; letter-spacing: .09em; font-weight: 600; margin-bottom: 10px; }
.site-console .sidebar-link, html.dark .site-console .sidebar-link { color: #adbed8; padding-block: 11px; border-radius: 5px; font-size: 13px; gap: 11px; }
.site-console .sidebar-link:hover, html.dark .site-console .sidebar-link:hover { background: #203553; color: #f2f6ff; }
.site-console .sidebar-link.active, .site-console .sidebar-link-active, html.dark .site-console .sidebar-link.active, html.dark .site-console .sidebar-link-active { background: #254d86; color: #f3f7ff; }
.site-console .sidebar-foot { border-color: var(--ui-nav-line); padding: 13px; }
.site-console .guide-step-nav .sidebar-link, html.dark .site-console .guide-step-nav .sidebar-link { color: var(--ui-muted); border-radius: 5px; }
.site-console .guide-step-nav .sidebar-link:hover, html.dark .site-console .guide-step-nav .sidebar-link:hover { background: var(--ui-subtle); color: var(--ui-text); }
.site-console .guide-step-nav .sidebar-link.active, .site-console .guide-step-nav .sidebar-link-active { background: #e9f1fe; color: #2d5fa7; }
html.dark .site-console .guide-step-nav .sidebar-link.active, html.dark .site-console .guide-step-nav .sidebar-link-active { background: #203c62; color: #b7d2fb; }
.topbar, .site-console .topbar { background: var(--ui-surface); border-color: var(--ui-line); backdrop-filter: none; }
html.dark .topbar, html.dark .site-console .topbar { background: var(--ui-surface); border-color: var(--ui-line); }
.topbar h1, .site-console .topbar h1 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.user-chip { border-radius: 5px; }
.user-meta b { font-size: 12px; font-weight: 550; }
.user-meta small { font-size: 11px; }
.mode-chip { border-radius: 4px; padding: 5px 9px; font-size: 11px; background: #e9f1fd; color: #406aa4; }
html.dark .mode-chip { background: #203b63; color: #a8c8f7; }
/* Product homepage: clear structure in place of floating marketing decoration. */
.home-page { --home-muted: #637993; --home-border: var(--ui-line); --home-surface: var(--ui-surface); --home-accent: var(--primary-700); --home-tint: #edf3fd; }
html.dark .home-page { --home-muted: #a2b4cd; --home-border: var(--ui-line); --home-surface: var(--ui-surface); --home-accent: #a9c8f5; --home-tint: #1c3457; }
.home-main { max-width: 1200px; padding-inline: 28px; }
.home-hero { gap: 64px; padding: 64px 0 54px; }
.home-hero h1 { font-size: clamp(32px, 3.3vw, 44px); font-weight: 650; line-height: 1.4; letter-spacing: -.035em; margin: 17px 0 21px; }
.home-lede { font-size: 16px; line-height: 1.95; }
.home-hero .hero-actions { margin: 28px 0 18px; gap: 12px; }
.home-brand-line { font-size: 12px; font-weight: 500; line-height: 1.9; margin-top: 24px; }
.home-value-tags { gap: 10px; margin-top: 21px; }
.home-value-tags li { padding: 5px 9px; border-radius: 4px; font-weight: 500; font-size: 11px; background: var(--home-surface); }
.home-process-card { border-radius: 8px; border-color: var(--home-border); padding: 23px; background: var(--home-surface); box-shadow: 0 10px 28px rgba(20, 43, 78, .045); transform: none; }
html.dark .home-process-card { background: var(--home-surface); box-shadow: none; }
.home-process-card-head { padding: 0 1px 18px; font-size: 11px; letter-spacing: .045em; }
.home-process-list { gap: 14px; }
.home-process-list li { border-radius: 6px; padding: 19px 17px; grid-template-columns: 36px minmax(0, 1fr); gap: 13px; background: var(--ui-subtle); border-color: var(--home-border); box-shadow: none; transform: none; }
html.dark .home-process-list li { background: var(--ui-subtle); }
.home-process-icon { width: 34px; height: 34px; border-radius: 5px; font-size: 16px; }
.home-process-list h2 { font-size: 15px; font-weight: 600; line-height: 1.6; }
.home-process-list p { font-size: 12px; line-height: 1.85; }
.home-process-list a { font-size: 12px; margin-top: 9px; }
.home-process-step { font-size: 10px; letter-spacing: .025em; }
.home-section { padding-block: 52px; }
.home-section h2, .home-closing h2 { font-size: clamp(23px, 2.4vw, 28px); font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.home-section-heading { margin-bottom: 28px; gap: 26px; }
.home-section-heading p, .home-faq-intro p, .home-closing p { font-size: 13px; line-height: 1.95; margin-top: 12px; }
.home-cost { gap: 56px; }
.home-cost-pair dd { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.home-cost-pair { gap: 22px; }
.home-cost-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.95; }
.home-setup-shot { border-radius: 7px; background: var(--home-surface); }
.home-shot-title { padding: 16px 18px; font-size: 12px; border-bottom: 1px solid var(--home-border); }
.home-setup-shot figcaption { font-size: 11px; padding: 13px 18px; line-height: 1.85; }
.home-tool-list > a { border-radius: 7px; box-shadow: none; background: var(--home-surface); border-color: var(--home-border); transition: border-color .15s, background-color .15s; }
.home-tool-list > a:hover { transform: none; box-shadow: none; border-color: #acc4e9; }
html.dark .home-tool-list > a:hover { border-color: #5d7da6; }
.home-tool-list h3, .home-start .home-tool-list h3 { font-size: 19px; font-weight: 600; }
.home-tool-list p { font-size: 13px; line-height: 1.9; }
.home-model-family h3 { font-size: 18px; font-weight: 600; }
.home-model-family ul { font-size: 15px; font-weight: 550; }
.home-token-table, .home-price-table { font-size: 14px; }
.home-token-table th, .home-token-table td { line-height: 1.8; }
.home-price-cny { font-size: 28px; font-weight: 600; }
.home-price-table td > strong { font-size: 19px; font-weight: 550; }
.home-price-tag { border-radius: 4px; font-weight: 550; }
.home-steps { gap: 28px; }
.home-steps h3 { font-size: 16px; font-weight: 600; }
.home-steps p { font-size: 13px; line-height: 1.95; }
.home-faq-list summary { font-size: 14px; font-weight: 550; }
.home-faq-list details p { font-size: 13px; line-height: 1.95; }
.home-closing { padding-block: 36px; }
.home-closing h2 { font-size: 24px; }
.home-main [data-reveal].is-revealed, .home-main [data-reveal].is-revealed svg { animation: none; }
.site-footer, .site-console .site-footer { max-width: 1200px; padding: 28px; border-color: var(--ui-line); font-size: 12px; line-height: 1.9; color: var(--ui-muted); }
.site-footer a, .site-console .site-footer a { color: var(--ui-muted); font-size: 12px; }
.site-footer a:hover { color: var(--primary-700); }
html.dark .site-footer, html.dark .site-footer a { color: var(--ui-muted); border-color: var(--ui-line); }
/* Pricing cards: currency hierarchy without changing numbers or selection state. */
.pricing-main { max-width: 1200px; padding: 46px 28px 0; }
.pricing-grid { gap: 18px; }
.price-card, .site-console .price-card { padding: 27px 22px 23px; border-color: var(--ui-line); border-radius: 7px; background: var(--ui-surface); box-shadow: none; transform: none; transition: border-color .15s, background-color .15s; }
.price-card:hover, .site-console .price-card:hover { transform: none; box-shadow: none; border-color: #9ebce7; }
html.dark .price-card:not(.is-selected) { background: var(--ui-surface); border-color: var(--ui-line); }
.price-card h2 { font-size: 17px; font-weight: 600; }
.price-card-top { gap: 9px; }
.price-discount { font-size: 11px; font-weight: 550; padding: 3px 7px; border-radius: 4px; }
.price-description { font-size: 12px; line-height: 1.9; margin: 18px 0 24px; color: var(--ui-muted); }
.price-credit { gap: 5px 8px; line-height: 1.8; }
.price-credit strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.price-unit { margin-bottom: 10px; font-size: 11px; }
.price-credit > span { font-size: 11px; }
.price-extra { font-size: 12px; line-height: 1.8; margin: 18px 0 26px; }
.price-money { font-size: 22px; line-height: 1.3; margin-bottom: 21px; }
.price-money strong { font-size: 36px; font-weight: 600; letter-spacing: -.035em; }
.price-buy { font-size: 13px; padding: 11px 14px; gap: 12px; }
.price-card.is-selected, .site-console .price-card.is-selected { background: #edf4fe; border-color: #81a8e3; color: #254b82; box-shadow: 0 0 0 1px #81a8e3; }
.price-card.is-selected .price-description, .price-card.is-selected .price-unit, .price-card.is-selected .price-credit { color: #5c7eae; }
.price-card.is-selected .price-credit strong { color: #2a578f; }
.price-card.is-selected .price-extra { color: #4a74ad; }
.price-card.is-selected .price-buy { background: var(--primary-700); color: #fff; border-color: var(--primary-700); }
.price-card.is-selected .price-buy:hover { background: var(--primary-800); color: #fff; }
html.dark .price-card.is-selected, html.dark .site-console .price-card.is-selected { background: #1d3559; border-color: #537db8; color: #e2edff; box-shadow: 0 0 0 1px #537db8; }
html.dark .price-card.is-selected .price-description, html.dark .price-card.is-selected .price-unit, html.dark .price-card.is-selected .price-credit { color: #b3caeb; }
html.dark .price-card.is-selected .price-credit strong { color: #e0edff; }
html.dark .price-card.is-selected .price-extra { color: #b7d1f5; }
html.dark .price-card.is-selected .price-buy { background: #3d70bb; color: #fff; }
html.dark .price-card.is-selected .price-buy:hover { background: #4b80cf; color: #fff; }
.price-bestseller { border-radius: 4px; font-size: 11px; padding: 4px 8px; box-shadow: none; top: -13px; }
.pricing-supplements { margin-top: 44px; }
.supplement-heading h2, .pricing-purchase h2 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.checkout-dialog { border: 1px solid var(--ui-line); border-radius: 9px; background: var(--ui-surface); box-shadow: 0 20px 60px rgba(12, 27, 49, .18); }
.checkout-dialog-header, .checkout-dialog .checkout-dialog-header { background: var(--ui-subtle); border-color: var(--ui-line); }
.checkout-dialog-body { background: var(--ui-surface); }
.checkout-dialog .checkout-method-options label { border-radius: 5px; }
.checkout-summary .checkout-total { font-weight: 600; }
.checkout-code { border-radius: 5px; }
/* Account and authentication use the same stable form and surface language. */
.account-page { --account-width: 1160px; --account-surface: var(--ui-surface); --account-subtle: var(--ui-subtle); --account-line: var(--ui-line); --account-muted: var(--ui-muted); --account-text: var(--ui-text); background: var(--ui-background); }
html.dark .account-page { --account-surface: var(--ui-surface); --account-subtle: var(--ui-subtle); --account-line: var(--ui-line); --account-muted: var(--ui-muted); --account-text: var(--ui-text); background: var(--ui-background); }
.account-main { padding-top: 38px; }
.account-heading { margin-bottom: 30px; }
.account-heading h1 { font-size: 28px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.account-surface { border-radius: 8px; box-shadow: none; }
.account-main .btn { border-radius: 5px; }
.account-auth { max-width: 440px; padding: 34px; margin-top: 42px; box-shadow: 0 8px 24px rgba(25, 47, 80, .04); }
html.dark .account-auth { box-shadow: none; }
.account-auth > h2 { font-size: 24px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.account-description { font-size: 13px; line-height: 1.9; }
.account-form { gap: 20px; margin-top: 24px; }
.account-main input, .account-main select { min-height: 44px; }
.account-tabs { gap: 26px; }
.account-tabs > a, .account-tabs > button { font-size: 13px; font-weight: 550; }
.account-start, html.dark .account-start { background: var(--account-surface); border-color: var(--account-line); padding: 30px; gap: 28px; }
.account-start h2 { font-size: 25px; font-weight: 600; letter-spacing: -.025em; }
.account-start-steps { padding-left: 28px; gap: 19px; }
.account-start-steps li { font-size: 12px; line-height: 1.8; }
.account-section-head { padding: 23px 25px; }
.account-section h2 { font-size: 19px; font-weight: 600; }
.account-section h3 { font-size: 15px; font-weight: 550; }
.account-count { border-radius: 4px; font-size: 11px; }
.account-balance-panel { padding: 26px 30px 0; }
.account-balance strong { font-size: 38px; font-weight: 600; }
.account-balance-line { padding: 22px 0 28px; }
.account-balance-links a { font-size: 13px; padding-block: 19px; }
.account-key-next { padding: 21px 25px; background: #f0f5fd; }
html.dark .account-key-next { background: #1b3253; }
.account-api { padding: 15px 25px; font-size: 12px; }
.account-key-create { padding: 25px; }
.account-feedback { border-radius: 5px; font-size: 12px; line-height: 1.85; }
.login-bg, html.dark .login-bg { background: var(--ui-background); }
.login-orb, .login-grid { background: none; filter: none; }
.login-card { padding: 34px; gap: 22px; border-radius: 8px; box-shadow: 0 12px 34px rgba(22, 42, 74, .055); background: var(--ui-surface); border: 1px solid var(--ui-line); }
html.dark .login-card { background: var(--ui-surface); border-color: var(--ui-line); box-shadow: none; }
.login-brand .mark { width: 46px; height: 46px; border-radius: 7px; font-size: 21px; margin-bottom: 19px; }
.login-brand h1 { font-size: 26px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; background: none; color: var(--ui-text); }
.login-brand p { font-size: 13px; line-height: 1.8; }
.login-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
/* Documentation keeps screenshots, code, warnings and current step visible. */
.guide-top { padding-top: 26px; }
.guide-top h1 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.doc { max-width: 900px; gap: 20px; }
.doc-lede { font-size: 16px; line-height: 1.9; }
.doc p { line-height: 1.85; font-size: 14px; }
.step-card, .faq-item, .note, .code-card, .site-console .step-card, .site-console .faq-item, .site-console .note, .site-console .code-card { border-radius: 7px; border-color: var(--ui-line); background: var(--ui-surface); box-shadow: none; }
html.dark .step-card, html.dark .faq-item, html.dark .note, html.dark .code-card { background: var(--ui-surface); border-color: var(--ui-line); }
.step-card, .faq-item, .note, .site-console .step-card, .site-console .faq-item, .site-console .note { padding: 25px; }
.step-card h2, .faq-item h2, .doc h2 { font-size: 19px; font-weight: 600; line-height: 1.6; letter-spacing: -.02em; }
.step-no { border-radius: 5px; width: 27px; height: 27px; font-size: 12px; font-weight: 600; }
.shot { border-radius: 6px; border-color: var(--ui-line); background: var(--ui-subtle); margin-top: 18px; }
html.dark .shot { border-color: var(--ui-line); background: var(--ui-subtle); }
.shot figcaption { padding: 13px 15px; font-size: 12px; line-height: 1.8; }
.code-bar { padding: 12px 15px; border-color: var(--ui-line); background: var(--ui-subtle); }
html.dark .code-bar { border-color: var(--ui-line); background: var(--ui-subtle); }
.doc code { border-radius: 4px; }
.guide-client-tabs .btn { border-radius: 5px; }
.site-console .home-main, .site-console .pricing-main, .site-console .guide-main { max-width: 1240px; }
.site-console .home-hero { padding: 30px 0 38px; gap: 36px; }
.site-console .home-hero h1 { font-size: 34px; font-weight: 600; line-height: 1.45; letter-spacing: -.03em; }
.site-console .home-lede { font-size: 15px; line-height: 1.95; }
.site-console .home-section { padding-block: 38px; }
.site-console .home-section h2, .site-console .home-closing h2 { font-size: 24px; font-weight: 600; }
.site-console .home-cost-pair dd { font-size: 31px; }
.site-console .guide-main { padding-top: 28px; }
.site-console .doc { max-width: 900px; }
.site-console .guide-step-nav { padding-bottom: 18px; margin-bottom: 27px; gap: 9px; }
.site-console .guide-step-nav .sidebar-link { padding: 9px 13px; font-size: 12px; }
/* Responsive adjustments preserve the existing drawer navigation breakpoints. */
@media (max-width: 1100px) {
  .home-hero { gap: 36px; }
  .home-hero h1 { font-size: 37px; }
  .home-lede { font-size: 15px; }
  .price-card, .site-console .price-card { padding: 25px 21px; }
  .stat { padding: 20px; gap: 12px; }
  .stat-value { font-size: 25px; }
}
@media (max-width: 900px) {
  .home-cost, .home-start-layout, .home-faq { gap: 32px; }
  .home-process-card { padding: 20px; }
  .home-process-list li { padding: 17px 15px; }
  .home-section { padding-block: 42px; }
  .site-header { gap: 25px; }
  .site-nav { gap: 22px; }
}
@media (max-width: 767px) {
  .site-console { --site-gutter: 18px; }
  .panel, .node { padding: 20px; }
  .stats, .cards { gap: 12px; }
  .stat { padding: 18px; gap: 11px; }
  .stat-icon { width: 32px; height: 32px; }
  .stat-value { font-size: 23px; }
  .stat-label, .stat-trend { font-size: 11px; }
  .site-console .topbar h1 { font-size: 16px; }
  .site-console .home-main, .site-console .pricing-main, .site-console .guide-main { padding-block: 24px; }
  .site-console .home-hero { padding: 13px 0 30px; gap: 28px; }
  .site-console .home-hero h1 { font-size: 29px; }
  .site-console .home-section { padding-block: 30px; }
  .site-console .home-section h2, .site-console .home-closing h2 { font-size: 22px; }
  .site-console .guide-step-nav { gap: 7px; padding-bottom: 16px; }
  .site-console .guide-step-nav .sidebar-link { font-size: 12px; padding: 8px 10px; }
  .site-console .step-card, .site-console .faq-item, .site-console .note { padding: 21px; }
  .account-main { padding-top: 28px; }
  .account-heading { margin-bottom: 24px; }
  .account-heading h1 { font-size: 25px; }
  .account-start { padding: 25px; }
  .account-start h2 { font-size: 23px; }
  .account-section-head { padding: 21px; }
  .account-balance-panel { padding: 24px 23px 0; }
  .account-balance strong { font-size: 34px; }
  .account-api { padding: 14px 21px; }
  .account-key-next { padding: 20px 21px; }
  .account-key-create { padding: 22px 21px; }
  .site-footer, .site-console .site-footer { padding: 25px 20px; font-size: 11px; }
  .site-footer a, .site-console .site-footer a { font-size: 12px; }
}
@media (max-width: 700px) {
  .home-main { padding-inline: 20px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); padding: 35px 0 32px; gap: 30px; }
  .home-hero h1 { font-size: clamp(29px, 6.8vw, 36px); line-height: 1.45; letter-spacing: -.03em; margin: 14px 0 18px; }
  .home-lede { font-size: 14px; line-height: 1.95; }
  .home-brand-line { font-size: 11px; }
  .home-value-tags { gap: 7px; }
  .home-value-tags li { font-size: 11px; border-radius: 4px; padding: 5px 8px; }
  .home-process-card { border-radius: 7px; padding: 19px; }
  .home-process-list li { border-radius: 5px; padding: 17px 14px; gap: 11px; grid-template-columns: 31px minmax(0, 1fr); }
  .home-process-icon { width: 30px; height: 30px; border-radius: 5px; font-size: 15px; }
  .home-process-list h2 { font-size: 14px; }
  .home-process-list p { font-size: 11px; line-height: 1.9; }
  .home-process-list a { font-size: 11px; }
  .home-section { padding-block: 34px; }
  .home-section h2, .home-closing h2 { font-size: 24px; line-height: 1.5; }
  .home-section-heading p, .home-faq-intro p, .home-closing p { font-size: 13px; line-height: 1.9; }
  .home-tool-list > a { padding: 22px 20px; }
  .home-tool-list h3, .home-start .home-tool-list h3 { font-size: 18px; }
  .home-tool-list p { font-size: 13px; }
  .home-cost-pair dd { font-size: 31px; }
  .home-price-cny { font-size: 23px; }
  .home-price-table td > strong { font-size: 17px; }
  .home-price-table { font-size: 12px; }
  .home-credit-unit { font-size: 10px; }
  .home-token-table { font-size: 12px; }
  .home-token-table th, .home-token-table td { padding: 14px 7px; }
  .home-faq-list summary { font-size: 14px; }
  .home-faq-list details p { font-size: 13px; }
  .home-steps h3 { font-size: 15px; }
  .home-closing h2 { font-size: 22px; }
}
@media (max-width: 600px) {
  .site-header { padding-inline: 16px; gap: 0 12px; }
  .site-nav { gap: 25px; }
  .site-nav a { font-size: 12px; }
  .site-actions { gap: 6px; }
  .brand { font-size: 17px; }
  #header-cta { min-width: 88px; font-size: 12px; padding: 9px 11px; }
  .btn { font-size: 13px; padding: 10px 14px; }
  .btn-sm, .btn-tiny { font-size: 11px; padding: 7px 10px; }
  .btn-icon { padding: 10px; }
  .input, input, select, textarea { font-size: 16px; }
  input[type="checkbox"], input[type="radio"] { font-size: inherit; }
  .toolbar .input, .toolbar input, .toolbar select { font-size: 14px; }
  .pricing-main { padding: 32px 20px 0; }
  .pricing-grid { gap: 18px; }
  .price-card, .site-console .price-card { padding: 25px 22px; }
  .price-card h2 { font-size: 17px; }
  .price-money { font-size: 22px; }
  .price-money strong { font-size: 35px; }
  .price-credit strong { font-size: 22px; }
  .price-extra { font-size: 12px; margin-bottom: 24px; }
  .price-buy { font-size: 13px; padding: 11px 14px; }
  .supplement-heading h2, .pricing-purchase h2 { font-size: 24px; }
  .pricing-supplements { margin: 36px 0 40px; }
  .account-auth { padding: 27px 23px; margin-top: 30px; }
  .account-auth > h2 { font-size: 23px; }
  .account-main .account-form input, .account-main .account-form select { font-size: 16px; }
  .account-start, html.dark .account-start { padding: 23px; gap: 23px; }
  .account-start-steps { padding-left: 0; }
  .account-tabs { gap: 22px; }
  .account-tabs > a, .account-tabs > button { font-size: 13px; }
  .account-section h2 { font-size: 18px; }
  .account-api { font-size: 12px; }
  .account-balance strong { font-size: 32px; }
  .account-balance-links { gap: 22px; }
  .account-balance-links a { font-size: 12px; }
  .account-key-next p { font-size: 12px; line-height: 1.85; }
  .login { padding: 20px; }
  .login-card { padding: 29px 23px; gap: 21px; }
  .login-brand h1 { font-size: 25px; }
  .login-brand p { font-size: 12px; }
  .login-card h2 { font-size: 21px; }
  .guide-top h1 { font-size: 23px; }
  .doc { gap: 17px; }
  .doc-lede { font-size: 15px; line-height: 1.9; }
  .doc p { font-size: 13px; line-height: 1.9; }
  .step-card, .faq-item, .note, .site-console .step-card, .site-console .faq-item, .site-console .note { padding: 21px 18px; }
  .step-card h2, .faq-item h2, .doc h2 { font-size: 17px; line-height: 1.7; }
  .step-no { width: 25px; height: 25px; font-size: 11px; flex-shrink: 0; }
  .shot figcaption { font-size: 11px; padding: 12px; line-height: 1.85; }
  .code-bar { padding: 11px 12px; }
  .code-bar strong { font-size: 12px; }
  th { font-size: 11px; padding: 12px; }
  td { font-size: 12px; padding: 13px 12px; }
  dialog header, dialog .modal-header { padding: 18px 20px; }
}
/* Content sections added by the template-only V6 pass. */
.professional-page-heading { padding: 3px 0 28px; max-width: 860px; }
.professional-page-heading .eyebrow { margin: 0 0 11px; color: var(--primary-700); font-size: 11px; letter-spacing: .09em; font-weight: 600; }
.professional-page-heading h1 { font-size: 32px; font-weight: 600; line-height: 1.45; letter-spacing: -.03em; margin: 0 0 12px; color: var(--ui-text); }
.professional-page-heading > p:last-child { font-size: 14px; line-height: 1.9; color: var(--ui-muted); }
.professional-billing-note { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 22px; margin: 0 0 34px; padding: 18px 21px; border: 1px solid #d7e3f5; border-radius: 6px; background: #eef4fd; font-size: 12px; line-height: 1.9; color: #617fa8; }
.professional-billing-note strong { font-size: 12px; line-height: 1.9; color: #3e6396; font-weight: 600; }
html.dark .professional-page-heading .eyebrow { color: #a6c6f7; }
html.dark .professional-billing-note { border-color: #2d4c75; background: #1a3151; color: #a5bfdf; }
html.dark .professional-billing-note strong { color: #c3d9fa; }
.service-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-info-grid > article { padding: 25px 23px; border: 1px solid var(--home-border); border-radius: 7px; background: var(--home-surface); min-width: 0; display: flex; flex-direction: column; }
.service-info-grid h3 { font-size: 16px; font-weight: 600; line-height: 1.65; margin-bottom: 13px; letter-spacing: -.015em; }
.service-info-grid p { font-size: 13px; line-height: 1.95; color: var(--home-muted); }
.service-info-grid a { display: inline-block; align-self: flex-start; padding-top: 19px; margin-top: auto; font-size: 12px; text-decoration: none; }
.site-console .service-info-grid { gap: 18px; }
.site-console .service-info-grid > article { padding: 23px 20px; }
@media (max-width: 1000px) and (min-width: 768px) {
  .site-console .service-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .professional-page-heading { padding-bottom: 23px; }
  .professional-page-heading h1 { font-size: 27px; line-height: 1.5; }
  .professional-page-heading > p:last-child { font-size: 13px; line-height: 1.9; }
  .professional-billing-note { grid-template-columns: 1fr; gap: 6px; padding: 17px 18px; margin-bottom: 28px; font-size: 12px; }
  .professional-billing-note strong { font-size: 12px; }
  .service-info-grid, .site-console .service-info-grid { grid-template-columns: 1fr; gap: 15px; }
  .service-info-grid > article, .site-console .service-info-grid > article { padding: 23px 21px; }
  .service-info-grid h3 { font-size: 16px; margin-bottom: 11px; }
  .service-info-grid p { font-size: 13px; line-height: 1.9; }
  .service-info-grid a { padding-top: 16px; font-size: 12px; }
}
/* Keep the primary action in the first viewport when four setup steps are shown. */
body.landing.home-page .home-hero { align-items: start; }
body.landing.home-page .home-hero-copy { padding-top: 24px; }
body.landing.home-page .home-process-list li { padding: 14px 16px; }
@media (max-width: 700px) {
  body.landing.home-page .home-hero-copy { padding-top: 0; }
}

.professional-auth-note { margin-top: 20px; padding: 14px 16px; border-left: 2px solid var(--primary-600); background: var(--ui-subtle); color: var(--ui-muted); font-size: 12px; line-height: 1.8; }
.professional-page-heading h1 { text-wrap: balance; }
