/* Prismelo modern layer: removable, token-driven, and shared across pages. */

:root {
  --maxw: 1380px;
  --nav-h: 82px;
  --line: rgba(242, 239, 224, 0.15);
  --line-strong: rgba(242, 239, 224, 0.32);
  --shadow: 0 28px 80px -34px rgba(0, 0, 0, 0.82);
}

:root[data-theme="light"] {
  --line: rgba(27, 51, 38, 0.16);
  --line-strong: rgba(27, 51, 38, 0.34);
  --shadow: 0 28px 80px -36px rgba(27, 51, 38, 0.28);
}

.nav {
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  backdrop-filter: blur(14px) saturate(1.12);
}
.nav.is-stuck { box-shadow: 0 12px 40px -28px rgba(0, 0, 0, 0.7); }
.nav__link { padding-block: 0.55rem; }
.nav__link::after { bottom: 0.16rem; }
.brand { letter-spacing: -0.02em; }
.brand sup { color: var(--accent); }

.hero { min-height: min(900px, 100svh); }
.hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hero__text { grid-column: 1; max-width: 38rem; }
.hero .h-hero { max-width: 8ch; font-size: clamp(3.9rem, 8vw, 8.25rem); line-height: 0.91; }
.hero__lead { max-width: 38rem; color: color-mix(in srgb, var(--muted) 92%, var(--ink)); }
.hero__actions .btn--primary { box-shadow: 0 12px 32px -18px color-mix(in srgb, var(--accent) 72%, transparent); }
.hero__meta { gap: clamp(1.25rem, 3vw, 3.5rem); }
.hero__meta dd { font-size: clamp(1.3rem, 2vw, 1.7rem); }

.section-head { max-width: 48rem; }
.section-head .h2 { max-width: 17ch; }
.proof__grid { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__item { padding-block: 1.4rem; }
.proof__item + .proof__item { border-left: 1px solid var(--line); }
.card, .product, .tier, .benefit { box-shadow: 0 18px 46px -36px rgba(0, 0, 0, 0.75); }
.card:hover, .product:hover, .tier:hover, .benefit:hover { box-shadow: var(--shadow); }

/* Keep horizontal rails readable and safe on touch devices. */
.rail-track, .voices__track { min-width: 0; }
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text { max-width: 42rem; }
  .hero { min-height: 82svh; }
  .hero .h-hero { font-size: clamp(3.65rem, 16vw, 6.6rem); }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item:nth-child(odd) { border-left: 0; }
  .proof__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 639px) {
  :root { --nav-h: 70px; }
  .nav { background: color-mix(in srgb, var(--bg) 92%, transparent); }
  .hero { padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3.5rem; }
  .hero .h-hero { max-width: 7ch; }
  .hero__lead { font-size: 1rem; }
  .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
  .hero__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
  .hero__meta dd { font-size: 1.12rem; }
  .proof__item { min-width: 0; }
  .proof__value { font-size: clamp(2rem, 11vw, 3.2rem); }
  .proof__label { font-size: 0.76rem; line-height: 1.35; }
  .concierge__form { align-items: stretch; flex-direction: column; }
  .concierge__form .btn { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .parallax-layer { transform: none !important; }
}
