/* CorTeX product and documentation pages share ToolTech's Uniform palette. */
.cortex-site { --page-accent:#86bdcd; }
.cortex-site .header { border-bottom:0; }
.product-masthead { background:linear-gradient(110deg,#193044,#203b4d); border-bottom:1px solid #496273; }
.product-title { display:flex; align-items:center; justify-content:space-between; padding:26px 0 22px; }
.product-title>a { font-size:34px; letter-spacing:-.04em; color:var(--heading); text-decoration:none; }
.product-title>a span { display:block; font-size:11px; letter-spacing:.05em; color:#a6bfce; margin-top:2px; }
.cortex-nav { gap:32px; border-top:1px solid #65829933; }
.cortex-nav a { min-height:54px; border-bottom:2px solid transparent; font-size:13px; }
.cortex-nav a[aria-current="page"] { color:#e6f5fc; border-bottom-color:#86bdcd; }
.cortex-hero { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:60px; padding-block:82px 88px; }
.cortex-hero h1 { font-size:clamp(34px,3.5vw,54px); line-height:1.13; font-weight:500; margin-top:22px; }
.cortex-hero h1 span { color:#bad8e6; }
.lead { font-size:19px; line-height:1.7; color:#c0d1db; max-width:52ch; margin-top:26px; }
.cortex-hero .product-links { margin-top:30px; }
.model-visual { min-width:0; background:radial-gradient(ellipse,#31566a55,transparent 70%); }
.model-visual .header-network { position:relative; inset:auto; width:100%; height:auto; opacity:.9; mask-image:none; translate:none; }
.model-route { display:flex; align-items:center; justify-content:space-between; gap:8px; border-block:1px solid #58728466; padding:18px 0; font:10px/1.6 ui-monospace,monospace; letter-spacing:.1em; color:#a9ccdc; }
.model-route i { font-style:normal; opacity:.5; }
.model-visual p { color:#90aebe; font-size:12px; line-height:1.8; padding-top:20px; }
.library-section { padding-block:74px; border-top:1px solid #39505f; }
.chapter-heading { max-width:760px; margin-bottom:42px; }
.chapter-heading h2,.library-section h2,.authoring-band h2 { font-size:clamp(28px,3vw,40px); font-weight:500; margin:12px 0 24px; }
.chapter-heading>p:last-child { color:#bfcbd4; max-width:66ch; }
.component-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:38px 36px; }
.component { border-top:1px solid #65829955; padding-top:20px; min-width:0; }
.component h3 { font-size:24px; font-weight:500; margin:14px 0; }
.component p { color:#bfcbd4; font-size:15px; line-height:1.75; }
.component .product-links { gap:8px 18px; }
.authoring-band { background:#1b3040; padding-block:70px; border-block:1px solid #49627366; }
.authoring-layout { display:grid; grid-template-columns:.85fr 1.2fr; gap:70px; align-items:start; }
.authoring-layout p { color:#bfcbd4; margin-bottom:20px; }
.authoring-layout>div:first-child>a { font-size:14px; }
.code-example { min-width:0; background:#12222f; border:1px solid #39505f; padding:22px; }
.code-options { display:flex; gap:24px; border-bottom:1px solid #39505f; margin-bottom:20px; }
.code-options a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; text-decoration:none; border-bottom:2px solid transparent; }
.code-options [aria-selected="true"] { color:#eff8fb; border-color:#86bdcd; }
.code-example h3 { font-size:18px; margin-bottom:14px; }
pre { font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace; color:#b9dce8; overflow:auto; margin:0 0 24px; tab-size:4; }
.code-note { font-size:12px; line-height:1.7; margin:20px 0 0!important; color:#9fb5c4!important; }
.learning-layout,.documentation-callout { display:grid; grid-template-columns:1fr 1.25fr; gap:70px; }
.learning-layout h3 { font-size:22px; margin:12px 0; font-weight:500; }
.learning-layout p { color:#bfcbd4; margin-bottom:30px; }
.learning-layout a { font-size:14px; }
.documentation-callout p { color:#bfcbd4; }
.doc-links a { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:18px 0; border-bottom:1px solid #39505f; text-decoration:none; color:#c7e4f1; }
.doc-links a:hover { color:#fff; }
.document-intro { padding-block:58px 48px; }
.document-intro h1 { font-size:clamp(36px,4vw,56px); font-weight:500; margin-top:18px; }
.resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding-bottom:65px; }
.resource { display:flex; flex-direction:column; border:1px solid #39505f; background:#1a2e3d; padding:28px; color:inherit; text-decoration:none; }
.resource:hover { border-color:#86bdcd; }
.resource h2 { font-size:26px; font-weight:500; margin:20px 0; }
.resource p { color:#bfcbd4; margin-bottom:24px; font-size:15px; }
.resource>span:last-child { color:#afd3e3; margin-top:auto; font-size:14px; }
.table-scroll { overflow:auto; margin-top:32px; }
table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
th,td { padding:16px 18px; border-bottom:1px solid #39505f; vertical-align:top; }
th:first-child { padding-left:0; }
td:last-child { min-width:185px; }
tbody th { font-weight:500; color:#c9e1ed; min-width:155px; }
td { color:#bfcbd4; }
.scope-note { color:#a9bdca; font-size:14px; max-width:80ch; margin-top:36px; }
.manual-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:64px; align-items:start; padding-bottom:80px; }
.manual-toc { display:flex; flex-direction:column; flex-wrap:nowrap; position:sticky; top:24px; gap:0; border-top:1px solid #39505f; }
.manual-toc a { display:flex; min-height:44px; padding:8px 0; font-size:13px; border-bottom:1px solid #39505f55; }
.manual-content { max-width:820px; min-width:0; }
.manual-content section { scroll-margin-top:28px; padding:0 0 48px; }
.manual-content section+section { border-top:1px solid #39505f; padding-top:40px; }
.manual-content h2 { font-size:30px; font-weight:500; margin-bottom:24px; }
.manual-content h3 { font-size:22px; font-weight:500; margin:28px 0 16px; }
.manual-content p,.manual-content li,.manual-content dd { color:#c3ced6; line-height:1.8; }
.manual-content p { margin-bottom:20px; }
.manual-content pre { background:#10212e; border:1px solid #39505f; padding:22px; }
.manual-content ol { padding-left:22px; margin-bottom:24px; }
.manual-content li { padding-left:7px; margin-bottom:8px; }
.manual-content dt { color:#d4e7ef; margin-top:16px; }
.manual-content dd { margin:6px 0 24px; }
.manual-content code { font-size:.87em; }
.manual-content pre code { font-size:inherit; }
@media(prefers-reduced-motion:no-preference) {
  .cortex-site.motion-ready .model-visual>.header-network { translate:0 calc(var(--diagram-travel,0) * -18px); }
}
@media(max-width:1000px) {
  .cortex-hero { gap:30px; }
  .component-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .authoring-layout { gap:32px; }
  .resource-grid { gap:14px; }
  .resource { padding:22px; }
  .manual-layout { grid-template-columns:170px minmax(0,1fr); gap:32px; }
  .cortex-nav { gap:22px; }
}
@media(max-width:700px) {
  .cortex-hero,.authoring-layout,.learning-layout,.documentation-callout { grid-template-columns:1fr; gap:36px; }
  .cortex-hero { padding-block:44px; }
  .cortex-hero h1 { font-size:36px; }
  .model-visual { max-width:500px; }
  .component-grid,.resource-grid { grid-template-columns:1fr; }
  .product-title { padding-block:20px; }
  .product-title>.eyebrow { display:none; }
  .cortex-nav { gap:0 22px; padding-block:5px; }
  .cortex-nav a { min-height:44px; font-size:12px; }
  .library-section { padding-block:45px; }
  .lead { font-size:17px; }
  .authoring-band { padding-block:44px; }
  .code-example { padding:16px; }
  .manual-layout { display:block; }
  .manual-toc { position:static; margin-bottom:36px; }
  .document-intro { padding-block:40px; }
  .manual-content pre { padding:14px; }
  .manual-content h2 { font-size:27px; }
}
@media(max-height:600px) { .manual-toc { position:static; } }

.product-title .cortex-identity { display:flex; align-items:center; gap:12px; }
.product-title .cortex-identity img { flex:none; }
.product-title .cortex-name { display:block; font:inherit; letter-spacing:inherit; color:var(--heading); margin:0; }
.product-title .cortex-name small { display:block; font-size:11px; letter-spacing:.05em; color:#a6bfce; margin-top:4px; }
@media(max-width:700px) { .product-title .cortex-identity img { width:56px; height:56px; } }
