/* Homepage full-width layout (owner request 2026-11-06).
   The page was held to ~1100-1280px centred columns, which left wide empty
   margins on laptop and desktop screens. Loaded last on index.html only, so
   it overrides the shared caps without touching other pages. */
:root { --home-gutter: clamp(16px, 3vw, 56px); }

body.c42 { --max: 100%; }

.c42-wrap,
.c42-command-wrap,
#proof-loop .pl-wrap,
.c100-wrap,
.c100-live,
.cain-swarm-wrap,
#cain-workstation .cws-wrap {
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
}
.c42-wrap { padding-left: var(--home-gutter); padding-right: var(--home-gutter); }
.c100-wrap { padding-left: var(--home-gutter); padding-right: var(--home-gutter); }

.c42-command-desc,
.c42-download-area,
.c42-showcase-sub,
#cain-workstation .cws-stage-slide { max-width: none !important; }

/* The explainer video scales with width; keep it shorter than a laptop screen. */
#lv-player { max-width: min(100%, 1500px) !important; }

.c42-menu-panel { width: min(1600px, 96vw); }

/* Rolling banner hidden for now (owner request 2026-11-06). Remove this rule to bring it back. */
.c42-ticker { display: none !important; }

/* MCP Assessment button in the top bar (styled by class: clawx.click's CSP blocks inline styles). */
.c42-actions .c42-assess-btn { border-color: #38e8ff; color: #38e8ff; background: rgba(56, 232, 255, .08); margin-right: 6px; }
@media (max-width: 640px) {
  .c42-actions .c42-btn { white-space: nowrap; font-size: 12px; padding: 6px 9px; }
  .c42-actions { gap: 8px; }
}

/* "Learn CAIN-42 · free course" launcher bubble hidden on the homepages (owner request 2026-11-06).
   The Teacher still opens from any homepage button marked data-cain-teacher-open. */
.ctw .ctw-launch { display: none !important; }
