/* Homepage styles A (header, hero, quickstart, promise, catalog)
   Merged 2026-10-25 from the files below, in their original cascade order. Edit this file;
   the sources were retired (git history keeps them). */

/* ==== /assets/brand-20260914/home-logo-align.css ==== */
/* Homepage only: align the brand with the outer content, preserving navigation. */
@media (min-width: 768px) {
  .site-header > a[aria-label="302API 首页"] {
    transform: translateX(-24px);
  }
}
@media (min-width: 1024px) {
  .site-header > a[aria-label="302API 首页"] {
    transform: translateX(clamp(-128px, calc(536px - 50vw), -104px));
  }
}

.site-header nav > a[aria-label="获取 API Key"] { display: none; }

/* ==== /assets/design-20260914/deepseek-flow-20261012.css ==== */
/* Background-only homepage adaptation. Geometry and content unchanged. */
.hero-wrap{position:relative;isolation:isolate;color:#182744;background:transparent}
.hero-wrap .home-flow-background{position:absolute;top:0;bottom:0;width:100vw;left:50%;transform:translateX(-50%);z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 12% 65%,#b8c9e5 0%,transparent 62%),radial-gradient(ellipse at 85% 10%,#c2cdeb 0%,transparent 64%),#f8faff}
.home-flow-pattern,.home-flow-grid{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.home-flow-pattern[hidden]{display:none}.home-flow-grid{opacity:1}
.hero-wrap .hero-providers{color:#52617b}
.hero-wrap .hero h1{color:#182744}.hero-wrap .hero>p{color:#52617b}
.hero-wrap .hero-providers .brand-icon{filter:brightness(0) saturate(100%);opacity:.7}
.hero-wrap .button.primary{background:#4d6bfe;color:#fff;border-color:#4d6bfe}
.hero-wrap .button.primary:hover{background:#405be0;color:#fff}
.hero-wrap .icon-button{color:#52617b;border-color:#18274426;background:#ffffff55}.hero-wrap .icon-button:hover{color:#4d6bfe;background:#ffffff99}
.hero-wrap .hero-providers a:hover{color:#4d6bfe}
.hero-wrap .hero a:focus-visible{outline-color:#4d6bfe}

body:has(.hero-wrap){overflow-x:clip}

/* Navigation: new palette only; retain original content and geometry. */
.hero-wrap>.site-header{background:rgba(248,250,255,.86);border-bottom-color:#18274418;backdrop-filter:blur(16px);color:#182744}
.hero-wrap>.site-header nav,.hero-wrap>.site-header nav a,.hero-wrap>.site-header nav a:visited{color:#52617b}
.hero-wrap>.site-header nav a:hover{color:#4d6bfe}
.hero-wrap>.site-header .logo{filter:none;content:url("/assets/brand-20260914/wordmark-pixel-20261014.svg")}
.hero-wrap>.site-header nav a.home-login-link,.hero-wrap>.site-header nav a.home-login-link:visited{background:#4d6bfe;border-color:#4d6bfe;color:#fff}
.hero-wrap>.site-header nav a.home-login-link:hover{background:#405be0;color:#fff}
.hero-wrap>.site-header nav a:focus-visible{outline-color:#4d6bfe}
@supports not (backdrop-filter:blur(1px)){.hero-wrap>.site-header{background:#f8faff}}

/* Match the reference's viewport-sized animation surface. */
.hero-wrap{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center}
.hero-wrap .home-flow-background{background:linear-gradient(180deg,#9cc1e7 0%,rgba(250,250,250,0) 100%),#fff}
.hero-wrap .home-flow-pattern,.hero-wrap .home-flow-grid{mask-image:linear-gradient(#000000fc 0%,#000000e8 8.98%,transparent 100%);-webkit-mask-image:linear-gradient(#000000fc 0%,#000000e8 8.98%,transparent 100%)}

/* Replace the compact provider strip with three named cards. */
.hero-wrap .hero-providers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:864px;width:100%;height:auto;margin:32px auto 0;font-size:15px;color:#f4f5f1}
.hero-wrap .hero-providers>span,.hero-wrap .hero-providers>a:last-child{display:none}
.hero-wrap .hero-providers>a[aria-label]{display:flex;align-items:center;justify-content:center;gap:12px;height:58px;padding:0 20px;border:1px solid #343d39;border-radius:12px;background:#1a2220;color:#f4f5f1}
.hero-wrap .hero-providers>a[aria-label]::after{content:attr(title)}
.hero-wrap .hero-providers>a[aria-label]:hover{color:#fff;background:#25312c;border-color:#52665b}
.hero-wrap .hero-providers .brand-icon{filter:brightness(0) invert(1);opacity:1;width:24px;height:24px}
@media(max-width:767px){.hero-wrap .hero-providers{gap:8px;font-size:12px}.hero-wrap .hero-providers>a[aria-label]{height:52px;padding:0 6px;gap:6px}.hero-wrap .hero-providers .brand-icon{width:20px;height:20px}}

.hero-wrap .hero-providers>a[aria-label]{background:rgba(255,255,255,.38);border-color:rgba(24,39,68,.14);color:#182744}
.hero-wrap .hero-providers>a[aria-label]:hover{background:rgba(255,255,255,.65);border-color:rgba(77,107,254,.3);color:#182744}
.hero-wrap .hero-providers .brand-icon{filter:brightness(0) saturate(100%);opacity:.8}

/* Raise the complete hero group to the approved reference position. */
@media(min-width:768px){.hero-wrap .hero{position:relative;top:-8svh}}

/* ==== /assets/design-20260914/home-prices-20261015.css ==== */
/* Homepage price cards: room for full-precision prices (e.g. $0.11875) in the 3-column layout. */
.hero-catalog .model-card .price-comparison{gap:10px}
.hero-catalog .model-card .price-column+.price-column{padding-left:10px}
.hero-catalog .model-card .price-line{gap:4px}

/* ==== /assets/design-20260914/home-quickstart-20261015.css ==== */
/* Homepage quickstart: same code block as /docs (tabs above a dark block with file name + copy). */
#quickstart .qs-addr{appearance:none;border:1px solid #dfe5ef;background:#fff;color:#2d3a56;font:500 14px ui-monospace,SFMono-Regular,Menlo,monospace;padding:1px 8px;border-radius:6px;cursor:pointer;vertical-align:baseline}
#quickstart .qs-addr:hover{border-color:#3e5bf2;color:#3e5bf2}
#quickstart .qs-panel{max-width:860px;margin:0 auto;text-align:left}
#quickstart .qs-tabs{display:flex;flex-wrap:wrap;gap:2px;border-bottom:1px solid #e6e9ef;margin-bottom:14px}
#quickstart .qs-tabs button{appearance:none;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:8px 14px;font-size:14px;color:#6b7385;cursor:pointer;border-radius:0}
#quickstart .qs-tabs button:hover{color:#1f2329;background:none}
#quickstart .qs-tabs button.active{color:#3e5bf2;border-bottom-color:#3e5bf2;font-weight:600}
#quickstart .qs-code{border-radius:12px;background:#1e222a!important;overflow:hidden;border:0}
#quickstart .qs-bar{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 8px 16px;border-bottom:1px solid rgba(255,255,255,.07)}
#quickstart .qs-bar>span{font:12px ui-monospace,SFMono-Regular,Menlo,monospace;color:#8b93a3}
#quickstart .qs-bar .copy-button{border:1px solid rgba(255,255,255,.14)!important;background:transparent!important;color:#c9d1dd!important;border-radius:6px;padding:2px 10px;font-size:12px;gap:5px}
#quickstart .qs-bar .copy-button:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
#quickstart .qs-code .code{margin:0;padding:16px 18px 20px;background:transparent!important;color:#e6e9ef!important;font:13px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-x:auto}
#quickstart .qs-code .code-row{min-height:0}
#quickstart .qs-code .code-row>span:last-child,#quickstart .qs-code .code-row>span:last-child>span:not(.token-string):not(.token-keyword){color:#e6e9ef!important}
#quickstart .qs-code .line-no{color:#5c6370!important;width:26px}
#quickstart .qs-code .code-row span.token-string{color:#a6d189!important}
#quickstart .qs-code .code-row span.token-keyword{color:#ca9ee6!important}
#quickstart .qs-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;margin:12px 2px 0;font-size:13px;line-height:1.7;color:#6b7385}
#quickstart .qs-foot a{display:inline-flex;align-items:center;gap:3px;color:#3e5bf2;text-decoration:none;white-space:nowrap}
#quickstart .qs-foot a:hover{text-decoration:underline}
@media(max-width:767px){
  #quickstart .qs-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  #quickstart .qs-tabs button{flex:none;padding:8px 10px;font-size:13px}
  #quickstart .qs-code .code{font-size:12px;padding:14px 12px 16px}
  #quickstart .qs-addr{font-size:13px}
}

/* Chinese heading wraps only at the comma, never leaving one or two characters alone. */
#quickstart .section-heading h2{word-break:keep-all;overflow-wrap:anywhere}

/* ==== /assets/design-20260914/home-promise-20261015.css ==== */
/* Homepage "我们的承诺": replaces the old support + founder blocks (no dark rules, brand blue actions). */
#support.promise{width:100%;max-width:860px;margin:0 auto;border:0!important;padding:0!important;background:none!important}
#support.promise .section-heading{margin-bottom:24px}
#support.promise .promise-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#support.promise .promise-cards article{background:#fff;border:1px solid #e6e9ef;border-radius:14px;padding:20px 22px;box-shadow:0 1px 2px rgba(24,39,68,.03)}
#support.promise .promise-icon{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eef2ff}
#support.promise .promise-icon::before{content:"";width:12px;height:7px;border-left:2px solid #3e5bf2;border-bottom:2px solid #3e5bf2;transform:translateY(-2px) rotate(-45deg)}
#support.promise h3{margin:14px 0 6px;font-size:16px;font-weight:650;color:#1f2329!important}
#support.promise .promise-cards p{margin:0;font-size:14px;line-height:1.75;color:#6b7385!important}
#support.promise .promise-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:24px}
#support.promise .promise-actions a{display:inline-flex;align-items:center;gap:4px;font-size:14px;color:#3e5bf2!important;text-decoration:none}
#support.promise .promise-actions a:hover{text-decoration:underline}
#support.promise .promise-actions a.promise-primary{padding:10px 18px;border-radius:10px;background:#4d6bfe;color:#fff!important;font-weight:600;box-shadow:0 6px 16px rgba(77,107,254,.22)}
#support.promise .promise-actions a.promise-primary:hover{background:#3e5bf2;text-decoration:none}
@media(max-width:767px){
  #support.promise .promise-cards{grid-template-columns:1fr;gap:12px}
  #support.promise .promise-cards article{padding:18px}
}
/* Hero intro on phones: keep the spark next to the (wrapping) text instead of at the far left. */
@media(max-width:767px){html body:has(.hero-wrap) .hero-service-intro{display:block}html body:has(.hero-wrap) .hero-service-intro .intro-spark{margin-right:6px}}
/* Card title sits right after the check icon. */
#support.promise .promise-cards article{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:10px;align-items:center}
#support.promise .promise-cards article h3{margin:0}
#support.promise .promise-cards article p{grid-column:1/-1;margin-top:12px}
/* Price advantage line under the provider buttons (values come from the catalog data).
   Zero layout height so the vertically centred hero keeps its exact position; the catalog panel makes room when open. */
.hero-catalog .hero-price-note{position:relative;height:0;margin:0;overflow:visible;top:14px;text-align:center;font-size:13.5px;line-height:23px;white-space:nowrap;color:#52617b}
.hero-catalog .hero-price-note b{color:#3e5bf2;font-weight:600}
.hero-catalog .hero-price-note .sep{color:#9aa5b8}
.hero-catalog .hero-price-note+.hero-catalog-panel{margin-top:calc(var(--qs-panel-gap,24px) + 37px)!important}
@media(max-width:767px){.hero-catalog .hero-price-note{font-size:12.5px;top:12px}}
@media(max-width:360px){.hero-catalog .hero-price-note{font-size:11px}}

/* ==== /assets/design-20260914/title-effect-20261012.css ==== */
.hero h1{font-weight:650}.hero h1 .title-outline{color:transparent;-webkit-text-stroke:1.25px #182744;font-weight:400}.home-title-cursor{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:110;mix-blend-mode:difference}@media(max-width:767px){.hero h1 .title-outline{-webkit-text-stroke:.8px #182744}}@media(prefers-reduced-motion:reduce){.home-title-cursor{display:none}}

/* Display both title phrases on one line, including small screens. */
.hero h1 br{display:none}
.hero h1{white-space:nowrap;font-size:clamp(24px,4.5vw,60px);line-height:1.2;letter-spacing:-1px}
.hero h1 .title-outline{margin-left:.35em}
@media(max-width:767px){.hero h1{font-size:clamp(19px,4.4vw,32px);letter-spacing:-.4px}.hero h1 .title-outline{margin-left:.3em;-webkit-text-stroke:.7px #182744}}

/* DeepSeek heading uses system sans-serif, regular weight and open tracking. */
.hero h1{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-weight:400;font-size:clamp(24px,3.2vw,46px);letter-spacing:.4em;line-height:1.55;color:#2d3a56}
.hero h1 .title-outline{font-weight:400;letter-spacing:.4em;margin-left:.35em;-webkit-text-stroke:.8px #2d3a56}
@media(max-width:767px){.hero h1{font-size:clamp(17px,4.5vw,28px);letter-spacing:.05em}.hero h1 .title-outline{letter-spacing:.05em;margin-left:.25em;-webkit-text-stroke:.6px #2d3a56}}

/* ==== /assets/design-20260914/deepseek-nav-20261012.css ==== */
/* DeepSeek reference: transparent wide header -> floating glass capsule. */
.hero-wrap>.site-header{position:fixed;top:8px;left:50%;transform:translateX(-50%);width:calc(100% - 144px);max-width:1280px;height:46px;min-height:46px;margin:0;padding:4px 0;border:1px solid transparent;border-radius:100px;background:transparent;backdrop-filter:none;box-shadow:none;gap:24px;transition:width .3s ease,max-width .3s ease,padding .3s ease,background .3s ease,border-color .3s ease,backdrop-filter .3s ease}
.hero-wrap>.site-header>a[aria-label="302API 首页"]{height:36px;transform:none}
.hero-wrap>.site-header nav{position:static;gap:24px;width:auto;flex-wrap:nowrap}
.hero-wrap>.site-header nav a{min-height:36px;font-weight:400}
.hero-wrap>.site-header nav a.home-login-link{min-height:32px;padding:4px 16px;border-radius:100px}
.hero-wrap>.site-header.ds-nav-scrolled{width:calc(100% - 32px);max-width:980px;padding:4px 6px 4px 16px;background:rgba(255,255,255,.45);border-color:rgba(0,0,0,.1);backdrop-filter:blur(12px);box-shadow:0 2px 8px #18274403}
@media(max-width:767px){.hero-wrap>.site-header{width:calc(100% - 32px);height:auto;min-height:46px;padding:6px 8px;gap:8px;flex-wrap:wrap;border-radius:22px}.hero-wrap>.site-header nav{width:100%;justify-content:space-between;gap:8px;flex-wrap:wrap}.hero-wrap>.site-header nav a{font-size:13px;min-height:32px}.hero-wrap>.site-header.ds-nav-scrolled{width:calc(100% - 24px);padding:6px 12px;border-radius:22px}}
@media(prefers-reduced-motion:reduce){.hero-wrap>.site-header{transition:none}}
@supports not (backdrop-filter:blur(1px)){.hero-wrap>.site-header.ds-nav-scrolled{background:rgba(248,250,255,.97)}}

/* Reference pill feedback; inset treatment does not shift the menu. */
.hero-wrap>.site-header nav a:not(.home-login-link){border-radius:100px;position:relative;isolation:isolate}
.hero-wrap>.site-header nav a:not(.home-login-link)::before{content:"";position:absolute;inset:0 -12px;border:1px solid transparent;border-radius:100px;z-index:-1;pointer-events:none;transition:background .18s,border-color .18s}
@media(hover:hover){.hero-wrap>.site-header nav a:not(.home-login-link):hover{color:#182744}.hero-wrap>.site-header nav a:not(.home-login-link):hover::before{background:rgba(90,110,150,.08);border-color:rgba(24,39,68,.1)}}
.hero-wrap>.site-header nav a:not(.home-login-link):focus-visible::before{background:rgba(90,110,150,.08);border-color:rgba(24,39,68,.1)}
@media(max-width:767px){.hero-wrap>.site-header nav a:not(.home-login-link)::before{inset:0 -4px}}

/* ==== /assets/design-20260914/home-light-20261012.css ==== */
/* Public homepage only: continuous light page below the animated hero. */
html:has(.hero-wrap),body:has(.hero-wrap){background:#f7f9fc;color:#2d3a56;color-scheme:light;--bg:#f7f9fc;--card:#fff;--border:#dce3ee;--muted:#64718a;--accent:#4d6bfe}
body:has(.hero-wrap) #root{background:#f7f9fc;color:#2d3a56}
body:has(.hero-wrap) .phone-showcase{background:linear-gradient(#fff,#f7f9fc 400px)}
body:has(.hero-wrap) h2,body:has(.hero-wrap) h3,body:has(.hero-wrap) h4{color:#2d3a56}
body:has(.hero-wrap) .dim,body:has(.hero-wrap) .phone-intro>span,body:has(.hero-wrap) .phone-kicker,body:has(.hero-wrap) .phone-unit,body:has(.hero-wrap) .phone-notice{color:#64718a}
body:has(.hero-wrap) .phone-intro p{color:#425579}body:has(.hero-wrap) .phone-intro>svg{color:#8392ac}
body:has(.hero-wrap) :is(.model-card,.provider-tiles>a,.turnkey,.turnkey-cards article,.code-tabs button,.support-cards article,.founder-note,.phone-card,.phone-provider,.phone-terminal,.code-panel){background:rgba(255,255,255,.7);border-color:#dce3ee;color:#2d3a56}
body:has(.hero-wrap) :is(.phone-front,.phone-canvas){background:#f7f9fc;color:#2d3a56}
body:has(.hero-wrap) .phone-front{border-color:#9eacc0;outline-color:#dce3ee;box-shadow:0 8px 22px #4255791a}
body:has(.hero-wrap) .phone-discount{color:#4d6bfe;border-color:#dce3ee}
body:has(.hero-wrap) .phone-list p{border-color:#dce3ee}
body:has(.hero-wrap) :is(.price-warning p,.monitor-icon){background:#eaf0fa;color:#52617b;border-color:#dce3ee}
body:has(.hero-wrap) :is(.provider-filters button[aria-pressed=true],.code-tabs button[aria-pressed=true]){background:#e5ecfb;border-color:#bdcbed;color:#405be0}
body:has(.hero-wrap) :is(.search input,.copy-button,.more-button){color:#425579}
body:has(.hero-wrap) :is(.copy-button,.more-button,.provider-filters button,.provider-tiles a):hover{background:#eaf0fa;color:#405be0}
body:has(.hero-wrap) :is(.phone-cta,.small-button,.note-button){background:#4d6bfe;border-color:#4d6bfe;color:#fff}
body:has(.hero-wrap) .support-cards article:last-child a{color:#405be0}
body:has(.hero-wrap) .home-indicator{background:#8392ac}
body:has(.hero-wrap) .code{color:#2d3a56}
body:has(.hero-wrap) .code span{color:inherit}
body:has(.hero-wrap) .brand-icon{filter:brightness(0) saturate(100%);opacity:.8}
body:has(.hero-wrap) img[src*="wordmark-dark"]{content:url('/assets/brand-20260914/wordmark-light.svg')}
body:has(.hero-wrap) .footer{border-color:#dce3ee;color:#64718a}
body:has(.hero-wrap) a:hover{color:#405be0}
body:has(.hero-wrap) :is(.button.primary,.home-login-link,.phone-cta,.small-button,.note-button):hover{color:#fff;background:#405be0}

body:has(.hero-wrap) .price-line{color:#64718a}
body:has(.hero-wrap) .price-value{color:#425579}
body:has(.hero-wrap) .selling .price-value{color:#405be0}
body:has(.hero-wrap) .price-column.selling h4{color:#425579}
body:has(.hero-wrap) .price-column+.price-column{border-color:#dce3ee}
body:has(.hero-wrap) .price-details a{color:#405be0}
body:has(.hero-wrap) :is(.code-top,.code-note){border-color:#dce3ee}

body:has(.hero-wrap) .founder-note :is(h2,h3){color:#2d3a56!important}
body:has(.hero-wrap) .client-config-help p{color:#64718a}
body:has(.hero-wrap) :is(.client-config-help a,.card-bottom span:last-child){color:#405be0}
body:has(.hero-wrap) .founder-note :is(article,.note-bottom){border-color:#dce3ee}

body:has(.hero-wrap) .hero-service-intro{display:flex;justify-content:center;align-items:flex-start;gap:8px;max-width:760px;margin:0 auto 28px;color:#64718a;font-size:14px;line-height:1.8;letter-spacing:0;text-align:center}
body:has(.hero-wrap) .intro-spark{color:#7893f3;flex:none}
@media(max-width:767px){body:has(.hero-wrap) .hero-service-intro{font-size:12px;line-height:1.7;margin-bottom:22px;max-width:100%}}

body:has(.hero-wrap) .hero-service-intro{position:relative;top:-24px}

/* Hero gradient fades into the page colour instead of white (no seam). 20261014 */
.hero-wrap .home-flow-background{background-color:#f7f9fc}

/* Intro line raised another 48px on desktop. 20261014 */
@media(min-width:768px){body:has(.hero-wrap) .hero-service-intro{top:-72px}}

/* Title, actions and provider cards raised 60px so the title sits on the next 90px grid line below the intro; intro itself stays put. 20261014 */
@media(min-width:768px){.hero-wrap .hero{top:calc(-8svh - 60px)}body:has(.hero-wrap) .hero-service-intro{top:-12px}}

/* ==== /assets/design-20260914/home-catalog-20261014.css ==== */
/* Model catalog folded under the hero provider cards. 20261014 */
.hero-wrap .hero-catalog{width:100%;max-width:864px;margin:0 auto;text-align:left;scroll-margin-top:96px}
.hero-wrap .hero-catalog .hero-providers>a[aria-label]{cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.hero-wrap .hero-catalog .provider-chevron{order:3;flex:none;opacity:.5;transition:transform .2s}
.hero-wrap .hero-catalog .hero-providers>a[aria-expanded="true"]{background:#fff;border-color:rgba(77,107,254,.45);color:#4d6bfe}
.hero-wrap .hero-catalog .hero-providers>a[aria-expanded="true"] .provider-chevron{transform:rotate(180deg);opacity:1}
.hero-wrap .hero-catalog-panel{margin-top:24px}
.hero-wrap .hero-catalog-panel .catalog-console{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:20px}
@media(max-width:767px){.hero-wrap .hero-catalog .provider-chevron{display:none}}
/* Models icon replaced by a text hint. 20261014 */
.hero-wrap .icon-actions a.icon-text{padding:10px 16px;font-size:14px;line-height:1.4;white-space:nowrap}
@media(max-width:767px){.hero-wrap .icon-actions{flex-wrap:wrap;justify-content:center}.hero-wrap .icon-actions a.icon-text{flex:1 0 100%;font-size:13px;padding:10px 12px}}
/* Hint is plain text with a down arrow, not a link. 20261014 */
.hero-wrap .icon-actions .icon-text{gap:6px;cursor:default}
.hero-wrap .icon-actions .icon-text:hover{color:#52617b;background:#ffffff55}
/* Hero hierarchy: one CTA, gift note under it, plain hint above the provider cards. 20261014 */
.hero-wrap .hero-actions-single{flex-direction:column;gap:10px}
.hero-wrap .hero-gift-note{font-size:13px;line-height:1.5;color:#64718a}
.hero-wrap .hero-catalog-hint{display:flex;align-items:center;justify-content:center;gap:4px;margin:36px 0 0;font-size:13px;line-height:1.5;color:#64718a}
.hero-wrap .hero-catalog .hero-providers{margin-top:12px}
@media(min-width:768px){body:has(.hero-wrap) .hero-service-intro{margin-bottom:53px}}
/* Content grew 64px; keep the intro and title where they were (hero is vertically centred). */
@media(min-width:768px){.hero-wrap .hero{top:calc(-8svh - 28px)}}
.hero-service-intro .intro-seg{white-space:nowrap}
/* Contrast pass: outline title, provider cards. 20261014 */
.hero h1 .title-outline{-webkit-text-stroke:1.2px #182744}
@media(max-width:767px){.hero h1 .title-outline{-webkit-text-stroke:.8px #182744}}
.hero-wrap .hero-providers>a[aria-label]{background:rgba(255,255,255,.82);border-color:rgba(24,39,68,.16);box-shadow:0 1px 2px rgba(24,39,68,.05),0 6px 16px rgba(24,39,68,.06)}
.hero-wrap .hero-providers>a[aria-label]:hover{background:#fff;border-color:rgba(77,107,254,.35)}
/* Compact footer: one row on desktop, two on phones. 20261014 */
.footer.footer-compact{padding:28px 0 40px}
.footer-compact .footer-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 24px;font-size:13px;line-height:1.6}
.footer-compact .footer-links{display:flex;flex-wrap:wrap;gap:8px 24px}
.footer-compact .footer-links a{display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none}
.footer-compact .footer-links a:hover{color:#4d6bfe}
.footer-compact .support-email-tooltip{left:auto;right:0}
@media(max-width:767px){.footer-compact .footer-row{flex-direction:column-reverse;align-items:flex-start;gap:10px}.footer-compact .footer-links{gap:8px 14px}}

/* Footer: copyright and links together, centred. 20261014 */
.footer-compact .footer-row{justify-content:center}
.footer-compact .footer-links{justify-content:center}
@media(max-width:767px){.footer-compact .footer-row{align-items:center}}
@media(max-width:767px){.footer-compact .footer-row{font-size:12px}.footer-compact .footer-links{gap:8px 10px}}
/* Nav login is secondary (outline); the hero CTA stays the only solid button. 20261014 */
.hero-wrap>.site-header nav a.home-login-link,.hero-wrap>.site-header nav a.home-login-link:visited{background:#fff;border:1px solid rgba(77,107,254,.55);color:#4d6bfe}
.hero-wrap>.site-header nav a.home-login-link:hover,.hero-wrap>.site-header nav a.home-login-link:focus-visible{background:#eef2ff;border-color:#4d6bfe;color:#405be0}
/* Model cards in the hero panel: opaque white, light-theme text colours (were dark-theme greys). 20261014 */
.hero-wrap .hero-catalog-panel .model-card{background:#fff;border-color:#dce3ee;box-shadow:0 1px 2px rgba(24,39,68,.04),0 8px 24px rgba(24,39,68,.06)}
.hero-wrap .hero-catalog-panel .card-heading h3{color:#182744}
.hero-wrap .hero-catalog-panel .price-column h4,.hero-wrap .hero-catalog-panel .price-column.selling h4{color:#2d3a56;font-weight:600}
.hero-wrap .hero-catalog-panel .price-column+.price-column{border-color:#e3e8f1}
.hero-wrap .hero-catalog-panel .price-line{color:#52617b}
.hero-wrap .hero-catalog-panel .price-value{color:#1f2a44}
.hero-wrap .hero-catalog-panel .selling .price-value{color:#3e5bf2}
.hero-wrap .hero-catalog-panel .model-card>p{color:#2d3a56}
.hero-wrap .hero-catalog-panel .price-details,.hero-wrap .hero-catalog-panel .price-details summary{color:#64718a}
.hero-wrap .hero-catalog-panel .card-bottom span{color:#64718a}
.hero-wrap .hero-catalog-panel .card-bottom strong{color:#15803d}
.hero-wrap .hero-catalog-panel .catalog-meta,.hero-wrap .hero-catalog-panel .price-warning summary{color:#52617b}
/* Model card type one step larger (was 10-13px); sized to the 113px price columns. 20261014 */
.hero-wrap .hero-catalog-panel .card-heading h3{font-size:15px}
.hero-wrap .hero-catalog-panel .price-column h4{font-size:12px}
.hero-wrap .hero-catalog-panel .price-line{font-size:12px}
.hero-wrap .hero-catalog-panel .price-value{font-size:13px}
.hero-wrap .hero-catalog-panel .model-card>p{font-size:13px!important}
.hero-wrap .hero-catalog-panel .price-details,.hero-wrap .hero-catalog-panel .card-bottom{font-size:12px}
.hero-wrap .hero-catalog-panel .catalog-meta,.hero-wrap .hero-catalog-panel .price-warning{font-size:13px}
/* Room for the larger type: wider catalog, slimmer card padding, smaller type again on narrow cards. */
.hero-wrap .hero-catalog{max-width:960px}
.hero-wrap .hero-catalog-panel .model-card{padding:16px;container-type:inline-size}
@container (max-width:272px){.hero-wrap .hero-catalog-panel .price-line{font-size:11px}.hero-wrap .hero-catalog-panel .price-value{font-size:12px}}
@media(min-width:768px) and (max-width:1199px){.hero-wrap .hero-catalog-panel .model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hero-wrap .hero-catalog .hero-providers{max-width:none}
.hero-wrap .hero-catalog-panel .price-warning summary{margin-left:0}
/* Provider buttons show each brand in its own colours. 20261014 */
.hero-wrap .hero-catalog .hero-providers .brand-icon{opacity:1}
.hero-wrap .hero-catalog .hero-providers a[title="OpenAI"] .brand-icon{filter:brightness(0)}
.hero-wrap .hero-catalog .hero-providers a[title="Anthropic"] .brand-icon{filter:none;color:#D97757}
.hero-wrap .hero-catalog .hero-providers a[title="Google"] .brand-icon{display:none}
.hero-wrap .hero-catalog .hero-providers a[title="Google"]::before{content:"";flex:none;width:22px;height:22px;background:url("/assets/design-20260914/assets/google-color-20261014.svg") center/contain no-repeat}
@media(max-width:767px){.hero-wrap .hero-catalog .hero-providers a[title="Google"]::before{width:18px;height:18px}}
/* Provider logos: optically balanced sizes; monochrome by default, brand colour when that provider is open. 20261014 */
.hero-wrap .hero-catalog .hero-providers .brand-icon{filter:brightness(0);opacity:.8}
.hero-wrap .hero-catalog .hero-providers a[title="OpenAI"] .brand-icon{width:26px;height:26px}
.hero-wrap .hero-catalog .hero-providers a[title="Anthropic"] .brand-icon{filter:brightness(0);color:inherit}
.hero-wrap .hero-catalog .hero-providers a[title="Google"] .brand-icon{display:block;width:21px;height:21px;opacity:.65}
.hero-wrap .hero-catalog .hero-providers a[title="Google"]::before{display:none;width:21px;height:21px}
.hero-wrap .hero-catalog .hero-providers a[aria-expanded="true"] .brand-icon{opacity:1}
.hero-wrap .hero-catalog .hero-providers a[title="Anthropic"][aria-expanded="true"] .brand-icon{filter:none;color:#D97757}
.hero-wrap .hero-catalog .hero-providers a[title="Google"][aria-expanded="true"] .brand-icon{display:none}
.hero-wrap .hero-catalog .hero-providers a[title="Google"][aria-expanded="true"]::before{display:block}
@media(max-width:767px){.hero-wrap .hero-catalog .hero-providers a[title="OpenAI"] .brand-icon{width:22px;height:22px}.hero-wrap .hero-catalog .hero-providers a[title="Google"] .brand-icon,.hero-wrap .hero-catalog .hero-providers a[title="Google"]::before{width:17px;height:17px}}
/* Per-model icons on homepage model cards (official model art, tiles as on vendor pages). 20261014 */
.model-card .card-heading .model-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:8px;overflow:hidden}
.model-card .card-heading .model-icon img{width:100%;height:100%;object-fit:cover;display:block}
.model-card .card-heading .model-icon-line img{width:70%;height:70%;object-fit:contain}
.model-card .card-heading .model-icon-emoji{border:1px solid #e3e8f1;font-size:13px;line-height:1;letter-spacing:-3px;padding-right:3px}
.model-card .card-heading .model-icon-emoji{white-space:nowrap;overflow:visible}
.model-card .card-heading .model-icon-emoji:not(:empty){font-size:12px}

/* ==== 2026-10-25: hero secondary action, quickstart tool guides ==== */
.hero-wrap .hero-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.hero-wrap .button.secondary{background:rgba(255,255,255,.72);color:#25324d;border:1px solid rgba(62,91,242,.24);box-shadow:0 1px 2px rgba(24,39,68,.06);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hero-wrap .button.secondary:hover{background:#fff;color:#3e5bf2;border-color:rgba(62,91,242,.5)}
#quickstart .qs-guides{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
#quickstart .qs-guides a{margin:0}
#quickstart .qs-code .code.code-wrap{overflow-x:hidden}
#quickstart .qs-code .code.code-wrap .code-row{white-space:pre-wrap}
#quickstart .qs-code .code.code-wrap .code-row>span:last-child{min-width:0;overflow-wrap:anywhere}
