:root {
  color-scheme: light;
  --bg: #fdfaf4;
  --surface: #ffffff;
  --surface-muted: #f9f5ee;
  --surface-blue: #feeedc;
  --text: #171d26;
  --text-soft: #5a6472;
  --text-faint: #7a8491;
  --primary: #e65000;
  --primary-strong: #d44700;
  --primary-soft: #feeedc;
  --yellow: #ffc700;
  --yellow-soft: #fff6c7;
  --border: #e6e1d6;
  --border-strong: #d8d1c3;
  --success: #198754;
  --shadow: 0 14px 40px -28px rgba(70, 39, 15, .34), 0 2px 8px rgba(70, 39, 15, .06);
  --radius: 12px;
  --container: 1232px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c111a;
  --surface: #121923;
  --surface-muted: #0f1620;
  --surface-blue: #14234a;
  --text: #f4f6fb;
  --text-soft: #b0bac8;
  --text-faint: #8793a4;
  --primary: #f57e4d;
  --primary-strong: #ff9b73;
  --primary-soft: #392118;
  --yellow: #ffd84d;
  --yellow-soft: #3c3515;
  --border: #283341;
  --border-strong: #39475a;
  --success: #54cc90;
  --shadow: 0 16px 48px -28px rgba(0, 0, 0, .82), 0 2px 8px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 0 0, rgba(249, 115, 22, .16), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(21, 69, 232, .10), transparent 24%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input { 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: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent); outline-offset: 3px; }
::selection { background: var(--yellow); color: #10131a; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 80px; }
.section-border { border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent); }
.section-muted { background: color-mix(in srgb, var(--surface-muted) 82%, transparent); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 81px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(24px);
}
.nav-shell { width: min(1440px, 100%); min-height: 80px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; min-width: 272px; gap: 12px; }
.brand img { width: 52px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; gap: 0; line-height: 1.25; }
.brand-copy strong { font-size: 20px; font-weight: 760; }
.brand-copy small { color: var(--text-soft); font-size: 12px; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: 6px; margin-right: auto; }
.desktop-nav a { padding: 10px 13px; border-radius: 8px; display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: 14px; font-weight: 600; transition: .2s ease; }
.desktop-nav a .icon { width: 16px; height: 16px; }
.desktop-nav a:hover { background: var(--surface-muted); color: var(--text); }
.desktop-nav a.nav-featured { background: var(--primary-soft); color: var(--primary); font-weight: 750; }
.desktop-nav a.nav-featured:hover { background: color-mix(in srgb, var(--primary-soft) 70%, var(--surface)); color: var(--primary-strong); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .text-button { border: 0; background: transparent; cursor: pointer; }
.icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 9px; color: var(--text-soft); }
.icon-button:hover { background: var(--surface-muted); color: var(--text); }
.text-button { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--text-soft); font-size: 14px; font-weight: 600; }
.text-button:hover { color: var(--text); }
.button { min-height: 42px; border: 1px solid transparent; border-radius: 9px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 700; transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(135deg, #ff9b50, #e65000 58%, #df202e); color: #fff; box-shadow: 0 9px 22px -13px rgba(230, 80, 0, .86); }
.button-primary:hover { background: linear-gradient(135deg, #ffab6c, #d94800 58%, #cb1623); box-shadow: 0 13px 28px -14px rgba(230, 80, 0, .76); }
.button-outline { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.button-outline:hover { border-color: var(--primary); color: var(--primary); }
.button-ghost { border-color: transparent; background: transparent; color: var(--text-soft); }
.button-ghost:hover { background: var(--surface-muted); color: var(--text); }
.button-large { min-height: 48px; padding-inline: 21px; font-size: 15px; }
.button-full { width: 100%; }
.language-wrap { position: relative; }
.language-menu { position: absolute; z-index: 10; top: calc(100% + 10px); right: 0; width: 190px; display: none; padding: 7px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.language-menu.open { display: grid; }
.language-menu button { min-height: 42px; border: 0; border-radius: 7px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; background: transparent; text-align: left; cursor: pointer; }
.language-menu button:hover:not(:disabled) { background: var(--surface-muted); }
.language-menu button:disabled { color: var(--text-faint); cursor: not-allowed; }
.language-menu small { font-size: 11px; }
.theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: none; }
[data-theme="dark"] .theme-moon { display: block; }
.mobile-menu-button, .mobile-nav { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: color-mix(in srgb, var(--bg) 88%, transparent); }
.hero-inner { position: relative; z-index: 2; padding-block: 80px; }
.hero-routing { position: absolute; z-index: 1; top: 84px; right: max(18px, calc((100vw - 1380px) / 2)); width: 570px; height: 440px; pointer-events: none; opacity: .78; mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.16) 17%, #000 43%); }
.route-request { position: absolute; top: 74px; left: 72px; min-width: 232px; padding: 10px 12px; display: grid; gap: 4px; border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border)); border-radius: 8px; background: color-mix(in srgb, var(--surface) 80%, transparent); box-shadow: 0 10px 30px -24px rgba(61,35,18,.55); backdrop-filter: blur(10px); }
.route-request code { color: var(--text-soft); font-size: 10px; }
.route-request span { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: 9px; font-weight: 800; }
.route-request span i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 14%, transparent); }
.route-node { position: absolute; border: 1px solid color-mix(in srgb, var(--border-strong) 82%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--surface) 84%, transparent); box-shadow: 0 16px 38px -30px rgba(45,35,25,.58); backdrop-filter: blur(12px); }
.route-gateway { top: 260px; left: 84px; width: 190px; min-height: 76px; padding: 12px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; border-color: color-mix(in srgb, #1545e8 28%, var(--border)); }
.route-gateway img { width: 38px; height: 30px; object-fit: contain; }
.route-gateway span { display: grid; line-height: 1.25; }
.route-gateway small { color: #1545e8; font-size: 8px; font-weight: 850; }
.route-gateway strong { font-size: 13px; }
.route-gateway em { grid-column: 2; margin-top: -9px; color: var(--text-faint); font-size: 9px; font-style: normal; }
.route-model { width: 176px; min-height: 62px; padding: 9px 10px; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 8px; }
.route-model-logo { width: 32px; height: 32px; display: grid; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--border-strong) 78%, transparent); border-radius: 8px; background: #fff; }
.route-model-logo img { width: 22px; height: 22px; display: block; object-fit: contain; }
.route-model span { display: grid; line-height: 1.25; }
.route-model strong { font-size: 11px; white-space: nowrap; }
.route-model small { color: var(--text-faint); font-size: 8px; }
.route-model b { color: var(--success); font-size: 8px; font-weight: 800; }
.route-gpt { top: 28px; right: 18px; }
.route-claude { top: 136px; right: -2px; }
.route-claude .route-model-logo { background: #f1e2d5; }
.route-glm { top: 244px; right: 34px; }
.route-glm .route-model-logo { background: #efe9ff; }
.route-image { top: 352px; right: 88px; }
.route-image .route-model-logo { background: var(--yellow-soft); }
.route-line { position: absolute; left: 260px; top: 298px; height: 1px; transform-origin: left center; background: linear-gradient(90deg, rgba(21,69,232,.52), rgba(230,80,0,.28)); }
.route-line::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid rgba(230,80,0,.45); border-right: 1px solid rgba(230,80,0,.45); transform: rotate(45deg); }
.route-line-one { width: 300px; transform: rotate(-51deg); }
.route-line-two { width: 238px; transform: rotate(-33deg); }
.route-line-three { width: 174px; transform: rotate(-7deg); }
.route-line-four { width: 165px; transform: rotate(32deg); }
.route-packet { position: absolute; z-index: 3; left: 263px; top: 295px; width: 7px; height: 7px; border: 1px solid color-mix(in srgb, var(--yellow) 70%, #fff); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px color-mix(in srgb, var(--yellow) 17%, transparent); }
.packet-one { animation: routePacketOne 4.8s var(--ease) infinite; }
.packet-two { animation: routePacketTwo 5.4s 1.35s var(--ease) infinite; }
.packet-three { animation: routePacketThree 5.1s 2.7s var(--ease) infinite; }
@keyframes routePacketOne { 0%,12% { opacity: 0; transform: translate(0,0); } 19% { opacity: 1; } 68% { opacity: 1; transform: translate(188px,-233px); } 76%,100% { opacity: 0; transform: translate(188px,-233px); } }
@keyframes routePacketTwo { 0%,12% { opacity: 0; transform: translate(0,0); } 19% { opacity: 1; } 68% { opacity: 1; transform: translate(200px,-130px); } 76%,100% { opacity: 0; transform: translate(200px,-130px); } }
@keyframes routePacketThree { 0%,12% { opacity: 0; transform: translate(0,0); } 19% { opacity: 1; } 68% { opacity: 1; transform: translate(168px,-20px); } 76%,100% { opacity: 0; transform: translate(168px,-20px); } }
.announcement { width: fit-content; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--primary); font-size: 14px; font-weight: 750; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px color-mix(in srgb, var(--yellow) 18%, transparent); }
.hero-copy { display: grid; gap: 19px; }
.hero h1 { max-width: 880px; margin: 0; font-size: clamp(46px, 5vw, 64px); line-height: 1.06; font-weight: 720; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 > span { display: block; }
.hero h1 b { display: inline-block; font: inherit; }
.typewriter-line { position: relative; }
.js .typewriter-line.typewriter-active { width: fit-content; max-width: 100%; }
.js .typewriter-line.typewriter-active::after { content: ""; width: .075em; height: .82em; margin-left: .08em; display: inline-block; vertical-align: -.05em; border-radius: 2px; background: var(--primary); animation: typewriterCaret .68s step-end infinite; }
.js .typewriter-line.typewriter-done::after { animation: typewriterCaret .68s step-end 2, typewriterCaretFade .38s ease 1.05s forwards; }
@keyframes typewriterCaret { 50% { opacity: 0; } }
@keyframes typewriterCaretFade { to { opacity: 0; } }
.hero-copy > p { max-width: 850px; margin: 0; color: var(--text-soft); font-size: 19px; line-height: 1.78; }
.model-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.model-chips span, .badge { border-radius: 999px; }
.model-chips span { position: relative; isolation: isolate; overflow: hidden; padding: 5px 10px; border: 1px solid #fb3838; background: #fb3838; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 6px 14px -10px rgba(251,56,56,.9); color: #fff; font-size: 13px; font-weight: 700; transition: transform .24s var(--ease), filter .24s ease; }
.model-chips span::after { content: ""; position: absolute; z-index: 1; inset: -70% auto -70% -70%; width: 58%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); transform: translateX(-150%) skewX(-18deg); opacity: 0; animation: modelChipSheen 4.8s ease-out infinite; }
.model-chips span:hover { transform: translateY(-2px) scale(1.025); filter: saturate(1.08) brightness(1.03); }
.model-chips span:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
@keyframes modelChipSheen { 0%,2% { opacity: 0; transform: translateX(-150%) skewX(-18deg); } 5% { opacity: .95; } 15% { opacity: 0; transform: translateX(480%) skewX(-18deg); } 100% { opacity: 0; transform: translateX(480%) skewX(-18deg); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.promise-item { min-width: 0; min-height: 130px; border: 0; border-right: 1px solid var(--border); padding: 21px; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background .2s ease; }
.promise-item:last-child { border-right: 0; }
.promise-item:hover { background: var(--surface-blue); }
.promise-item:nth-child(1) { background: color-mix(in srgb, #eaf0ff 52%, var(--surface)); }
.promise-item:nth-child(2) { background: color-mix(in srgb, #fff1e8 54%, var(--surface)); }
.promise-item:nth-child(3) { background: color-mix(in srgb, #eaf8ef 50%, var(--surface)); }
.promise-item:nth-child(4) { background: color-mix(in srgb, #fff7cd 54%, var(--surface)); }
.promise-icon { color: var(--primary); margin-top: 2px; }
.promise-item span { display: grid; gap: 6px; }
.promise-item strong { line-height: 1.3; font-size: 15px; }
.promise-item small { color: var(--text-soft); font-size: 12px; line-height: 1.6; }
.promise-arrow { width: 16px; height: 16px; color: var(--text-faint); transition: transform .2s var(--ease); }
.promise-item:hover .promise-arrow { transform: translateX(3px); color: var(--primary); }
.inline-links { display: flex; gap: 22px; margin-top: 25px; }
.inline-links a { color: var(--text-soft); font-size: 14px; font-weight: 700; }
.inline-links a:hover { color: var(--primary); }
.demo-note { margin: 18px 0 -4px; color: var(--text-faint); font-size: 11px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; border-top: 1px solid var(--border); }
.stat { padding: 24px 28px 0 0; display: grid; align-content: start; gap: 3px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--border); }
.stat strong { font-size: 29px; line-height: 1.2; letter-spacing: -.02em; }
.stat span { font-size: 14px; font-weight: 750; }
.stat small { color: var(--text-soft); font-size: 12px; line-height: 1.55; }

.section-heading { display: grid; align-content: start; gap: 10px; }
.section-heading > * { margin: 0; }
.section-label { color: var(--primary); font-size: 14px; font-weight: 780; }
.section-heading h2, .final-cta h2 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.14; letter-spacing: -.028em; text-wrap: balance; }
.section-heading > p:last-child { max-width: 740px; color: var(--text-soft); font-size: 16px; }
.wide-heading { grid-template-columns: .8fr 1.2fr; align-items: end; gap: 80px; margin-bottom: 34px; }
.wide-heading h2 { margin-top: 6px; }
.centered-heading { max-width: 780px; margin: 0 auto 38px; text-align: center; justify-items: center; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.model-card { position: relative; min-height: 222px; padding: 21px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 30px -28px rgba(20,35,72,.5); transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease; }
.model-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }
.model-card.featured { border-color: color-mix(in srgb, var(--primary) 48%, var(--border)); background: color-mix(in srgb, var(--surface-blue) 46%, var(--surface)); }
.model-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.model-mark { width: 36px; height: 36px; border: 1px solid color-mix(in srgb, var(--border-strong) 78%, transparent); border-radius: 9px; display: grid; place-items: center; overflow: hidden; background: #fff; }
.model-mark img { width: 24px; height: 24px; display: block; object-fit: contain; }
.model-mark.claude, .model-mark.fable { background: #f1e2d5; }.model-mark.deepseek { background: #e7eeff; }.model-mark.glm { background: #efe9ff; }.model-mark.video { background: #eaf8ef; }.model-mark.image { background: var(--yellow-soft); }
.badge { padding: 3px 8px; background: var(--surface-muted); color: var(--text-soft); font-size: 11px; font-weight: 750; }
.badge-blue { background: var(--primary-soft); color: var(--primary); }.badge-yellow { background: var(--yellow-soft); color: #725800; }
.model-card h3 { margin: 0 0 2px; font-size: 20px; line-height: 1.35; }
.model-card code { color: var(--text-faint); font-size: 12px; }
.model-meta { display: flex; gap: 8px; margin-top: 14px; }
.model-meta span { padding: 3px 7px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-soft); font-size: 11px; }
.price { margin: 15px 0 0; font-size: 18px; font-weight: 800; }
.price small { color: var(--text-soft); font-size: 12px; font-weight: 600; }
.price-detail { font-size: 14px; line-height: 1.55; }
.saving { margin: 3px 0 0; color: var(--primary); font-size: 12px; font-weight: 700; }
.muted-saving { color: var(--text-faint); }
.model-card-placeholder { display: grid; place-content: center; justify-items: center; gap: 8px; border-style: dashed; background: color-mix(in srgb, var(--surface-muted) 68%, var(--surface)); color: var(--text-soft); text-align: center; cursor: default; }
.model-card-placeholder:hover { transform: none; border-color: color-mix(in srgb, var(--primary) 36%, var(--border)); box-shadow: 0 12px 32px -30px rgba(20,35,72,.55); }
.model-card-placeholder h3, .model-card-placeholder p { margin: 0; }
.model-card-placeholder p { font-size: 13px; }
.placeholder-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border)); border-radius: 11px; background: var(--primary-soft); color: var(--primary); font-size: 28px; font-weight: 400; line-height: 1; }
.ticker { overflow: hidden; background: var(--surface); }
.ticker-track { width: max-content; min-height: 60px; display: flex; align-items: center; gap: 0; animation: ticker 26s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 12px; color: var(--text-soft); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ticker-track span::after { content: ""; width: 5px; height: 5px; margin-inline: 24px; border-radius: 50%; background: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }

.quickstart-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; align-items: center; }
.quickstart .section-heading h2 { max-width: 440px; font-size: clamp(34px, 3vw, 42px); }
.steps { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 25px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 40px; bottom: 0; left: 19px; width: 1px; background: var(--border); }
.step-number { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--primary); font-weight: 800; }
.steps h3 { margin: 1px 0 3px; font-size: 17px; }
.steps p { margin: 0; color: var(--text-soft); font-size: 14px; }
.code-console { overflow: hidden; border: 1px solid #2b3442; border-radius: var(--radius); background: #0f1520; color: #eef2f8; box-shadow: 0 28px 60px -38px rgba(5, 13, 31, .95); }
.console-bar { min-height: 48px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #2a3442; background: #151d28; font-size: 12px; color: #9aa7b7; }
.console-bar > span:first-child { display: flex; gap: 7px; }
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3d4755; }.console-bar i:first-child{background:#ff6b5f}.console-bar i:nth-child(2){background:#ffcf4a}.console-bar i:nth-child(3){background:#42cc77}
.console-bar strong { color: #dce4ee; font-size: 12px; }
.console-bar > span:last-child { justify-self: end; }
.endpoint-row { padding: 17px 18px; display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 1px solid #293340; }
.endpoint-row > div { min-width: 0; display: grid; gap: 3px; }.endpoint-row small { color: #7e8b9d; }.endpoint-row code { color: #dfe7f2; font-size: 13px; overflow-wrap: anywhere; }
.copy-button { min-width: 85px; min-height: 38px; border: 1px solid #3b4655; border-radius: 8px; display: inline-flex; justify-content: center; align-items: center; gap: 7px; background: #1a2431; color: #dce4ed; cursor: pointer; font-size: 12px; }
.copy-button:hover { border-color: #6e91ff; color: #91aaff; }
.endpoint-path { padding: 13px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #293340; }.endpoint-path span { padding: 2px 6px; border-radius: 5px; background: #193e31; color: #67d7a4; font-size: 10px; font-weight: 800; }.endpoint-path code { font-size: 12px; color: #a9b5c4; }
.code-console pre { min-height: 250px; margin: 0; padding: 20px 22px; overflow: auto; color: #bbc7d6; font-size: 12px; line-height: 1.72; tab-size: 2; }
.code-key { color: #82aaff; }.code-string { color: #c3e88d; }
.button-console { margin: 0 18px 18px; width: calc(100% - 36px); background: #eef3ff; color: #17377e; }
.button-console:hover { background: #fff; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pricing-item { min-height: 128px; padding: 21px; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease, transform .2s var(--ease); }
.pricing-item:hover { border-color: var(--primary); transform: translateY(-2px); }.pricing-item > .icon:first-child { color: var(--primary); margin-top: 2px; }.pricing-item h3 { margin: 0 0 5px; font-size: 17px; }.pricing-item p { margin: 0; color: var(--text-soft); font-size: 13px; }.row-arrow { width: 17px; color: var(--text-faint); }
.pricing-item-static { grid-template-columns: auto 1fr; cursor: default; }
.pricing-item-static:hover { transform: none; border-color: var(--border); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 0 28px; text-align: center; }.feature + .feature { border-left: 1px solid var(--border); }.feature-icon { width: 54px; height: 54px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }.feature-icon .icon { width: 25px; height: 25px; }.feature h3 { margin: 0 0 8px; font-size: 20px; }.feature p { margin: 0; color: var(--text-soft); font-size: 14px; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.accordion { border-top: 1px solid var(--border-strong); }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-item button { width: 100%; min-height: 74px; padding: 0; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: transparent; color: var(--text); font-weight: 750; text-align: left; cursor: pointer; }
.faq-item button .icon { width: 18px; transition: transform .25s var(--ease); }
.faq-item.open button .icon { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }.faq-answer > p { min-height: 0; overflow: hidden; margin: 0; color: var(--text-soft); font-size: 14px; }.faq-item.open .faq-answer { grid-template-rows: 1fr; }.faq-item.open .faq-answer > p { padding: 0 40px 22px 0; }

.final-cta { background: var(--surface); }
.cta-inner { min-height: 390px; padding-block: 74px; display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 34px; }
.cta-inner > img { width: 96px; }.cta-inner p { margin: 0 0 7px; color: var(--primary); font-weight: 800; }.cta-inner h2 { max-width: 720px; margin: 0 0 9px; }.cta-inner span { color: var(--text-soft); }.cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 190px; }
.site-footer { border-top: 1px solid var(--border); background: var(--surface-muted); }
.footer-inner { min-height: 155px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 40px; }.footer-brand { min-width: 0; }.footer-inner > p { margin: 0; color: var(--text-soft); font-size: 12px; }.footer-inner > p:nth-of-type(1) { justify-self: end; }.footer-inner > p:nth-of-type(2) { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--border); }

.modal { width: min(440px, calc(100% - 28px)); padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 30px 90px rgba(10, 20, 45, .28); }
.modal::backdrop { background: rgba(8, 13, 24, .55); backdrop-filter: blur(5px); }.modal-close { position: absolute; top: 12px; right: 12px; }.modal-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-right: 30px; }.modal-brand img { width: 62px; }.modal-brand > div { display: grid; }.modal-brand strong { font-size: 21px; }.modal-brand span { color: var(--text-soft); font-size: 13px; }.modal form { display: grid; gap: 16px; }.modal label { display: grid; gap: 7px; color: var(--text-soft); font-size: 13px; font-weight: 650; }.modal input[type="email"], .modal input[type="password"] { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--bg); color: var(--text); outline: 0; }.modal input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }.checkbox-row { grid-template-columns: auto 1fr; align-items: start; gap: 9px !important; }.checkbox-row input { margin-top: 4px; accent-color: var(--primary); }.form-note { margin: 0; color: var(--text-faint); font-size: 11px; text-align: center; }
.service-modal { width: min(540px, calc(100% - 28px)); padding: 30px; text-align: left; }
.service-heading { padding-right: 34px; display: flex; align-items: center; gap: 14px; }
.service-heading > div { min-width: 0; }
.service-heading p, .service-heading h2 { margin: 0; }
.service-heading p { color: var(--primary); font-size: 12px; font-weight: 800; }
.service-heading h2 { font-size: 24px; line-height: 1.35; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); flex: 0 0 auto; }
.service-icon .icon { width: 26px; height: 26px; }
.contact-list { margin: 24px 0 18px; display: grid; gap: 10px; }
.contact-item { min-height: 72px; padding: 12px; border: 1px solid var(--border); border-radius: 11px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: color-mix(in srgb, var(--surface-muted) 62%, var(--surface)); transition: border-color .2s ease, background .2s ease, transform .2s var(--ease); }
a.contact-item:hover { border-color: color-mix(in srgb, var(--primary) 42%, var(--border)); background: var(--surface); transform: translateY(-1px); }
.contact-brand-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-weight: 850; }
.contact-brand-icon.telegram { background: #229ed9; }
.contact-brand-icon.qq { background: #1677ff; font-size: 13px; }
.contact-brand-icon.telegram .icon { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.contact-copy { min-width: 0; display: grid; gap: 1px; }
.contact-copy small { color: var(--text-soft); font-size: 12px; }
.contact-copy strong { overflow-wrap: anywhere; color: var(--text); font-size: 15px; }
.contact-action { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--primary); font-size: 12px; font-weight: 800; white-space: nowrap; }
.contact-action .icon { width: 15px; height: 15px; }
.contact-copy-button { min-height: 38px; padding: 0 4px 0 10px; border: 0; background: transparent; cursor: pointer; }
.service-note { margin: 0 0 18px; display: flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: 12px; }
.service-note .icon { width: 16px; height: 16px; color: var(--success); }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; min-height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); color: var(--text); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .25s var(--ease); }.toast.show { opacity: 1; transform: translateY(0); }.toast .icon { color: var(--success); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: .001; transform: translateY(20px); filter: blur(5px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); }
.js .reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (max-width: 1100px) {
  .desktop-nav, .customer-button span, .nav-actions > .button-ghost, .nav-actions > .button-primary { display: none; }
  .mobile-menu-button { display: inline-grid; }
  .mobile-menu-button .menu-close { display: none; }.mobile-menu-button[aria-expanded="true"] .menu-open { display: none; }.mobile-menu-button[aria-expanded="true"] .menu-close { display: block; }
  .mobile-nav { position: fixed; inset: 81px 0 auto; padding: 18px 24px 26px; border-bottom: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a, .mobile-nav button { min-height: 48px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; background: transparent; color: var(--text); font-weight: 700; text-align: left; cursor: pointer; }
  .mobile-nav a .icon { width: 18px; height: 18px; margin-right: 9px; color: var(--primary); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }.promise-item:nth-child(2) { border-right: 0; }.promise-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .hero-routing { right: -86px; width: 500px; opacity: .42; mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.08) 25%, #000 58%); }
  .quickstart-grid { gap: 40px; }
  .cta-inner { grid-template-columns: 80px 1fr; }.cta-actions { grid-column: 2; flex-direction: row; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section-pad, .hero-inner { padding-block: 62px; }
  .nav-shell { padding-inline: 16px; }.brand { min-width: 0; margin-right: auto; }.brand img { width: 46px; height: 38px; }.brand-copy small { display: none; }.brand-copy strong { font-size: 18px; }
  .hero h1 { font-size: clamp(36px, 8vw, 48px); }.hero-copy > p { font-size: 17px; }
  .hero-routing { display: none; }
  .wide-heading, .quickstart-grid, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .wide-heading { align-items: start; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }.feature { padding: 0; }.feature + .feature { padding-top: 28px; border-left: 0; border-top: 1px solid var(--border); }
  .cta-inner { grid-template-columns: 1fr; gap: 22px; text-align: left; }.cta-inner > img { width: 80px; }.cta-actions { grid-column: auto; flex-direction: row; }
  .footer-inner { grid-template-columns: 1fr; padding-block: 34px; }.footer-inner > p:nth-of-type(1) { justify-self: start; }.footer-inner > p:nth-of-type(2) { grid-column: auto; width: 100%; }
}

@media (max-width: 560px) {
  .nav-actions { gap: 2px; }.text-button.customer-button { display: none; }
  .hero-inner { padding-top: 48px; }.hero h1 { font-size: 34px; line-height: 1.1; letter-spacing: -.025em; }.announcement { font-size: 12px; }.hero-copy > p { font-size: 16px; line-height: 1.7; }
  .hero-actions, .cta-actions { display: grid; grid-template-columns: 1fr; }.hero-actions .button, .cta-actions .button { width: 100%; }
  .promise-grid { grid-template-columns: 1fr; }.promise-item { min-height: 116px; border-right: 0; border-bottom: 1px solid var(--border); }.promise-item:last-child { border-bottom: 0; }
  .inline-links { gap: 18px; overflow-x: auto; }.inline-links a { white-space: nowrap; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }.stat { padding: 20px 16px 18px 0; }.stat + .stat { padding-left: 16px; }.stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }.stat:nth-child(4) { border-top: 1px solid var(--border); }.stat strong { font-size: 25px; }
  .section-heading h2, .final-cta h2 { font-size: 32px; }
  .model-grid, .pricing-grid { grid-template-columns: 1fr; }.model-card { min-height: 210px; }
  .code-console pre { min-height: 230px; font-size: 11px; }.endpoint-row { align-items: center; }.copy-button { min-width: 42px; width: 42px; }.copy-button span { display: none; }
  .cta-inner { min-height: 430px; }.cta-inner > img { width: 74px; }
  .toast { right: 14px; bottom: 14px; left: 14px; justify-content: center; }
  .service-modal { padding: 24px 18px 18px; }.service-heading { align-items: flex-start; }.contact-item { grid-template-columns: 40px minmax(0, 1fr); }.contact-brand-icon { width: 40px; height: 40px; }.contact-action { grid-column: 2; justify-content: flex-start; }.contact-copy-button { width: fit-content; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .model-chips span::after { animation: modelChipSheen 4.8s ease-out infinite !important; }
  .ticker-track { animation: ticker 26s linear infinite !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
