:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei UI,PingFang SC,sans-serif;color:#17243d;background:#f7f9fc;font-size:16px;line-height:1.55;font-synthesis:none;--ink: #17243d;--muted: #586980;--blue: #3157e9;--border: #dfe5ee;--pale: #f6f8fc}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{color:inherit;background:transparent;border:0}button:disabled{cursor:default;opacity:.58}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid #628cfb;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{color:#15243c}h1{font-size:40px;line-height:1.23;letter-spacing:-.045em;font-weight:750}h2{font-size:23px;line-height:1.42;letter-spacing:-.035em;font-weight:700}h3{font-size:18px}strong,b{font-weight:650}button,a,input,select,textarea{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s}code,pre{font-family:Cascadia Code,Consolas,ui-monospace,monospace}code{overflow-wrap:anywhere}svg{flex-shrink:0;stroke-width:1.8}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#app{min-height:100vh;display:flex;flex-direction:column}main{flex:1}.topbar{background:#fff;border-bottom:1px solid var(--border);position:relative;z-index:5}.topbar-inner,.page,.site-foot{width:min(1232px,calc(100% - clamp(44px,9.3vw,152px)));margin-inline:auto}.topbar-inner{height:76px;display:flex;align-items:center;gap:clamp(30px,5.5vw,100px)}.wordmark{display:inline-flex;align-items:center;white-space:nowrap;line-height:1}.wordmark img{width:37px;height:37px;margin-right:10px}.wordmark strong{font-size:23px;font-weight:760;letter-spacing:-.05em}.wordmark span{margin-left:6px;font-size:23px;font-weight:650;letter-spacing:-.055em}.main-nav{display:flex;align-items:stretch;gap:31px;align-self:stretch}.main-nav a{display:flex;align-items:center;position:relative;color:#526179;white-space:nowrap;font-size:15px;font-weight:550}.main-nav a.active,.main-nav a:hover{color:var(--blue)}.main-nav a.active:after{content:"";position:absolute;height:3px;background:var(--blue);bottom:0;left:1px;right:1px;border-radius:3px 3px 0 0}.nav-actions,.button-row{display:flex;align-items:center;gap:12px;justify-content:flex-end}.nav-actions{margin-left:auto}.primary,.secondary,.danger,.white-action,.text-btn,.icon-button,.link,.doc-link,.back-link,.sort-field{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.25}.primary,.secondary,.danger,.white-action,.text-btn{min-height:42px;padding:10px 17px;font-size:15px;font-weight:600;border-radius:8px;white-space:nowrap}.primary{background:var(--blue);color:#fff;border:1px solid var(--blue);box-shadow:0 2px 4px #263fab12}.primary:hover:not(:disabled){background:#2346cc}.secondary{border:1px solid #d9e1eb;background:#fff}.secondary:hover,.text-btn:hover,.icon-button:hover,.sort-field:hover{background:#f1f5fb}.danger{background:#b63842;color:#fff}.text-btn{color:#475770}.icon-button{min-width:38px;min-height:38px;padding:6px;border-radius:7px;color:#50617a}.link,.doc-link,.back-link{color:#294ed5;font-weight:600;font-size:14px}.link{min-height:36px;padding:0 4px}.doc-link,.back-link{justify-content:flex-start;min-height:38px}.link:hover,.doc-link:hover,.back-link:hover{text-decoration:underline}.wide{width:100%}.mobile-menu-toggle,.mobile-nav{display:none}.account-wrap{position:relative}.account span{max-width:140px;overflow:hidden;text-overflow:ellipsis}.dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:160px;z-index:8;padding:5px;background:#fff;border:1px solid var(--border);box-shadow:0 12px 40px #24324e20;border-radius:10px}.dropdown a,.dropdown button{display:flex;width:100%;align-items:center;gap:9px;padding:10px;font-size:15px;border-radius:5px}.dropdown a:hover,.dropdown button:hover{background:var(--pale)}.dropdown svg{width:16px;height:16px}.page{padding-block:32px 46px}.narrow{max-width:860px}.hero{min-height:221px;position:relative;display:flex;align-items:center;overflow:hidden;border:1px solid #d3e4f7;border-radius:17px;background:#eaf4fd url(/relay-processor.webp) no-repeat right center;background-size:auto 127%}.hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#eaf4fe 10% 33%,#eaf4fe00 67%)}.hero-copy{position:relative;padding:32px 42px}.hero h1{font-size:40px;color:#132443;letter-spacing:-.055em}.hero p{margin-top:11px;color:#435976;font-size:17px;letter-spacing:.012em}.hero-meta{display:flex;align-items:center;gap:16px;margin-top:24px;color:#405570;font-size:14px;font-weight:550}.hero-meta span{display:inline-flex;align-items:center;gap:8px}.hero-meta i{height:14px;width:1px;background:#c1d1e3}.live-dot,.small-dot{display:inline-block;flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#229677}.live-dot{box-shadow:0 0 0 4px #2ba18016;margin-inline:3px}.hero-meta svg{color:#566e91}.catalog-section{margin-top:33px}.section-title,.block-head,.heading-row,.guide-controls,.code-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.title-with-icon,.catalog-tools{display:flex;align-items:center;gap:11px}.section-icon{display:grid;place-items:center;width:35px;height:35px;color:#365ce8;border:1px solid #dce5fe;border-radius:9px;background:#ebf0ff}.search-field,.sort-field{height:40px;border:1px solid #d9e1ed;border-radius:8px;background:#fff;font-size:14px}.search-field{display:flex;align-items:center;gap:9px;padding:0 12px;color:#718099}.search-field:focus-within{outline:2px solid #adc1fe;border-color:#6583ed}.search-field input{border:0;outline:none;width:184px;min-width:0;background:transparent;color:var(--ink)}.search-field input:focus-visible{outline:none}.search-field button{padding:3px;display:grid;place-items:center}input::placeholder{color:#728097}.sort-field{position:relative;padding:0 11px;color:#4e5f76;gap:7px}.sort-field select{appearance:none;border:0;background:transparent;min-height:36px;width:6.5em;color:inherit;font-weight:500}.provider-filters{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:19px 0 18px}.filter-chip{display:inline-flex;align-items:center;gap:7px;min-height:36px;border-radius:7px;padding:6px 13px;background:#fff;border:1px solid #dbe2ed;color:#526177;font-family:inherit;font-size:14px;line-height:1.2;font-weight:570}.filter-chip:hover{border-color:#a4b6e6;background:#f6f9ff}.filter-chip.chosen{color:#2d51d6;background:#e8eeff;border-color:#bbcafa}.brand-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.brand-icon img{width:17px;height:17px;object-fit:contain}.brand-icon.tile{width:41px;height:41px;border:1px solid #e1e7ef;border-radius:11px;background:#f1f4f8}.brand-icon.tile img{width:25px;height:25px}.tile.openai{background:#edf6f3;border-color:#d9ebe3}.tile.anthropic{background:#fff2e9;border-color:#f3e1d5}.tile.google{background:#f0f3ff;border-color:#e1e6fa}.tile.deepseek{background:#ecf3ff;border-color:#dce8ff}.tile.qwen{background:#f2eeff;border-color:#e6ddfc}.table-shell,.surface{background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden}.models-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}.models-table thead{background:#f0f4fa;color:#596b83;font-size:14px}.models-table th{height:47px;font-weight:580;letter-spacing:.01em}.models-table th,.models-table td{padding:0 15px}.models-table th:first-child,.models-table td:first-child{padding-left:25px;width:41%}.models-table th:nth-child(2){width:18%}.models-table th:last-child{width:49px}.models-table td{height:73px;border-top:1px solid #e6ebf2}.models-table tbody tr{cursor:pointer;background:#fff}.models-table tbody tr:hover{background:#f6f9ff}.model-name{display:inline-flex;align-items:center;text-align:left;gap:13px;padding:0;max-width:100%;min-height:48px}.model-name strong{font-size:17px;font-weight:660;letter-spacing:-.025em;line-height:1.4;display:block}.model-name small,.list-row small,.usage-toggle small{color:var(--muted);font-size:14px;display:block;font-weight:400}.context-pill{padding:3px 8px;font-size:14px;font-weight:500;color:#53647c;border:1px solid #dfe5ed;border-radius:5px;background:#f8fafd;font-variant-numeric:tabular-nums}.price-cell strong{font-size:17px;font-variant-numeric:tabular-nums;font-weight:620}.price-cell strong span{font-size:14px;color:#596981;font-weight:500}.arrow-cell{color:#94a1b3;text-align:center}.mobile-price-label{display:none}.table-foot,.site-foot{display:flex;justify-content:space-between;align-items:center;color:#63748c;font-size:14px}.table-foot{border-top:1px solid var(--border);padding:12px 25px;background:#fcfdff}.dev-caption{display:flex;align-items:center;gap:8px;color:#65768d;font-size:14px;margin:17px 2px 0}.small-dot{width:6px;height:6px;background:#8091a8}.site-foot{border-top:1px solid var(--border);padding:21px 0 27px}.site-foot a{display:inline-flex;align-items:center;gap:8px}.page-heading{margin:8px 0 26px}.page-heading p,.modal-intro,.guide p{color:var(--muted);line-height:1.7}.page-heading p{margin-top:8px}.empty{min-height:132px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:24px;color:var(--muted);text-align:center}.empty.compact{min-height:87px}.empty svg{color:#7792bb}.summary-grid{display:grid;grid-template-columns:.9fr 1.3fr;gap:20px}.balance-card,.access-card{padding:26px 28px;border-radius:13px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px}.balance-card{color:#fff;background:#3156d5}.balance-card>span{display:inline-flex;align-items:center;gap:9px}.balance-card>strong,.wallet-total strong{font-size:clamp(29px,3vw,38px);letter-spacing:-.045em;line-height:1.2;font-variant-numeric:tabular-nums}.white-action{background:#fff;color:#284ab9;min-height:37px;margin-top:7px}.access-card .copy-box{width:100%}.copy-box,.inline-input{display:flex;align-items:center;gap:8px}.copy-box{border:1px solid var(--border);padding:5px 8px 5px 13px;border-radius:8px;background:var(--pale);justify-content:space-between;min-width:0}.copy-box code{font-size:14px;color:#263d62;-webkit-user-select:all;user-select:all}.block{padding:24px 26px;margin-top:20px}.block-head{margin-bottom:15px}.block-head .secondary{min-height:37px}.list-row,.usage-toggle{display:flex;align-items:center;gap:14px;border-top:1px solid #e4e9f0;padding:14px 0;width:100%;text-align:left}.list-row>div:first-child,.usage-toggle>div{margin-right:auto;min-width:0;overflow-wrap:anywhere}.status{background:#e6f6f0;color:#227357;border-radius:6px;padding:3px 9px;font-size:14px;white-space:nowrap}.mutedStatus{background:#eef1f6;color:#53647b}.warnStatus{background:#fff4db;color:#855a0d}.usage-detail{font-size:14px;background:var(--pale);color:var(--muted);padding:12px;border-radius:7px}.danger-link,.error{color:#a7323e}.error,.inline-note{padding:11px 14px;border-radius:7px;font-size:15px}.error{background:#fff0f1}.inline-note{color:#36507d;background:#eef4ff}.guide{padding:0 28px}.guide section{padding:24px 0}.guide section+section{border-top:1px solid var(--border)}.guide h2{display:flex;align-items:center;gap:12px;margin-bottom:14px;font-size:20px}.step-number{display:grid;place-items:center;border:1px solid #d2ddff;background:#eff3ff;border-radius:7px;color:#3157d9;font-size:16px;width:29px;height:29px}.guide-controls{flex-wrap:wrap;margin-bottom:12px}.guide-controls label{display:flex;align-items:center;gap:8px}.subtabs{display:flex;gap:4px;padding:3px;border:1px solid var(--border);background:var(--pale);border-radius:7px}.subtabs button{padding:4px 10px;border-radius:5px;font-size:14px}.subtabs button.selected,.amounts button.selected{color:#2c4dcc;background:#eaf0ff}.code-area{margin-bottom:13px;border-radius:9px;overflow:hidden;background:#19283e;color:#edf5ff}.code-area .code-head{padding:8px 15px;background:#27364c;color:#e8f1ff}.code-area .code-head button,.code-head span{display:flex;align-items:center;gap:7px}.code-head{font-size:14px;font-weight:600}.code-block,.secret-value{background:#19283e;color:#e3efff;padding:15px;margin:0;border-radius:8px;font-size:14px;line-height:1.65;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.code-area .code-block{border-radius:0}.endpoint{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:9px 0;font-size:14px}.endpoint b{color:#2856c7}.endpoint span{color:var(--muted);margin-left:auto}.scrim{position:fixed;inset:0;display:grid;align-items:center;justify-items:center;padding:18px;background:#14244061;z-index:20}.modal{width:min(480px,100%);border-radius:16px;border:1px solid #dbe3ee;background:#fff;box-shadow:0 22px 85px #0e1c413b;max-height:calc(100dvh - 36px);overflow-y:auto;padding:24px;outline:none}.modal>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.modal-intro,.modal .price-pair{margin-bottom:17px}.form-stack{display:flex;flex-direction:column;gap:16px}.form-stack label,.field-title{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600}.field-title{margin:12px 0 6px}.form-stack input,.form-stack select,.form-stack textarea,.guide-controls select{border:1px solid #cfd8e5;color:var(--ink);background:#fff;min-height:43px;border-radius:7px;padding:8px 11px;min-width:0}.form-stack label input,.form-stack label select,.form-stack textarea{width:100%}.form-stack input[type=checkbox]{min-height:auto;width:auto}.inline-input input{flex:1}.button-row{margin-top:17px}.modal .code-head{margin-top:12px}.model-detail-brand{display:flex;align-items:center;gap:10px;color:var(--muted);margin-bottom:12px}.price-pair{display:grid;grid-template-columns:1fr 1fr;padding:16px;background:var(--pale);border-radius:9px;gap:10px}.price-pair div{font-size:14px;color:var(--muted)}.price-pair strong{color:var(--ink);display:block;font-size:20px}.fine,.muted{color:var(--muted);font-size:14px}.modal .price-pair{margin-bottom:4px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;color:#fff;background:#1f304d;border-radius:8px;padding:11px 19px;box-shadow:0 7px 22px #15244126;z-index:30;font-size:15px;width:max-content;max-width:calc(100% - 24px)}.toast-enter-active,.toast-leave-active{transition:opacity .15s}.toast-enter-from,.toast-leave-to{opacity:0}.wallet-total{padding:0 0 20px;border-bottom:1px solid var(--border);margin-bottom:20px;display:grid;gap:5px}.wallet-form .form-stack{max-width:420px}.amounts{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 17px}.amounts button{border:1px solid #d8dfeb;border-radius:7px;padding:9px 18px;font-weight:600;min-height:40px}.amounts button.selected{border-color:#8fa9f6}@media(min-width:1550px){.hero{min-height:240px}}@media(max-width:900px){.topbar-inner,.page,.site-foot{width:calc(100% - 48px)}.topbar-inner{gap:34px}.main-nav{gap:20px}.nav-actions{gap:5px}.hero{background-size:auto 107%;min-height:202px}.hero-copy{padding:25px 28px}.models-table th:first-child,.models-table td:first-child{width:41%;padding-left:18px}.section-title{gap:10px}.table-foot{padding-inline:17px}}@media(max-width:680px){.topbar-inner,.page,.site-foot{width:calc(100% - 32px)}.page{padding-block:19px 32px}.topbar-inner{height:62px;gap:10px}.wordmark strong,.wordmark span{font-size:20px}.wordmark img{width:31px;height:31px;margin-right:7px}.main-nav,.nav-login{display:none}.header-cta{min-height:37px;padding:8px 11px;font-size:14px}.header-cta svg{width:15px}.mobile-menu-toggle{display:flex;width:37px}.mobile-nav{display:flex;align-items:center;justify-content:center;gap:24px;border-top:1px solid var(--border);padding:9px;font-size:15px}.mobile-nav a{padding:5px 0}.nav-actions{gap:3px}.account{padding:6px 9px;min-height:36px}.hero{border-radius:12px;min-height:169px;background-size:auto 80%;background-position:calc(100% + 31px) bottom}.hero:before{background:linear-gradient(90deg,#eaf4fe 6% 31%,#eaf4feeb 45%,#eaf4fe00 72%)}.hero-copy{padding:20px;max-width:80%}.hero h1,h1{font-size:31px}.hero p{font-size:15px;max-width:168px;margin-top:6px}.hero-meta{font-size:14px;gap:9px;margin-top:12px}.hero-meta span{gap:5px}.hero-meta svg{display:none}.catalog-section{margin-top:23px}.section-title{flex-wrap:wrap;gap:12px}h2{font-size:21px}.section-icon{width:31px;height:31px}.catalog-tools{width:100%;gap:7px}.search-field{flex:1;min-width:0;height:42px}.search-field input{width:100%}.sort-field{height:42px}.sort-field select{width:5.8em}.provider-filters{gap:6px;margin:12px 0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}.filter-chip{min-height:39px;padding:7px 9px;white-space:nowrap;flex:0 0 auto}.models-table,.models-table tbody{display:block;width:100%}.models-table thead{display:none}.models-table tbody tr{display:grid;grid-template-columns:1fr 1fr 18px;align-items:center;padding:11px 14px 12px;gap:5px 8px;border-top:1px solid #e4eaf2}.models-table tbody tr:first-child{border-top:0}.models-table td,.models-table td:first-child{width:auto;height:auto;padding:0;border:0}.model-cell{grid-column:1/3;grid-row:1}.model-name{gap:9px;min-height:36px;width:100%}.model-name>span:last-child{display:flex;align-items:baseline;gap:8px}.model-name strong{font-size:16px}.model-name small{display:none}.brand-icon.tile{width:31px;height:31px;border-radius:8px}.brand-icon.tile img{width:20px;height:20px}.models-table .context-cell{display:none}.mobile-price-label{display:inline;font-size:14px;color:var(--muted);margin-right:5px}.price-cell{grid-row:2}.price-cell strong{font-size:15px}.arrow-cell{grid-column:3;grid-row:1}.models-table .arrow-cell svg{display:block}.table-foot{padding:9px 13px}.summary-grid{grid-template-columns:1fr;gap:12px}.block,.guide,.access-card,.balance-card{padding:17px}.guide{padding-block:0}.page-heading{margin:6px 0 18px}.site-foot{padding:17px 0}.list-row,.usage-toggle{gap:8px}.code-block{padding:11px}.modal{padding:18px}.button-row{flex-wrap:wrap}.guide-controls{gap:10px}.list-row{flex-wrap:wrap}.list-row>div:first-child{max-width:75%}.list-row small{word-break:break-word}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.catalog-filter-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.unit-label{white-space:nowrap;font-size:14px;color:#5b6c82}.table-guide{display:inline-flex;align-items:center;gap:6px;color:#425c91}@media(max-width:680px){.account span{max-width:clamp(36px,calc(100vw - 305px),130px)}.heading-row>div{min-width:0;overflow-wrap:anywhere}}@media(max-width:365px){.topbar .wordmark span{display:none}}@media(max-width:830px){.catalog-filter-line{flex-wrap:wrap;gap:0;margin-bottom:10px}.provider-filters{flex:1 1 100%;min-width:0;margin-bottom:4px}.unit-label{margin-left:auto}}
