@font-face {
  font-family: CodexSans;
  src: url("assets/OpenAISans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: CodexSans;
  src: url("assets/OpenAISans-Medium.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
:root {
  --foreground: #0d0d0d;
  --muted: #676767;
  --border: #e5e5e5;
  --font-sans: CodexSans, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--foreground); font: 400 15px/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button, select { appearance: none; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, b, strong { font-weight: 500; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #3769e9; outline-offset: 5px; }
::selection { background: #e0e7fd; }
[hidden] { display: none !important; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: #fff; border: 1px solid #111; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.header { position: sticky; z-index: 30; top: 0; height: 64px; background: #ffffffed; backdrop-filter: blur(16px); }
.nav-wrap { height: 64px; max-width: 1600px; margin: auto; padding: 12px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; font-size: 23px; line-height: 1; letter-spacing: -.6px; }
.brand-symbol { font-size: 31px; font-weight: 500; letter-spacing: -4px; width: 28px; transform: translateY(-1px); }
.brand-si { color: #747474; font-size: 14px; letter-spacing: -.3px; }
.nav { display: flex; align-items: center; gap: 29px; font-size: 14px; }
.nav a, .footer-links a { transition: color .18s; }
.nav a:hover, .footer-links a:hover { color: #777; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.button { min-height: 48px; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 14px; font-weight: 500; line-height: 1.4; transition: background .2s, transform .2s; white-space: nowrap; }
.button.dark { background: #0d0d0d; color: #fff; }
.button.dark:hover { background: #333; transform: translateY(-1px); }
.button.small { min-height: 38px; padding: 9px 17px; font-size: 13px; gap: 12px; }
.button > span { font-size: 19px; line-height: 1; }
.menu-toggle { display: none; position: relative; height: 38px; width: 32px; padding: 8px 3px; }
.menu-toggle span { display: block; width: 23px; height: 1.5px; background: #111; position: absolute; left: 4px; top: 14px; transition: transform .2s; }
.menu-toggle span + span { top: 22px; }
.menu-toggle[aria-expanded="true"] span { top: 18px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span + span { transform: rotate(-45deg); }
.mobile-menu { background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #ddd; padding: 12px 24px 24px; box-shadow: 0 15px 25px #00000008; }
.mobile-menu a { display: block; padding: 13px 0; font-size: 16px; }
.hero-shell { position: relative; isolation: isolate; background: #fcfcfc; padding-bottom: 5px; overflow: hidden; }
.hero-atmosphere { position: absolute; z-index: -1; inset: 0 0 auto; width: 100%; height: 800px; background: #f0f1ff url("assets/atmosphere.png") center 47% / cover; opacity: .25; -webkit-mask-image: linear-gradient(#000 0%, #000a 45%, #0000 100%); mask-image: linear-gradient(#000 0%, #000a 45%, #0000 100%); pointer-events: none; }
.hero-atmosphere video, .final-atmosphere video { display: block; height: 100%; width: 100%; object-fit: cover; }
.hero { position: relative; width: min(1180px, calc(100% - 48px)); text-align: center; padding-top: 72px; }
.codex-app-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 40px; border-radius: 18px; overflow: hidden; }
.codex-app-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero h1 { max-width: 1200px; margin: auto; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.15; letter-spacing: -1.92px; font-weight: 500; }
.hero h1 > span { display: inline-block; }
.hero h2 { margin-top: 19px; font-size: 31px; line-height: 1.35; letter-spacing: -.65px; }
.hero-subtitle { color: #363636; margin-top: 20px; font-size: 21px; line-height: 1.6; letter-spacing: -.2px; }
.hero-actions { display: flex; justify-content: center; align-items: center; margin-top: 29px; }
.hero-actions .button { min-height: 44px; padding: 10px 21px; }
.hero-models { margin-top: 64px; }
.hero-models > p { color: #666; font-size: 16px; line-height: 1.65; }
.model-wordmarks { display: flex; align-items: center; justify-content: center; gap: 74px; margin-top: 19px; }
.model-wordmarks a { font-size: 25px; font-weight: 500; letter-spacing: -.85px; }
.model-wordmarks a:hover { color: #555; }
.product-showcase { position: relative; width: min(1180px, calc(100% - 96px)); padding-top: 54px; }
.desktop-window { border: 2px solid #191919; border-radius: 20px; background: #fff; box-shadow: 0 28px 34px -19px #0009, 0 0 0 5px #0000000a, 0 0 0 9px #00000004; overflow: hidden; }
.window-toolbar { height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 26px; background: #fafafa; }
.traffic-lights { display: flex; gap: 7px; }
.traffic-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; border: 1px solid #e8473f; }
.traffic-lights i:nth-child(2) { background: #febc2e; border-color: #e9aa25; }
.traffic-lights i:nth-child(3) { background: #28c840; border-color: #23b637; }
.toolbar-layout, .toolbar-arrows, .toolbar-plus { color: #969696; font-size: 18px; line-height: 1; }
.window-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; color: #8a8a8a; }
.toolbar-plus { margin-left: auto; }
.workspace-body { display: grid; grid-template-columns: 46px 230px minmax(0, 1fr); min-height: 590px; }
.workspace-rail { background: #fafafa; display: flex; align-items: center; flex-direction: column; padding: 14px 8px; gap: 22px; color: #8f8f8f; }
.workspace-rail a { display: grid; place-items: center; width: 30px; height: 26px; font-size: 21px; }
.workspace-rail a:hover { color: #111; }
.rail-logo { background: #f0f0f0; width: 31px; height: 31px; border-radius: 9px; color: #111; font-size: 23px; line-height: 29px; text-align: center; letter-spacing: -3px; padding-right: 3px; }
.rail-divider { width: 22px; height: 1px; margin-bottom: -8px; background: #e7e7e7; }
.workspace-sidebar { position: relative; padding: 10px 15px 42px; border-right: 1px solid #f7f7f7; }
.sidebar-title { font-size: 20px; font-weight: 500; display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.sidebar-title > span { font-size: 17px; color: #aaa; font-weight: 400; }
.sidebar-label { color: #959595; font-size: 12px; margin-bottom: 10px; }
.sidebar-resource { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12px; }
.sidebar-resource > span:first-child { font-size: 19px; line-height: 1; }
.sidebar-resource > span:last-child { font-size: 12px; color: #aaa; margin-left: auto; }
.sidebar-resource:hover { color: #5470c7; }
.workspace-main { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 46px 25px; }
.workspace-welcome { text-align: center; margin-top: 109px; }
.welcome-symbol { display: grid; place-items: center; width: 47px; height: 47px; margin: auto auto 18px; font-size: 35px; letter-spacing: -4px; line-height: 1; border: 2px solid #161616; border-radius: 35% 45% 34% 45%; padding-right: 6px; }
.workspace-welcome h2 { font-size: 26px; line-height: 1.3; font-weight: 400; letter-spacing: -.5px; }
.image-caption { color: #8b8b8b; text-align: center; font-size: 11px; margin-top: 23px; margin-bottom: 16px; }
.section { padding-block: 104px; scroll-margin-top: 20px; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2, .faq-section > h2 { font-size: 43px; line-height: 1.3; letter-spacing: -1.4px; }
.section-title p { color: var(--muted); margin-top: 24px; font-size: 16px; line-height: 1.8; }
.capabilities { padding-top: 112px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 28px; }
.feature-image { aspect-ratio: 1.35; display: flex; align-items: center; justify-content: center; border-radius: 12px; overflow: hidden; padding: 30px; }
.feature h3 { margin-top: 24px; font-size: 21px; line-height: 1.45; letter-spacing: -.4px; }
.feature > p { margin-top: 11px; max-width: 490px; font-size: 14px; line-height: 1.8; color: #676767; }
.engineering-art { background: #eae6f3; }
.mini-editor { width: 100%; background: #fcfcfd; border: 1px solid #cecad7; border-radius: 10px; box-shadow: 0 14px 24px #544a761c; overflow: hidden; }
.mini-editor-toolbar { padding: 11px 16px; background: #f1eff5; border-bottom: 1px solid #e2dfeb; color: #8d8596; display: flex; justify-content: space-between; font-size: 9px; }
.mini-editor-title { color: #4e4859; }
.editor-lines { display: grid; gap: 5px; padding: 18px 0; color: #4a4556; font-family: var(--font-mono); font-size: clamp(9px, .9vw, 12px); line-height: 1.55; white-space: nowrap; }
.editor-lines > span { padding-right: 9px; white-space: pre; }
.editor-lines b { display: inline-block; color: #b5b0bf; font-weight: 400; width: 37px; text-align: center; }
.editor-lines em { color: #8570ba; font-style: normal; }
.editor-lines i { color: #56846b; font-style: normal; }
.highlight-line { background: #e7f0e8; }
.editor-note { border-top: 1px solid #e9e7ed; padding: 15px 16px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #48424f; }
.note-icon { font-size: 24px; letter-spacing: -3px; }
.editor-note small { display: block; color: #97929d; font-size: 9px; margin-top: 3px; }
.workflow-art { background: #e6edf1; }
.workflow-window { width: 90%; background: #fdfdfd; border: 1px solid #d4dce2; border-radius: 11px; box-shadow: 0 18px 25px #52687c18; padding: 22px 23px 0; }
.workflow-title { font-size: 17px; display: flex; align-items: center; gap: 11px; padding-bottom: 13px; }
.workflow-title > span:first-child { font-size: 25px; letter-spacing: -3px; }
.workflow-title > span:last-child { margin-left: auto; color: #999; }
.workflow-row { display: flex; align-items: center; gap: 15px; border-top: 1px solid #efefef; padding: 15px 0; font-size: 12px; }
.workflow-folder { font-size: 24px; color: #718797; line-height: 1; }
.workflow-row small { display: block; font-size: 10px; margin-top: 3px; color: #999; }
.workflow-row > span:last-child { margin-left: auto; color: #999; }
.workflow-bottom { border-top: 1px solid #eee; padding: 12px 0; color: #9a9a9a; font-size: 9px; }
.workflow-branch { font-size: 13px; padding-right: 5px; }
.endpoints-art { background: #ecebe3; }
.endpoint-window { width: 92%; background: #fff; border-radius: 11px; padding: 29px 23px 0; box-shadow: 0 15px 25px #4f503c12; }
.endpoint-brand { font-size: 12px; color: #7e7d75; display: flex; align-items: center; gap: 8px; }
.endpoint-brand > span { color: #222; font-size: 22px; letter-spacing: -3px; }
.endpoint-base { font-size: 24px; letter-spacing: -.8px; margin-top: 7px; margin-bottom: 24px; }
.endpoint-item { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid #eee; }
.endpoint-item > span:first-child { background: #eaf1e8; color: #6d8860; font-size: 8px; padding: 3px 5px; border-radius: 4px; font-family: var(--font-mono); }
.endpoint-item code { font-size: 12px; font-family: var(--font-mono); }
.endpoint-item > span:last-child { margin-left: auto; color: #aaa; font-size: 12px; }
.endpoint-foot { font-size: 9px; color: #aaa; border-top: 1px solid #eee; padding: 16px 0; }
.response-art { background: #ede5e9; }
.response-window { width: 94%; background: #fff; border: 1px solid #e0d6dc; border-radius: 11px; overflow: hidden; box-shadow: 0 16px 25px #78596416; }
.response-header { font-size: 10px; padding: 12px 17px; display: flex; align-items: center; gap: 8px; background: #fbf9fa; border-bottom: 1px solid #eee; }
.response-header > span:last-child { color: #aaa; margin-left: auto; font-size: 9px; }
.response-dot { width: 5px; height: 5px; background: #878979; border-radius: 50%; }
.response-window pre { margin: 0; padding: 22px 18px; font: 10px/1.9 var(--font-mono); }
.code-muted { color: #aaa; }
.code-key { color: #8f779a; }
.code-string { color: #7a8d6a; }
.response-output { display: flex; align-items: center; gap: 17px; margin: 0 18px 18px; padding: 18px 16px; background: #f7f5f6; border-radius: 7px; }
.response-output > span { font-size: 24px; letter-spacing: -3px; }
.response-output p { font-size: 15px; line-height: 1.6; letter-spacing: -.3px; }
.start-section { background: #f7f7f7; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; max-width: 1100px; margin: auto; }
.step-mark { width: 45px; height: 45px; border: 1px solid #dedede; background: #fff; border-radius: 11px; margin-bottom: 23px; display: grid; place-items: center; font-size: 25px; letter-spacing: -2px; }
.steps-grid h3 { font-size: 21px; line-height: 1.5; }
.steps-grid p { color: #727272; font-size: 14px; margin-top: 10px; margin-bottom: 17px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; line-height: 1.6; padding: 0; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link > span { font-size: 17px; }
.base-url-copy { display: flex; align-items: center; max-width: 100%; gap: 12px; padding: 7px 9px; margin-left: -9px; border-radius: 7px; color: #333; }
.base-url-copy:hover { background: #ebebeb; }
.base-url-copy code { font-size: 11px; font-family: var(--font-mono); overflow-wrap: anywhere; }
.base-url-copy > span { color: #777; }
.integration-panel { max-width: 1100px; margin: 65px auto 0; background: #fff; border: 1px solid #e0e0e0; border-radius: 16px; overflow: hidden; }
.integration-heading { padding: 27px 29px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.integration-heading h3 { font-size: 20px; line-height: 1.4; letter-spacing: -.3px; }
.integration-heading p { color: #8b8b8b; font-size: 12px; margin-top: 7px; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-block: 1px solid #ededed; padding: 11px 20px; background: #fcfcfc; }
.segmented { display: inline-flex; gap: 3px; border: 1px solid #dedede; padding: 3px; border-radius: 999px; background: #fff; }
.segmented button { padding: 7px 13px; border-radius: 999px; min-height: 32px; color: #777; font-size: 11px; white-space: nowrap; }
.segmented button[aria-selected="true"] { background: #111; color: #fff; }
.code-options { display: flex; align-items: center; gap: 24px; }
.language-tabs { display: flex; gap: 13px; }
.language-tabs button { font-size: 11px; color: #999; padding: 5px 0; }
.language-tabs button[aria-pressed="true"] { color: #111; }
.copy-code { font-size: 11px; display: flex; align-items: center; gap: 8px; border: 1px solid #dedede; border-radius: 999px; background: #fff; padding: 6px 12px; white-space: nowrap; }
.copy-code:hover { background: #f1f1f1; }
.code-panel { overflow: auto; min-height: 294px; background: #fbfbfb; }
.code-panel pre { margin: 0; padding: 27px 30px; font: 12px/1.95 var(--font-mono); color: #48494b; tab-size: 2; }
.code-panel code { font: inherit; }
.code-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 25px; color: #929292; font-size: 10px; border-top: 1px solid #e9e9e9; }
.code-footer code { font-size: 10px; color: #555; font-family: var(--font-mono); margin-left: 6px; }
.model-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.model-card-art { aspect-ratio: 1.1; padding: 32px; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; overflow: hidden; }
.model-card-art > span { font-size: 23px; letter-spacing: -.7px; }
.model-card-art strong { font-size: clamp(64px, 7vw, 96px); line-height: 1.1; letter-spacing: -5px; margin-top: 7px; }
.sol-art { background: #e9e4d7; color: #403a29; }
.astra-art { background: #e8e9f1; color: #30364d; }
.legacy-art { background: #e1e9e2; color: #344c3d; }
.model-card-art strong em { display: block; font-size: 26px; letter-spacing: -.7px; margin-top: 12px; font-style: normal; }
.model-card h3 { margin-top: 22px; font-size: 21px; letter-spacing: -.35px; }
.model-card p { color: #777; font-size: 13px; margin-top: 10px; margin-bottom: 15px; }
.models-note { text-align: center; margin-top: 46px; }
.models-note p { color: #8c8c8c; font-size: 12px; margin-bottom: 12px; }
.resources-section { background: #f7f7f7; }
.resources-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.resources-grid a { border-top: 1px solid #d6d6d6; padding: 26px 8px 0 0; }
.resource-name { display: flex; justify-content: space-between; align-items: center; font-size: 25px; letter-spacing: -.5px; }
.resource-name > span { font-size: 22px; color: #aaa; transition: transform .2s; }
.resources-grid a:hover .resource-name > span { transform: translate(2px,-2px); }
.resources-grid p { font-size: 14px; line-height: 1.8; color: #777; margin-top: 19px; }
.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.faq-section > h2 { margin-top: 7px; }
.faqs { border-top: 1px solid #ddd; }
.faqs details { border-bottom: 1px solid #ddd; }
.faqs summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 15px; line-height: 1.6; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary > span { font-size: 19px; color: #999; font-weight: 400; line-height: 1; transition: transform .2s; }
.faqs details[open] summary > span { transform: rotate(45deg); }
.faqs details p { color: #777; font-size: 13px; line-height: 1.9; padding: 0 35px 24px 0; overflow-wrap: anywhere; }
.faqs details p a { text-decoration: underline; text-underline-offset: 3px; }
.final-cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.final-atmosphere { position: absolute; inset: 0; z-index: -1; opacity: .32; background: #eff0ff url("assets/atmosphere.png") center 55% / cover; -webkit-mask-image: linear-gradient(#0000 0%, #000 100%); mask-image: linear-gradient(#0000 0%, #000 100%); pointer-events: none; }
.final-cta-content { padding-top: 114px; padding-bottom: 118px; }
.final-cta h2 { font-size: 49px; line-height: 1.35; letter-spacing: -1.6px; }
.final-cta p { color: #555; font-size: 18px; margin-top: 19px; margin-bottom: 26px; }
.footer { padding: 48px 0 27px; background: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 35px; }
.footer .brand { font-size: 21px; }
.footer .brand-symbol { font-size: 28px; }
.footer-links { display: flex; align-items: center; gap: 25px; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #eee; color: #9a9a9a; font-size: 10px; }
.toast { position: fixed; z-index: 100; bottom: 28px; left: 50%; padding: 11px 21px; border-radius: 999px; background: #171717; color: #fff; box-shadow: 0 6px 20px #0002; max-width: calc(100% - 40px); width: max-content; font-size: 12px; text-align: center; opacity: 0; transform: translate(-50%, 15px); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1600px) {
  .hero { padding-top: 110px; }
  .codex-app-icon { width: 92px; height: 92px; border-radius: 20px; }
  .hero h1 { font-size: 64px; }
  .hero-models { margin-top: 70px; }
  .product-showcase { padding-top: 65px; }
}
@media (max-width: 1100px) {
  .nav-wrap { padding-inline: 28px; gap: 18px; }
  .brand { font-size: 20px; gap: 9px; }
  .brand-si { font-size: 12px; }
  .brand-symbol { width: 25px; font-size: 28px; }
  .nav { gap: 21px; font-size: 12px; }
  .hero h1 { font-size: 46px; letter-spacing: -1.6px; }
  .hero h2 { font-size: 27px; }
  .hero-subtitle { font-size: 18px; }
  .model-wordmarks { gap: 50px; }
  .model-wordmarks a { font-size: 23px; }
  .workspace-body { grid-template-columns: 40px 190px minmax(0, 1fr); min-height: 530px; }
  .workspace-sidebar { padding-inline: 12px; }
  .workspace-main { padding-inline: 30px; }
  .workspace-welcome { margin-top: 88px; }
  .workspace-welcome h2 { font-size: 23px; }
  .feature-image { padding: 24px; }
  .endpoint-base { font-size: 22px; }
  .editor-lines { font-size: 9px; }
  .response-window pre { font-size: 9px; padding-inline: 13px; }
  .steps-grid { gap: 28px; }
  .base-url-copy code { font-size: 10px; }
  .faq-section { gap: 44px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .nav-wrap { padding-inline: 24px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .hero { width: calc(100% - 40px); padding-top: 75px; }
  .hero h1 { font-size: 46px; line-height: 1.25; max-width: 700px; }
  .hero h1 > span { display: block; }
  .hero h2 { font-size: 26px; margin-top: 19px; }
  .hero-subtitle { font-size: 17px; max-width: 440px; margin: 18px auto 0; }
  .hero-atmosphere { height: 850px; }
  .hero-models { margin-top: 48px; }
  .hero-models > p { font-size: 13px; }
  .model-wordmarks { gap: 25px; margin-top: 16px; }
  .model-wordmarks a { font-size: 19px; letter-spacing: -.7px; }
  .product-showcase { width: calc(100% - 44px); padding-top: 40px; }
  .desktop-window { border-radius: 16px; }
  .window-toolbar { height: 35px; gap: 18px; padding-inline: 12px; }
  .traffic-lights { gap: 5px; }
  .traffic-lights i { width: 8px; height: 8px; }
  .toolbar-layout, .toolbar-arrows, .toolbar-plus { font-size: 15px; }
  .window-title { font-size: 8px; }
  .workspace-body { grid-template-columns: 34px 160px minmax(0, 1fr); min-height: 440px; }
  .workspace-rail { padding-inline: 2px; gap: 17px; }
  .workspace-rail a { font-size: 17px; }
  .rail-logo { width: 24px; height: 24px; font-size: 19px; line-height: 22px; border-radius: 7px; }
  .workspace-sidebar { padding: 8px 11px 35px; }
  .sidebar-title { font-size: 17px; margin-bottom: 18px; }
  .sidebar-label { font-size: 10px; margin-bottom: 7px; }
  .sidebar-resource { font-size: 10px; padding-block: 4px; }
  .sidebar-resource > span:first-child { font-size: 16px; }
  .workspace-main { padding: 0 20px 17px; }
  .workspace-welcome { margin-top: 65px; }
  .welcome-symbol { width: 36px; height: 36px; font-size: 27px; margin-bottom: 13px; }
  .workspace-welcome h2 { font-size: 19px; }
  .section { padding-block: 78px; }
  .section-title { margin-bottom: 40px; }
  .section-title h2, .faq-section > h2 { font-size: 35px; letter-spacing: -1.1px; }
  .section-title p { font-size: 14px; margin-top: 20px; }
  .feature-grid { gap: 42px 22px; }
  .feature-image { padding: 18px; aspect-ratio: 1.12; }
  .feature h3 { font-size: 18px; margin-top: 20px; }
  .feature > p { font-size: 12px; }
  .mini-editor-toolbar { padding-inline: 10px; font-size: 8px; }
  .editor-lines { font-size: 7px; gap: 4px; }
  .editor-lines b { width: 24px; }
  .editor-note { padding: 10px 12px; gap: 8px; font-size: 10px; }
  .editor-note small { font-size: 7px; }
  .workflow-window { width: 100%; padding: 18px 15px 0; }
  .workflow-title { font-size: 13px; gap: 8px; padding-bottom: 10px; }
  .workflow-row { font-size: 10px; gap: 11px; padding-block: 11px; }
  .workflow-row small { font-size: 8px; }
  .workflow-bottom { font-size: 7px; }
  .endpoint-window { width: 100%; padding: 20px 15px 0; }
  .endpoint-base { font-size: 18px; margin-bottom: 16px; }
  .endpoint-brand { font-size: 10px; }
  .endpoint-item { gap: 8px; padding-block: 12px; }
  .endpoint-item code { font-size: 9px; }
  .endpoint-item > span:first-child { font-size: 6px; }
  .endpoint-foot { font-size: 7px; padding-block: 12px; }
  .response-window { width: 100%; }
  .response-header { padding: 10px 13px; font-size: 8px; }
  .response-window pre { font-size: 7px; padding: 18px 11px; }
  .response-output { padding: 13px 11px; margin: 0 12px 12px; gap: 11px; }
  .response-output p { font-size: 12px; }
  .response-output > span { font-size: 22px; }
  .steps-grid { gap: 25px; }
  .steps-grid h3 { font-size: 18px; }
  .steps-grid p { font-size: 12px; }
  .base-url-copy { gap: 6px; }
  .base-url-copy code { font-size: 8px; }
  .text-link { font-size: 12px; }
  .integration-panel { margin-top: 47px; }
  .code-toolbar { padding-inline: 15px; }
  .code-options { gap: 15px; }
  .code-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
  .model-cards { gap: 20px; }
  .model-card-art { padding: 20px; }
  .model-card-art > span { font-size: 18px; }
  .model-card-art strong { font-size: 64px; letter-spacing: -4px; }
  .model-card-art strong em { font-size: 21px; margin-top: 7px; }
  .model-card h3 { font-size: 17px; margin-top: 19px; }
  .model-card p { font-size: 12px; }
  .resource-name { font-size: 21px; }
  .resources-grid p { font-size: 12px; }
  .resources-grid { gap: 20px; }
  .faq-section { grid-template-columns: 1fr; gap: 35px; }
  .faq-section > h2 { text-align: center; }
  .faqs summary { font-size: 14px; }
  .final-cta-content { padding-block: 90px; }
  .final-cta h2 { font-size: 42px; }
  .final-cta p { font-size: 16px; }
  .footer-top { align-items: flex-start; }
  .footer-links { gap: 15px; font-size: 11px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 9px; }
}
@media (max-width: 580px) {
  html { scroll-padding-top: 75px; }
  .container { width: calc(100% - 40px); }
  .header, .nav-wrap { height: 60px; }
  .nav-wrap { padding: 10px 18px; gap: 10px; }
  .brand { font-size: 18px; gap: 8px; letter-spacing: -.5px; }
  .brand-symbol { width: 22px; font-size: 26px; }
  .brand-si { font-size: 10px; }
  .nav-actions { gap: 10px; }
  .nav-actions .button { min-height: 34px; padding: 8px 12px; gap: 6px; font-size: 10px; }
  .nav-actions .button > span { font-size: 14px; }
  .menu-toggle { width: 25px; }
  .menu-toggle span { width: 19px; left: 3px; }
  .hero { width: calc(100% - 28px); padding-top: 69px; }
  .codex-app-icon { width: 68px; height: 68px; border-radius: 17px; margin-bottom: 28px; }
  .hero h1 { font-size: clamp(29px, 8.25vw, 42px); letter-spacing: -1.4px; line-height: 1.35; }
  .hero h2 { font-size: 21px; letter-spacing: -.5px; margin-top: 19px; }
  .hero-subtitle { max-width: 310px; font-size: 15px; line-height: 1.7; margin-top: 14px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { min-height: 44px; padding: 11px 22px; font-size: 12px; }
  .hero-models { margin-top: 43px; }
  .hero-models > p { font-size: 11px; }
  .model-wordmarks { flex-wrap: wrap; column-gap: 22px; row-gap: 5px; margin: 12px auto 0; max-width: 350px; }
  .model-wordmarks a { font-size: 17px; letter-spacing: -.6px; }
  .hero-atmosphere { height: 720px; opacity: .28; }
  .product-showcase { width: calc(100% - 24px); padding-top: 34px; }
  .desktop-window { border-radius: 12px; border-width: 1.5px; box-shadow: 0 18px 24px -16px #0009, 0 0 0 3px #00000008; }
  .window-toolbar { height: 30px; padding-inline: 9px; gap: 13px; }
  .traffic-lights { gap: 4px; }
  .traffic-lights i { width: 6px; height: 6px; }
  .window-title { font-size: 7px; }
  .toolbar-layout, .toolbar-arrows, .toolbar-plus { font-size: 12px; }
  .toolbar-arrows { display: none; }
  .workspace-body { grid-template-columns: 29px minmax(0, 1fr); min-height: 410px; }
  .workspace-sidebar { display: none; }
  .workspace-rail { gap: 19px; padding-top: 12px; }
  .workspace-rail a { width: 25px; font-size: 16px; }
  .rail-logo { width: 22px; height: 22px; line-height: 21px; font-size: 17px; border-radius: 6px; }
  .rail-divider { width: 16px; }
  .workspace-main { padding: 0 17px 16px; }
  .workspace-welcome { margin-top: 53px; }
  .welcome-symbol { width: 34px; height: 34px; font-size: 25px; margin-bottom: 15px; border-width: 1.5px; }
  .workspace-welcome h2 { font-size: 22px; letter-spacing: -.6px; }
  .image-caption { font-size: 9px; line-height: 1.8; margin-top: 18px; margin-bottom: 9px; }
  .section { padding-block: 66px; }
  .section-title h2, .faq-section > h2 { font-size: 30px; letter-spacing: -.85px; }
  .section-title p { font-size: 13px; margin-top: 18px; }
  .section-title { margin-bottom: 35px; }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-image { aspect-ratio: 1.3; padding: 28px; }
  .feature h3 { font-size: 20px; margin-top: 20px; }
  .feature > p { font-size: 13px; margin-top: 9px; }
  .mini-editor-toolbar { font-size: 8px; padding: 10px 12px; }
  .editor-lines { font-size: 8px; gap: 4px; padding-block: 15px; }
  .editor-lines b { width: 25px; }
  .editor-note { font-size: 10px; padding: 12px; }
  .editor-note small { font-size: 8px; }
  .workflow-window { width: 94%; padding: 18px 19px 0; }
  .workflow-title { font-size: 14px; }
  .workflow-row { padding-block: 12px; font-size: 11px; }
  .workflow-row small { font-size: 9px; }
  .workflow-bottom { font-size: 8px; padding-block: 12px; }
  .endpoint-window { width: 95%; padding: 23px 20px 0; }
  .endpoint-brand { font-size: 10px; }
  .endpoint-base { font-size: 22px; }
  .endpoint-item { padding-block: 13px; gap: 11px; }
  .endpoint-item code { font-size: 10px; }
  .endpoint-item > span:first-child { font-size: 7px; }
  .endpoint-foot { font-size: 8px; }
  .response-window { width: 100%; }
  .response-header { font-size: 9px; padding: 10px 14px; }
  .response-window pre { font-size: 8px; padding: 18px 13px; }
  .response-output { padding: 14px 12px; }
  .response-output p { font-size: 13px; }
  .steps-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps-grid > article { padding-left: 61px; position: relative; }
  .step-mark { position: absolute; left: 0; top: 0; width: 41px; height: 41px; font-size: 23px; }
  .steps-grid h3 { font-size: 20px; }
  .steps-grid p { font-size: 13px; margin-top: 8px; margin-bottom: 12px; }
  .base-url-copy code { font-size: 10px; }
  .base-url-copy { gap: 10px; }
  .integration-panel { margin-top: 39px; border-radius: 12px; }
  .integration-heading { padding: 23px 19px; align-items: flex-start; }
  .integration-heading h3 { font-size: 18px; }
  .integration-heading p { font-size: 10px; }
  .integration-heading > a { font-size: 10px; gap: 4px; white-space: nowrap; margin-top: 5px; }
  .integration-heading > a > span { font-size: 13px; }
  .code-toolbar { flex-wrap: wrap; padding: 12px; gap: 12px; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; font-size: 10px; padding-inline: 10px; }
  .code-options { justify-content: space-between; width: 100%; padding-left: 4px; }
  .code-panel pre { font-size: 10px; padding: 21px 17px; }
  .code-panel { min-height: 255px; }
  .code-footer { padding: 13px 16px; font-size: 8px; }
  .code-footer code { font-size: 8px; }
  .model-cards { grid-template-columns: 1fr; gap: 34px; }
  .model-card-art { aspect-ratio: 1.5; padding: 28px 34px; }
  .model-card-art > span { font-size: 21px; }
  .model-card-art strong { font-size: 87px; letter-spacing: -5px; }
  .model-card-art strong em { display: inline; font-size: 32px; letter-spacing: -1px; }
  .model-card h3 { font-size: 21px; margin-top: 19px; }
  .model-card p { font-size: 13px; }
  .models-note { margin-top: 33px; }
  .models-note p { font-size: 11px; }
  .resources-grid { grid-template-columns: 1fr; gap: 30px; }
  .resources-grid a { padding-top: 20px; }
  .resource-name { font-size: 24px; }
  .resources-grid p { font-size: 13px; margin-top: 11px; }
  .faq-section { gap: 28px; }
  .faqs summary { padding-block: 19px; font-size: 13px; gap: 18px; }
  .faqs details p { padding-right: 18px; font-size: 12px; }
  .final-cta-content { padding-block: 78px; }
  .final-cta h2 { font-size: 33px; letter-spacing: -1px; }
  .final-cta p { font-size: 14px; margin-top: 18px; margin-bottom: 24px; }
  .final-cta .button { font-size: 12px; min-height: 44px; }
  .footer { padding-top: 32px; }
  .footer-top { flex-direction: column; gap: 29px; padding-bottom: 26px; }
  .footer .brand { font-size: 20px; }
  .footer-links { gap: 24px; }
  .footer-bottom { font-size: 9px; gap: 11px; }
  .footer-bottom > p:last-child { max-width: 330px; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .hero-atmosphere video, .final-atmosphere video { display: none; }
}
