:root{--paper:#f8f7f2;--white:#fffefa;--ink:#203c34;--body:#4f5c54;--muted:#7a827a;--line:#dcded3;--green:#244d40;--sage:#e8ecdf;--coral:#ae533c;--code:#16392f;--mono:'DM Mono',ui-monospace,SFMono-Regular,Consolas,monospace;--sans:'DM Sans',Arial,sans-serif;--display:'Manrope','DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #ae6441;outline-offset:4px}input,select{min-width:0;color:var(--ink)}button{color:inherit}h1,h2,h3,p,pre{margin:0}svg{display:block}h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.13;letter-spacing:-.055em}.shell{width:min(1200px,calc(100% - 112px));margin-inline:auto}.section-space{padding-block:105px}.eyebrow{font-family:var(--mono);font-size:10px;letter-spacing:.13em;font-weight:500;line-height:1.6}.announcement{height:34px;display:flex;justify-content:center;align-items:center;gap:10px;background:var(--green);color:#f2f2df;font-size:10px;letter-spacing:.045em}.announcement .status-dot{background:#e0c193;width:5px;height:5px}.announcement-divider{opacity:.4;margin-inline:3px}.status-dot{display:inline-block;width:6px;height:6px;background:#638265;border-radius:50%;flex:none}.site-header{height:100px;display:flex;align-items:center;gap:27px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:9px;font-family:var(--display);font-weight:800;font-size:21px;letter-spacing:-.075em;flex:none}.brand-mark{display:grid;place-content:center;font-size:28px;font-weight:700;letter-spacing:-.075em;width:33px;height:34px;line-height:1;padding-bottom:5px;background:var(--ink);color:var(--paper);border-radius:1px}.brand-light{font-weight:500}.product-label{font:10px var(--mono);letter-spacing:.08em;color:var(--body);border-left:1px solid #c5cbbf;padding-left:23px;white-space:nowrap}.site-header nav{margin-left:auto;display:flex;gap:26px;font-size:12px}.site-header nav a:hover,.site-footer nav a:hover{color:var(--coral)}.button{display:inline-flex;align-items:center;justify-content:center;gap:29px;font-size:12px;font-weight:600;line-height:1.5;padding:15px 21px;border:1px solid transparent;border-radius:3px;transition:background .2s,transform .2s;white-space:nowrap}.button:hover{transform:translateY(-2px)}.button span{font-size:18px;line-height:1}.button-primary{background:var(--green);color:#fffdf3}.button-primary:hover{background:#17392e}.button-outline{border-color:#98a395;background:transparent}.button-outline:hover{background:var(--sage)}.button-small{font-size:11px;padding:10px 14px;gap:19px}.button-cream{background:#f4f1e3;color:var(--ink)}.text-link{display:inline-flex;gap:19px;align-items:center;font-size:12px;font-weight:600;padding-block:7px}.text-link:hover{color:var(--coral)}.text-link span{font-size:18px}.hero{display:grid;grid-template-columns:1.06fr 1fr;gap:64px;padding-top:76px;padding-bottom:72px;align-items:center}.hero .eyebrow{display:flex;gap:11px;align-items:center;font-size:9px;letter-spacing:.11em;margin-bottom:26px}.tiny-rule{width:21px;height:1px;background:var(--coral)}h1{font-size:clamp(52px,5.3vw,73px);letter-spacing:-.07em;line-height:1.065;font-weight:600}h1 em{font-style:normal;color:var(--coral)}.hero-description{font-size:15px;line-height:1.85;color:var(--body);max-width:410px;margin-top:26px}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:28px}.hero-note{display:flex;align-items:center;gap:8px;font-size:10px;color:#70796b;margin-top:20px}.hero-visual{padding-top:18px;min-width:0}.visual-label{display:flex;justify-content:space-between;font:9px var(--mono);letter-spacing:.06em;color:#748071;margin-bottom:11px}.code-card{background:var(--code);border:1px solid #18362e;border-radius:6px;color:#d8e0d4;overflow:hidden;box-shadow:0 12px 32px #21382d08}.hero-code{transform:rotate(.7deg);box-shadow:7px 12px 0 #e8e8da}.code-top{height:47px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff14;padding-inline:19px;color:#95ada0;font:9px var(--mono)}.code-top>span:first-child{display:flex;gap:5px}.code-top i{height:6px;width:6px;border-radius:50%;background:#7f9680}.code-top i:first-child{background:#b98561}.code-top i:nth-child(2){background:#c2b982}.code-top .code-lang{font-size:8px;letter-spacing:.08em;color:#789387}.code-card pre{font:11px/1.75 var(--mono);padding:23px 24px;overflow:auto;tab-size:4}.syntax-purple{color:#c0b3d1}.syntax-green{color:#ccd6a2}.code-bottom{display:flex;gap:7px;align-items:center;padding:12px 19px;border-top:1px solid #ffffff14;font:8px var(--mono);color:#abc0af;line-height:1.4}.code-bottom-end{margin-left:auto;color:#819c8b}.code-indicator{width:4px;height:4px;border-radius:50%;background:#a1b482}.connection-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:29px 8px 11px;color:#61705f}.provider-wordmark{font-size:19px;letter-spacing:-.045em;line-height:1}.provider-wordmark.deepseek{font-weight:700;font-size:18px}.provider-wordmark.kimi{font-weight:750;font-size:23px;display:flex;align-items:center;gap:4px}.provider-wordmark.kimi span{font-size:15px}.provider-wordmark.grok{font-size:23px;font-weight:500}.provider-wordmark.gemini{font-weight:500;font-size:19px;display:flex;align-items:center;gap:5px}.provider-wordmark.gemini span{font-size:25px}.visual-footnote{font-size:8px;line-height:1.7;color:#818877;text-align:center}.principles-band{border-block:1px solid var(--line);background:#efefe6}.principles{display:grid;grid-template-columns:repeat(3,1fr);padding-block:27px}.principles>div{display:flex;align-items:center;gap:18px;padding-inline:28px;border-left:1px solid #d4d8ca}.principles>div:first-child{padding-left:0;border-left:0}.principles>div:last-child{padding-right:0}.principle-number{font:10px var(--mono);color:#989d89}.principles strong{display:block;font-size:12px;font-weight:600;letter-spacing:-.01em}.principles p>span{display:block;font-size:10px;color:#78806e;margin-top:3px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:50px;margin-bottom:37px}.section-heading .eyebrow{margin-bottom:16px}.section-heading h2,h2{font-size:39px;line-height:1.13;font-weight:550}.muted-heading{color:#8d9585}.section-heading>p{max-width:360px;font-size:12px;line-height:1.9;color:var(--body);padding-bottom:4px}.pricing-unit{display:block;font:10px var(--mono);color:#69745f;margin-top:11px}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.filter-pills{display:flex;gap:6px}.filter-pill{border:1px solid transparent;background:transparent;padding:7px 13px;border-radius:3px;font-size:11px;color:#75806c}.filter-pill span{font-size:9px;padding:2px 5px;margin-left:5px;background:#f2f1e6;border-radius:2px;color:#737c66}.filter-pill.active{border-color:#c7cdbc;background:#e8ecdf;color:var(--ink)}.catalog-search{display:flex;gap:8px}.catalog-search select,.search-box{border:1px solid #d8dccf;background:transparent;border-radius:3px;height:36px}.catalog-search select{font-size:10px;padding:0 25px 0 10px;max-width:165px}.search-box{display:flex;align-items:center;gap:8px;padding-inline:11px}.search-box svg{width:13px;height:13px;color:#8a9381}.search-box input{font-size:10px;border:0;background:transparent;width:143px;outline-offset:7px}.search-box input::placeholder{color:#8a9381}.catalog-message{padding:28px;background:#efefe6;border:1px solid var(--line);font-size:12px;text-align:center;color:var(--body);border-radius:4px}.catalog-message.error{color:#8b4436;background:#f4eae0}.catalog-message[hidden]{display:none}.catalog-message button{border:0;background:none;text-decoration:underline;margin-left:10px;font-size:12px}.model-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.model-card{position:relative;padding:22px 21px 18px;background:var(--white);border:1px solid var(--line);border-radius:4px;display:flex;flex-direction:column;min-width:0;transition:border-color .2s,box-shadow .2s}.model-card:hover{border-color:#97a58c;box-shadow:0 4px 16px #263d2e07}.model-card.selected{border-color:#537251;background:#fcfcf5;box-shadow:inset 0 0 0 1px #537251}.model-card-top{display:flex;align-items:center;gap:8px;margin-bottom:21px}.provider-icon{width:29px;height:29px;border:1px solid #dfe1d4;background:#f1f2e9;display:grid;place-items:center;font-size:15px;font-weight:650;color:#496243;border-radius:5px;flex:none}.model-provider{font:9px var(--mono);text-transform:uppercase;letter-spacing:.04em;color:#748168}.availability{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:8px;border:1px solid #e2dfd0;background:#f7f2e7;padding:3px 6px;border-radius:3px;color:#8d7556;white-space:nowrap;line-height:1.5}.availability .status-dot{width:4px;height:4px;background:#b59b6b}.availability.available{border-color:#d7e2ca;background:#edf2e6;color:#63774c}.availability.available .status-dot{background:#6f8e53}.model-card h3{font-size:21px;font-weight:600;letter-spacing:-.045em;overflow-wrap:anywhere}.model-id{font:8px/1.5 var(--mono);color:#7d846f;margin-top:6px;overflow-wrap:anywhere}.model-description{font-size:11px;line-height:1.7;color:#7c8472;margin-top:13px;margin-bottom:20px;min-height:37px}.model-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-block:15px 14px;border-top:1px solid #e9eadf;margin-top:auto}.model-prices>div+div{border-left:1px solid #e9eadf;padding-left:18px}.model-prices span{font:8px var(--mono);letter-spacing:.05em;color:#7e8872;display:block;margin-bottom:5px}.model-prices strong{display:block;font-family:var(--display);font-size:23px;line-height:1.3;letter-spacing:-.055em;font-weight:500}.model-prices strong.pending-price{font-size:15px;letter-spacing:0;color:#8b927e}.model-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font:8px var(--mono);color:#829076;margin-bottom:18px}.model-meta span{padding:3px 5px;background:#f0f2e8;border:1px solid #e5e8db;border-radius:2px}.model-card-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:13px;border-top:1px solid #e9eadf;gap:12px}.model-card-bottom a{font-size:9px;color:#89927a}.model-card-bottom a:hover{text-decoration:underline}.estimate-select{border:0;background:none;font-size:10px;padding:3px 0;color:#47633a}.estimate-select span{padding-left:9px;font-size:14px}.estimate-select:hover{color:var(--coral)}.pricing-note{display:flex;align-items:flex-start;gap:9px;color:#858d79;padding-top:17px;line-height:1.7;font-size:9px}.note-icon{font:8px/13px var(--mono);display:inline-block;width:14px;height:14px;border:1px solid #aab19e;border-radius:50%;text-align:center;flex:none;margin-top:1px}.estimate-section{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d6dbcd;background:#edf0e5;border-radius:5px;padding:43px 48px;gap:73px}.estimate-intro .eyebrow{font-size:8px;color:#79846b;margin-bottom:18px}.estimate-intro h2{font-size:37px}.estimate-intro>p:not(.eyebrow){font-size:12px;max-width:305px;line-height:1.85;color:#76806b;margin-top:19px}.estimate-intro .text-link{margin-top:15px;font-size:11px}.estimate-disclaimer{font-size:9px;line-height:1.9;max-width:320px;color:#8d957f;margin-top:25px}.calculator{background:var(--white);border:1px solid #d4dbcb;border-radius:4px;padding:24px 26px}.field-label{display:block;font:8px/1.6 var(--mono);letter-spacing:.08em;color:#778369;margin-bottom:8px}.calculator>select{background:#fafbf5;border:1px solid #dbe0d0;border-radius:3px;height:38px;padding:0 12px;font-size:12px;width:100%;margin-bottom:23px}.token-inputs{display:grid;grid-template-columns:1fr 1fr;gap:13px}.number-field{display:flex;align-items:center;border:1px solid #dbe0d0;border-radius:3px;height:38px;padding-inline:10px;gap:5px;background:#fffefa}.number-field input{font-size:13px;width:100%;background:transparent;border:0;padding:0;font-variant-numeric:tabular-nums}.number-field span{font-size:8px;color:#9ba28c}.estimate-breakdown{display:flex;gap:22px;margin-top:15px;font-size:9px;color:#969f87}.estimate-breakdown strong{font-weight:400;color:#77846a;padding-left:4px}.estimate-total{display:flex;justify-content:space-between;align-items:flex-end;margin-top:21px;padding-top:20px;border-top:1px solid #e4e8da}.estimate-total .field-label{margin-bottom:2px}.estimate-total p{font-size:42px;line-height:1.2;font-family:var(--display);letter-spacing:-.065em;font-weight:500;font-variant-numeric:tabular-nums}.currency-label{font:9px var(--mono);color:#99a18c;padding-bottom:8px}.calculator-note{font-size:9px;line-height:1.7;color:#8c957e;margin-top:10px}.integration-section .section-heading h2{font-size:37px}.integration-layout{display:grid;grid-template-columns:.67fr 1fr;gap:73px;align-items:start}.integration-steps{padding-top:7px}.integration-steps>div{display:flex;gap:17px;margin-bottom:30px;position:relative}.integration-steps>div:not(:nth-child(3)):after{content:'';position:absolute;top:32px;left:12px;bottom:-20px;width:1px;background:var(--line)}.integration-steps>div>span{font:9px/25px var(--mono);height:26px;width:26px;text-align:center;background:#eef0e4;border:1px solid #d7dfcb;border-radius:50%;flex:none}.integration-steps strong{display:block;font-size:12px;font-weight:600;margin-top:2px}.integration-steps small{display:block;max-width:280px;font-size:11px;line-height:1.8;color:#8c947f;margin-top:6px}.integration-steps .endpoint-text{font-family:var(--mono);font-size:10px;color:#657850}.integration-steps>.text-link{font-size:11px;margin-top:1px;margin-left:43px}.snippet-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff14;padding:0 18px;height:49px}.code-tabs{display:flex;height:100%;gap:23px}.code-tabs button{padding:0 1px;background:transparent;border:0;border-bottom:2px solid transparent;color:#8da895;font-size:10px}.code-tabs button[aria-selected=true]{color:#ecf0df;border-bottom-color:#d6da9d}.copy-button{display:flex;align-items:center;gap:6px;background:none;border:0;color:#97b29f;font-size:9px;padding:5px}.copy-button svg{width:13px;height:13px}.copy-button:hover{color:#fff}.integration-code pre{font-size:10px;line-height:1.8;padding:22px 24px;min-height:299px;white-space:pre;max-height:470px}.integration-code .code-bottom{font-size:8px}.usage-section{padding:36px 40px;border-block:1px solid var(--line);display:grid;grid-template-columns:1fr 1.12fr;gap:60px;background:#f1f2e9}.usage-section h2{font-size:26px;letter-spacing:-.045em;margin-top:12px}.usage-section>div>p:not(.eyebrow){font-size:11px;line-height:1.85;color:#818c75;margin-top:14px;max-width:355px}.usage-section .eyebrow{font-size:8px}.usage-section .text-link{font-size:10px;margin-top:11px}.usage-panel{padding-top:15px}.usage-key-row{display:flex;gap:8px}.usage-key-row input{border:1px solid #d6ddca;border-radius:3px;background:#fffefa;padding:11px 12px;width:100%;font-size:11px}.usage-key-row .button{font-size:10px;padding:11px 13px;gap:14px}.usage-message{font-size:11px;line-height:1.8;color:#6f7e60;margin-top:13px}.usage-message.error{color:#a44f3c}.usage-results{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin-top:16px;padding-top:16px;gap:12px}.usage-results[hidden]{display:none}.usage-results .field-label{margin-bottom:3px}.usage-results strong{font:500 26px var(--display);letter-spacing:-.04em;font-variant-numeric:tabular-nums}.usage-results>p{grid-column:1/-1;font-size:9px;color:#8d957f}.transparency-section{display:grid;grid-template-columns:1fr 1fr;gap:70px}.transparency-header .eyebrow{margin-bottom:20px;font-size:9px}.transparency-header h2{font-size:35px}.transparency-items{border-top:1px solid var(--line)}details{border-bottom:1px solid var(--line);padding-block:17px}summary{font-size:12px;font-weight:550;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer}summary::-webkit-details-marker{display:none}summary span{font:18px var(--sans);color:#8b967c;transition:transform .2s}details[open] summary span{transform:rotate(45deg)}details>p{font-size:11px;line-height:1.9;color:#849076;margin-top:12px;padding-right:20px}details>p code{font-size:10px;overflow-wrap:anywhere}details a{text-decoration:underline;text-underline-offset:3px}.closing-section{background:var(--green);color:#f7f3e5}.closing-inner{display:flex;justify-content:space-between;align-items:center;padding-block:54px}.closing-inner .eyebrow{font-size:9px;color:#bbcaac;margin-bottom:17px}.closing-inner h2{font-size:39px;font-weight:500;letter-spacing:-.04em}.closing-inner>div:last-child{padding-right:25px}.closing-inner .button{font-size:11px;gap:42px}.closing-inner>div>p:not(.eyebrow){font-size:9px;line-height:1.8;color:#aabca2;margin-top:15px}.site-footer{min-height:119px;display:flex;align-items:center;gap:24px}.site-footer .brand{font-size:18px}.site-footer .brand-mark{width:28px;height:29px;font-size:24px}.site-footer>p{font-size:9px;color:#9aa28e}.site-footer nav{display:flex;gap:25px;margin-left:auto;font-size:9px;color:#818d76}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);padding:10px 18px;border-radius:4px;background:var(--ink);color:var(--paper);box-shadow:0 4px 15px #0002;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.skip-link{position:absolute;left:15px;top:-100px;z-index:99;background:var(--paper);padding:8px 14px;border:1px solid var(--green)}.skip-link:focus{top:10px}[hidden]{display:none!important}

:root{--mono:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;--sans:'Avenir Next',Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;--display:'Avenir Next',Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
.model-region{font-size:9px;color:#89947b;line-height:1.7;margin:-6px 0 13px;overflow-wrap:anywhere}.usage-recent{grid-column:1/-1;margin-top:5px;border-top:1px solid var(--line);padding-top:14px}.usage-request-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:11px;font-size:9px;padding:8px 0;border-bottom:1px solid #dfe4d5}.usage-request-model{overflow-wrap:anywhere;color:#687b59;font-family:var(--mono);font-size:8px}.usage-request-status{color:#839376;font-size:8px}.usage-request-status.pending{color:#a77e45}.usage-request-row strong{font-size:11px;letter-spacing:0;white-space:nowrap}

/* Documentation */
.docs-header{border-bottom:1px solid var(--line)}.docs-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:70px;padding-block:62px 100px}.docs-sidebar{align-self:start;position:sticky;top:30px}.docs-sidebar .eyebrow{color:#8d9581;margin-bottom:17px}.docs-sidebar nav{display:grid;gap:12px;font-size:12px}.docs-sidebar nav a:hover{color:var(--coral)}.docs-sidebar .docs-side-note{margin-top:30px;padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:#88947b;line-height:1.8}.docs-content{min-width:0;max-width:820px}.docs-content>h1{font-size:51px;margin-top:14px}.docs-lead{font-size:16px;color:#7e8974;line-height:1.85;margin-top:22px;max-width:640px}.docs-callout{background:#efefe2;border:1px solid #dcdcca;border-left:3px solid #a88753;border-radius:3px;padding:17px 20px;margin-top:27px;font-size:12px;color:#7b795c;line-height:1.8}.docs-content section{padding-top:46px;margin-top:20px;border-top:1px solid var(--line)}.docs-content h2{font-size:27px;letter-spacing:-.04em;margin-bottom:18px}.docs-content h3{font-size:17px;letter-spacing:-.025em;margin:24px 0 11px}.docs-content p,.docs-content li{font-size:13px;line-height:1.9;color:#718066}.docs-content p+p{margin-top:12px}.docs-content a{text-decoration:underline;text-underline-offset:3px}.docs-content code{font:11px/1.8 var(--mono);overflow-wrap:anywhere}.docs-content p code,.docs-content li code,.docs-table td code{background:#ecefe3;padding:2px 4px;border-radius:2px;color:#526a45}.docs-content pre{margin-block:17px;background:var(--code);color:#d5e0c9;padding:22px;border-radius:5px;overflow:auto}.docs-content pre code{white-space:pre;overflow-wrap:normal}.docs-content ul,.docs-content ol{padding-left:22px;margin-block:14px}.docs-content li+li{margin-top:7px}.docs-table-wrap{overflow:auto;margin-block:17px}.docs-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.docs-table th{font:9px var(--mono);letter-spacing:.04em;color:#8a957b;background:#eff1e7;padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}.docs-table td{padding:12px;border-bottom:1px solid var(--line);color:#748367;line-height:1.75;vertical-align:top}.docs-table td:first-child{white-space:nowrap;color:#506844}.docs-end-link{margin-top:35px!important}.docs-end-link a{font-size:13px;font-weight:550}.docs-content .eyebrow{font-size:9px;color:#8d957e}

@media(min-width:1500px){.shell{width:min(1260px,calc(100% - 150px))}.hero{gap:88px;padding-block:91px 86px}h1{font-size:78px}.hero-description{font-size:16px}.code-card pre{font-size:12px}.hero-code pre{padding-block:28px}.model-card{padding:25px}.section-space{padding-block:115px}}
@media(max-width:1100px){.shell{width:calc(100% - 64px)}.site-header{gap:18px}.site-header nav{gap:17px;font-size:11px}.product-label{padding-left:16px;font-size:9px}.header-cta{gap:10px}.hero{gap:35px}h1{font-size:59px}.hero-description{font-size:13px}.hero-code pre{font-size:9px;padding-inline:18px}.hero-actions{gap:16px}.hero-actions .button{font-size:11px;gap:20px}.hero-actions .text-link{font-size:11px;gap:10px}.principles>div{gap:13px;padding-inline:17px}.principles strong{font-size:11px}.principles p>span{font-size:9px}.model-card{padding:18px 16px 15px}.model-card-top{gap:6px}.model-provider{font-size:8px}.availability{font-size:7px;padding:3px 5px}.estimate-section{padding:34px;gap:42px}.token-inputs{gap:9px}.number-field{padding-inline:7px}.number-field input{font-size:11px}.integration-layout{gap:40px}.usage-section{padding:30px;gap:35px}.usage-key-row{flex-wrap:wrap}.usage-key-row .button{width:100%;justify-content:space-between}.usage-key-row input{flex:1}.site-footer{gap:16px}.site-footer nav{gap:17px}.docs-layout{gap:43px;grid-template-columns:160px minmax(0,1fr)}}
@media(max-width:850px){.shell{width:calc(100% - 44px)}.site-header{height:83px}.site-header nav{gap:18px}.site-header .product-label{display:none}.header-cta{padding:9px 10px;font-size:10px}.hero{padding-top:52px;gap:30px;grid-template-columns:1fr 1fr}h1{font-size:48px}.hero .eyebrow{font-size:7px;letter-spacing:.06em;gap:7px}.tiny-rule{width:13px}.hero-description{font-size:12px;margin-top:22px}.hero-actions{flex-wrap:wrap;gap:9px}.hero-note{font-size:8px}.hero-code pre{font-size:8px;padding:19px 15px}.code-top{padding-inline:12px;font-size:8px;height:39px}.code-bottom{padding:10px 12px;font-size:7px}.hero-code .code-bottom-end{display:none}.visual-label{font-size:7px}.connection-strip{gap:12px;padding-inline:0}.provider-wordmark.deepseek{font-size:13px}.provider-wordmark.kimi{font-size:17px}.provider-wordmark.grok{font-size:17px}.provider-wordmark.gemini{font-size:14px}.provider-wordmark.gemini span{font-size:19px}.visual-footnote{font-size:7px}.principles{padding-block:21px}.principles>div{align-items:flex-start;gap:9px;padding-inline:12px}.principle-number{font-size:8px;line-height:2}.principles strong{font-size:10px}.principles p>span{font-size:8px}.section-space{padding-block:75px}.section-heading{gap:25px}.section-heading h2,h2{font-size:33px}.section-heading>p{font-size:11px;max-width:285px}.model-grid{grid-template-columns:repeat(2,1fr)}.model-provider{font-size:9px}.availability{font-size:8px}.model-card{padding:22px}.estimate-section{gap:26px;padding:28px}.estimate-intro h2{font-size:32px}.estimate-intro .eyebrow{font-size:7px}.estimate-intro>p:not(.eyebrow){font-size:11px}.calculator{padding:20px 18px}.token-inputs{grid-template-columns:1fr}.calculator>select{margin-bottom:16px}.estimate-total p{font-size:36px}.estimate-breakdown{gap:15px}.estimate-disclaimer{font-size:8px;margin-top:18px}.integration-layout{gap:30px;grid-template-columns:.63fr 1fr}.integration-code pre{font-size:8px;padding:18px;min-height:283px}.integration-code .code-bottom-end{display:none}.integration-steps strong{font-size:11px}.integration-steps small{font-size:10px}.integration-steps>.text-link{margin-left:0;font-size:10px}.transparency-section{gap:40px}.transparency-header h2{font-size:30px}.closing-inner h2{font-size:33px}.closing-inner>div:last-child{padding-right:0}.site-footer{flex-wrap:wrap;padding-block:30px;gap:15px}.site-footer nav{width:100%;margin:0;justify-content:flex-start;gap:28px}.site-footer>p{margin-left:auto}.docs-layout{grid-template-columns:135px minmax(0,1fr);gap:30px}.docs-content>h1{font-size:43px}.docs-lead{font-size:14px}.docs-content pre code{font-size:10px}}
@media(max-width:620px){.shell{width:calc(100% - 36px)}.announcement{font-size:8px;gap:7px;height:31px}.announcement-divider{margin-inline:0}.site-header{height:74px;gap:12px}.brand{font-size:19px}.brand-mark{height:31px;width:30px;font-size:26px}.site-header nav{margin-left:auto;gap:16px}.site-header nav a{font-size:10px}.site-header nav a:first-child,.site-header nav a:last-child{display:none}.header-cta{font-size:9px;padding:8px 9px;gap:9px}.header-cta span{font-size:14px}.hero{grid-template-columns:1fr;padding-block:44px 42px;gap:33px}.hero .eyebrow{font-size:8px;letter-spacing:.08em;margin-bottom:21px}.tiny-rule{width:19px}h1{font-size:clamp(50px,12.8vw,69px);letter-spacing:-.065em}.hero-description{font-size:13px;max-width:390px;margin-top:23px}.hero-actions{gap:23px;margin-top:24px}.hero-actions .button{font-size:11px;gap:21px;padding:13px 18px}.hero-actions .text-link{font-size:11px;gap:12px}.hero-note{font-size:9px;margin-top:17px}.hero-visual{padding-top:0;max-width:100%}.visual-label{font-size:8px;margin-bottom:10px}.hero-code pre{font-size:clamp(9px,2.3vw,12px);padding:21px}.code-top{font-size:9px;height:41px;padding-inline:17px}.hero-code .code-bottom-end{display:inline}.code-bottom{font-size:7px;padding:11px 17px}.connection-strip{padding:29px 9px 13px}.provider-wordmark.deepseek{font-size:16px}.provider-wordmark.kimi{font-size:21px}.provider-wordmark.grok{font-size:21px}.provider-wordmark.gemini{font-size:18px}.visual-footnote{font-size:7px}.principles{grid-template-columns:1fr;padding-block:8px}.principles>div{padding:15px 0!important;border-left:0;border-top:1px solid #dde0d2;gap:16px;align-items:center}.principles>div:first-child{border-top:0}.principle-number{font-size:9px}.principles strong{font-size:11px}.principles p>span{font-size:10px;display:block;margin-top:2px}.principles p{display:flex;align-items:baseline;justify-content:space-between;width:100%;gap:15px}.principles p>span{font-size:9px;text-align:right;max-width:150px;line-height:1.6}.section-space{padding-block:62px}.section-heading{display:block;margin-bottom:27px}.section-heading .eyebrow{font-size:9px;margin-bottom:16px}.section-heading h2,h2{font-size:35px}.section-heading>p{font-size:11px;max-width:100%;margin-top:18px}.pricing-unit{font-size:9px;margin-top:8px}.catalog-toolbar{align-items:stretch;gap:13px;flex-direction:column}.filter-pill{font-size:10px;padding:6px 11px}.catalog-search{width:100%;display:grid;grid-template-columns:.8fr 1fr}.catalog-search select{max-width:none;width:100%}.search-box input{width:100%}.model-grid{grid-template-columns:1fr;gap:13px}.model-card{padding:22px 23px 18px}.model-card-top{margin-bottom:18px}.model-card h3{font-size:23px}.model-description{min-height:0;font-size:11px;line-height:1.8;margin-bottom:16px}.model-id{font-size:9px}.model-prices strong{font-size:25px}.model-prices{padding-block:16px}.model-prices span{font-size:9px}.model-provider{font-size:9px}.availability{font-size:8px}.model-meta{font-size:8px}.model-card-bottom a{font-size:10px}.estimate-select{font-size:11px}.pricing-note{font-size:9px;line-height:1.8}.estimate-section{grid-template-columns:1fr;gap:25px;padding:26px 22px}.estimate-intro .eyebrow{font-size:8px}.estimate-intro h2{font-size:34px}.estimate-intro>p:not(.eyebrow){max-width:none;margin-top:15px;font-size:11px}.estimate-intro .text-link{margin-top:9px}.estimate-disclaimer{margin-top:12px;max-width:none;font-size:9px}.calculator{padding:23px}.token-inputs{grid-template-columns:1fr 1fr}.number-field span{font-size:7px}.number-field input{font-size:11px}.field-label{font-size:8px}.estimate-total p{font-size:43px}.calculator>select{font-size:11px}.integration-section .section-heading h2{font-size:34px}.integration-layout{grid-template-columns:1fr;gap:28px}.integration-steps{padding-top:0}.integration-steps>div{margin-bottom:22px}.integration-steps>div:not(:nth-child(3)):after{bottom:-13px}.integration-steps strong{font-size:12px}.integration-steps small{max-width:none;font-size:11px;margin-top:3px}.integration-steps>.text-link{margin-left:43px;font-size:11px}.integration-code pre{font-size:9px;min-height:0;padding:18px 17px}.snippet-toolbar{padding-inline:16px;height:45px}.code-tabs{gap:21px}.code-tabs button{font-size:10px}.integration-code .code-bottom{font-size:7px}.usage-section{grid-template-columns:1fr;gap:20px;padding:28px 22px}.usage-section h2{font-size:28px}.usage-section>div>p:not(.eyebrow){max-width:none}.usage-panel{padding-top:0}.usage-key-row{flex-wrap:nowrap}.usage-key-row .button{width:auto;font-size:9px;gap:10px;padding-inline:11px}.usage-key-row input{font-size:10px}.transparency-section{grid-template-columns:1fr;gap:28px}.transparency-header h2{font-size:33px}.transparency-header .eyebrow{margin-bottom:16px}.transparency-items summary{font-size:12px}.transparency-items details>p{font-size:11px;line-height:1.9;padding-right:12px}.closing-inner{align-items:flex-start;gap:28px;flex-direction:column;padding-block:42px}.closing-inner h2{font-size:37px}.closing-inner .eyebrow{font-size:8px}.closing-inner>div>p:not(.eyebrow){margin-top:12px}.site-footer{gap:17px;padding-block:30px}.site-footer>p{max-width:145px;text-align:right;font-size:8px}.site-footer nav{gap:23px;font-size:8px}.docs-layout{display:block;padding-block:31px 65px}.docs-sidebar{position:static;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:35px}.docs-sidebar .eyebrow{margin-bottom:10px;font-size:8px}.docs-sidebar nav{display:flex;flex-wrap:wrap;gap:9px 18px;font-size:11px}.docs-sidebar .docs-side-note{display:none}.docs-content>h1{font-size:42px}.docs-lead{font-size:13px;margin-top:20px}.docs-callout{font-size:11px;padding:14px 17px}.docs-content section{padding-top:31px;margin-top:30px}.docs-content h2{font-size:25px}.docs-content p,.docs-content li{font-size:12px}.docs-content pre{padding:18px}.docs-content pre code{font-size:9px}.docs-table{font-size:11px}.docs-table th,.docs-table td{padding:10px}.docs-content h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Chinese public pages; keep the English documentation typography intact. */
html[lang="zh-CN"]{--sans:'Avenir Next',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;--display:var(--sans)}
html[lang="zh-CN"] h1,html[lang="zh-CN"] h2,html[lang="zh-CN"] h3{letter-spacing:-.025em;line-height:1.3}
html[lang="zh-CN"] .hero h1{font-size:clamp(40px,4.5vw,62px);font-weight:550;line-height:1.25}
html[lang="zh-CN"] .hero-description{max-width:440px;line-height:1.95}
html[lang="zh-CN"] .hero .eyebrow{font-size:11px;letter-spacing:.1em}
html[lang="zh-CN"] .announcement{font-size:11px;letter-spacing:.025em}
html[lang="zh-CN"] .site-header nav{gap:23px;font-size:12px}
html[lang="zh-CN"] .product-label{font-size:11px}
html[lang="zh-CN"] .button{font-size:13px}
html[lang="zh-CN"] .button-small{font-size:12px}
html[lang="zh-CN"] .eyebrow{font-family:var(--sans);font-size:11px;letter-spacing:.14em}
html[lang="zh-CN"] .principles strong{font-size:13px}
html[lang="zh-CN"] .principles p>span{font-size:11px}
html[lang="zh-CN"] .hero-note,html[lang="zh-CN"] .visual-footnote{font-size:11px}
html[lang="zh-CN"] .section-heading>p{font-size:13px;line-height:1.95}
html[lang="zh-CN"] .section-heading h2,html[lang="zh-CN"] h2{font-size:35px;line-height:1.4}
html[lang="zh-CN"] .pricing-unit{font-size:11px;line-height:1.8}
html[lang="zh-CN"] .filter-pill,html[lang="zh-CN"] .catalog-search select,html[lang="zh-CN"] .search-box input{font-size:12px}
html[lang="zh-CN"] .catalog-search select,html[lang="zh-CN"] .search-box{height:40px}
html[lang="zh-CN"] .availability{font-size:10px}
html[lang="zh-CN"] .model-description{font-size:12px;line-height:1.8;min-height:44px}
html[lang="zh-CN"] .model-prices span{font:10px var(--sans);letter-spacing:0}
html[lang="zh-CN"] .model-meta,html[lang="zh-CN"] .model-region{font-size:10px;line-height:1.8}
html[lang="zh-CN"] .model-card-bottom a{font-size:11px}
html[lang="zh-CN"] .estimate-select{font-size:12px}
html[lang="zh-CN"] .pricing-note,html[lang="zh-CN"] .estimate-disclaimer,html[lang="zh-CN"] .calculator-note{font-size:11px;line-height:1.9}
html[lang="zh-CN"] .field-label{font:11px var(--sans);letter-spacing:.025em;line-height:1.6}
html[lang="zh-CN"] .estimate-intro>p:not(.eyebrow){font-size:13px;line-height:1.95}
html[lang="zh-CN"] .estimate-breakdown{font-size:11px}
html[lang="zh-CN"] .integration-steps strong{font-size:14px}
html[lang="zh-CN"] .integration-steps small{font-size:12px}
html[lang="zh-CN"] .copy-button{font-size:11px}
html[lang="zh-CN"] .usage-section h2{font-size:27px}
html[lang="zh-CN"] .usage-section>div>p:not(.eyebrow){font-size:12px}
html[lang="zh-CN"] .usage-key-row input{font-size:12px}
html[lang="zh-CN"] .usage-key-row .button{font-size:12px}
html[lang="zh-CN"] .usage-results>p,html[lang="zh-CN"] .usage-request-status{font-size:11px}
html[lang="zh-CN"] .transparency-items summary{font-size:14px}
html[lang="zh-CN"] .transparency-items details>p{font-size:12px;line-height:1.95}
html[lang="zh-CN"] .closing-inner>div>p:not(.eyebrow){font-size:12px}
html[lang="zh-CN"] .site-footer>p,html[lang="zh-CN"] .site-footer nav{font-size:11px}
@media(max-width:1100px){html[lang="zh-CN"] .site-header{gap:16px}html[lang="zh-CN"] .site-header nav{gap:16px}html[lang="zh-CN"] .site-header .product-label{display:none}html[lang="zh-CN"] .hero h1{font-size:44px}}
@media(max-width:850px){html[lang="zh-CN"] .hero h1{font-size:35px}html[lang="zh-CN"] .site-header nav a:last-child{display:none}html[lang="zh-CN"] .principles p>span{font-size:10px}html[lang="zh-CN"] .principles strong{font-size:12px}html[lang="zh-CN"] .section-heading h2,html[lang="zh-CN"] h2{font-size:30px}html[lang="zh-CN"] .model-prices span{font-size:9px}}
@media(max-width:620px){html[lang="zh-CN"] .hero h1{font-size:clamp(37px,10vw,54px)}html[lang="zh-CN"] .announcement{font-size:9px;gap:6px}html[lang="zh-CN"] .site-header nav{gap:0}html[lang="zh-CN"] .site-header nav a{display:none}html[lang="zh-CN"] .site-header nav a:nth-child(2){display:inline;font-size:11px}html[lang="zh-CN"] .header-cta{font-size:11px;padding:9px;gap:8px}html[lang="zh-CN"] .site-header{gap:10px}html[lang="zh-CN"] .hero .eyebrow{font-size:10px}html[lang="zh-CN"] .hero-description{font-size:14px}html[lang="zh-CN"] .hero-actions .button,html[lang="zh-CN"] .hero-actions .text-link{font-size:12px}html[lang="zh-CN"] .principles p{display:block}html[lang="zh-CN"] .principles p>span{text-align:left;max-width:none;margin-top:3px;font-size:11px}html[lang="zh-CN"] .section-heading h2,html[lang="zh-CN"] h2{font-size:31px}html[lang="zh-CN"] .model-prices span{font-size:10px}html[lang="zh-CN"] .token-inputs{grid-template-columns:1fr}html[lang="zh-CN"] .usage-key-row{flex-wrap:wrap}html[lang="zh-CN"] .usage-key-row .button{width:100%}html[lang="zh-CN"] .hero-note{font-size:10px}html[lang="zh-CN"] .site-footer nav{gap:20px;flex-wrap:wrap}html[lang="zh-CN"] .site-footer>p{font-size:10px}html[lang="zh-CN"] .toast{width:calc(100% - 36px);text-align:center}}
