/* Public product pages: approved SOCEO paper, artwork and local glass.
   This final layer changes materials and type only. Native scene positioning,
   progress variables, transforms, controls and semantic status colors remain
   owned by the original page styles. */
:is(.mix-platform-page, .mix-apis-page, .mix-model-center-page,
    .mix-agents-page, .agent-detail-page, .mix-security-page, .mix-roadmap-page) {
  --product-paper: var(--soceo-brand-paper, #fdfdfb);
  --product-cream: var(--soceo-brand-cream, #f6f2ed);
  --product-ink: var(--soceo-brand-ink, #151517);
  --product-purple: var(--soceo-brand-purple, #7839ee);
  --product-deep: var(--soceo-brand-deep, #16033a);
  --product-line: var(--soceo-brand-line, #d9d1e5);
  --product-artwork: var(--soceo-brand-artwork, url('/assets/hero/soceo-glass/background-1600.webp'));
}

/* Resolve the incumbent page tokens locally; illustration-specific colors
   and the providers' colors in the model comparator keep their own roles. */
.mix-platform-page {
  --platform-violet: var(--product-purple);
  --platform-ink: var(--product-deep);
  --platform-paper: var(--product-paper);
  --platform-soft: var(--product-cream);
  --platform-border: var(--product-line);
}
.mix-apis-page {
  --apis-paper: var(--product-paper);
  --apis-cream: var(--product-cream);
  --apis-ink: var(--product-ink);
  --apis-violet: var(--product-purple);
  --apis-navy: var(--product-deep);
  --apis-line: var(--product-line);
}
.mix-model-center-page {
  --mc-paper: var(--product-paper);
  --mc-cream: var(--product-cream);
  --mc-ink: var(--product-ink);
  --mc-violet: var(--product-purple);
  --mc-violet-dark: #6728d4;
  --mc-line: var(--product-line);
}
.mix-agents-page {
  --agents-paper: var(--product-paper);
  --agents-cream: var(--product-cream);
  --agents-ink: var(--product-ink);
  --agents-violet: var(--product-purple);
  --agents-navy: var(--product-deep);
  --agents-border: var(--product-line);
}
.agent-detail-page {
  --agent-paper: var(--product-paper);
  --agent-ink: var(--product-ink);
  --agent-purple: var(--product-purple);
  --agent-border: var(--product-line);
}
.mix-security-page {
  --security-bg: var(--product-paper);
  --security-cream: var(--product-cream);
  --security-text: var(--product-ink);
  --security-violet: var(--product-purple);
  --security-navy: var(--product-deep);
  --security-line: var(--product-line);
}
.mix-roadmap-page {
  --roadmap-paper: var(--product-paper);
  --roadmap-cream: var(--product-cream);
  --roadmap-ink: var(--product-ink);
  --roadmap-violet: var(--product-purple);
  --roadmap-navy: var(--product-deep);
  --roadmap-border: var(--product-line);
}

/* Public headings share the approved compact Bricolage rhythm. These lists
   deliberately exclude headings inside the product demonstrations. */
.mix-platform-page :is(.mix-platform-overview-head h2, .mix-platform-section-copy h2,
    .mix-platform-motors-head h2, .mix-platform-final h2),
.mix-apis-page :is(.mix-apis-intro h2, .mix-apis-final h2),
.mix-model-center-page :is(.mix-model-center-section-heading h2, .mix-model-center-cta h2),
.mix-agents-page :is(.mix-agents-intro h2, .mix-agents-control-center__intro h2, .mix-agents-final h2),
.agent-detail-page :is(.agent-detail-intro h2, .agent-detail-feature h2, .agent-detail-operating__head h2,
    .agent-detail-deep__head h2, .agent-detail-security__head h2, .agent-detail-mechanism h2,
    .agent-detail-statement h2, .agent-detail-faq h2, .agent-detail-related h2, .agent-detail-final h2),
.mix-security-page :is(.mix-security-intro h2, .mix-governance-title, .mix-security-permissions__copy h2,
    .mix-security-agents__head h2, .mix-security-faq__intro h2, .mix-security-final h2),
.mix-roadmap-page :is(.mix-roadmap-timeline-intro h1, .mix-roadmap-cta h2) {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.mix-apis-page .mix-apis-hero h1,
.mix-model-center-page .mix-model-center-section-heading--comparator h1,
.mix-agents-page .mix-agents-hero h1,
.agent-detail-page .agent-detail-hero h1,
.mix-security-page .mix-security-hero h1 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.mix-platform-page :is(.mix-platform-kicker, .mix-platform-section-label p, .mix-platform-motors-head > p),
.mix-apis-page .mix-apis-eyebrow,
.mix-model-center-page .mix-model-center-kicker,
.mix-agents-page .mix-agents-control-center__intro small,
.agent-detail-page :is(.agent-detail-breadcrumb, .agent-detail-deep__head > span, .agent-detail-security__head > div > span),
.mix-security-page .mix-security-eyebrow,
.mix-roadmap-page .mix-roadmap-timeline-intro > p {
  color: var(--product-purple);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .12em;
}

/* Platform: the map remains a light diagram, with the same official artwork
   visible around its edge. No node, SVG path or timeline geometry changes. */
.mix-platform-page :is(.mix-platform-overview, .mix-platform-conecta, .mix-platform-controla) {
  background: var(--product-paper);
}
.mix-platform-page :is(.mix-platform-planeja, .mix-platform-motors) {
  background: var(--product-cream);
}
.mix-platform-page :is(.mix-platform-map, .mix-platform-context-map) {
  border-color: #ffffff40;
  border-radius: 20px;
  background: var(--product-purple) var(--product-artwork) center / cover no-repeat;
  box-shadow: 0 24px 60px #16033a14;
}
.mix-platform-page :is(.mix-platform-map, .mix-platform-context-map)::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: var(--product-paper);
  pointer-events: none;
}
.mix-platform-page .mix-platform-map::before {
  background:
    radial-gradient(circle at 50% 48%, #7839ee12, transparent 31%),
    linear-gradient(#7839ee08 1px, transparent 1px),
    linear-gradient(90deg, #7839ee08 1px, transparent 1px),
    var(--product-paper);
  background-size: auto, 32px 32px, 32px 32px, auto;
}
.mix-platform-page :is(.mix-platform-plan-panel, .mix-platform-control-panel) {
  border-color: var(--product-line);
  border-radius: 16px;
  background-color: var(--product-paper);
  box-shadow: 0 18px 44px #16033a0d;
}
.mix-platform-page .mix-platform-age {
  background: linear-gradient(120deg, #16033aeb, #16033aad), var(--product-artwork) center / cover no-repeat;
}
.mix-platform-page .mix-platform-age-flow {
  border-color: #ffffff40;
  border-radius: 20px;
  background-color: #16033acc;
}
.mix-platform-page .mix-platform-age :is(.mix-platform-section-label p, .mix-platform-section-index) {
  color: #ebe6fb;
}
.mix-platform-page .mix-platform-motor-card { border-radius: 16px; }
.mix-platform-page .mix-platform-motor-card[data-motor="controla"] :is(p, small, div > span) { color: #fff; }
.mix-platform-page .mix-platform-cta {
  border-radius: 6px;
  font-weight: 550;
}
.mix-platform-page .mix-platform-cta--primary { box-shadow: 0 12px 28px #7839ee24; }
.mix-platform-page .mix-platform-final {
  background: linear-gradient(130deg, #16033ace, #16033a66), var(--product-artwork) center / cover no-repeat;
}
.mix-platform-page .mix-platform-final .mix-platform-inner > p { color: #ebe6fb; }
.mix-platform-page .mix-platform-final .mix-platform-inner > span { color: #eee6fb; }

/* API: paper reading areas, the original light flow inside an artwork frame,
   and one glass tab bar above the existing code console. */
.mix-apis-page .mix-apis-hero { background: var(--product-cream); }
.mix-apis-page :is(.mix-apis-build, .mix-apis-faq) { background: var(--product-paper); }
.mix-apis-page .mix-apis-capabilities { background: var(--product-cream); }
.mix-apis-page .mix-apis-flow {
  border-color: #ffffff40;
  border-radius: 20px;
  background: var(--product-purple) var(--product-artwork) center / cover no-repeat;
  box-shadow: 0 24px 60px #16033a1a;
}
.mix-apis-page .mix-apis-flow::before {
  inset: 12px;
  border-radius: 12px;
  opacity: 1;
  background: radial-gradient(#7839ee20 .65px, transparent .65px), var(--product-paper);
  background-size: 18px 18px;
}
.mix-apis-page .mix-apis-module-card {
  border-color: var(--product-line);
  border-radius: 16px;
  background: var(--product-paper);
  box-shadow: 0 16px 40px #16033a0a;
}
.mix-apis-page .mix-apis-developer {
  background: linear-gradient(120deg, #16033aeb, #16033abf), var(--product-artwork) center / cover no-repeat;
}
.mix-apis-page .mix-apis-dev-console {
  border-color: #ffffff40;
  border-radius: 20px;
  background: #16033a70;
}
.mix-apis-page .mix-apis-tabs {
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), #16033ab3;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mix-apis-page .mix-apis-tabs button {
  color: #ebe6fb;
  border-radius: 6px;
  font-weight: 550;
}
.mix-apis-page .mix-apis-tabs button[aria-selected="true"] {
  color: #6728d4;
  border-color: #fff;
  background: #fff;
}
.mix-apis-page :is(.mix-apis-developer, .mix-apis-authority) .mix-apis-eyebrow { color: #ebe6fb; }
.mix-apis-page .mix-apis-cta {
  border-radius: 6px;
  font-weight: 550;
}
.mix-apis-page .mix-apis-final {
  background: linear-gradient(130deg, #16033acb, #16033a66), var(--product-artwork) center / cover no-repeat;
}
.mix-apis-page .mix-apis-final .mix-apis-eyebrow { color: #ebe6fb; }
.mix-apis-page .mix-apis-final__inner > p:not(.mix-apis-eyebrow) { color: #eee6fb; }
.mix-apis-page .mix-apis-cta--ghost {
  border-color: #ffffff60;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), #16033ab3;
}

/* Model center: the chart keeps its native white plotting field and provider
   colors. Brand belongs to its surround and the comparison controls. */
/* Release the fixed compositor layer only after the existing ready gate. */
html.mix-model-center-route.mix-page-ready:not(.mix-page-leaving) #mix-reload-shield { display: none; }
.mix-model-center-page .mix-model-center-comparator { background: var(--product-cream); }
.mix-model-center-page .mix-model-center-radar__frame {
  background: var(--product-purple) var(--product-artwork) center / cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 20px 52px #16033a14;
}
.mix-model-center-page .mix-model-center-radar__frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: var(--product-paper);
  pointer-events: none;
}
.mix-model-center-page .mix-model-center-radar canvas { position: relative; }
.mix-model-center-page .mix-model-center-chooser {
  padding: 20px;
  border: 1px solid #ffffff40;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), linear-gradient(#16033ae8, #16033ae8), var(--product-artwork) center / cover no-repeat;
  box-shadow: 0 18px 44px #16033a1a;
}
.mix-model-center-page .mix-model-center-chooser__heading p { color: #ebe6fb; }
.mix-model-center-page .mix-model-center-option {
  border-width: 1px;
  border-radius: 8px;
}
.mix-model-center-page .mix-model-center-stat {
  border-color: var(--product-line);
  border-radius: 12px;
  background: var(--product-paper);
}
.mix-model-center-page .mix-model-center-stat strong { font-weight: 650; letter-spacing: -.03em; }
.mix-model-center-page .mix-model-center-cases {
  background: linear-gradient(120deg, #16033af2, #16033ad6), var(--product-artwork) center / cover no-repeat;
}
.mix-model-center-page .mix-model-center-cases .mix-model-center-kicker { color: #ebe6fb; }
.mix-model-center-page .mix-model-center-cta { background: var(--product-cream); }
.mix-model-center-page .mix-model-center-cta__panel {
  border-color: #ffffff40;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(125deg, #16033ad9, #16033a66), var(--product-artwork) center / cover no-repeat;
}
.mix-model-center-page .mix-model-center-cta__panel .mix-model-center-kicker { color: #ebe6fb; }
.mix-model-center-page .mix-model-center-cta__panel > div > p:last-child { color: #eee6fb; }
.mix-model-center-page .mix-model-center-cta__panel > a {
  border: 1px solid #ffffff60;
  border-radius: 6px;
  font-weight: 550;
  background: linear-gradient(135deg, #ffffff33, #ffffff0d), #16033ab3;
}
.mix-model-center-page .mix-model-center-cta__panel > a:hover { background-color: #16033a; }

/* Agents: preserve every working artifact and its motion. The outer artwork
   frame and dark control surfaces provide the shared brand vocabulary. */
.mix-agents-page :is(.mix-agents-hero, .mix-agents-control-center, .mix-agents-examples) {
  background: var(--product-cream);
}
.mix-agents-page .mix-agents-surfaces { background: var(--product-paper); }
.mix-agents-page .mix-agents-hero-visual {
  border-radius: 20px;
  background: var(--product-purple) var(--product-artwork) center / cover no-repeat;
}
.mix-agents-page .mix-agents-hero-visual::before {
  inset: 12px;
  width: auto;
  height: auto;
  border-radius: 12px;
  background: var(--product-paper);
  transform: none;
}
.mix-agents-page .mix-agents-control-center__frame {
  border-color: #ffffff40;
  border-radius: 20px;
  background: var(--product-purple) var(--product-artwork) center / cover no-repeat;
}
.mix-agents-page .mix-agents-control-center__bar {
  background: linear-gradient(135deg, #ffffff22, #ffffff08), #16033ab3;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mix-agents-page .mix-agents-control-center__tabs { background: #16033acb; }
.mix-agents-page .mix-agents-control-center__tabs button { border-radius: 6px 6px 0 0; }
.mix-agents-page .mix-agents-control-center__tabs button[aria-selected="true"] {
  border-color: #fff;
  background: #fff;
  color: #6728d4;
}
.mix-agents-page .mix-agents-control-center__tabs button[aria-selected="true"] span { color: #6728d4; }
.mix-agents-page .mix-agents-control-center__tabs button:not([aria-selected="true"]) span { color: #ebe6fb; }
.mix-agents-page .mix-agents-example-tabs button > span { color: #665a76; }
.mix-agents-page .mix-agents-command { background: #16033aeb; }
.mix-agents-page .mix-agents-example-panel {
  border-color: var(--product-line);
  border-radius: 16px;
  background-color: var(--product-paper);
}
.mix-agents-page .mix-agents-cta { border-radius: 6px; font-weight: 550; }
.mix-agents-page .mix-agents-cta--dark {
  border: 1px solid #ffffff40;
  background: linear-gradient(135deg, #ffffff33, #ffffff0d), var(--product-deep);
}
.mix-agents-page .mix-agents-final {
  background: linear-gradient(130deg, #16033acb, #16033a66), var(--product-artwork) center / cover no-repeat;
}
.mix-agents-page .mix-agents-cta--violet {
  border-color: #ffffff60;
  color: #fff;
  background: linear-gradient(135deg, #ffffff33, #ffffff0d), #16033ab3;
}

/* All five agent detail pages use the same frame, while assistant, builder,
   handoff, governance and library scenes keep their own inner materials. */
.agent-detail-page :is(.agent-detail-hero, .agent-detail-feature, .agent-detail-related) {
  background: var(--product-cream);
}
.agent-detail-page .agent-detail-deep { background: var(--product-paper); }
.agent-detail-page .agent-detail-visual {
  border: 12px solid transparent;
  border-radius: 20px;
  background: linear-gradient(#fff, #fff) padding-box, var(--product-artwork) center / cover border-box no-repeat;
  box-shadow: 0 22px 52px #16033a14;
}
.agent-detail-page .agent-detail-visual--flow {
  background: linear-gradient(#211537, #211537) padding-box, var(--product-artwork) center / cover border-box no-repeat;
}
.agent-detail-page .agent-detail-visual figcaption {
  border-color: #ffffff30;
  color: #ebe6fb;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), var(--product-deep);
}
.agent-detail-page .agent-detail-scene-controls {
  border-color: #ffffff30;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), #16033ae6;
}
.agent-detail-page .agent-detail-scene-controls__count { color: #ebe6fb; }
.agent-detail-page .agent-detail-scene-controls__label { color: #fff; }
.agent-detail-page .agent-detail-scene-controls button {
  border-color: #ffffff60;
  color: #fff;
  background: #ffffff0d;
}
.agent-detail-page .agent-detail-scene-controls button:hover { background: #ffffff26; }
.agent-detail-page :is(.agent-detail-question-tabs, .agent-detail-library-filters) {
  padding: 12px;
  border-radius: 12px;
  background: var(--product-purple) var(--product-artwork) center / cover no-repeat;
}
.agent-detail-page :is(.agent-detail-question-tabs, .agent-detail-library-filters) button {
  border-color: #ffffff40;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #ffffff33, #ffffff0d), #16033ab3;
  font-weight: 550;
}
.agent-detail-page .agent-detail-question-tabs button[aria-selected="true"],
.agent-detail-page .agent-detail-library-filters button[aria-pressed="true"] {
  border-color: #fff;
  color: #6728d4;
  background: #fff;
}
.agent-detail-page :is(.agent-detail-builder__steps, .agent-detail-flow-nav, .agent-detail-deep__choices) button[aria-selected="true"] {
  border-color: #6728d4;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), var(--product-deep);
}
.agent-detail-page :is(.agent-detail-answer, .agent-detail-builder__panel, .agent-detail-deep__panel, .agent-detail-policy) {
  border-color: var(--product-line);
  border-radius: 16px;
}
.agent-detail-page .agent-detail-operating {
  background: linear-gradient(120deg, #16033aeb, #16033acc), var(--product-artwork) center / cover no-repeat;
}
.agent-detail-page .agent-detail-operating__grid { border-radius: 16px; }
.agent-detail-page .agent-detail-operating__grid article { background: #16033ad9; }
.agent-detail-page .agent-detail-final {
  color: #fff;
  background: linear-gradient(130deg, #16033ad6, #16033a66), var(--product-artwork) center / cover no-repeat;
}
.agent-detail-page .agent-detail-final p { color: #eee6fb; }
.agent-detail-page .agent-detail-button { border-radius: 6px; font-weight: 550; }
.agent-detail-page .agent-detail-final .agent-detail-button {
  border: 1px solid #ffffff60;
  background: linear-gradient(135deg, #ffffff33, #ffffff0d), #16033ab3;
}

/* Security: the diagrams gain artwork frames; supported/building/future,
   allow/block/review labels and certification objectives are untouched. */
.mix-security-page .mix-security-hero { background: var(--product-cream); }
.mix-security-page :is(.mix-security-hero-chain, .mix-security-boundary-artifact, .mix-security-permissions__diagram) {
  border-color: #ffffff40;
  border-radius: 20px;
  background: var(--product-purple) var(--product-artwork) center / cover no-repeat;
}
.mix-security-page .mix-security-hero-chain__head > h2,
.mix-security-page .mix-security-boundary-artifact figcaption,
.mix-security-page .mix-security-permissions__diagram figcaption { color: #fff; }
.mix-security-page .mix-security-permissions__diagram figcaption > span { color: #eee6fb; }
.mix-security-page .mix-security-hero-chain figcaption {
  border: 1px solid #ffffff30;
  color: #eee6fb;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), #16033ab3;
}
.mix-security-page .mix-security-chapters {
  border-color: #ffffff30;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), var(--product-deep);
}
.mix-security-page .mix-security-chapters a { color: #ebe6fb; font-weight: 550; }
.mix-security-page .mix-security-chapters a:hover { color: #fff; }
.mix-security-page .mix-security-chapters a:focus-visible { outline-color: #fff; }
.mix-security-page :is(.mix-security-current, .mix-security-objectives, .mix-security-controls, .mix-security-agents) {
  background: var(--product-cream);
}
.mix-security-page :is(.mix-security-current__board article, .mix-security-objective) {
  border-color: var(--product-line);
  border-radius: 16px;
  background: var(--product-paper);
}
.mix-security-page .mix-security-control[aria-selected="true"] {
  border-color: #6728d4;
  background: linear-gradient(135deg, #ffffff22, #ffffff08), var(--product-deep);
}
.mix-security-page .mix-security-control[aria-selected="true"] :is(.mix-security-control__index, .mix-security-control__label) {
  color: #fff;
}
.mix-security-page .mix-security-control[aria-selected="true"] > i { border-color: #ebe6fb; }
.mix-security-page .mix-security-cta { border-radius: 6px; font-weight: 550; }
.mix-security-page .mix-security-closing {
  background: linear-gradient(130deg, #16033ad6, #16033a66), var(--product-artwork) center / cover no-repeat;
}
.mix-security-page .mix-security-final .mix-security-eyebrow { color: #ebe6fb; }

/* Roadmap: one artwork surround for the timeline, preserving its two tracks,
   phase controls, progression, current/future states and company distinction. */
.mix-roadmap-page .mix-roadmap-content { background: var(--product-cream); }
.mix-roadmap-page .mix-roadmap-timeline-intro > p {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.mix-roadmap-page .mix-roadmap-timeline {
  border-color: #ffffff40;
  border-radius: 20px;
  background: var(--product-purple) var(--product-artwork) center / cover no-repeat;
  box-shadow: 0 22px 56px #16033a14;
}
.mix-roadmap-page .mix-roadmap-timeline::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px;
  border-radius: 12px;
  background: var(--product-paper);
  pointer-events: none;
}
.mix-roadmap-page .mix-roadmap-phase-detail {
  border-color: #ffffff40;
  border-radius: 16px;
  background: linear-gradient(130deg, #6728d4a6, #16033ac4), var(--product-artwork) center / cover no-repeat;
}
.mix-roadmap-page .mix-roadmap-phase-detail[data-phase-kind="company"] {
  background: linear-gradient(130deg, #16033af2, #16033ad6), var(--product-artwork) center / cover no-repeat;
}
.mix-roadmap-page .mix-roadmap-future-note { background: var(--product-paper); border-color: var(--product-line); }
.mix-roadmap-page .mix-roadmap-cta {
  background: linear-gradient(130deg, #16033ad6, #16033a66), var(--product-artwork) center / cover no-repeat;
}
.mix-roadmap-page .mix-roadmap-cta-inner > div > p { color: #ebe6fb; }
.mix-roadmap-page .mix-roadmap-cta-inner > div > span { color: #eee6fb; }
.mix-roadmap-page .mix-roadmap-cta-actions :is(button, a) { border-radius: 6px; font-weight: 550; }
.mix-roadmap-page .mix-roadmap-cta-actions a:not([data-roadmap-feedback]) {
  border-color: #ffffff60;
  background: linear-gradient(135deg, #ffffff33, #ffffff0d), #16033ab3;
}
.mix-platform-page .mix-platform-final :is(a, button):focus-visible,
.mix-apis-page :is(.mix-apis-dev-console, .mix-apis-final) :is(a, button):focus-visible,
.mix-model-center-page :is(.mix-model-center-chooser, .mix-model-center-cta__panel) :is(a, button):focus-visible,
.mix-agents-page :is(.mix-agents-control-center__frame, .mix-agents-final) :is(a, button):focus-visible,
.agent-detail-page :is(.agent-detail-scene-controls, .agent-detail-final) :is(a, button):focus-visible,
.mix-security-page .mix-security-closing :is(a, button):focus-visible,
.mix-roadmap-page .mix-roadmap-cta :is(a, button):focus-visible { outline-color: #fff; }

@media (max-width: 760px) {
  .mix-platform-page :is(.mix-platform-overview-head h2, .mix-platform-section-copy h2, .mix-platform-motors-head h2, .mix-platform-final h2),
  .mix-apis-page :is(.mix-apis-intro h2, .mix-apis-final h2),
  .mix-model-center-page :is(.mix-model-center-section-heading h2, .mix-model-center-cta h2),
  .mix-agents-page :is(.mix-agents-intro h2, .mix-agents-control-center__intro h2, .mix-agents-final h2),
  .agent-detail-page :is(.agent-detail-intro h2, .agent-detail-feature h2, .agent-detail-operating__head h2,
      .agent-detail-deep__head h2, .agent-detail-security__head h2, .agent-detail-mechanism h2,
      .agent-detail-statement h2, .agent-detail-faq h2, .agent-detail-related h2, .agent-detail-final h2),
  .mix-security-page :is(.mix-security-intro h2, .mix-governance-title, .mix-security-permissions__copy h2,
      .mix-security-agents__head h2, .mix-security-faq__intro h2, .mix-security-final h2),
  .mix-roadmap-page :is(.mix-roadmap-timeline-intro h1, .mix-roadmap-cta h2) { font-size: 36px; }
  .mix-apis-page .mix-apis-hero h1,
  .mix-model-center-page .mix-model-center-section-heading--comparator h1,
  .mix-agents-page .mix-agents-hero h1,
  .agent-detail-page .agent-detail-hero h1,
  .mix-security-page .mix-security-hero h1 { font-size: 40px; }
  .mix-model-center-page .mix-model-center-chooser { padding: 16px; }
  .mix-model-center-page .mix-model-center-mobile-control label { color: var(--product-purple); font-weight: 650; }
  .mix-model-center-page .mix-model-center-mobile-control select { border-color: var(--product-purple); border-radius: 6px; background: var(--product-paper); }
  .agent-detail-page .agent-detail-visual { border-width: 8px; border-radius: 16px; }
  .mix-platform-page :is(.mix-platform-map, .mix-platform-context-map)::before,
  .mix-apis-page .mix-apis-flow::before,
  .mix-model-center-page .mix-model-center-radar__frame::before,
  .mix-agents-page .mix-agents-hero-visual::before,
  .mix-roadmap-page .mix-roadmap-timeline::before { inset: 8px; }
}
@media (max-width: 380px) {
  .mix-platform-page .mix-platform-controla-layout { grid-template-columns: minmax(0, 1fr); }
  .mix-platform-page .mix-platform-controla-layout > * { min-width: 0; }
  .mix-platform-page .mix-platform-controla-layout h2 { font-size: clamp(28px, 8.5vw, 36px); }
  .mix-apis-page .mix-apis-hero h1,
  .mix-model-center-page .mix-model-center-section-heading--comparator h1,
  .mix-agents-page .mix-agents-hero h1,
  .agent-detail-page .agent-detail-hero h1,
  .mix-security-page .mix-security-hero h1 { font-size: 36px; }
}
