
/*
CP1 Reality OS V3.3.7 — Hero Motion + Audio QA
Scope: public preview only.
No autoplay.  only.
*/

.hero,
.hero-section,
.landing-hero,
section.hero,
main > section:first-of-type {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero h1,
.hero-section h1,
.landing-hero h1,
main > section:first-of-type h1 {
  font-size: clamp(2.55rem, 7.2vw, 6.4rem) !important;
  line-height: 0.92 !important;
  max-width: 980px !important;
  margin-left: auto;
  margin-right: auto;
}

.hero h2,
.hero-section h2,
.landing-hero h2,
main > section:first-of-type h2 {
  font-size: clamp(1.35rem, 3.2vw, 2.9rem) !important;
  line-height: 1.04 !important;
  max-width: 980px !important;
  margin-left: auto;
  margin-right: auto;
}

.hero .lead,
.hero-section .lead,
.landing-hero .lead,
main > section:first-of-type .lead {
  font-size: clamp(1rem, 1.7vw, 1.22rem) !important;
  margin-top: 0.8rem !important;
}

.cp1-hero-orbit-v336 {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 42%;
  width: min(78vw, 860px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  opacity: 0.72;
  pointer-events: none;
  filter: drop-shadow(0 0 38px rgba(22, 213, 255, 0.18));
}

.cp1-hero-orbit-v336::before,
.cp1-hero-orbit-v336::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 999px;
  border: 1px solid rgba(124, 246, 255, 0.28);
  box-shadow:
    0 0 52px rgba(22, 213, 255, 0.16),
    inset 0 0 72px rgba(31, 111, 255, 0.08);
  animation: cp1OrbitSpin 34s linear infinite;
}

.cp1-hero-orbit-v336::after {
  inset: 22%;
  border-style: dashed;
  opacity: 0.76;
  animation-duration: 22s;
  animation-direction: reverse;
}

.cp1-hero-orbit-v336 span {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0.42rem 0.66rem;
  border: 1px solid rgba(124, 246, 255, 0.20);
  border-radius: 999px;
  background: rgba(5, 16, 32, 0.56);
  color: rgba(234, 246, 255, 0.72);
  font-size: clamp(0.65rem, 1vw, 0.82rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.cp1-hero-orbit-v336 span:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(-40%) translateX(330px) rotate(0deg); }
.cp1-hero-orbit-v336 span:nth-child(2) { transform: translate(-50%, -50%) rotate(72deg) translateY(-40%) translateX(330px) rotate(-72deg); }
.cp1-hero-orbit-v336 span:nth-child(3) { transform: translate(-50%, -50%) rotate(144deg) translateY(-40%) translateX(330px) rotate(-144deg); }
.cp1-hero-orbit-v336 span:nth-child(4) { transform: translate(-50%, -50%) rotate(216deg) translateY(-40%) translateX(330px) rotate(-216deg); }
.cp1-hero-orbit-v336 span:nth-child(5) { transform: translate(-50%, -50%) rotate(288deg) translateY(-40%) translateX(330px) rotate(-288deg); }

.cp1-theme-control-v336 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem auto 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(124, 246, 255, 0.20);
  border-radius: 999px;
  background: rgba(5, 16, 32, 0.52);
  color: rgba(234, 246, 255, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.cp1-theme-control-v336 button {
  border-radius: 999px;
  border: 1px solid rgba(124, 246, 255, 0.30) !important;
  background: linear-gradient(135deg, rgba(31, 111, 255, 0.88), rgba(22, 213, 255, 0.88)) !important;
  color: #02101f !important;
  font-weight: 750;
  cursor: pointer;
  padding: 0.55rem 0.85rem;
}

.cp1-theme-control-v336 small {
  color: rgba(234, 246, 255, 0.66);
}

.cp1-theme-control-v336 audio {
  width: 210px;
  height: 34px;
}

@keyframes cp1OrbitSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 780px) {
  .cp1-hero-orbit-v336 {
    width: 118vw;
    top: 38%;
    opacity: 0.42;
  }

  .cp1-hero-orbit-v336 span {
    display: none;
  }

  .hero h1,
  .hero-section h1,
  .landing-hero h1,
  main > section:first-of-type h1 {
    font-size: clamp(2.35rem, 13vw, 4.3rem) !important;
  }

  .hero h2,
  .hero-section h2,
  .landing-hero h2,
  main > section:first-of-type h2 {
    font-size: clamp(1.18rem, 6vw, 2rem) !important;
  }

  .cp1-theme-control-v336 {
    flex-direction: column;
    border-radius: 1.2rem;
    width: min(100%, 330px);
  }

  .cp1-theme-control-v336 audio {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp1-hero-orbit-v336::before,
  .cp1-hero-orbit-v336::after {
    animation: none !important;
  }
}

/* CP1 V3.3.8 — Warm Human Balance Hero QA
   Scope: preview-only typography/copy polish. Production is not touched. */
:root {
  --cp1-human-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  font-family: var(--cp1-human-font);
  letter-spacing: -0.012em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

h1,
.hero h1,
[class*="hero"] h1 {
  font-family: var(--cp1-human-font);
  letter-spacing: -0.052em !important;
  line-height: 0.94;
  font-weight: 660;
}

h2,
.hero h2,
[class*="hero"] h2 {
  font-family: var(--cp1-human-font);
  letter-spacing: -0.035em !important;
  line-height: 1.04;
  font-weight: 620;
}

h3,
p,
li,
a,
button {
  font-family: var(--cp1-human-font);
  letter-spacing: -0.006em;
}

[class*="eyebrow"],
[class*="kicker"],
[class*="label"],
[class*="badge"],
[class*="pill"],
[class*="tag"] {
  letter-spacing: 0.075em !important;
}

.cp1-v338-human-hero-note,
.cp1-v338-human-category {
  max-width: 780px;
  margin: 0.65rem auto 0;
  font-family: var(--cp1-human-font);
  text-wrap: balance;
}

.cp1-v338-human-hero-note {
  font-size: clamp(1.02rem, 1.85vw, 1.3rem);
  line-height: 1.42;
  font-weight: 520;
  opacity: 0.92;
}

.cp1-v338-human-category {
  font-size: clamp(0.92rem, 1.35vw, 1.06rem);
  line-height: 1.52;
  opacity: 0.74;
}

@media (max-width: 720px) {
  h1,
  .hero h1,
  [class*="hero"] h1 {
    letter-spacing: -0.038em !important;
    line-height: 0.98;
  }

  h2,
  .hero h2,
  [class*="hero"] h2 {
    letter-spacing: -0.024em !important;
    line-height: 1.08;
  }

  .cp1-v338-human-hero-note,
  .cp1-v338-human-category {
    max-width: 92vw;
    text-align: center;
  }
}

/* CP1 V3.3.8 warm human hero typography override */
html,
body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

h1,
.hero-title,
.hero h1,
.cp1-hero-title {
  letter-spacing: -0.045em;
  line-height: 0.96;
  font-weight: 680;
  text-wrap: balance;
}

.hero-subtitle,
.hero p,
.cp1-hero-subtitle,
.lead,
.subtitle {
  letter-spacing: -0.018em;
  line-height: 1.58;
  font-weight: 430;
  text-wrap: balance;
}

.eyebrow,
.kicker,
.hero-kicker,
.badge,
.pill,
nav,
.nav-link {
  letter-spacing: 0.045em;
}

button,
.button,
a.button,
.cta,
.audio-toggle,
.music-toggle {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.006em;
}

/* CP1 V3.3.8 home navigation and warm human typography final guard */
.cp1-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 560;
}

html,
body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.014em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

h1,
.hero-title,
.hero h1,
.cp1-hero-title {
  letter-spacing: -0.044em;
  line-height: 0.96;
  font-weight: 680;
  text-wrap: balance;
}

.hero-subtitle,
.hero p,
.cp1-hero-subtitle,
.lead,
.subtitle {
  letter-spacing: -0.018em;
  line-height: 1.58;
  font-weight: 430;
  text-wrap: balance;
}

