/* Slate glass theme for vanilla pages — replaces purple futurist shell */
body.slate-shell,
body.futurist-shell.slate-shell,
body.slate-shell * {
  cursor: auto !important;
}
body.slate-shell a,
body.slate-shell button,
body.slate-shell [role='button'],
body.slate-shell .card-link,
body.slate-shell .nav-links a,
body.slate-shell input {
  cursor: pointer !important;
}
body.slate-shell input[type='search'] {
  cursor: text !important;
}

:root {
  --panther-deep: #0c0e12;
  --violet: #a8a8b0;
  --line: rgba(255, 255, 255, 0.16);
  --white: #f2f2f4;
  --accent: #c8b89a;
  --muted: #9a9aa3;
  --radius: 22px;
}

body.slate-shell,
body.futurist-shell {
  background: var(--panther-deep) !important;
  color: var(--white);
}

body.slate-shell #cursor,
body.slate-shell #cursor-ring,
body.slate-shell .cursor,
body.slate-shell .cursor-ring,
body.slate-shell .orb,
body.slate-shell .site-flag-bg,
body.slate-shell .site-flag-vignette,
body.slate-shell .site-flag-filters,
body.slate-shell #drs-futurist-bg,
body.slate-shell #drs-splash-cursor {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#drs-slate-atm {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #0c0e12;
}
#drs-slate-atm .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
#drs-slate-atm .blob.a {
  width: min(75vw, 780px);
  height: min(75vw, 780px);
  left: -20%;
  top: -26%;
  background: radial-gradient(circle, rgba(150, 155, 170, 0.28), transparent 68%);
  animation: fsA 14s ease-in-out infinite alternate;
}
#drs-slate-atm .blob.b {
  width: min(60vw, 620px);
  height: min(60vw, 620px);
  right: -16%;
  top: 18%;
  background: radial-gradient(circle, rgba(100, 110, 130, 0.32), transparent 70%);
  animation: fsB 17s ease-in-out infinite alternate;
}
#drs-slate-atm .blob.c {
  width: min(62vw, 660px);
  height: min(62vw, 660px);
  left: 28%;
  bottom: -32%;
  background: radial-gradient(circle, rgba(200, 184, 154, 0.14), transparent 70%);
  animation: fsC 15s ease-in-out infinite alternate;
}
#drs-slate-atm .wave {
  position: absolute;
  left: -25%;
  width: 150%;
  height: 42%;
  filter: blur(42px);
  mix-blend-mode: soft-light;
}
#drs-slate-atm .wave.w1 {
  top: 4%;
  background:
    radial-gradient(ellipse 70% 55% at 30% 50%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 40%, rgba(255, 255, 255, 0.14), transparent 72%);
  animation: fsW1 11s ease-in-out infinite alternate;
}
#drs-slate-atm .wave.w2 {
  top: 38%;
  height: 36%;
  background:
    radial-gradient(ellipse 60% 50% at 55% 50%, rgba(255, 255, 255, 0.18), transparent 68%),
    radial-gradient(ellipse 40% 45% at 20% 60%, rgba(255, 255, 255, 0.1), transparent 70%);
  animation: fsW2 13s ease-in-out infinite alternate;
}
#drs-slate-atm .wave.w3 {
  top: 64%;
  height: 40%;
  background:
    radial-gradient(ellipse 65% 55% at 40% 40%, rgba(255, 255, 255, 0.14), transparent 70%);
  animation: fsW3 12s ease-in-out infinite alternate;
}
#drs-slate-atm .shimmer {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.045) 47%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.045) 53%,
    transparent 65%
  );
  animation: fsShimmer 9s linear infinite;
  mix-blend-mode: soft-light;
}
#drs-slate-atm .vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(8, 9, 12, 0.78) 100%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.35), transparent 18%, transparent 78%, rgba(8, 9, 12, 0.9));
}
@keyframes fsA { to { transform: translate(16%, 20%) scale(1.14); } }
@keyframes fsB { to { transform: translate(-18%, 12%) scale(1.12); } }
@keyframes fsC { to { transform: translate(10%, -16%) scale(1.1); } }
@keyframes fsW1 {
  from { transform: translate(-8%, -2%) skewX(-6deg); opacity: 0.35; }
  to { transform: translate(10%, 12%) skewX(5deg); opacity: 0.85; }
}
@keyframes fsW2 {
  from { transform: translate(8%, -6%) skewX(5deg); opacity: 0.3; }
  to { transform: translate(-12%, 8%) skewX(-6deg); opacity: 0.78; }
}
@keyframes fsW3 {
  from { transform: translate(-6%, 6%) skewX(4deg); opacity: 0.28; }
  to { transform: translate(12%, -8%) skewX(-5deg); opacity: 0.7; }
}
@keyframes fsShimmer { to { transform: translateX(28%); } }
@media (prefers-reduced-motion: reduce) {
  #drs-slate-atm .blob,
  #drs-slate-atm .wave,
  #drs-slate-atm .shimmer { animation: none !important; }
}

body.slate-shell > *:not(#drs-slate-atm) {
  position: relative;
  z-index: 2;
}

body.slate-shell nav,
body.slate-shell #nav,
body.slate-shell .drs-hud-nav,
body.slate-shell .slate-nav {
  margin: 0.75rem clamp(0.85rem, 3vw, 1.5rem) 0 !important;
  padding: 0.7rem 1rem !important;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 42%,
    rgba(255, 255, 255, 0.06) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(36px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 12px 40px rgba(0, 0, 0, 0.22) !important;
}

body.slate-shell .nav-search {
  position: relative;
  flex: 1;
  max-width: 220px;
  min-width: 120px;
}
body.slate-shell .nav-search svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  opacity: 0.45;
  pointer-events: none;
  color: var(--muted);
}
body.slate-shell .nav-search input {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.85rem 0.5rem 2.1rem;
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
}
body.slate-shell .lang-switch { display: none !important; }

body.slate-shell .page-eyebrow,
body.slate-shell .section-label,
body.slate-shell .feature-pv h4,
body.slate-shell .pv-gallery h3,
body.slate-shell .pv-req h3 {
  color: var(--accent) !important;
}

body.slate-shell .page-title {
  color: var(--white) !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

body.slate-shell .feature-pv,
body.slate-shell .pv-gallery figure,
body.slate-shell .plan-card,
body.slate-shell .pv-news li,
body.slate-shell .pv-steps li,
body.slate-shell .pv-pack,
body.slate-shell .pv-req article,
body.slate-shell .compliance-card,
body.slate-shell .puppetv-preview {
  border-radius: var(--radius) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.06) 100%
  ) !important;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

body.slate-shell .card-link,
body.slate-shell .btn-pro-glow {
  border-radius: 999px !important;
  box-shadow: none !important;
}
body.slate-shell .btn-pro-glow {
  background: rgba(200, 184, 154, 0.2) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(200, 184, 154, 0.35) !important;
}

body.slate-shell .puppetv-badge {
  color: var(--accent);
  border-color: rgba(200, 184, 154, 0.3);
  background: rgba(200, 184, 154, 0.1);
  border-radius: 999px;
}

body.slate-shell footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: transparent !important;
}

/* Search results dropdown */
body.slate-shell .nav-search {
  max-width: 260px;
  z-index: 40;
}
body.slate-shell .nav-search-results {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(340px, 86vw);
  max-height: min(60vh, 420px);
  overflow: auto;
  padding: 0.4rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 16, 22, 0.94);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.2rem;
  z-index: 50;
}
body.slate-shell .nav-search-hit {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
}
body.slate-shell .nav-search-hit.is-active,
body.slate-shell .nav-search-hit:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.slate-shell .nav-search-hit img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
  background: rgba(255, 255, 255, 0.06);
}
body.slate-shell .nav-search-hit span { display: grid; gap: 0.1rem; min-width: 0; }
body.slate-shell .nav-search-hit strong {
  font-size: 0.88rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.slate-shell .nav-search-hit small { font-size: 0.72rem; color: var(--muted); }
body.slate-shell .nav-search-empty {
  margin: 0;
  padding: 0.75rem 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
}