/* NOVYRA: distinct art direction (not gold-on-black agency template) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  touch-action: manipulation;
}

:root {
  --ink: #050508;
  --ink-2: #0c0b12;
  --surface: #12111a;
  --accent: #2dd4bf;
  --accent-2: #7c6cff;
  --accent-soft: rgba(45, 212, 191, 0.15);
  --accent-glow: rgba(124, 108, 255, 0.35);
  --text: #f4f3f8;
  --text-muted: #9b99ab;
  --card: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --max: 1120px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-hero-brand: "Cormorant Garamond", "Times New Roman", serif;
  --novyra-safe-top: env(safe-area-inset-top, 0px);
  --novyra-safe-bottom: env(safe-area-inset-bottom, 0px);
  --novyra-safe-left: env(safe-area-inset-left, 0px);
  --novyra-safe-right: env(safe-area-inset-right, 0px);
  /* Fixed navbar height (keep in sync with body padding-top + mobile menu top padding; home uses padding-top: 0 + hero offset). Includes top safe area when viewport-fit=cover. */
  --novyra-nav-h: calc(88px + var(--novyra-safe-top));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--novyra-nav-h) + 8px);
  color-scheme: dark;
  overflow-x: clip;
}

body {
  color: var(--text);
  padding-top: var(--novyra-nav-h);
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 100% 70% at 10% -10%, rgba(124, 108, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(45, 212, 191, 0.12), transparent 50%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 38%, #020204 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

/* Home: hero is the first in-flow block with padding-top: 0 on body so cosmos paints from y=0
   (visible through the glass nav). Body gradients still align with .hero-cosmos for scroll. */
body.page-home {
  padding-top: 0;
  background-image:
    radial-gradient(ellipse 55% 40% at 22% 5%, rgba(124, 108, 255, 0.34), transparent 58%),
    radial-gradient(ellipse 50% 36% at 78% 4%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(ellipse 100% 70% at 10% -10%, rgba(124, 108, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(45, 212, 191, 0.12), transparent 50%),
    linear-gradient(180deg, #050508 0%, var(--ink-2) 14%, var(--ink) 38%, #020204 100%);
}

@media (min-width: 901px) {
  body.page-home .navbar {
    background: linear-gradient(
      180deg,
      rgba(6, 5, 10, 0.9) 0%,
      rgba(6, 5, 10, 0.76) 58%,
      rgba(6, 5, 10, 0.52) 100%
    );
  }
}

/* ========================= */
/* INTRO */
/* ========================= */

.intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 40% 40%, rgba(124, 108, 255, 0.2), transparent 55%),
    radial-gradient(circle at 60% 60%, rgba(45, 212, 191, 0.12), transparent 50%),
    var(--ink);
  pointer-events: none;
}

.intro-title {
  font-family: var(--font-body);
  font-size: clamp(36px, 9vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  padding-bottom: 0.06em;
  overflow: visible;
}

.intro-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: introBar 1.1s ease-out 0.2s both;
}

.intro-title--lockup {
  font-size: clamp(22px, 5.2vw, 46px);
  letter-spacing: 0.08em;
  text-align: center;
  max-width: min(94vw, 560px);
  line-height: 1.18;
  padding-bottom: 0.08em;
}

.intro-title--lockup::after {
  width: min(120px, 40vw);
  margin-top: 20px;
}

@keyframes introBar {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ========================= */
/* NAV */
/* ========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: calc(14px + var(--novyra-safe-top));
  padding-right: calc(36px + var(--novyra-safe-right));
  padding-bottom: 14px;
  padding-left: calc(36px + var(--novyra-safe-left));
  background: rgba(6, 5, 10, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: none;
  /* Kill 1px “ink” seam: flat body/hero base under the bar vs compositing gaps. */
  box-shadow: 0 1px 0 var(--ink);
}

/* Soft gradient edge under nav (matches .section-divider treatment) */
.navbar::before {
  content: none;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(88%, 760px);
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(45, 212, 191, 0.15) 8%,
    rgba(45, 212, 191, 0.55) 24%,
    rgba(167, 159, 255, 0.78) 48%,
    rgba(94, 234, 212, 0.5) 52%,
    rgba(124, 108, 255, 0.75) 76%,
    rgba(45, 212, 191, 0.15) 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  box-shadow:
    0 0 8px rgba(45, 212, 191, 0.14),
    0 0 16px rgba(124, 108, 255, 0.1);
}

@media (max-width: 900px) {
  .navbar::after {
    width: min(calc(100% - 36px), 92vw);
    box-shadow:
      0 0 7px rgba(45, 212, 191, 0.12),
      0 0 14px rgba(124, 108, 255, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar::before {
    content: none !important;
  }

  .navbar::after {
    box-shadow: none;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(45, 212, 191, 0.35) 18%,
      rgba(124, 108, 255, 0.55) 50%,
      rgba(45, 212, 191, 0.35) 82%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    );
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.logo:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .main {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  padding-bottom: 0.05em;
  overflow: visible;
}

.logo-text .sub {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 220px;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #d8d6e4;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.nav-links a.active {
  color: var(--ink);
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), #5eead4);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.4), 0 8px 28px rgba(45, 212, 191, 0.2);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: flex;
  align-items: center;
}

/* ===== Custom language dropdown ===== */
/* Replaces native <select>/<option>. Flags use <img> (see i18n.js) because
   Windows Chromium often renders regional-indicator flag emoji as letter
   pairs ("GB") even outside native <option> popups. */

.lang-switcher__dropdown {
  position: relative;
  display: inline-flex;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  background-color: #16151f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  max-width: 200px;
  min-width: 0;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background-color 0.18s, box-shadow 0.18s;
}

.lang-switcher__btn:hover {
  color: var(--text);
  border-color: rgba(45, 212, 191, 0.35);
  background-color: #1a1928;
}

.lang-switcher__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-switcher__dropdown.is-open > .lang-switcher__btn {
  border-color: rgba(45, 212, 191, 0.55);
  background-color: #1a1928;
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}

.lang-switcher__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 12px;
}

.lang-switcher__flag-img {
  width: 16px;
  height: 12px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.lang-switcher__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switcher__chev {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.lang-switcher__dropdown.is-open .lang-switcher__chev {
  transform: rotate(180deg);
  color: var(--text);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1100;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: max(100%, 180px);
  max-height: 60vh;
  overflow-y: auto;
  background: #14131c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  font-size: 13px;
}

.lang-switcher__menu[hidden] {
  display: none;
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  outline: none;
}

.lang-switcher__option:hover,
.lang-switcher__option:focus {
  background-color: rgba(45, 212, 191, 0.12);
  color: var(--text);
}

.lang-switcher__option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.lang-switcher__option.is-active {
  background-color: rgba(124, 108, 255, 0.18);
  color: var(--text);
}

.lang-switcher__name {
  white-space: nowrap;
}

.mobile-lang {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.mobile-lang .lang-switcher__dropdown {
  display: flex;
  width: 100%;
}

.mobile-lang .lang-switcher__btn {
  width: 100%;
  max-width: none;
  justify-content: flex-start;
  font-size: 14px;
  padding: 12px 14px;
}

.mobile-lang .lang-switcher__menu {
  left: 0;
  right: 0;
  min-width: 0;
}

/* RTL: Arabic (`ar`) + Persian (`fa`) — `dir` set in i18n.js */
[dir="rtl"] .lang-switcher__chev {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .lang-switcher__menu {
  left: 0;
  right: auto;
}

[dir="rtl"] .lang-switcher__btn {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher__option {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-links {
  justify-content: center;
}

.tiktok-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  vertical-align: middle;
}

.tiktok-inline__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  shape-rendering: geometricPrecision;
}

.tiktok-inline__label {
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tiktok-inline--hero .tiktok-inline__icon {
  width: clamp(18px, 2.2vw, 24px);
  height: clamp(18px, 2.2vw, 24px);
}

.tiktok-inline--logo .tiktok-inline__icon {
  width: 14px;
  height: 14px;
}

.tiktok-inline--logo {
  gap: 0.32em;
}

.tiktok-inline--footer,
.tiktok-inline--mobile-join {
  text-decoration: none;
}

.tiktok-inline--footer {
  flex-direction: row;
  gap: 0.36em;
  align-items: center;
}

.tiktok-inline--footer .tiktok-inline__icon {
  width: 18px;
  height: 18px;
  position: relative;
  top: 0.5px;
}

.tiktok-inline--footer .tiktok-inline__text,
.tiktok-inline--mobile-join .tiktok-inline__text {
  text-decoration: none;
}

.tiktok-inline--nav {
  gap: 0.5em;
  white-space: nowrap;
}

.tiktok-inline--footer:focus-visible,
.tiktok-inline--nav:focus-visible,
.tiktok-inline--mobile-join:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.footer-links a.tiktok-inline--footer {
  color: rgba(248, 250, 252, 0.9);
}

.footer-links a.tiktok-inline--footer:hover {
  color: var(--accent);
}

.trust-badge.tiktok-inline {
  gap: 0.5em;
}

.tiktok-inline__text--gradient {
  background: linear-gradient(105deg, var(--accent) 0%, #a5f3fc 40%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* -webkit-text-fill-color: transparent paints text inside the line-box and
     clips descenders (g, p, q, y, j) unless line-height/padding give room. */
  line-height: 1.25;
  padding-bottom: 0.08em;
  display: inline-block;
  vertical-align: baseline;
  overflow: visible;
}

.nav-btn {
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(125deg, var(--accent), #5eead4);
  border: none;
  box-shadow: 0 10px 32px rgba(45, 212, 191, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(45, 212, 191, 0.38);
}

.nav-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.menu-btn {
  display: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.menu-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mobile-menu {
  position: fixed;
  right: -100%;
  top: 0;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(165deg, #14131c 0%, #08070c 100%);
  padding-top: var(--novyra-nav-h);
  padding-right: calc(22px + var(--novyra-safe-right));
  padding-bottom: calc(40px + var(--novyra-safe-bottom));
  padding-left: calc(22px + var(--novyra-safe-left));
  transition: 0.28s ease;
  z-index: 1001;
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
  overscroll-behavior: contain;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 10px 0;
  padding: 12px 14px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
}

.mobile-menu a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.mobile-menu a.mobile-join,
.mobile-menu button.mobile-join {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(125deg, var(--accent-2), #9d8fff);
  color: #fff;
  font-weight: 800;
  font-family: inherit;
  font-size: 15px;
  margin: 10px 0;
  border: none;
  box-shadow: 0 10px 28px var(--accent-glow);
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  text-align: start;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu a.mobile-join:focus-visible,
.mobile-menu button.mobile-join:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.mobile-menu a.mobile-join:active,
.mobile-menu button.mobile-join:active {
  filter: brightness(0.94);
  box-shadow: 0 8px 22px var(--accent-glow);
}

.mobile-menu a:active:not(.mobile-join) {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.25);
}

.mobile-menu.active {
  right: 0;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(2, 2, 6, 0.65);
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  text-align: center;
  padding: 96px 24px 64px;
  max-width: var(--max);
  margin: 0 auto;
}

.hero.hero--compact {
  padding: 64px 24px 40px;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: var(--accent-soft);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.8vw, 62px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
  padding-bottom: 0.12em;
  overflow: visible;
}

.hero.hero--compact h1 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.2;
  padding-bottom: 0.06em;
}

.hero-line {
  display: inline-block;
  color: var(--text);
}

.hero-nowrap {
  white-space: nowrap;
}

.hero .hero-accent.tiktok-inline--hero {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  vertical-align: middle;
  background: none;
  -webkit-text-fill-color: inherit;
  color: inherit;
}

.hero .hero-accent.tiktok-inline--hero .tiktok-inline__text--gradient {
  background: linear-gradient(105deg, var(--accent) 0%, #a5f3fc 40%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Hero is the largest gradient lockup; give descenders extra room. */
  line-height: 1.22;
  padding-bottom: 0.1em;
  display: inline-block;
  vertical-align: baseline;
  overflow: visible;
}

/* Home hero: luxury brand lockup + original “cosmos / gift energy” layers (no platform assets) */
body.page-home section.hero.hero--home-cosmos {
  position: relative;
  max-width: none;
  width: 100%;
  overflow-x: clip;
  /* body.page-home has no padding-top — first paint is hero; offset clears fixed nav (≤900px overrides --novyra-nav-h). */
  padding-top: calc(var(--novyra-nav-h) + clamp(10px, 1.35vw, 22px));
  padding-bottom: 64px;
  padding-left: clamp(18px, 4vw, 36px);
  padding-right: clamp(18px, 4vw, 36px);
}

body.page-home section.hero.hero--home-cosmos .hero__bleed {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body.page-home section.hero.hero--home-cosmos .hero__stack {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cosmos {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(ellipse 92% 52% at 50% -8%, rgba(124, 108, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 55% 45% at 22% 22%, rgba(124, 108, 255, 0.34), transparent 58%),
    radial-gradient(ellipse 50% 42% at 78% 18%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 88%, rgba(201, 162, 39, 0.08), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(18, 17, 26, 0.14), transparent 70%),
    #050508;
}

.hero-cosmos::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 11% 19%, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0.5) 0.55px, transparent 0.65px),
    radial-gradient(circle at 26% 42%, rgba(45, 212, 191, 0.45) 0, rgba(45, 212, 191, 0.45) 0.5px, transparent 0.6px),
    radial-gradient(circle at 44% 12%, rgba(255, 255, 255, 0.28) 0, rgba(255, 255, 255, 0.28) 0.45px, transparent 0.55px),
    radial-gradient(circle at 63% 58%, rgba(124, 108, 255, 0.4) 0, rgba(124, 108, 255, 0.4) 0.5px, transparent 0.6px),
    radial-gradient(circle at 78% 28%, rgba(255, 247, 214, 0.4) 0, rgba(255, 247, 214, 0.4) 0.5px, transparent 0.6px),
    radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0.22) 0.4px, transparent 0.5px),
    radial-gradient(circle at 91% 66%, rgba(255, 255, 255, 0.32) 0, rgba(255, 255, 255, 0.32) 0.5px, transparent 0.6px),
    radial-gradient(circle at 54% 38%, rgba(45, 212, 191, 0.25) 0, rgba(45, 212, 191, 0.25) 0.4px, transparent 0.5px);
}

.hero-aurora {
  position: absolute;
  inset: -8%;
  opacity: 0.34;
  background: conic-gradient(
    from 210deg at 50% 45%,
    rgba(124, 108, 255, 0) 0deg,
    rgba(45, 212, 191, 0.22) 55deg,
    rgba(240, 215, 140, 0.14) 110deg,
    rgba(124, 108, 255, 0.2) 200deg,
    rgba(45, 212, 191, 0.12) 280deg,
    rgba(124, 108, 255, 0) 360deg
  );
  filter: blur(36px);
}

@media (max-width: 900px) {
  .hero-aurora {
    filter: blur(22px);
  }
}

.hero-rings {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(120vw, 920px);
  height: min(120vw, 920px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 42%, rgba(45, 212, 191, 0.04) 43%, transparent 44%),
    radial-gradient(circle, transparent 58%, rgba(124, 108, 255, 0.05) 59%, transparent 61%),
    radial-gradient(circle, transparent 72%, rgba(240, 215, 140, 0.035) 73%, transparent 75%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 64px rgba(124, 108, 255, 0.07);
}

.hero-gift-burst {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 247, 214, 0.022) 0deg 4deg,
    transparent 4deg 11deg
  );
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 50% 48% at 50% 48%, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 50% 48% at 50% 48%, black 0%, transparent 72%);
}

body.page-home section.hero.hero--home-cosmos .hero__stack h1.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.35rem, 11.8vw, 9.5rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 auto;
  margin-top: clamp(-0.3rem, -1vw, 0rem);
  padding: 0.06em 0 0;
  max-width: 100%;
  position: relative;
  text-wrap: balance;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  font-feature-settings: "kern" 1, "liga" 1;
}

.hero-brand-lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  isolation: isolate;
  /* Do not clip horizontally: scaled video inside SVG <foreignObject> paints wider than the lockup;
     overflow-x clip was trimming to a narrow vertical band through the mask. */
  overflow-x: visible;
}

.hero-brand-lockup--ready .hero-brand-svg-host .hero-brand-svg,
.hero-brand-lockup--stroke-fallback .hero-brand-svg-host .hero-brand-svg {
  filter: drop-shadow(0 12px 26px rgba(3, 2, 12, 0.48)) drop-shadow(0 0 36px rgba(124, 92, 200, 0.08));
}

@media (max-width: 540px) {
  .hero-brand-lockup--ready .hero-brand-svg-host .hero-brand-svg,
  .hero-brand-lockup--stroke-fallback .hero-brand-svg-host .hero-brand-svg {
    filter: drop-shadow(0 8px 18px rgba(3, 2, 12, 0.36));
  }
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  body.page-home .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-svg-host .hero-brand-svg {
    animation: heroDesktopBrandHalo 7.5s ease-in-out infinite;
  }
}

@keyframes heroDesktopBrandHalo {
  0%,
  100% {
    filter: drop-shadow(0 12px 26px rgba(3, 2, 12, 0.48)) drop-shadow(0 0 36px rgba(124, 92, 200, 0.08));
  }

  50% {
    filter: drop-shadow(0 14px 32px rgba(3, 2, 12, 0.52)) drop-shadow(0 0 48px rgba(124, 92, 200, 0.14));
  }
}

.hero-brand-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(260px, 52vw);
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-brand-loader__bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 106, 0.35),
    rgba(255, 248, 230, 0.85),
    rgba(196, 181, 255, 0.75),
    rgba(212, 175, 106, 0.35)
  );
  box-shadow: 0 0 26px rgba(212, 175, 106, 0.35), 0 0 18px rgba(124, 108, 255, 0.22);
}

.hero-brand-loader__dots {
  display: inline-flex;
  gap: 8px;
}

.hero-brand-loader__dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.95), rgba(200, 188, 255, 0.55));
  box-shadow: 0 0 16px rgba(212, 175, 106, 0.35), 0 0 10px rgba(45, 212, 191, 0.2);
}

.hero-brand-lockup--ready .hero-brand-loader,
.hero-brand-lockup--stroke-fallback .hero-brand-loader {
  opacity: 0;
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-brand-loader__bar {
    animation: heroBrandLoaderPulse 1.35s ease-in-out infinite alternate;
  }

  .hero-brand-loader__dots span {
    animation: heroBrandLoaderDot 1.2s ease-in-out infinite;
  }

  .hero-brand-loader__dots span:nth-child(2) {
    animation-delay: 0.14s;
  }

  .hero-brand-loader__dots span:nth-child(3) {
    animation-delay: 0.28s;
  }
}

@keyframes heroBrandLoaderPulse {
  from {
    opacity: 0.45;
    transform: scaleX(0.72);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes heroBrandLoaderDot {
  0%,
  100% {
    opacity: 0.32;
    transform: translateY(0);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-2px);
  }
}

.hero-brand-measure {
  position: relative;
  width: max-content;
  max-width: 100%;
  pointer-events: none;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.34em;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.06;
  text-align: center;
  white-space: nowrap;
  font-feature-settings: "kern" 1, "liga" 1;
}

.hero-brand-measure__l1 {
  display: block;
  font-size: 1.12em;
}

.hero-brand-measure__l2 {
  display: block;
  margin-top: 0.14em;
  font-size: 0.67em;
  font-weight: 700;
  letter-spacing: 0.44em;
  padding-inline-end: 0.44em;
  text-transform: uppercase;
  line-height: 1.12;
}

body.page-home .hero-brand-measure {
  gap: 0.1em;
}

body.page-home .hero-brand-measure__l2 {
  margin-top: 0.04em;
}

@media (min-width: 901px) {
  body.page-home .hero-brand-measure__l2 {
    margin-top: 0.07em;
  }

  body.page-home .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-video-montage__layer--single,
  body.page-home .hero-brand-lockup--stroke-fallback .hero-brand-video-montage__layer--single {
    transform: scale(0.96);
  }
}

.hero-brand-svg-host {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  max-width: 100%;
  min-width: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.72s ease, visibility 0.72s ease;
}

.hero-brand-lockup--ready .hero-brand-svg-host,
.hero-brand-lockup--stroke-fallback .hero-brand-svg-host {
  opacity: 1;
  visibility: visible;
}

.hero-brand-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-brand-masked-stack {
  opacity: 0;
  transition: opacity 0.75s ease;
  /* Do not use `contain: paint` here: it clips the scaled `.hero-brand-video-fo-inner` / montage
     inside <foreignObject> so only a narrow vertical band of video paints through the mask. */
}

.hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-masked-stack {
  opacity: 1;
}

.hero-brand-video-fo {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #030308;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

/* Tunable framing: nearly native plate — maximum “zoom out” while cover still clears the mask. */
body.page-home section.hero.hero--home-cosmos .hero-brand-video-fo-inner {
  --hb-video-inner-scale: 1;
  --hb-video-inner-width-pct: 100%;
  --hb-video-inner-neg-margin-pct: 0%;
  --hb-video-inner-translate-x: 0%;
  --hb-video-inner-translate-y: 0%;
}

@media (max-width: 900px) {
  body.page-home section.hero.hero--home-cosmos .hero-brand-video-fo-inner {
    --hb-video-inner-scale: 1;
    --hb-video-inner-width-pct: 100%;
    --hb-video-inner-neg-margin-pct: 0%;
    --hb-video-inner-translate-x: 0%;
    --hb-video-inner-translate-y: 0%;
  }
}

.hero-brand-video-fo-inner {
  flex: 1 1 auto;
  width: var(--hb-video-inner-width-pct, 132%);
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin-left: var(--hb-video-inner-neg-margin-pct, -16%);
  box-sizing: border-box;
  transform: translate3d(
      var(--hb-video-inner-translate-x, 0),
      var(--hb-video-inner-translate-y, -8%),
      0
    )
    scale(var(--hb-video-inner-scale, 1.26));
  transform-origin: center center;
}

/* One full-bleed clip behind the wordmark; SVG mask cuts only the text. */
.hero-brand-video-montage {
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  transform-origin: center center;
  background: radial-gradient(
      ellipse 125% 105% at 50% 42%,
      rgba(36, 28, 62, 0.98) 0%,
      rgba(18, 14, 36, 0.96) 48%,
      #07060f 100%
    ),
    radial-gradient(ellipse 80% 55% at 50% 88%, rgba(212, 175, 106, 0.06), transparent 55%);
}

.hero-brand-video-montage__layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(680%, 230vw, 210vmin);
  height: max(680%, 230vh, 210vmin);
  min-width: max(600%, 200vw, 190vmin);
  min-height: max(600%, 200vh, 190vmin);
  margin: 0;
  object-fit: cover;
  display: block;
  pointer-events: none;
  box-sizing: border-box;
  transform-origin: center center;
}

/* Single source: `contain` + full montage box; `scale(<1)` shrinks the painted frame slightly so the clip sits a bit farther back; tuned vs full size for balance. */
.hero-brand-video-montage__layer--single {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  z-index: 1;
  opacity: 1;
  mix-blend-mode: normal;
  transform: scale(0.86);
  transform-origin: center center;
  object-fit: contain;
  object-position: 50% 50%;
}

@media (max-width: 540px) {
  .hero-brand-video-montage__layer--single {
    transform: scale(0.93);
  }
}

.hero-brand-glass-veil {
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-brand-stroke-layer {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-stroke-layer {
    animation: heroBrandStrokePulse 6.8s ease-in-out infinite;
  }
}

@keyframes heroBrandStrokePulse {
  0%,
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.92;
    transform: translate3d(0.1%, -0.08%, 0);
  }
}

.hero-brand-fallback {
  color: inherit;
}

/* iOS / iPadOS WebKit: SVG <foreignObject> + masked video is unreliable; JS adds --plain-fallback. */
.hero-brand-inline-video {
  display: none;
  width: min(100%, 26rem);
  max-width: 100%;
  margin-top: 0.75rem;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse 90% 85% at 50% 45%, #12101e 0%, #050408 62%, #020204 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 18px 48px rgba(5, 5, 12, 0.55),
    0 0 40px rgba(124, 108, 255, 0.12);
}

.hero-brand-inline-video__el {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 118%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: 50% 40%;
  pointer-events: none;
}

.hero-brand-lockup--plain-fallback .hero-brand-svg-host {
  display: none !important;
}

body.page-home .hero-brand-lockup--plain-fallback .hero-brand-measure {
  font-family: var(--font-display);
}

/* Home + iOS plain fallback: no glass “card” — float wordmark + video over the hero bleed like desktop. */
body.page-home .hero-brand-lockup--plain-fallback {
  margin-top: clamp(-0.68rem, -2.75vw, -0.1rem);
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden,
body.page-home .hero-brand-lockup--plain-fallback .hero-brand-inline-video:not([hidden]) {
  position: relative;
  z-index: 1;
}

.hero-brand-lockup--plain-fallback .hero-brand-inline-video:not([hidden]) {
  display: block;
}

body.page-home .hero-brand-lockup--plain-fallback .hero-brand-inline-video:not([hidden]) {
  box-shadow:
    0 12px 32px rgba(5, 5, 12, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.02;
}

.hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l1] {
  display: block;
  font-size: 1.12em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fffdf8;
  -webkit-text-fill-color: #fffdf8;
  text-shadow:
    0 0 1px rgba(255, 253, 248, 0.45),
    0 0 48px rgba(124, 108, 255, 0.38),
    0 0 88px rgba(45, 212, 191, 0.1),
    0 4px 26px rgba(5, 5, 12, 0.78);
  filter: drop-shadow(0 2px 0 rgba(212, 184, 122, 0.18));
}

.hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l2] {
  display: block;
  margin-top: 0;
  font-size: 0.62em;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.44em;
  padding-inline-end: 0.44em;
  text-transform: uppercase;
  line-height: 1.08;
  color: #f0f6ff;
  -webkit-text-fill-color: #f0f6ff;
  text-shadow:
    0 0 1px rgba(220, 235, 255, 0.45),
    0 0 32px rgba(45, 212, 191, 0.42),
    0 0 56px rgba(124, 108, 255, 0.22),
    0 3px 18px rgba(5, 5, 12, 0.68);
}

@media (prefers-reduced-motion: no-preference) {
  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l1] {
    animation: heroPlainBrandLineGlow 4.8s ease-in-out infinite;
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l2] {
    animation: heroPlainBrandLineGlow 4.8s ease-in-out infinite;
    animation-delay: 0.35s;
  }
}

@keyframes heroPlainBrandLineGlow {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 2px 0 rgba(212, 184, 122, 0.14));
  }

  50% {
    filter: brightness(1.07) drop-shadow(0 2px 6px rgba(124, 108, 255, 0.22));
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l1],
  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l2] {
    animation: none !important;
  }
}

/* Home + iOS plain fallback: match masked hero tracking — base l2 uses 0.44em, which reads as spaced caps on narrow phones. */
@media (max-width: 540px) {
  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden {
    letter-spacing: clamp(0.012em, 0.018em + 0.04vw, 0.02em);
    gap: 0.04em;
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l1] {
    font-size: clamp(1.02em, 0.96em + 1.2vw, 1.16em);
    letter-spacing: clamp(0.06em, 0.08em + 0.2vw, 0.12em);
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l2],
  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-measure__l2 {
    letter-spacing: clamp(0.07em, 0.09em + 0.35vw, 0.14em);
    padding-inline-end: clamp(0.07em, 0.09em + 0.35vw, 0.14em);
    font-size: clamp(0.58em, 0.62em + 0.2vw, 0.64em);
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-inline-video:not([hidden]) {
    margin-top: 0.55rem;
    border-radius: 16px;
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-inline-video__el {
    width: 122%;
    height: 122%;
    object-position: 50% 36%;
  }
}

body.page-home section.hero.hero--home-cosmos .hero-actions {
  /* Lead glass card uses z-index: 2; keep CTAs above its paint (shadow/backdrop), tappable on phones. */
  position: relative;
  z-index: 3;
}

body.page-home section.hero.hero--home-cosmos .hero-actions .cta-btn:not(.cta-btn--ghost) {
  color: #050508;
  -webkit-text-fill-color: #050508;
  position: relative;
  z-index: 2;
}

body.page-home section.hero.hero--home-cosmos .hero-actions .cta-btn--ghost {
  position: relative;
  z-index: 1;
}

.hero-brand-lockup--stroke-fallback .hero-brand-masked-stack,
.hero-brand-lockup--stroke-fallback .hero-brand-glass-veil {
  opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-loader__bar,
  .hero-brand-loader__dots span {
    animation: none !important;
  }

  .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-video-montage {
    animation: none !important;
    transform: scale(1);
  }

  .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-video-montage__layer--single {
    animation: none !important;
    transform: scale(0.86);
    object-position: 50% 50%;
  }

  .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-stroke-layer {
    animation: none !important;
  }

  .hero-brand-lockup--ready .hero-brand-svg-host .hero-brand-svg,
  .hero-brand-lockup--stroke-fallback .hero-brand-svg-host .hero-brand-svg {
    filter: drop-shadow(0 12px 22px rgba(3, 2, 12, 0.42));
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 540px) {
  .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-video-montage__layer--single {
    transform: scale(0.93);
  }
}

.hero-brand__line1 {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  color: var(--text);
}

.hero-brand__line2 {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  margin-top: 0.14em;
  font-weight: 700;
  letter-spacing: 0.44em;
  /* Optical center for tracked caps: pad inline end by one tracking unit (not text-indent). */
  padding-inline-end: 0.44em;
  text-transform: uppercase;
  font-size: 0.67em;
  line-height: 1.12;
  color: var(--text);
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Home hero: soften star grain at the very top (read as a heavy band under the nav) */
body.page-home section.hero.hero--home-cosmos .hero-cosmos::before {
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-cosmos::before {
    animation: heroStarsDrift 19s ease-in-out infinite alternate;
  }

  .hero-cosmos {
    animation: heroCosmosDrift 22s ease-in-out infinite alternate;
  }

  .hero-aurora {
    animation: heroAuroraSpin 48s linear infinite;
  }

  .hero-rings {
    animation: heroRingsPulse 10s ease-in-out infinite;
  }

  .hero-gift-burst {
    animation: heroBurstRotate 70s linear infinite;
  }

}

@keyframes heroStarsDrift {
  0% {
    opacity: 0.32;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0.55;
    transform: translate3d(-14px, 10px, 0);
  }
}

@keyframes heroCosmosDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2.5%, -1.8%, 0) scale(1.04);
  }
}

@keyframes heroAuroraSpin {
  from {
    transform: rotate(0deg) scale(1.05);
  }
  to {
    transform: rotate(360deg) scale(1.05);
  }
}

@keyframes heroRingsPulse {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@keyframes heroBurstRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes heroBrandShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

body.page-home section.hero.hero--home-cosmos .hero-home-divider {
  display: block;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  width: min(36%, 360px);
  min-width: min(9.5rem, 78vw);
  height: 2px;
  margin-top: clamp(14px, 2.2vw, 24px);
  margin-bottom: clamp(22px, 3.6vw, 38px);
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent) 55%, transparent) 14%,
    color-mix(in srgb, var(--accent) 92%, white) 38%,
    color-mix(in srgb, var(--accent-2) 88%, white) 62%,
    color-mix(in srgb, var(--accent-2) 50%, transparent) 86%,
    transparent 100%
  );
  box-shadow:
    0 0 18px color-mix(in srgb, var(--accent) 28%, transparent),
    0 0 26px color-mix(in srgb, var(--accent-2) 22%, transparent);
  opacity: 0.92;
}

body.page-home section.hero.hero--home-cosmos .hero-lead-pro {
  flex: 0 1 auto;
  width: 100%;
  max-width: min(34rem, 92vw);
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

@media (min-width: 901px) {
  body.page-home section.hero.hero--home-cosmos .hero-home-divider {
    width: min(34%, 340px);
    margin-top: clamp(12px, 1.8vw, 20px);
    margin-bottom: clamp(20px, 2.8vw, 32px);
    margin-left: auto;
    margin-right: auto;
    transform: translateY(clamp(-6px, -0.55vw, -2px));
  }

  body.page-home section.hero.hero--home-cosmos .hero-lead-pro {
    margin-top: 0;
  }
}

body.page-home section.hero.hero--home-cosmos .hero-lead.hero-lead--home-glass {
  margin-top: 0;
  max-width: none;
  padding: clamp(14px, 2vw, 22px) clamp(20px, 3vw, 32px);
  border-radius: 18px;
  text-align: center;
  font-size: clamp(15px, 1.65vw, 17px);
  line-height: 1.78;
  letter-spacing: 0.04em;
  font-weight: 420;
  color: rgba(232, 230, 245, 0.78);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 42%, rgba(124, 108, 255, 0.08) 100%),
    rgba(12, 11, 20, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(124, 108, 255, 0.06) inset,
    0 24px 56px rgba(5, 5, 12, 0.55),
    0 0 48px rgba(45, 212, 191, 0.06),
    0 0 64px rgba(124, 108, 255, 0.07);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

body.page-home section.hero.hero--home-cosmos .hero-lead--home-glass .hero-lead__plain {
  opacity: 0.95;
}

body.page-home section.hero.hero--home-cosmos .hero-lead--home-glass .hero-lead-kw--tiktok {
  font-weight: 560;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

body.page-home section.hero.hero--home-cosmos .hero-lead--home-glass .hero-lead-kw--accent {
  font-weight: 520;
  letter-spacing: 0.05em;
  background: linear-gradient(118deg, rgba(165, 243, 252, 0.95) 0%, rgba(186, 180, 255, 0.98) 55%, rgba(94, 234, 212, 0.92) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 28px rgba(94, 234, 212, 0.22);
}

body.page-home section.hero.hero--home-cosmos .hero-lead--home-glass .hero-lead-kw--growth {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(224, 231, 255, 0.94);
  text-shadow:
    0 0 22px rgba(124, 108, 255, 0.35),
    0 0 36px rgba(45, 212, 191, 0.18);
}

@media (max-width: 900px) {
  body.page-home section.hero.hero--home-cosmos .hero-home-divider {
    width: min(38%, 320px);
    min-width: min(8.75rem, 82vw);
    margin-top: clamp(12px, 2.6vw, 20px);
    margin-bottom: clamp(18px, 3.4vw, 30px);
    margin-left: auto;
    margin-right: auto;
    transform: translateY(clamp(-8px, -1.1vw, -3px));
  }

  body.page-home section.hero.hero--home-cosmos .hero-lead-pro {
    max-width: min(32rem, 94vw);
    margin-top: 0;
  }

  body.page-home section.hero.hero--home-cosmos .hero-lead.hero-lead--home-glass {
    padding: 16px 18px;
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.72;
    letter-spacing: 0.035em;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  body.page-home section.hero.hero--home-cosmos .hero-lead-pro {
    max-width: 100%;
  }

  body.page-home section.hero.hero--home-cosmos .hero-lead.hero-lead--home-glass {
    padding: 14px 14px;
    font-size: 14px;
    line-height: 1.68;
    letter-spacing: 0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home section.hero.hero--home-cosmos .hero-home-divider {
    transform: none;
  }

  body.page-home section.hero.hero--home-cosmos .hero-lead-pro,
  body.page-home section.hero.hero--home-cosmos .hero-lead.hero-lead--home-glass {
    animation: none;
    transition: none;
  }
}

.hero .hero-lead {
  margin-top: 22px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: min(42rem, 92vw);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 450;
}

.hero .hero-lead.hero-lead--secondary {
  margin-top: 12px;
  font-size: clamp(15px, 2vw, 17px);
  opacity: 0.92;
}

.hero p:not(.hero-lead) {
  margin-top: 10px;
  color: #b4b2c2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.cta-btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-radius: 999px;
  background: linear-gradient(125deg, var(--accent), #5eead4);
  border: none;
  box-shadow: 0 12px 36px rgba(45, 212, 191, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(124, 108, 255, 0.45);
  box-shadow: none;
}

.cta-btn--ghost:hover {
  background: rgba(124, 108, 255, 0.12);
  border-color: rgba(165, 180, 252, 0.75);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(45, 212, 191, 0.4);
}

.cta-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cta-btn--ghost::after {
  display: none !important;
}

/* Home hero: premium glass trust pill (TikTok LIVE partner) */
.trust-badge {
  position: relative;
  display: inline-grid;
  grid-template: 1fr / 1fr;
  place-items: stretch;
  width: max-content;
  max-width: min(100%, calc(100vw - 48px));
  margin-top: 28px;
  border-radius: 999px;
  isolation: isolate;
  outline: none;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.trust-badge::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 122%;
  height: 220%;
  transform: translate(-50%, -44%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 44% 38% at 50% 36%,
    rgba(124, 108, 255, 0.42) 0%,
    rgba(45, 212, 191, 0.2) 38%,
    transparent 72%
  );
  filter: blur(22px);
  opacity: 0.48;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .trust-badge::before {
    animation: trust-badge-bloom 5s ease-in-out infinite alternate;
  }
}

.trust-badge:hover,
.trust-badge:focus-visible {
  transform: translateY(-3px);
  filter: drop-shadow(0 20px 36px rgba(5, 4, 12, 0.5))
    drop-shadow(0 0 28px rgba(124, 108, 255, 0.2));
}

.trust-badge:focus-visible {
  outline: 2px solid rgba(186, 180, 255, 0.55);
  outline-offset: 4px;
}

.trust-badge__ring {
  grid-area: 1 / 1;
  z-index: 1;
  border-radius: inherit;
  background: conic-gradient(
    from 210deg,
    rgba(124, 108, 255, 0) 0deg,
    rgba(124, 108, 255, 0.5) 72deg,
    rgba(94, 234, 212, 0.38) 148deg,
    rgba(167, 139, 250, 0.32) 224deg,
    rgba(45, 212, 191, 0.26) 296deg,
    rgba(124, 108, 255, 0) 360deg
  );
  transform-origin: 50% 50%;
  pointer-events: none;
}

.trust-badge__plate {
  grid-area: 1 / 1;
  z-index: 2;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1px;
  padding: 12px 22px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(
    152deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(26, 22, 44, 0.78) 38%,
    rgba(8, 8, 16, 0.9) 100%
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(124, 108, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -12px 28px rgba(0, 0, 0, 0.38),
    0 8px 22px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(94, 234, 212, 0.06) inset;
}

.trust-badge__glint {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 18%,
    transparent 42%,
    transparent 100%
  );
  mix-blend-mode: soft-light;
  opacity: 0.38;
  pointer-events: none;
}

.trust-badge__label {
  position: relative;
  z-index: 1;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: center;
  color: rgba(244, 242, 255, 0.92);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  text-shadow:
    0 0 22px rgba(124, 108, 255, 0.22),
    0 1px 0 rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .trust-badge {
    max-width: min(100%, calc(100vw - 36px));
  }

  .trust-badge__plate {
    padding: 11px 18px;
    min-height: 42px;
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    backdrop-filter: blur(14px) saturate(1.25);
  }

  .trust-badge__label {
    font-size: 10px;
    letter-spacing: 0.15em;
  }

  @media (prefers-reduced-motion: no-preference) {
    .trust-badge::before {
      animation-duration: 6.5s;
    }
  }
}

@media (max-width: 480px) {
  .trust-badge {
    max-width: min(100%, calc(100vw - 28px));
  }

  .trust-badge__plate {
    padding: 10px 14px;
    min-height: 44px;
  }

  .trust-badge__label {
    font-size: 9.5px;
    letter-spacing: 0.12em;
    white-space: normal;
    max-width: min(42ch, 100%);
  }

  .trust-badge:hover,
  .trust-badge:focus-visible {
    transform: translateY(-2px);
  }
}

@keyframes trust-badge-bloom {
  0%,
  100% {
    opacity: 0.38;
    transform: translate(-50%, -44%) scale(0.94);
  }

  50% {
    opacity: 0.58;
    transform: translate(-50%, -44%) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-badge__ring {
    animation: none !important;
  }

  .trust-badge__glint {
    animation: none !important;
    opacity: 0.14;
  }

  .trust-badge::before {
    animation: none !important;
    opacity: 0.32;
    transform: translate(-50%, -44%);
  }

  .trust-badge:hover,
  .trust-badge:focus-visible {
    transform: none;
    filter: none;
  }
}

/* Home hero: partner pill leads the stack (directly under nav), then the brand lockup */
body.page-home section.hero.hero--home-cosmos .trust-badge--hero-ribbon {
  margin-top: 0;
  margin-bottom: clamp(2px, 0.75vw, 12px);
}

body.page-home section.hero.hero--home-cosmos .trust-badge--hero-ribbon .trust-badge__plate {
  padding: 10px 20px;
  background: linear-gradient(
    155deg,
    rgba(110, 78, 168, 0.55) 0%,
    rgba(42, 28, 72, 0.94) 42%,
    rgba(18, 12, 34, 0.98) 100%
  );
  border: 1px solid rgba(186, 170, 255, 0.38);
  box-shadow:
    0 0 0 0.5px rgba(255, 252, 245, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 26px rgba(0, 0, 0, 0.42),
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(124, 92, 200, 0.22);
}

body.page-home section.hero.hero--home-cosmos .trust-badge--hero-ribbon .trust-badge__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(252, 250, 255, 0.96);
  text-shadow:
    0 0 18px rgba(124, 108, 255, 0.35),
    0 1px 0 rgba(0, 0, 0, 0.45);
}

@media (max-width: 480px) {
  body.page-home section.hero.hero--home-cosmos .trust-badge--hero-ribbon .trust-badge__plate {
    padding: 8px 16px;
    border-color: rgba(210, 198, 255, 0.42);
    box-shadow:
      0 0 0 0.5px rgba(255, 252, 245, 0.16),
      0 0 0 1px rgba(124, 108, 255, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -8px 20px rgba(0, 0, 0, 0.38),
      0 8px 22px rgba(0, 0, 0, 0.34),
      0 0 26px rgba(124, 92, 200, 0.2);
  }

  body.page-home section.hero.hero--home-cosmos .trust-badge--hero-ribbon .trust-badge__label {
    font-size: 8.25px;
    font-weight: 700;
    letter-spacing: 0.17em;
    -webkit-font-smoothing: antialiased;
  }
}

/* ========================= */
/* DIVIDER: soft gradient band + glow (hero → features) */
/* ========================= */

.section-divider {
  position: relative;
  width: 100%;
  height: 64px;
  pointer-events: none;
}

.section-divider::before {
  content: none;
}

.section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(88%, 760px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(45, 212, 191, 0.15) 8%,
    rgba(45, 212, 191, 0.55) 24%,
    rgba(167, 159, 255, 0.78) 48%,
    rgba(94, 234, 212, 0.5) 52%,
    rgba(124, 108, 255, 0.75) 76%,
    rgba(45, 212, 191, 0.15) 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  box-shadow:
    0 0 14px rgba(45, 212, 191, 0.28),
    0 0 28px rgba(124, 108, 255, 0.22),
    0 0 48px rgba(124, 108, 255, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  .section-divider::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92%, 820px);
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(45, 212, 191, 0.18) 18%,
      rgba(124, 108, 255, 0.32) 50%,
      rgba(45, 212, 191, 0.18) 82%,
      transparent 100%
    );
    filter: blur(16px);
    opacity: 0.92;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 6%,
      #000 94%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 6%,
      #000 94%,
      transparent 100%
    );
  }
}

@media (max-width: 900px) {
  .section-divider::after {
    width: min(calc(100% - 36px), 92vw);
    box-shadow:
      0 0 12px rgba(45, 212, 191, 0.24),
      0 0 22px rgba(124, 108, 255, 0.18),
      0 0 36px rgba(124, 108, 255, 0.1);
  }

  @media (prefers-reduced-motion: no-preference) {
    .section-divider::before {
      width: min(calc(100% - 24px), 94vw);
      height: 20px;
      filter: blur(14px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-divider::before {
    content: none !important;
  }

  .section-divider::after {
    box-shadow: none;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(45, 212, 191, 0.35) 18%,
      rgba(124, 108, 255, 0.55) 50%,
      rgba(45, 212, 191, 0.35) 82%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    );
  }
}

/* ========================= */
/* FEATURES */
/* ========================= */

.features {
  padding: 64px 22px 84px;
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(124, 108, 255, 0.04));
  overflow: visible;
}

.features-title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.features-sub {
  font-family: var(--font-body);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  padding-bottom: 0.04em;
  margin-bottom: 16px;
  overflow: visible;
}

.features-lead {
  max-width: min(44rem, 92vw);
  margin: 0 auto 44px;
  padding: 0 16px;
  text-align: center;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 450;
}

.features-more {
  max-width: 620px;
  margin: 36px auto 0;
  padding: 0 16px;
  text-align: center;
  font-size: clamp(15px, 1.95vw, 18px);
  letter-spacing: 0.055em;
  color: rgba(244, 243, 248, 0.82);
  color: color-mix(in srgb, var(--text) 70%, var(--text-muted));
  font-weight: 600;
  font-style: normal;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: min(72rem, 94vw);
  margin: 0 auto;
  overflow: visible;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 23px 18px;
  text-align: left;
  overflow: visible;
  min-height: min-content;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:nth-child(odd) {
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
}

.feature-card:nth-child(even) {
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-lg);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(124, 108, 255, 0.12);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.5;
  padding-top: 0.08em;
  padding-bottom: 0.15em;
  display: block;
  transform: none;
  overflow: visible;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-top: 0.08em;
}

a.feature-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

a.feature-card,
.feature-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-card--highlight {
  border-color: rgba(45, 212, 191, 0.35);
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.08), rgba(124, 108, 255, 0.06));
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12);
}

.feature-card--highlight:hover {
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 36px rgba(45, 212, 191, 0.15);
}

.feature-card__hint {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-card .icon {
  overflow: visible;
}

@media (max-width: 640px) {
  .feature-card h3 {
    font-size: 14px;
  }
}

.icon svg {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  display: block;
  color: var(--accent);
}

/* ========================= */
/* STATS */
/* ========================= */

.stats-strip {
  padding: 52px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.stats-partner {
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px 0.08em;
  line-height: 1.45;
  overflow: visible;
}

.stats-partner span {
  display: block;
  margin-top: 8px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.stats-note {
  text-align: center;
  margin-top: 28px;
  padding: 0 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.stats-note--solo {
  margin-top: 14px;
}

.stat-num {
  font-family: var(--font-body);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--accent), #a5f3fc, var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  padding-bottom: 0.12em;
  display: inline-block;
  overflow: visible;
}

.stat-num--compact {
  font-size: clamp(20px, 3.4vw, 30px);
  line-height: 1.12;
}

.stat-label {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ========================= */
/* TESTIMONIALS */
/* ========================= */

.testimonials {
  padding: 80px 24px;
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-head h2 {
  font-family: var(--font-body);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  padding-bottom: 0.04em;
  overflow: visible;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

/* Home trust block: hide until GSAP reveal (only when motion class is on). */
html.novyra-motion body.page-home section.testimonials .section-head {
  opacity: 0;
  transform: translateY(36px);
}

html.novyra-motion body.page-home section.testimonials .testimonial-grid .testimonial-card:nth-child(odd) {
  opacity: 0;
  transform: translateY(36px);
}

html.novyra-motion body.page-home section.testimonials .testimonial-grid .testimonial-card:nth-child(even) {
  opacity: 0;
  transform: translateY(-36px);
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-2);
  padding: 26px;
  text-align: left;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.testimonial-card p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: #e2e0ee;
  font-style: italic;
}

.testimonial-card cite {
  display: block;
  flex-shrink: 0;
  margin-top: 16px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.testimonial-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .testimonial-card {
    transition: top 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .testimonial-card:hover,
  .testimonial-card:focus-visible {
    top: -5px;
    border-color: rgba(45, 212, 191, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(124, 108, 255, 0.12);
  }
}

cite.testi-cite {
  --testi-avatar-size: 40px;
  display: block;
  width: 100%;
}

cite.testi-cite .testi-cite__avatar-wrap {
  width: var(--testi-avatar-size);
  height: var(--testi-avatar-size);
  flex: 0 0 var(--testi-avatar-size);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
}

cite.testi-cite img.testi-cite__avatar {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border: none;
  background: transparent;
}

cite.testi-cite .testi-cite__handle {
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1;
}

cite.testi-cite a.testi-cite__link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: var(--testi-avatar-size);
  text-decoration: none;
  color: inherit;
  border-radius: 999px;
}

cite.testi-cite a.testi-cite__link:hover .testi-cite__handle {
  text-decoration: underline;
}

cite.testi-cite a.testi-cite__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ========================= */
/* PAGE LINKS */
/* ========================= */

.page-links {
  padding: 64px 24px 80px;
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, transparent, rgba(45, 212, 191, 0.03));
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.page-link-card {
  display: block;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.page-link-card:hover {
  border-color: rgba(124, 108, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.page-link-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
  padding-bottom: 0.04em;
  overflow: visible;
}

.page-link-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.page-link-card .arrow {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: 64px 24px;
  text-align: center;
}

.fade {
  opacity: 0;
}

.inner {
  max-width: min(720px, 92vw);
  margin: 0 auto;
  text-align: left;
}

.inner h2 {
  font-family: var(--font-body);
  font-size: 26px;
  margin-bottom: 18px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding-bottom: 0.04em;
  overflow: visible;
}

.inner p,
.inner li {
  font-size: 16px;
  line-height: 1.65;
  color: #b8b6c8;
  margin-bottom: 14px;
}

.inner ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.inner li {
  margin-bottom: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  text-align: left;
}

.card-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.card-block h3 {
  font-family: var(--font-body);
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.35;
  padding-bottom: 0.04em;
  overflow: visible;
}

.card-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Training page — premium sections */
.page-training .training-section {
  position: relative;
}

.page-training .training-section__lead {
  display: block;
  max-width: min(640px, 92vw);
  margin: 0 auto 28px;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: #b8b6c8;
}

.page-training .training-path-grid,
.page-training .training-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
  text-align: left;
}

.page-training .training-path-card,
.page-training .training-outcome-card {
  position: relative;
  border-left: 3px solid rgba(45, 212, 191, 0.45);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .page-training .training-path-card:hover,
  .page-training .training-outcome-card:hover {
    transform: translateY(-3px);
    border-left-color: var(--accent);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), 0 0 36px rgba(124, 108, 255, 0.08);
  }
}

.page-training .training-deliver-list,
.page-training .training-rhythm-list {
  margin: 0;
  padding-left: 22px;
  text-align: left;
}

.page-training .training-deliver-list li,
.page-training .training-rhythm-list li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.62;
  color: #b8b6c8;
}

.page-training .training-deliver-list li::marker,
.page-training .training-rhythm-list li::marker {
  color: var(--accent);
}

.page-training .training-faq {
  text-align: left;
  margin-top: 8px;
}

.page-training .training-faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 3px solid rgba(124, 108, 255, 0.55);
  padding: 0;
  margin-bottom: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.page-training .training-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  color: #e8e6f2;
}

.page-training .training-faq__item summary::-webkit-details-marker {
  display: none;
}

.page-training .training-faq__item summary::after {
  content: "";
  float: right;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  opacity: 0.75;
  transition: transform 0.25s ease;
}

.page-training .training-faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 9px;
}

.page-training .training-faq__item p {
  margin: 0;
  padding: 14px 20px 18px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-training .training-faq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .page-training .training-path-grid,
  .page-training .training-outcomes-grid {
    grid-template-columns: 1fr;
  }
}

/* About page */
.page-about .about-hero {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(40px, 5vw, 52px);
}

.page-about .about-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  width: min(110%, 820px);
  height: 78%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(ellipse 65% 55% at 48% 0%, rgba(124, 108, 255, 0.32), transparent 62%),
    radial-gradient(ellipse 50% 42% at 78% 55%, rgba(45, 212, 191, 0.12), transparent 58%);
}

.page-about .about-hero.hero--compact h1 span {
  filter: drop-shadow(0 0 22px rgba(124, 108, 255, 0.35)) drop-shadow(0 0 14px rgba(45, 212, 191, 0.2));
}

.page-about .about-depth-lead {
  position: relative;
  max-width: min(640px, 92vw);
  margin: clamp(20px, 3vw, 28px) auto 0;
  padding: 16px 22px 16px 28px;
  overflow: visible;
  text-align: left;
  border-radius: var(--radius-md);
  background: linear-gradient(125deg, rgba(45, 212, 191, 0.09), rgba(124, 108, 255, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.28);
}

.page-about .about-depth-lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  pointer-events: none;
}

.page-about .about-stat-line {
  margin: 0;
  max-width: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.58;
  color: #c9c7d8;
  text-align: left;
}

.page-about .section-head--about .section-kicker {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  letter-spacing: 0.18em;
  color: #b2f5ea;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.28);
}

.page-about .section-head--about-tight {
  margin-bottom: clamp(22px, 3vw, 32px);
}

.page-about .section-head--about-tight h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.page-about .about-section--why {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(52px, 7vw, 80px);
}

.page-about .about-section--expertise {
  position: relative;
  padding-top: clamp(56px, 7vw, 84px);
  padding-bottom: clamp(56px, 7vw, 84px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(124, 108, 255, 0.05) 42%, rgba(0, 0, 0, 0.2) 100%);
}

.page-about .about-section--mission {
  padding-top: clamp(52px, 6.5vw, 76px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.page-about .about-section--values {
  padding-top: clamp(44px, 5.5vw, 68px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.page-about .section--about-cta {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.inner.inner--wide {
  max-width: min(960px, 92vw);
}

.inner.inner--about-pair {
  max-width: min(720px, 92vw);
  margin: 0 auto 22px;
}

.inner.inner--about-pair h2 {
  margin-bottom: 0;
}

.about-diff-list {
  margin: 18px 0 0;
  padding-left: 22px;
}

.about-diff-list li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #b8b6c8;
}

.about-expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

.about-expertise-card {
  position: relative;
  padding: 22px 22px 24px;
  text-align: left;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(124, 108, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.08) inset,
    0 18px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-expertise-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.about-expertise-card__head h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
  padding-top: 10px;
  color: #f2f0fa;
  font-weight: 700;
}

.about-expertise-card p {
  margin: 0;
  color: #c4c2d4;
}

.about-expertise-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #c8fff4;
  background:
    linear-gradient(165deg, rgba(12, 10, 22, 0.92), rgba(22, 18, 38, 0.88)) padding-box,
    linear-gradient(135deg, var(--accent), #5eead4) border-box;
  border: 1px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 8px 22px rgba(45, 212, 191, 0.28);
}

.about-expertise-card__icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.about-expertise-card--creators .about-expertise-card__icon {
  color: #ddd6fe;
  background:
    linear-gradient(165deg, rgba(12, 10, 22, 0.92), rgba(22, 18, 38, 0.88)) padding-box,
    linear-gradient(135deg, var(--accent-2), #a78bfa) border-box;
  box-shadow: 0 8px 22px rgba(124, 108, 255, 0.32);
}

.about-expertise-card--production .about-expertise-card__icon {
  color: #a5f3fc;
  background:
    linear-gradient(165deg, rgba(12, 10, 22, 0.92), rgba(22, 18, 38, 0.88)) padding-box,
    linear-gradient(135deg, #2dd4bf, rgba(124, 108, 255, 0.85)) border-box;
  box-shadow: 0 8px 22px rgba(45, 212, 191, 0.22), 0 8px 20px rgba(124, 108, 255, 0.18);
}

.about-expertise-card--ops .about-expertise-card__icon {
  color: #e0d4ff;
  background:
    linear-gradient(165deg, rgba(12, 10, 22, 0.92), rgba(22, 18, 38, 0.88)) padding-box,
    linear-gradient(135deg, #5eead4, var(--accent-2)) border-box;
  box-shadow: 0 8px 22px rgba(94, 234, 212, 0.2), 0 8px 22px rgba(124, 108, 255, 0.18);
}

.about-mv-grid {
  max-width: min(920px, 92vw);
  gap: clamp(18px, 2.8vw, 28px);
}

.about-mv-card {
  position: relative;
  padding-left: 28px;
  text-align: left;
  background: linear-gradient(125deg, rgba(45, 212, 191, 0.09), rgba(124, 108, 255, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.28);
}

.about-mv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.about-mv-card h3 {
  color: #f7f5ff;
}

.about-mv-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page-about .about-depth-lead:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.about-values-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-values-list li {
  margin: 0;
  padding: 14px 20px;
  text-align: left;
  font-size: 15px;
  line-height: 1.58;
  color: #d4d2e4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.about-values-list li strong {
  color: #f4f2ff;
  font-weight: 700;
}

.section--about-cta .section-head.section-head--about-tight {
  margin-bottom: 12px;
}

.section--about-cta .about-cta-lead {
  max-width: 36em;
  margin: 8px auto 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.cta-row.cta-row--about {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: min(860px, 94vw);
  width: 100%;
  margin: 28px auto 0;
  gap: 14px 18px;
  align-items: stretch;
  text-align: center;
}

.cta-row.cta-row--about .cta-btn {
  flex: initial;
  width: 100%;
  min-height: 50px;
}

@media (max-width: 900px) {
  .about-expertise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-expertise-card {
    padding: 18px 18px 20px;
  }

  .about-expertise-card__head {
    gap: 12px;
  }

  .about-expertise-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .about-expertise-card__head h3 {
    padding-top: 8px;
  }

  .about-expertise-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .about-values-list {
    gap: 12px;
  }

  .about-mv-grid.two-col {
    gap: 14px;
  }

  .cta-row.cta-row--about {
    grid-template-columns: 1fr;
    max-width: min(400px, 100%);
    gap: 14px;
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .about-expertise-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .about-expertise-card:hover {
    transform: translateY(-5px);
    border-color: rgba(165, 243, 252, 0.35);
    box-shadow:
      0 0 0 1px rgba(45, 212, 191, 0.12) inset,
      0 22px 52px rgba(0, 0, 0, 0.38),
      0 0 40px rgba(124, 108, 255, 0.12);
  }

  .about-mv-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .about-mv-card:hover,
  .about-mv-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(165, 243, 252, 0.32);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.09),
      0 0 0 1px rgba(45, 212, 191, 0.1) inset,
      0 22px 50px rgba(0, 0, 0, 0.36),
      0 0 34px rgba(124, 108, 255, 0.11);
  }

  .page-about .about-depth-lead {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .page-about .about-depth-lead:hover,
  .page-about .about-depth-lead:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(165, 243, 252, 0.32);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.09),
      0 0 0 1px rgba(45, 212, 191, 0.1) inset,
      0 22px 50px rgba(0, 0, 0, 0.36),
      0 0 34px rgba(124, 108, 255, 0.11);
  }

  .about-values-list li {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .about-values-list li:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 108, 255, 0.35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  }
}

.steps {
  counter-reset: step;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.step {
  position: relative;
  padding-left: 52px;
  margin-bottom: 26px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), #a78bfa);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.35;
  padding-bottom: 0.04em;
  overflow: visible;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 36px auto 0;
  text-align: center;
}

.cta-row .cta-btn {
  flex: 1 1 160px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  box-sizing: border-box;
  text-align: center;
}

.cta-row .cta-btn:only-of-type {
  flex: 0 1 auto;
  min-width: min(100%, 280px);
}

/* ========================= */
/* FOOTER */
/* ========================= */

.site-footer {
  margin-top: auto;
  padding-top: 44px;
  padding-bottom: calc(28px + var(--novyra-safe-bottom));
  padding-left: calc(24px + var(--novyra-safe-left));
  padding-right: calc(24px + var(--novyra-safe-right));
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

a.footer-brand {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
}

a.footer-brand:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.footer-brand .main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding-bottom: 0.05em;
  overflow: visible;
}

.footer-brand .sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  width: 100%;
  max-width: 22rem;
  margin: 0;
  padding: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: #5c5a6b;
}

.footer-email-row {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: min(100%, 22rem);
  margin: 0;
  padding: 0 12px 14px;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-sizing: border-box;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  color: #9d99ae;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-email svg {
  flex-shrink: 0;
  width: 17px;
  height: 13px;
  vertical-align: middle;
  color: currentColor;
}

.footer-email:hover {
  color: var(--accent);
}

.footer-email:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Subpage footer: thin accent + centered single column */
.site-footer--lux {
  padding-top: clamp(26px, 3.6vw, 34px);
  border-top-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    180deg,
    rgba(10, 9, 16, 0.72) 0%,
    rgba(4, 4, 8, 0.92) 100%
  );
}

.footer-glow-line {
  height: 1px;
  width: 100%;
  margin: 0 0 20px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(45, 212, 191, 0.38) 42%,
    rgba(167, 139, 250, 0.3) 58%,
    transparent 100%
  );
  opacity: 0.88;
}

.footer-inner--lux {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-inner--lux .footer-lux-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.footer-inner--lux .footer-lux-top .footer-brand {
  align-self: center;
}

.footer-inner--lux .footer-links {
  justify-content: center;
  width: 100%;
}

.footer-inner--lux .footer-email-row {
  max-width: 24rem;
  margin: 0 auto;
  padding: 0 0 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-inner--lux .footer-copy {
  margin: 0 auto;
  padding: 8px 0 0;
  max-width: 24rem;
  text-align: center;
}

[dir="rtl"] .footer-inner--lux .footer-links,
[dir="rtl"] .footer-inner--lux .footer-email-row,
[dir="rtl"] .footer-inner--lux .footer-copy {
  text-align: center;
}

[dir="rtl"] .footer-inner--lux .footer-lux-top {
  align-items: center;
}

[dir="rtl"] .footer-inner--lux .footer-lux-top .footer-brand {
  align-self: center;
}

/* ========================= */
/* SUBPAGE HERO ACCENT */
/* ========================= */

.hero.hero--compact h1 span {
  background: linear-gradient(105deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Subpage hero highlight word (tips, Monthly, team...) -- give descenders
     visual room or transparent-fill clips them at the line-box. */
  display: inline-block;
  vertical-align: baseline;
  line-height: 1.22;
  padding-bottom: 0.12em;
  overflow: visible;
}

/* ========================= */
/* MEMBER PAGE */
/* ========================= */

.page-member .member-hero-premium {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(40px, 5vw, 56px);
  max-width: min(760px, 94vw);
}

.page-member .member-hero-premium__ambient {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(120%, 900px);
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 70% 58% at 50% 0%, rgba(124, 108, 255, 0.38), transparent 62%),
    radial-gradient(ellipse 55% 50% at 12% 70%, rgba(45, 212, 191, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 45% at 88% 55%, rgba(201, 162, 39, 0.06), transparent 52%);
}

.page-member .member-hero-premium.hero--compact h1 span {
  filter: drop-shadow(0 0 20px rgba(124, 108, 255, 0.32)) drop-shadow(0 0 12px rgba(45, 212, 191, 0.18));
}

.page-member .member-hero-lead {
  max-width: min(38rem, 92vw);
}

.page-member .member-hero-emotion {
  margin-top: 14px;
  max-width: min(36rem, 92vw);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.62;
  color: #c4c2d4;
  font-weight: 500;
}

.member-stats {
  padding: clamp(40px, 5vw, 64px) var(--novyra-page-gutter, 24px) clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(124, 108, 255, 0.05) 50%, rgba(0, 0, 0, 0.16) 100%);
}

/* Member: stats strip nested under trusted heading + carousel */
.member-stats.member-stats--in-proof {
  padding: clamp(22px, 3.2vw, 36px) clamp(16px, 2.5vw, 28px) clamp(28px, 4vw, 44px);
  margin: 0 0 clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(124, 108, 255, 0.06) 50%, rgba(0, 0, 0, 0.12) 100%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.member-proof .section-head {
  margin-bottom: clamp(22px, 3.2vw, 32px);
}

.member-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.member-stat {
  padding: clamp(18px, 2.5vw, 26px) clamp(12px, 2vw, 18px);
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.member-stat__value {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(100deg, var(--accent), #a5f3fc, var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.member-stat__suffix {
  font-size: 0.55em;
  font-weight: 800;
  margin-left: 0.04em;
}

.member-stat__label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.member-proof {
  padding: clamp(52px, 6vw, 80px) var(--novyra-page-gutter, 24px);
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
}

.member-fest {
  padding: clamp(40px, 5vw, 64px) var(--novyra-page-gutter, 24px);
}

.member-fest__card {
  max-width: min(640px, 94vw);
  margin: 0 auto;
  text-align: center;
  padding: clamp(28px, 4vw, 40px) clamp(22px, 3vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(124, 108, 255, 0.12), rgba(45, 212, 191, 0.06));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.member-fest__card h2 {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  margin: 8px 0 14px;
  letter-spacing: -0.02em;
}

.member-fest__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.member-fest__preview {
  position: relative;
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #07060f;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.member-fest__preview:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.85);
  outline-offset: 3px;
}

.member-fest__preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.member-fest__preview-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 3, 10, 0.55) 100%);
  pointer-events: none;
}

.member-fest__preview-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 999px;
  background: rgba(6, 5, 12, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.member-fest__preview-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -10px 0 0 -7px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent rgba(255, 253, 248, 0.95);
}

.member-why {
  padding: clamp(48px, 6vw, 76px) var(--novyra-page-gutter, 24px);
  border-top: 1px solid var(--border);
}

.member-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.member-why-card {
  padding: 22px 22px 24px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  text-align: left;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.member-why-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f0eef8;
}

.member-why-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.member-inside {
  padding: clamp(48px, 6vw, 80px) var(--novyra-page-gutter, 24px);
}

.member-inside__panel {
  max-width: min(720px, 94vw);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 36px) clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: linear-gradient(125deg, rgba(45, 212, 191, 0.08), rgba(124, 108, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 22px 50px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.member-inside__panel h2 {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  margin: 8px 0 14px;
  letter-spacing: -0.02em;
}

.member-inside__lead {
  font-size: 16px;
  line-height: 1.65;
  color: #c9c7d8;
  margin-bottom: 16px;
}

.member-inside__list {
  margin: 0;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.62;
}

.member-inside__list li {
  margin-bottom: 10px;
}

.page-member .member-steps-section {
  padding: clamp(48px, 6vw, 80px) var(--novyra-page-gutter, 24px);
  border-top: 1px solid var(--border);
}

.page-member .member-steps-section .inner {
  max-width: min(900px, 94vw);
}

.page-member .member-steps-lead {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: -8px auto 28px;
  max-width: 36rem;
}

.page-member .member-steps {
  max-width: none;
  margin: 0 auto;
}

.page-member .member-steps .member-step {
  position: relative;
  padding-left: 52px;
  margin-bottom: 28px;
}

.page-member .member-steps .member-step::before {
  display: none;
}

.page-member .member-step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), #a78bfa);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
}

@media (min-width: 901px) {
  .page-member .member-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
    align-items: start;
  }

  .page-member .member-steps .member-step {
    margin-bottom: 0;
    padding-left: 0;
    padding-top: 52px;
    text-align: center;
  }

  .page-member .member-step__num {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }

  .page-member .member-steps .member-step h3,
  .page-member .member-steps .member-step p {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .member-stats__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .member-why__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* TEAM: CEO spotlight */
/* ========================= */

.team-ceo {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

.team-ceo__card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.15fr);
  gap: 32px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.team-ceo__figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 4 / 5;
  max-height: 420px;
}

.team-ceo__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-ceo__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.team-ceo__name {
  font-family: var(--font-body);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  padding-bottom: 0.05em;
  margin-bottom: 6px;
  overflow: visible;
}

.team-ceo__role {
  font-size: 15px;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 18px;
}

.team-ceo__bio {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 46ch;
}

.team-ceo__join-hint {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 48ch;
}

.team-ceo__join-hint strong {
  color: var(--text);
}

.team-ceo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .team-ceo__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-ceo__figure {
    max-height: 360px;
    margin: 0 auto;
    width: min(100%, 320px);
  }

  .team-ceo__bio {
    margin-left: auto;
    margin-right: auto;
  }

  .team-ceo__join-hint {
    margin-left: auto;
    margin-right: auto;
  }

  .team-ceo__actions {
    justify-content: center;
  }
}

/* TEAM: trust strip & manager / partner CTA */
.page-team .team-trust {
  padding: 48px 24px 36px;
}

.team-trust__inner {
  max-width: min(760px, 94vw);
  margin: 0 auto;
  text-align: center;
}

.team-trust__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 auto 14px;
  line-height: 1.35;
  max-width: 40rem;
}

.team-trust__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 auto 22px;
  max-width: 52ch;
}

.team-trust__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 48ch;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.team-trust__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #c9c7d4;
}

.team-trust__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent-glow);
}

.page-team .team-partner-cta {
  padding: 16px 24px 48px;
}

.team-partner-cta__card {
  max-width: 580px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 32px);
  background: var(--card);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.38);
}

.team-partner-cta__title {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.25;
}

.team-partner-cta__lead {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-muted);
  margin: 0 0 22px;
}

.team-partner-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.team-ceo__name {
  margin-top: 0;
}

/* ========================= */
/* BONUS PAGE: ladder layout */
/* ========================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* No narrow diagonal band: that read as a streak across the viewport */
.page-bonus {
  background-image:
    radial-gradient(ellipse 100% 70% at 10% -10%, rgba(124, 108, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(45, 212, 191, 0.1), transparent 50%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 38%, #020204 100%);
}

/* Grain SVG can show stitch seams as a faint diagonal; bonus page stays clean */
body.page-bonus::before {
  display: none;
}

.bonus-page-hero .hero-lead {
  max-width: 560px;
}

html.novyra-hero-accent-motion [data-hero-accent] h1 {
  position: relative;
}

html.novyra-hero-accent-motion [data-hero-accent] h1::after {
  content: "";
  display: block;
  width: min(200px, 52vw);
  height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: center;
  animation: bonusHeroRule 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes bonusHeroRule {
  to {
    transform: scaleX(1);
  }
}

.section--bonus-cta .cta-row {
  max-width: 520px;
}

.bonus-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.1);
}

.bonus-intro {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px 40px;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Bonus page — premium creator referral / ambassador block */
.page-bonus .bonus-recruit-premium {
  position: relative;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 22px clamp(56px, 8vw, 88px);
  max-width: 1120px;
  overflow: hidden;
}

.page-bonus .bonus-recruit-premium__ambient {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(124, 108, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 50% 40% at 18% 40%, rgba(45, 212, 191, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 38% at 82% 45%, rgba(167, 139, 250, 0.08), transparent 52%);
  opacity: 0.85;
}

.page-bonus .bonus-recruit-premium__inner {
  position: relative;
  z-index: 1;
}

.page-bonus .bonus-recruit-premium__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(32px, 4.5vw, 48px);
}

.page-bonus .bonus-recruit-premium__title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: #fff;
}

.page-bonus .bonus-recruit-premium__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: balance;
}

.page-bonus .bonus-recruit-premium__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .page-bonus .bonus-recruit-premium__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

.page-bonus .bonus-recruit-premium__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 12, 26, 0.82);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.45s ease;
}

@supports ((-webkit-backdrop-filter: blur(18px)) or (backdrop-filter: blur(18px))) {
  .page-bonus .bonus-recruit-premium__card {
    background: rgba(14, 12, 26, 0.42);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    backdrop-filter: blur(18px) saturate(1.25);
  }
}

.page-bonus .bonus-recruit-premium__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(124, 108, 255, 0.1));
}

.page-bonus .bonus-recruit-premium__card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.22),
    0 0 42px rgba(45, 212, 191, 0.14),
    0 22px 56px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-bonus .bonus-recruit-premium__card:hover::before {
  opacity: 1;
}

.page-bonus .bonus-recruit-premium__grid .bonus-recruit-premium__card .bonus-recruit-premium__card-title {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-size: 1.05rem;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  line-height: 1.25;
  color: var(--text);
}

.page-bonus .bonus-recruit-premium__card-body {
  margin: 0;
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-muted);
}

.bonus-tracks {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px 72px;
}

.bonus-tracks--pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
}

.bonus-track {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  overflow: hidden;
  min-height: 0;
}

.bonus-track__accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 0 4px 4px 0;
}

.bonus-track--advance .bonus-track__accent-bar {
  background: linear-gradient(180deg, #5eead4, var(--accent), rgba(45, 212, 191, 0.35));
}

.bonus-track--elite .bonus-track__accent-bar {
  left: auto;
  right: 0;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #c4b5fd, var(--accent-2), rgba(124, 108, 255, 0.35));
}

.bonus-track--advance {
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: linear-gradient(165deg, rgba(45, 212, 191, 0.06) 0%, rgba(0, 0, 0, 0.22) 45%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.bonus-track--elite {
  border-radius: 18px;
  border: 1px solid rgba(124, 108, 255, 0.28);
  background: linear-gradient(195deg, rgba(124, 108, 255, 0.07) 0%, rgba(0, 0, 0, 0.22) 45%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.bonus-track__head {
  text-align: left;
  margin-bottom: 6px;
  padding-left: 6px;
}

.bonus-track--elite .bonus-track__head {
  text-align: left;
  padding-left: 0;
  padding-right: 6px;
}

.bonus-track__title {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  padding-bottom: 0.04em;
  margin: 0 0 6px;
  overflow: visible;
}

.bonus-track__meta {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.bonus-track--advance .bonus-track__meta {
  color: rgba(167, 243, 208, 0.75);
}

.bonus-track--elite .bonus-track__meta {
  color: rgba(196, 181, 253, 0.85);
}

.bonus-track__lede {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

.bonus-ladder {
  list-style: none;
  margin: 16px 0 0;
  padding: 0 2px 0 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  flex: 1;
}

.bonus-track--elite .bonus-ladder {
  padding: 0 6px 0 2px;
}

.bonus-ladder li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  padding: 10px 12px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.bonus-ladder li:last-child {
  border-bottom: none;
}

.bonus-ladder li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.bonus-track--advance .bonus-ladder li:hover {
  background: rgba(45, 212, 191, 0.05);
}

.bonus-track--elite .bonus-ladder li:hover {
  background: rgba(124, 108, 255, 0.06);
}

.bonus-ladder__diamond {
  width: 10px;
  height: 10px;
  justify-self: center;
  align-self: center;
  border-radius: 2px;
  transform: rotate(45deg);
}

.bonus-track--advance .bonus-ladder__diamond {
  background: linear-gradient(135deg, #ecfdf5 0%, var(--accent) 55%, #0f766e 100%);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.4),
    0 0 10px rgba(45, 212, 191, 0.35);
}

.bonus-track--elite .bonus-ladder__diamond {
  background: linear-gradient(135deg, #f5f3ff 0%, var(--accent-2) 55%, #5b21b6 100%);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.45),
    0 0 10px rgba(124, 108, 255, 0.35);
}

.bonus-ladder li:hover .bonus-ladder__diamond {
  filter: brightness(1.12);
}

.bonus-ladder__gems {
  font-size: 13px;
  color: #d8d6e6;
  line-height: 1.35;
}

.bonus-track--advance .bonus-ladder__amt {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #a7f3d0;
  line-height: 1.3;
}

.bonus-track--elite .bonus-ladder__amt {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ddd6fe;
  line-height: 1.3;
}

.bonus-strip {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
  display: block;
}

.bonus-strip__label {
  display: inline-block;
  margin-right: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  vertical-align: middle;
}

.bonus-strip--mint {
  border: 1px solid rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.08);
  color: #c9f7ec;
}

.bonus-strip--violet {
  border: 1px solid rgba(124, 108, 255, 0.35);
  background: rgba(124, 108, 255, 0.1);
  color: #e8e4ff;
}

.bonus-strip strong {
  color: #fff;
}

.bonus-qual {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-qual__title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
  line-height: 1.4;
  overflow: visible;
}

.bonus-qual--elite .bonus-qual__title {
  color: #c4b5fd;
}

.bonus-qual ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bonus-qual li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.bonus-qual li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.bonus-qual--advance li::before {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}

.bonus-qual--elite li::before {
  background: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(124, 108, 255, 0.25);
}

@media (max-width: 900px) {
  .bonus-tracks--pair {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .bonus-track--elite .bonus-track__head {
    padding-right: 0;
    padding-left: 6px;
  }

  .bonus-track--elite .bonus-track__accent-bar {
    left: 0;
    right: auto;
    border-radius: 0 4px 4px 0;
  }
}

@media (max-width: 640px) {
  .bonus-ladder li {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 6px 8px;
    padding: 9px 10px;
  }

  .bonus-ladder .bonus-ladder__amt {
    font-size: 14px;
  }
}

/* ========================= */
/* MOBILE / TABLET: section rhythm (≤900px) */
/* ========================= */
/* Tightens stacked padding under the fixed nav, prevents “viewport hero” dead bands
   (min-height + flex centering) from pushing the next heading down, and aligns
   gutters with compact heroes. Desktop (901px+) is unchanged. */

@media (max-width: 900px) {
  :root {
    /* Shorter fixed header on tablet/phone — keep in sync with `body { padding-top }` below. */
    --novyra-nav-h: calc(76px + var(--novyra-safe-top));
    --novyra-page-gutter: clamp(18px, 4.2vw, 24px);
    --novyra-section-y: clamp(36px, 5vw, 48px);
    --novyra-hero-after-gap: clamp(22px, 4.5vw, 32px);
  }

  html {
    scroll-padding-top: calc(var(--novyra-nav-h) + 8px);
  }

  body {
    padding-top: var(--novyra-nav-h);
  }

  section.hero.hero--compact {
    display: block;
    min-height: 0;
    padding-left: var(--novyra-page-gutter);
    padding-right: var(--novyra-page-gutter);
    /* Body already clears fixed nav — keep a modest band so headlines do not touch the bar. */
    padding-top: clamp(12px, 2.6vw, 24px);
    padding-bottom: clamp(20px, 3.6vw, 30px);
  }

  section.hero:not(.hero--compact) {
    padding-left: var(--novyra-page-gutter);
    padding-right: var(--novyra-page-gutter);
    padding-top: clamp(40px, 7vw, 72px);
    padding-bottom: clamp(40px, 6vw, 60px);
  }

  body.page-home section.hero:not(.hero--compact) {
    padding-top: clamp(44px, 7.6vw, 80px);
    padding-bottom: clamp(44px, 6.8vw, 68px);
  }

  /* Home: body.page-home has no padding-top — offset lockup with nav height (same as desktop). */
  body.page-home section.hero.hero--home-cosmos {
    padding-top: calc(var(--novyra-nav-h) + clamp(5px, 1.2vw, 14px));
    padding-bottom: clamp(26px, 5vw, 52px);
    padding-left: clamp(10px, 3.2vw, 22px);
    padding-right: clamp(10px, 3.2vw, 22px);
  }

  body.page-home section.hero.hero--home-cosmos .hero__stack {
    max-width: min(100%, 1180px);
    width: 100%;
    gap: 0;
    row-gap: 0;
  }

  body.page-home section.hero.hero--home-cosmos .trust-badge--hero-ribbon {
    margin-bottom: clamp(0px, 0.35vw, 5px);
  }

  body.page-home section.hero.hero--home-cosmos .hero-cosmos {
    background:
      radial-gradient(ellipse 58% 50% at 22% 16%, rgba(124, 108, 255, 0.36), transparent 58%),
      radial-gradient(ellipse 54% 46% at 78% 12%, rgba(45, 212, 191, 0.24), transparent 55%),
      radial-gradient(ellipse 72% 56% at 50% 88%, rgba(201, 162, 39, 0.08), transparent 52%),
      radial-gradient(circle at 50% 42%, rgba(18, 17, 26, 0.14), transparent 70%),
      #050508;
  }

  body.page-home section.hero.hero--home-cosmos .hero__stack h1.hero-brand {
    font-size: clamp(4.45rem, 13.8vw, 8.25rem);
    padding-top: 0;
    padding-bottom: 0;
    margin-top: clamp(-0.52rem, -2.1vw, -0.06rem);
    letter-spacing: 0.018em;
  }

  body.page-home .hero-brand__line2 {
    letter-spacing: 0.32em;
    padding-inline-end: 0.32em;
  }

  body.page-home .hero-brand-measure {
    gap: 0.28em;
  }

  body.page-home .hero-brand-measure__l2 {
    letter-spacing: 0.32em;
    padding-inline-end: 0.32em;
  }

  .section {
    padding: var(--novyra-section-y) var(--novyra-page-gutter) clamp(44px, 6vw, 56px);
    min-height: 0;
    scroll-margin-top: calc(var(--novyra-nav-h) + 10px);
  }

  section.hero.hero--compact + .section {
    padding-top: var(--novyra-hero-after-gap);
  }

  .inner {
    max-width: min(720px, 100%);
  }

  .features,
  .testimonials,
  .page-links,
  .stats-strip,
  .team-ceo,
  .bonus-intro,
  .bonus-tracks {
    padding-left: var(--novyra-page-gutter);
    padding-right: var(--novyra-page-gutter);
  }

  .team-ceo {
    padding-top: var(--novyra-hero-after-gap);
  }

  .bonus-intro {
    padding-top: var(--novyra-hero-after-gap);
  }
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-btn {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .navbar {
    padding-top: calc(12px + var(--novyra-safe-top));
    padding-right: calc(18px + var(--novyra-safe-right));
    padding-bottom: 12px;
    padding-left: calc(18px + var(--novyra-safe-left));
  }

  .hero .hero-lead {
    max-width: min(42rem, 100%);
  }

  body.page-home .navbar {
    background: linear-gradient(
      180deg,
      rgba(6, 5, 10, 0.9) 0%,
      rgba(6, 5, 10, 0.74) 55%,
      rgba(6, 5, 10, 0.5) 100%
    );
  }

  /* Mobile drawer: persistent “you are here” pill (desktop .nav-links is hidden) */
  .mobile-menu a:not(.mobile-join):not(.active) {
    color: rgba(232, 230, 244, 0.68);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border-color: transparent;
  }

  .mobile-menu a:not(.mobile-join):not(.active):hover {
    color: rgba(244, 243, 248, 0.92);
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .mobile-menu a.active:not(.mobile-join) {
    color: var(--ink);
    font-weight: 700;
    border-radius: 999px;
    border-color: transparent;
    background: linear-gradient(120deg, var(--accent), #5eead4);
    box-shadow:
      0 0 0 1px rgba(45, 212, 191, 0.45),
      0 0 0 1px rgba(124, 108, 255, 0.22) inset,
      0 10px 30px rgba(45, 212, 191, 0.2);
  }

  .mobile-menu a.active:not(.mobile-join):active {
    background: linear-gradient(120deg, #26b8a3, #4fd4c4);
    box-shadow:
      0 0 0 1px rgba(45, 212, 191, 0.5),
      0 8px 24px rgba(45, 212, 191, 0.16);
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
  }

  .footer-inner--lux {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-inner--lux .footer-lux-top {
    align-items: center;
  }

  .footer-inner--lux .footer-links {
    justify-content: center;
    justify-self: stretch;
    width: 100%;
  }

  .footer-inner--lux .footer-email-row {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    text-align: center;
    padding: 0 0 10px;
  }

  .footer-inner--lux .footer-copy {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    text-align: center;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  a.footer-brand,
  .footer-email-row,
  .footer-links,
  .footer-copy {
    grid-area: unset;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .footer-email-row {
    padding: 0 0 10px;
    border-bottom: 0;
  }

  .footer-links {
    justify-content: center;
    justify-self: stretch;
  }

  .footer-copy {
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  [dir="rtl"] .footer-links {
    justify-content: center;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .mobile-menu a:not(.mobile-join) {
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
}

@media (max-width: 480px) {
  body.page-home section.hero.hero--home-cosmos {
    padding-top: calc(var(--novyra-nav-h) + clamp(6px, 3vw, 14px));
    padding-bottom: clamp(18px, 5.5vw, 38px);
    padding-left: clamp(8px, 2.8vw, 16px);
    padding-right: clamp(8px, 2.8vw, 16px);
  }

  body.page-home section.hero.hero--home-cosmos .trust-badge--hero-ribbon {
    margin-bottom: 0;
  }

  body.page-home section.hero.hero--home-cosmos .hero__stack h1.hero-brand {
    font-size: clamp(4.75rem, 17.5vw, 7.75rem);
    padding-top: 0;
    padding-bottom: 0;
    margin-top: clamp(-0.58rem, -2.65vw, -0.1rem);
    letter-spacing: 0.016em;
  }

  body.page-home .hero-brand__line2 {
    letter-spacing: 0.24em;
    padding-inline-end: 0.24em;
    margin-top: 0.1em;
  }

  body.page-home .hero-brand-measure {
    gap: 0.24em;
  }

  body.page-home .hero-brand-measure__l2 {
    letter-spacing: 0.24em;
    padding-inline-end: 0.24em;
    margin-top: 0.1em;
  }

  body.page-home .hero-brand-measure__l1 {
    font-size: 1.22em;
  }

  body.page-home section.hero.hero--home-cosmos .hero-home-divider {
    margin-top: clamp(10px, 2.4vw, 16px);
    margin-bottom: clamp(16px, 3.8vw, 26px);
    margin-left: auto;
    margin-right: auto;
    transform: translateY(clamp(-9px, -1.3vw, -4px));
  }

  body.page-home section.hero.hero--home-cosmos .hero-lead-pro {
    margin-top: 0;
  }

  :root {
    --novyra-page-gutter: clamp(14px, 4vw, 20px);
    --novyra-section-y: clamp(28px, 6vw, 40px);
  }

  section.hero.hero--compact {
    padding-top: clamp(10px, 2.4vw, 18px);
    padding-bottom: clamp(16px, 4vw, 26px);
  }

  section.hero.hero--compact h1 {
    font-size: clamp(30px, 7.2vw, 44px);
    line-height: 1.18;
  }

  .hero .hero-lead {
    font-size: clamp(15px, 4.1vw, 17px);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: min(100%, 340px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .cta-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .card-block {
    padding: 20px 18px;
  }

  .inner h2 {
    font-size: clamp(22px, 5.5vw, 26px);
  }
}

/* ========================= */
/* MOTION: global polish (GSAP handles scroll; this layer is CSS-only) */
/* ========================= */

html.novyra-motion .fade {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: novyraGrainDrift 26s ease-in-out infinite alternate;
  }

  @keyframes novyraGrainDrift {
    from {
      opacity: 0.28;
    }
    to {
      opacity: 0.44;
    }
  }

  .hero .hero-accent.tiktok-inline--hero .tiktok-inline__text--gradient {
    background-size: 240% auto;
    animation: novyraAccentFlow 11s ease-in-out infinite;
  }

  @keyframes novyraAccentFlow {
    0%,
    100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }

  .logo {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  }

  .logo:hover {
    transform: scale(1.02);
  }

  .logo:hover .logo-text {
    filter: drop-shadow(0 0 14px rgba(45, 212, 191, 0.22));
  }

  a.footer-brand {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  }

  a.footer-brand:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 14px rgba(45, 212, 191, 0.22));
  }

  .cta-btn:not(.cta-btn--ghost) {
    position: relative;
    overflow: hidden;
  }

  .cta-btn:not(.cta-btn--ghost)::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -40%;
    width: 45%;
    background: linear-gradient(
      95deg,
      transparent,
      rgba(255, 255, 255, 0.28),
      transparent
    );
    transform: skewX(-18deg) translateX(-180%);
    pointer-events: none;
    border-radius: inherit;
  }

  .cta-btn:not(.cta-btn--ghost):hover::before {
    animation: novyraBtnSheen 0.75s ease-out forwards;
  }

  @keyframes novyraBtnSheen {
    to {
      transform: skewX(-18deg) translateX(420%);
    }
  }

  .nav-btn {
    position: relative;
    overflow: hidden;
  }

  .nav-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -35%;
    width: 40%;
    background: linear-gradient(
      95deg,
      transparent,
      rgba(255, 255, 255, 0.35),
      transparent
    );
    transform: skewX(-16deg) translateX(-200%);
    pointer-events: none;
    border-radius: inherit;
  }

  .nav-btn:hover::before {
    animation: novyraBtnSheen 0.65s ease-out forwards;
  }

  .page-link-card .arrow {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .page-link-card:hover .arrow {
    transform: translateX(6px);
  }

  /* Bonus page: no template-style sheen / drifting grain */
  body.page-bonus::before {
    animation: none !important;
    display: none !important;
  }

  body.page-bonus .cta-btn:not(.cta-btn--ghost)::before,
  body.page-bonus .nav-btn::before {
    display: none !important;
    content: none !important;
    animation: none !important;
  }

  body.page-bonus .cta-btn:not(.cta-btn--ghost),
  body.page-bonus .nav-btn {
    overflow: visible;
  }

  body.page-bonus .logo:hover {
    transform: none;
    filter: none;
  }

  body.page-bonus .logo:hover .logo-text {
    filter: none;
  }

  body.page-bonus a.footer-brand:hover {
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.novyra-motion .fade {
    opacity: 1;
    transform: none;
  }

  .page-about .about-hero.hero--compact h1 span {
    filter: none;
  }

  .page-about .about-depth-lead {
    opacity: 1;
    transform: none;
  }

  .about-expertise-card,
  .about-mv-card,
  .page-about .about-depth-lead,
  .about-values-list li,
  .testimonial-card {
    transition: none !important;
  }

  .about-expertise-card:hover,
  .about-mv-card:hover,
  .about-mv-card:focus-visible,
  .page-about .about-depth-lead:hover,
  .page-about .about-depth-lead:focus-visible,
  .about-values-list li:hover {
    transform: none !important;
  }

  body::before {
    animation: none !important;
  }

  .hero .hero-accent.tiktok-inline--hero .tiktok-inline__text--gradient {
    animation: none !important;
    background-size: auto;
  }

  .hero-cosmos,
  .hero-aurora,
  .hero-rings,
  .hero-gift-burst,
  .hero-brand__line1,
  .hero-brand__line2 {
    animation: none !important;
  }

  .hero-cosmos::before {
    animation: none !important;
    opacity: 0.26;
    transform: none !important;
  }

  body.page-home section.hero.hero--home-cosmos .hero-cosmos::before {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.24;
  }

  .hero-cosmos {
    transform: none !important;
  }

  .hero-aurora {
    transform: none !important;
    opacity: 0.42;
  }

  .hero-gift-burst {
    transform: translate(-50%, -50%) !important;
  }

  .cta-btn:not(.cta-btn--ghost)::before,
  .nav-btn::before {
    display: none !important;
  }

  .logo:hover {
    transform: none;
    filter: none;
  }

  .logo:hover .logo-text {
    filter: none;
  }

  a.footer-brand:hover {
    transform: none;
    filter: none;
  }

  html.novyra-hero-accent-motion [data-hero-accent] h1::after {
    animation: none !important;
    transform: scaleX(1);
  }
}

/* =============================================================================
   Mobile home hero — luxury rhythm (≤900px, body.page-home only).
   Tightens nav→lockup gap, title + montage hierarchy, plain-fallback video bleed,
   and optional motion. Desktop ≥901px unchanged.
   ============================================================================= */

@keyframes heroMobileHomeStackReveal {
  from {
    opacity: 0;
    filter: blur(7px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes heroMobileHomeStackFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -2.5px, 0);
  }
}

@keyframes heroMobileHomeSvgLuxPulse {
  0%,
  100% {
    filter: drop-shadow(0 10px 26px rgba(3, 2, 12, 0.52)) drop-shadow(0 0 32px rgba(124, 92, 200, 0.14))
      drop-shadow(0 0 48px rgba(212, 184, 122, 0.07));
  }

  50% {
    filter: drop-shadow(0 13px 32px rgba(3, 2, 12, 0.56)) drop-shadow(0 0 44px rgba(124, 92, 200, 0.22))
      drop-shadow(0 0 58px rgba(212, 184, 122, 0.11));
  }
}

@media (max-width: 900px) {
  body.page-home section.hero.hero--home-cosmos {
    padding-top: calc(var(--novyra-nav-h) + clamp(0px, 0.35vw, 5px));
    padding-bottom: clamp(22px, 4.8vw, 50px);
  }

  body.page-home section.hero.hero--home-cosmos .trust-badge--hero-ribbon {
    margin-top: clamp(-4px, -0.35vw, 0px);
    margin-bottom: clamp(2px, 0.9vw, 10px);
  }

  body.page-home section.hero.hero--home-cosmos .hero__stack {
    max-width: min(100%, 1180px);
    width: 100%;
  }

  body.page-home section.hero.hero--home-cosmos .hero__stack h1.hero-brand {
    font-size: clamp(4.85rem, 15.2vw, 9.1rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.012em;
    margin-top: clamp(-0.62rem, -2.4vw, -0.12rem);
    padding-top: 0;
    padding-bottom: 0;
    text-shadow: 0 0 42px rgba(124, 108, 255, 0.12), 0 0 72px rgba(45, 212, 191, 0.06), 0 18px 40px rgba(5, 5, 12, 0.45);
  }

  body.page-home section.hero.hero--home-cosmos .hero-brand-lockup {
    width: 100%;
    max-width: min(36rem, 100%);
  }

  body.page-home .hero-brand-measure {
    gap: 0.06em;
  }

  body.page-home .hero-brand-measure__l1 {
    font-size: 1.18em;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  body.page-home .hero-brand-measure__l2 {
    margin-top: 0.02em;
    font-weight: 800;
    letter-spacing: 0.26em;
    padding-inline-end: 0.26em;
  }

  body.page-home section.hero.hero--home-cosmos .hero-brand-stroke-layer text[data-hero-brand-stroke-l1] {
    stroke-width: 2.15;
  }

  body.page-home section.hero.hero--home-cosmos .hero-brand-stroke-layer text[data-hero-brand-stroke-l2] {
    stroke-width: 1.55;
  }

  body.page-home .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-video-montage__layer--single,
  body.page-home .hero-brand-lockup--stroke-fallback .hero-brand-video-montage__layer--single {
    transform: scale(0.94);
  }

  body.page-home section.hero.hero--home-cosmos .hero-home-divider {
    width: min(42%, 380px);
    min-width: min(10rem, 86vw);
    margin-top: clamp(8px, 1.8vw, 14px);
    margin-bottom: clamp(14px, 2.8vw, 24px);
    transform: translateY(clamp(-6px, -0.85vw, -2px));
    box-shadow:
      0 0 20px color-mix(in srgb, var(--accent) 24%, transparent),
      0 0 32px color-mix(in srgb, var(--accent-2) 18%, transparent);
  }

  body.page-home section.hero.hero--home-cosmos .hero-lead-pro {
    max-width: min(31rem, 94vw);
    margin-top: clamp(2px, 0.6vw, 6px);
  }

  body.page-home section.hero.hero--home-cosmos .hero-lead.hero-lead--home-glass {
    padding: clamp(12px, 2.4vw, 16px) clamp(14px, 3.2vw, 18px);
    font-size: clamp(13.5px, 3.35vw, 15.5px);
    line-height: 1.7;
    letter-spacing: 0.03em;
    border-radius: var(--radius-md);
    opacity: 0.94;
  }

  body.page-home section.hero.hero--home-cosmos .hero-actions {
    margin-top: clamp(16px, 3.2vw, 22px);
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l1] {
    font-weight: 800;
    letter-spacing: 0.06em;
    text-shadow:
      0 0 1px rgba(255, 253, 248, 0.55),
      0 0 52px rgba(124, 108, 255, 0.45),
      0 0 96px rgba(45, 212, 191, 0.12),
      0 5px 28px rgba(5, 5, 12, 0.82);
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l2] {
    font-weight: 800;
    letter-spacing: 0.28em;
    padding-inline-end: 0.28em;
    text-shadow:
      0 0 1px rgba(220, 235, 255, 0.5),
      0 0 38px rgba(45, 212, 191, 0.38),
      0 0 62px rgba(124, 108, 255, 0.26),
      0 4px 20px rgba(5, 5, 12, 0.72);
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-inline-video:not([hidden]) {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: clamp(0.12rem, 0.55vw, 0.38rem);
    border-radius: clamp(20px, 4.5vw, 26px);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.1) inset,
      0 22px 56px rgba(5, 5, 12, 0.58),
      0 0 48px rgba(124, 108, 255, 0.16),
      0 0 72px rgba(212, 184, 122, 0.08);
  }
}

@media (max-width: 540px) {
  body.page-home section.hero.hero--home-cosmos .hero__stack h1.hero-brand {
    font-size: clamp(5.05rem, 17.2vw, 8.4rem);
    letter-spacing: -0.018em;
  }

  body.page-home .hero-brand-measure__l2 {
    letter-spacing: 0.22em;
    padding-inline-end: 0.22em;
  }

  body.page-home .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-video-montage__layer--single,
  body.page-home .hero-brand-lockup--stroke-fallback .hero-brand-video-montage__layer--single {
    transform: scale(0.97);
  }

  body.page-home .hero-brand-lockup--plain-fallback .hero-brand-fallback.visually-hidden [data-hero-brand-fallback-l2] {
    letter-spacing: 0.2em;
    padding-inline-end: 0.2em;
  }
}

@media (max-width: 480px) {
  body.page-home section.hero.hero--home-cosmos {
    padding-top: calc(var(--novyra-nav-h) + clamp(0px, 0.25vw, 4px));
  }

  body.page-home section.hero.hero--home-cosmos .hero-home-divider {
    margin-top: clamp(6px, 1.6vw, 12px);
    margin-bottom: clamp(12px, 2.6vw, 20px);
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  body.page-home section.hero.hero--home-cosmos .hero__stack {
    animation: heroMobileHomeStackReveal 0.78s cubic-bezier(0.22, 1, 0.36, 1) both,
      heroMobileHomeStackFloat 10s ease-in-out 0.78s infinite;
  }

  body.page-home .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-svg-host .hero-brand-svg,
  body.page-home .hero-brand-lockup--stroke-fallback .hero-brand-svg-host .hero-brand-svg {
    animation: heroMobileHomeSvgLuxPulse 7.2s ease-in-out infinite;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  body.page-home section.hero.hero--home-cosmos .hero__stack {
    animation: none !important;
    opacity: 1;
    filter: none;
    transform: none;
  }

  body.page-home .hero-brand-lockup--ready.hero-brand-lockup--mask-active .hero-brand-svg-host .hero-brand-svg,
  body.page-home .hero-brand-lockup--stroke-fallback .hero-brand-svg-host .hero-brand-svg {
    animation: none !important;
  }
}

/* Member (Become a Member): mobile — tuck compact hero under fixed nav without changing global compact heroes. */
@media (max-width: 900px) {
  body.page-member section.hero.hero--compact.member-hero-premium {
    padding-top: clamp(4px, 1.25vw, 10px);
  }
}

@media (max-width: 540px) {
  body.page-member section.hero.hero--compact.member-hero-premium {
    padding-top: clamp(3px, 1.05vw, 8px);
  }
}

@media (max-width: 480px) {
  body.page-member section.hero.hero--compact.member-hero-premium {
    padding-top: clamp(3px, 0.95vw, 7px);
  }
}
