/* ProAI Homepage Golden Assembly R1.2 — assembly-only clean shell.
   Purpose: document tokens, exact recovered shared dependencies, and no component geometry overrides.
   Frozen component product CSS remains authoritative. */

:root {
  --bg: #050506;
  --ai-cyan: #5DE2FF;
  --hero-home-accent: #8EE7FF;
  --web-blue: #007AFF;
  --header-h: 85px;
  --max-width: 1600px;
  --border: rgba(255,255,255,.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-lunar: cubic-bezier(.16,1,.3,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --silver: #E0E0E0;
  --text-main: #FFFFFF;
  --text-muted: rgba(255,255,255,.58);
  --text-soft: rgba(255,255,255,.38);
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; padding: 0; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; padding: 0; min-width: 0; background: var(--bg); color: var(--text-main); font-family: var(--font); }
main { display: block; width: 100%; min-width: 0; }

/* Exact shared accessibility dependency recovered from homepage-core-hardening-v1.css. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5000;
  padding: 12px 16px;
  border: 1px solid rgba(93, 226, 255, 0.68);
  border-radius: 6px;
  background: #050506;
  color: #fff;
  font: 700 14px/1.2 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid #5de2ff;
  outline-offset: 3px;
}
#main-content:focus { outline: none; }

/* Only the surviving Hero declaration from the accepted donor's commercial layer.
   Hero R3 loads after this file and remains the final geometry authority. */
#hero .hero-label { max-width: 100%; line-height: 1.5; }

/* Proven Hero + Cube review contract. Dimensions remain owned by Hero R3 CSS. */
#hero #cube-canvas { touch-action: none; }
#hero #runtime-status { display: none !important; }

/* Clean downstream subset preserved from the Golden base without legacy monolith globals. */
.proai-golden-r12-downstream { display: block; width: 100%; min-width: 0; }

/* Exact RU narrow-screen resilience rule recovered from homepage-core-hardening-v1.css. */
@media (max-width: 480px) {
  body.lang-ru .hero-left h1 {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.lang-ru .hero-left h1 span[style*="white-space:nowrap"] {
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: auto;
  }
}

/* Intentionally no generic section/header/footer/figure/blockquote/h1/h2/h3/p/a/img/ul/ol/button/canvas layout rules. */
