/* Shared premium system for the supporting marketing pages. */
body.premium-site-page {
  --cyan: #efbd72;
  --mint: #efbd72;
  --text: #f7f0e4;
  --text-muted: rgba(235, 239, 244, 0.72);
  --bg: #050914;
  background: #050914;
  color: var(--text);
}

.premium-page-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(4, 8, 18, 0.24),
      rgba(5, 9, 20, 0.46) 54%,
      rgba(5, 9, 20, 0.66)
    ),
    radial-gradient(
      ellipse at 50% 16%,
      rgba(239, 189, 114, 0.08),
      transparent 48%
    ),
    url("/assets/website/v2/frames/nebula-hero/frame-0241.webp")
      center center / cover no-repeat;
  filter: saturate(0.94) contrast(1.03);
  transform: translateZ(0);
}

body.premium-site-page > canvas {
  z-index: 1 !important;
  opacity: 0.34 !important;
}

body.premium-site-page > nav {
  background:
    linear-gradient(
      to bottom,
      rgba(5, 9, 20, 0.94),
      rgba(5, 9, 20, 0.72) 76%,
      rgba(5, 9, 20, 0.2)
    );
  border-bottom: 1px solid rgba(239, 189, 114, 0.14);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

body.premium-site-page .brand img,
body.premium-site-page .page-brand img,
body.premium-site-page .footer-logo img {
  filter:
    drop-shadow(0 0 14px rgba(239, 189, 114, 0.16))
    drop-shadow(0 0 24px rgba(169, 156, 247, 0.1));
}

body.premium-site-page .nav-links {
  gap: clamp(12px, 1.35vw, 22px);
  align-items: center;
}

body.premium-site-page .nav-links a {
  position: relative;
  color: rgba(235, 239, 244, 0.74);
  font-size: clamp(13px, 1.08vw, 16px);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

body.premium-site-page .nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  opacity: 0;
  transform: scaleX(0.4);
  background: linear-gradient(90deg, #efbd72, #a99cf7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

body.premium-site-page .nav-links a:hover,
body.premium-site-page .nav-links a.active,
body.premium-site-page .nav-links a:focus-visible {
  color: #f7f0e4;
}

body.premium-site-page .nav-links a:hover::after,
body.premium-site-page .nav-links a.active::after,
body.premium-site-page .nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

body.premium-site-page main {
  position: relative;
  z-index: 2;
}

body.premium-site-page .page-brand h1,
body.premium-site-page .story-head h2,
body.premium-site-page .section-title,
body.premium-site-page .privacy-head h2,
body.premium-site-page .terms-head h2,
body.premium-site-page .faq-head h2,
body.premium-site-page .final-cta-wrap h2,
body.premium-site-page .newsletter-bar h3,
body.premium-site-page .footer-col h4 {
  color: #f7f0e4;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.48);
}

body.premium-site-page .about-shell,
body.premium-site-page .contact-hero,
body.premium-site-page .privacy-shell,
body.premium-site-page .terms-shell,
body.premium-site-page .faq-shell {
  border-color: rgba(239, 189, 114, 0.3);
  background:
    linear-gradient(155deg, rgba(15, 21, 43, 0.96), rgba(6, 10, 25, 0.98));
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(239, 189, 114, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body.premium-site-page .story-head,
body.premium-site-page .hero-top,
body.premium-site-page .privacy-head,
body.premium-site-page .terms-head,
body.premium-site-page .faq-head {
  border-bottom-color: rgba(239, 189, 114, 0.14);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(239, 189, 114, 0.13), transparent 64%),
    linear-gradient(180deg, rgba(18, 19, 38, 0.34), rgba(7, 11, 27, 0.16));
}

body.premium-site-page .story-kicker,
body.premium-site-page .section-kicker {
  color: rgba(239, 189, 114, 0.84);
}

body.premium-site-page .story,
body.premium-site-page .story p,
body.premium-site-page .story-lede,
body.premium-site-page .story-close,
body.premium-site-page .story-close p,
body.premium-site-page .faq-link,
body.premium-site-page .privacy-content p,
body.premium-site-page .privacy-content li,
body.premium-site-page .terms-content p,
body.premium-site-page .terms-content li,
body.premium-site-page .faq-panel,
body.premium-site-page .faq-panel p,
body.premium-site-page .hero-sub {
  color: rgba(235, 239, 244, 0.82);
}

body.premium-site-page .story a,
body.premium-site-page .faq-link a,
body.premium-site-page .privacy-content a,
body.premium-site-page .terms-content a {
  color: #efbd72;
  border-bottom-color: rgba(239, 189, 114, 0.34);
}

body.premium-site-page .story .highlight {
  background: rgba(239, 189, 114, 0.13);
}

body.premium-site-page .creator-story-trigger,
body.premium-site-page .creator-story-player--featured .creator-story-trigger {
  border-color: rgba(239, 189, 114, 0.4);
  background: linear-gradient(145deg, rgba(239, 189, 114, 0.12), rgba(78, 65, 132, 0.12));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26), 0 0 20px rgba(239, 189, 114, 0.08);
}

body.premium-site-page .creator-story-trigger:hover,
body.premium-site-page .creator-story-trigger:focus-visible,
body.premium-site-page .creator-story-trigger[aria-pressed="true"] {
  border-color: rgba(239, 189, 114, 0.68);
  background: linear-gradient(145deg, rgba(239, 189, 114, 0.18), rgba(78, 65, 132, 0.18));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), 0 0 26px rgba(239, 189, 114, 0.13);
}

body.premium-site-page .creator-story-icon-shell,
body.premium-site-page .creator-story-player--featured .creator-story-icon-shell {
  border-color: rgba(239, 189, 114, 0.5);
  background: rgba(239, 189, 114, 0.09);
  color: #efbd72;
  box-shadow: 0 0 18px rgba(239, 189, 114, 0.12);
}

body.premium-site-page .creator-story-progress > span {
  background: linear-gradient(90deg, #efbd72, #a99cf7);
  box-shadow: 0 0 8px rgba(239, 189, 114, 0.42);
}

body.premium-site-page .quote,
body.premium-site-page .contact-block {
  border-left-color: rgba(239, 189, 114, 0.68);
  background: linear-gradient(90deg, rgba(239, 189, 114, 0.08), transparent 72%);
}

body.premium-site-page .privacy-content h3,
body.premium-site-page .privacy-content h4,
body.premium-site-page .terms-content h3,
body.premium-site-page .terms-content h4 {
  color: #f4e8d4;
}

body.premium-site-page .glass {
  border-color: rgba(239, 189, 114, 0.26);
  background:
    linear-gradient(145deg, rgba(20, 22, 43, 0.86), rgba(7, 11, 26, 0.94));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.premium-site-page .glass::before {
  background: linear-gradient(90deg, transparent, rgba(239, 189, 114, 0.68), transparent);
}

body.premium-site-page .info-icon {
  border-color: rgba(239, 189, 114, 0.3);
  background: rgba(239, 189, 114, 0.08);
}

body.premium-site-page .field input,
body.premium-site-page .field textarea,
body.premium-site-page .newsletter-form input {
  border-color: rgba(239, 189, 114, 0.2);
  background: rgba(5, 9, 24, 0.82);
  color: #f7f0e4;
}

body.premium-site-page .field input:focus,
body.premium-site-page .field textarea:focus,
body.premium-site-page .newsletter-form input:focus {
  border-color: rgba(239, 189, 114, 0.68);
  box-shadow: 0 0 0 3px rgba(239, 189, 114, 0.1);
}

body.premium-site-page .submit-btn,
body.premium-site-page .newsletter-form button,
body.premium-site-page .final-cta-btn,
body.premium-site-page .final-cta-trial-btn {
  border-color: rgba(255, 229, 186, 0.72);
  background: linear-gradient(135deg, #f1ca8b 0%, #d99e50 56%, #a86f37 100%);
  box-shadow: 0 14px 32px rgba(168, 111, 55, 0.24);
  color: #1a1108;
}

body.premium-site-page .final-cta-wrap {
  border-color: rgba(239, 189, 114, 0.32);
  background:
    linear-gradient(150deg, rgba(20, 25, 49, 0.96), rgba(7, 11, 27, 0.98));
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(239, 189, 114, 0.06);
}

body.premium-site-page .newsletter-bar {
  border-color: rgba(239, 189, 114, 0.34);
  background:
    linear-gradient(150deg, rgba(15, 21, 43, 0.98), rgba(7, 11, 27, 0.984));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(239, 189, 114, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body.premium-site-page .newsletter-bar::before {
  background: linear-gradient(120deg, rgba(239, 189, 114, 0.82), rgba(169, 156, 247, 0.54), rgba(239, 189, 114, 0.78));
}

body.premium-site-page .footer-card {
  border-color: rgba(239, 189, 114, 0.24);
  background:
    linear-gradient(160deg, rgba(8, 14, 30, 0.984), rgba(4, 8, 19, 0.99));
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

body.premium-site-page .footer-links a,
body.premium-site-page .footer-meta,
body.premium-site-page .footer-meta a,
body.premium-site-page .footer-copy {
  color: rgba(235, 239, 244, 0.68) !important;
}

body.premium-site-page .footer-copy {
  border-top-color: rgba(239, 189, 114, 0.32) !important;
}

body.premium-site-page .footer-links a:hover,
body.premium-site-page .footer-meta a:hover {
  color: #efbd72 !important;
}

body.premium-site-page .faq-item {
  border-bottom-color: rgba(239, 189, 114, 0.12);
}

body.premium-site-page .faq-icon::before,
body.premium-site-page .faq-icon::after {
  background: rgba(239, 189, 114, 0.9);
}

body.premium-site-page .faq-trigger:focus-visible,
body.premium-site-page a:focus-visible,
body.premium-site-page button:focus-visible {
  outline-color: rgba(239, 189, 114, 0.72);
}

@media (max-width: 1180px) {
  body.premium-site-page .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 18px 22px 24px;
    background: rgba(5, 9, 20, 0.985);
    border-bottom: 1px solid rgba(239, 189, 114, 0.18);
  }

  body.premium-site-page .nav-links.active {
    display: flex;
  }

  body.premium-site-page .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
  }

  body.premium-site-page .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
  }

  body.premium-site-page .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0;
    background: #f7f0e4;
  }
}

@media (max-width: 768px) {
  .premium-page-ambient {
    background:
      linear-gradient(
        180deg,
        rgba(4, 8, 18, 0.22),
        rgba(5, 9, 20, 0.44) 54%,
        rgba(5, 9, 20, 0.64)
      ),
      radial-gradient(ellipse at 50% 15%, rgba(239, 189, 114, 0.08), transparent 48%),
      url("/assets/website/v2/frames/nebula-hero-mobile/frame-0121.webp")
        center center / cover no-repeat;
  }
}
