/* Shared janovic.dev shell for every standalone route.
   The main page remains the visual source of truth: same header, navigation,
   typography, footer, support robot and mobile navigation. */

body.shared-detail-page {
  --shell-bg: #070a10;
  --shell-surface: #111722;
  --shell-line: rgba(206, 216, 239, 0.12);
  --shell-line-strong: rgba(145, 170, 255, 0.3);
  --shell-text: #f5f7fc;
  --shell-muted: #9ca8bb;
  --shell-accent: #7f91ff;
  --shell-accent-soft: #a8b5ff;
  --shell-header: 80px;
  margin: 0;
  padding-top: var(--shell-header) !important;
  overflow-x: clip;
  color: var(--shell-text);
  background: var(--shell-bg) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.shared-detail-page::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 46% at 82% 0%, rgba(95, 129, 255, 0.14), transparent 58%),
    radial-gradient(circle at 12% 22%, rgba(95, 129, 255, 0.07), transparent 24%),
    linear-gradient(180deg, #080b12 0%, #080c14 45%, #070a10 100%);
  content: "";
  pointer-events: none;
}

body.shared-detail-page a {
  color: inherit;
  text-decoration: none;
}

body.shared-detail-page h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.shared-detail-page .wrap,
body.shared-detail-page .container {
  width: min(1120px, calc(100% - 2rem)) !important;
  margin-inline: auto !important;
}

body.shared-detail-page .site-header {
  position: fixed !important;
  z-index: 80 !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: var(--shell-header) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(206, 216, 239, 0.09) !important;
  border-radius: 0 !important;
  background: rgba(8, 11, 18, 0.88) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 24px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(18px) saturate(145%) !important;
}

body.shared-detail-page .navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: var(--shell-header) !important;
  padding: 0 !important;
}

body.shared-detail-page .brand {
  position: relative;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center !important;
  gap: 0.7rem !important;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--shell-text);
  transform: none !important;
  overflow: visible !important;
}

body.shared-detail-page .brand::before,
body.shared-detail-page .brand-glow,
body.shared-detail-page .brand-border-anim,
body.shared-detail-page .brand-copy {
  display: none !important;
}

body.shared-detail-page .brand-mark {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.shared-detail-page .brand-icon {
  display: grid !important;
  place-items: center;
  width: 1.35rem !important;
  height: 1.35rem !important;
  color: #a8b6d4 !important;
  transform: none !important;
}

body.shared-detail-page .brand-icon-svg {
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
}

body.shared-detail-page .brand-logo-wordmark {
  display: inline-flex !important;
  align-items: baseline !important;
  color: #f6f8ff;
  font-size: 1.05rem !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  letter-spacing: -0.045em !important;
  white-space: nowrap;
}

body.shared-detail-page .brand-logo-main { color: #f6f8ff !important; text-shadow: none !important; }
body.shared-detail-page .brand-logo-dot { color: #8fa2ff !important; text-shadow: none !important; animation: none !important; }
body.shared-detail-page .brand-logo-accent {
  color: #8fa2ff !important;
  background: none !important;
  filter: none !important;
  -webkit-text-fill-color: currentColor !important;
  animation: none !important;
}

body.shared-detail-page .nav-links {
  position: static !important;
  z-index: auto !important;
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.05rem !important;
  width: auto !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

body.shared-detail-page .nav-links > a {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.55rem !important;
  padding: 0 0.55rem !important;
  border: 0 !important;
  border-radius: 0.55rem !important;
  background: transparent !important;
  color: #9ca8bb !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

body.shared-detail-page .nav-links > a::after {
  position: absolute;
  right: 0.55rem;
  bottom: 0.35rem;
  left: 0.55rem;
  display: block !important;
  width: auto !important;
  height: 1px !important;
  border: 0 !important;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--shell-accent), var(--shell-accent-soft)) !important;
  content: "";
  opacity: 0;
  transform: scaleX(0) !important;
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

body.shared-detail-page .nav-links > a:hover,
body.shared-detail-page .nav-links > a[aria-current="page"],
body.shared-detail-page .nav-links > a.active {
  background: rgba(255, 255, 255, 0.035) !important;
  color: #f5f7fc !important;
}

body.shared-detail-page .nav-links > a:hover::after,
body.shared-detail-page .nav-links > a[aria-current="page"]::after,
body.shared-detail-page .nav-links > a.active::after {
  opacity: 1;
  transform: scaleX(1) !important;
}

body.shared-detail-page .nav-links > .nav-cta {
  min-height: 2.8rem !important;
  margin-left: 0.45rem !important;
  padding: 0 1rem !important;
  border-radius: 0.65rem !important;
  background: linear-gradient(135deg, var(--shell-accent), var(--shell-accent-soft)) !important;
  box-shadow: 0 12px 30px rgba(95, 129, 255, 0.22) !important;
  color: #08101d !important;
  font-size: 0.78rem !important;
  font-weight: 780 !important;
}

body.shared-detail-page .nav-links > .nav-cta::after { display: none !important; }
body.shared-detail-page .nav-links > .nav-cta:hover { transform: translateY(-1px) !important; }

body.shared-detail-page .nav-tools {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 0.6rem !important;
}

body.shared-detail-page .language-switcher {
  position: relative;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0.65rem !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.shared-detail-page .language-switcher::before { display: none !important; }

body.shared-detail-page .language-button {
  display: grid !important;
  place-items: center;
  min-width: 2.5rem !important;
  min-height: 2.65rem !important;
  padding: 0 0.55rem !important;
  border: 0 !important;
  border-radius: 0.55rem !important;
  background: transparent !important;
  color: #9ca8bb !important;
  font-size: 0.7rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em !important;
  line-height: 1 !important;
  cursor: pointer;
  animation: none !important;
}

body.shared-detail-page .language-button:hover { color: #f5f7fc !important; }
body.shared-detail-page .language-button.is-active,
body.shared-detail-page .language-button.active,
body.shared-detail-page .language-button[aria-current="true"] {
  background: rgba(127, 145, 255, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(145, 170, 255, 0.18) !important;
  color: #f5f7fc !important;
}

body.shared-detail-page .menu-toggle {
  display: none !important;
  flex: 0 0 2.8rem;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.32rem !important;
  width: 2.8rem !important;
  height: 2.8rem !important;
  min-width: 2.8rem !important;
  min-height: 2.8rem !important;
  padding: 0 !important;
  border: 1px solid var(--shell-line-strong) !important;
  border-radius: 50% !important;
  background: rgba(127, 145, 255, 0.07) !important;
  box-shadow: none !important;
  color: #f5f7fc !important;
  cursor: pointer;
}

body.shared-detail-page .menu-toggle-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

body.shared-detail-page .menu-toggle span:not(.menu-toggle-label) {
  display: block !important;
  width: 1.12rem !important;
  height: 1.5px !important;
  margin: 0 !important;
  border-radius: 99px;
  background: currentColor !important;
  transition: transform 180ms ease, opacity 150ms ease;
}

body.shared-detail-page .menu-toggle[aria-expanded="true"] span:nth-of-type(2),
body.shared-detail-page .menu-toggle.is-open span:nth-of-type(2) {
  opacity: 1 !important;
  transform: translateY(5px) rotate(45deg) !important;
}
body.shared-detail-page .menu-toggle[aria-expanded="true"] span:nth-of-type(3),
body.shared-detail-page .menu-toggle.is-open span:nth-of-type(3) {
  opacity: 0 !important;
  transform: none !important;
}
body.shared-detail-page .menu-toggle[aria-expanded="true"] span:nth-of-type(4),
body.shared-detail-page .menu-toggle.is-open span:nth-of-type(4) {
  opacity: 1 !important;
  transform: translateY(-5px) rotate(-45deg) !important;
}

body.shared-detail-page .scroll-progress {
  height: 2px !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

body.shared-detail-page .site-footer {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 2.75rem 0 2rem !important;
  border: 0 !important;
  border-top: 1px solid rgba(206, 216, 239, 0.1) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(1200px 420px at 20% 0%, rgba(95, 129, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(9, 11, 16, 0.76), rgba(7, 9, 15, 0.96)) !important;
  box-shadow: none !important;
}

body.shared-detail-page .site-footer::before { display: none !important; }

body.shared-detail-page .footer-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 1.2fr) minmax(14rem, 1fr) !important;
  gap: 2rem 2.5rem !important;
  align-items: start !important;
  padding: 0 !important;
}

body.shared-detail-page .footer-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
}

body.shared-detail-page .footer-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  color: #f5f7fc !important;
  font-size: 1.05rem !important;
  font-weight: 760 !important;
}

body.shared-detail-page .footer-brand-logo svg {
  width: 1.4rem !important;
  height: 1.4rem !important;
  color: #b5c0d4;
}

body.shared-detail-page .footer-brand-tagline {
  max-width: 18rem !important;
  margin: 0 !important;
  color: #8f9bad !important;
  font-size: 0.84rem !important;
  line-height: 1.55 !important;
}

body.shared-detail-page .footer-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.05rem 1.25rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.shared-detail-page .footer-links a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.45rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #a3adbd !important;
  font-size: 0.84rem !important;
  font-weight: 620 !important;
}

body.shared-detail-page .footer-links a:hover { color: #f5f7fc !important; }

body.shared-detail-page .footer-meta {
  display: grid !important;
  align-content: start !important;
  gap: 0.8rem !important;
  min-width: 0;
  padding-left: 1.9rem !important;
  border-left: 1px solid rgba(206, 216, 239, 0.1) !important;
  color: #8f9bad !important;
  font-size: 0.82rem !important;
  text-align: left !important;
}

body.shared-detail-page .footer-email {
  color: #d9e0ee !important;
  font-weight: 680 !important;
}

body.shared-detail-page .ai-chat-toggle {
  position: fixed !important;
  z-index: 72 !important;
  right: 0.85rem !important;
  bottom: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 6.25rem !important;
  height: 6.25rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 1.15rem !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.48));
  transition: transform 180ms ease;
}

body.shared-detail-page .ai-chat-toggle:hover { transform: translateY(-4px) scale(1.04) !important; }
body.shared-detail-page .ai-chat-toggle-icon { width: 100% !important; height: 100% !important; }
body.shared-detail-page .ai-chat-toggle-icon::before { display: none !important; }
body.shared-detail-page .ai-chat-robot {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
body.shared-detail-page .ai-chat-toggle-dot {
  position: absolute !important;
  top: 0.82rem !important;
  right: 0.65rem !important;
  display: block !important;
  width: 0.66rem !important;
  height: 0.66rem !important;
  border: 2px solid #101525 !important;
  border-radius: 50% !important;
  background: #20c997 !important;
  box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.12), 0 0 14px rgba(32, 201, 151, 0.72) !important;
}

body.shared-detail-page .bottom-nav { display: none !important; }

body.shared-detail-page :focus-visible {
  outline: 3px solid rgba(137, 162, 255, 0.5) !important;
  outline-offset: 3px !important;
}

@media (max-width: 1020px) {
  body.shared-detail-page .nav-links > a { padding-inline: 0.4rem !important; }
  body.shared-detail-page .nav-links > .nav-cta { display: none !important; }
}

@media (max-width: 760px) {
  body.shared-detail-page {
    --shell-header: 68px;
    padding-bottom: calc(4.15rem + env(safe-area-inset-bottom, 0px));
  }

  body.shared-detail-page .navbar { gap: 0.55rem !important; }
  body.shared-detail-page .brand-icon { display: none !important; }
  body.shared-detail-page .brand-logo-wordmark { font-size: 1.02rem !important; }
  body.shared-detail-page .nav-tools { gap: 0.45rem !important; }
  body.shared-detail-page .language-button {
    min-width: 2.35rem !important;
    min-height: 2.6rem !important;
    padding-inline: 0.42rem !important;
  }
  body.shared-detail-page .menu-toggle { display: flex !important; }

  body.shared-detail-page .nav-links {
    position: fixed !important;
    z-index: 90 !important;
    top: var(--shell-header) !important;
    right: 0.75rem !important;
    left: 0.75rem !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0.65rem !important;
    border: 1px solid var(--shell-line-strong) !important;
    border-radius: 0 0 0.9rem 0.9rem !important;
    background: #121925 !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.48), 0 0 0 100vmax rgba(3, 5, 9, 0.62) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-0.5rem) !important;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body.shared-detail-page .nav-links.open,
  body.shared-detail-page .nav-links.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body.shared-detail-page .nav-links > a,
  body.shared-detail-page .nav-links > .nav-cta {
    display: flex !important;
    min-height: 3rem !important;
    margin: 0 !important;
    padding: 0.7rem 0.8rem !important;
    border: 1px solid rgba(255, 255, 255, 0.055) !important;
    background: rgba(255, 255, 255, 0.025) !important;
    font-size: 0.82rem !important;
  }
  body.shared-detail-page .nav-links > a::after { display: none !important; }
  body.shared-detail-page .nav-links > .nav-cta {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--shell-accent), var(--shell-accent-soft)) !important;
  }

  body.shared-detail-page .footer-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.75rem !important;
  }
  body.shared-detail-page .footer-meta {
    grid-column: 1 / -1 !important;
    padding: 1.25rem 0 0 !important;
    border-top: 1px solid rgba(206, 216, 239, 0.1) !important;
    border-left: 0 !important;
  }

  body.shared-detail-page .ai-chat-toggle {
    right: 0.45rem !important;
    bottom: calc(3.9rem + env(safe-area-inset-bottom, 0px)) !important;
    width: 4.9rem !important;
    height: 4.9rem !important;
  }
  body.shared-detail-page .ai-chat-toggle-dot {
    top: 0.6rem !important;
    right: 0.4rem !important;
    width: 0.58rem !important;
    height: 0.58rem !important;
  }

  body.shared-detail-page .bottom-nav {
    position: fixed !important;
    z-index: 70 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    min-height: calc(3.7rem + env(safe-area-inset-bottom, 0px)) !important;
    padding: 0.28rem 0.45rem env(safe-area-inset-bottom, 0px) !important;
    border-top: 1px solid rgba(206, 216, 239, 0.13) !important;
    background: rgba(8, 11, 18, 0.94) !important;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.28) !important;
    backdrop-filter: blur(18px) !important;
  }
  body.shared-detail-page .bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.18rem !important;
    min-width: 0;
    color: #8995a9 !important;
    font-size: 0.62rem !important;
    font-weight: 650 !important;
    line-height: 1 !important;
  }
  body.shared-detail-page .bottom-nav-item svg {
    width: 1.18rem !important;
    height: 1.18rem !important;
  }
  body.shared-detail-page .bottom-nav-item[aria-current="page"],
  body.shared-detail-page .bottom-nav-item:hover { color: #a9b6ff !important; }
}

@media (max-width: 520px) {
  body.shared-detail-page h1 {
    font-size: clamp(2.5rem, 11.2vw, 2.85rem) !important;
  }
  body.shared-detail-page .footer-content { grid-template-columns: 1fr !important; }
  body.shared-detail-page .footer-meta { grid-column: auto !important; }
  body.shared-detail-page .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.shared-detail-page *,
  body.shared-detail-page *::before,
  body.shared-detail-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 2026-07-30 — main-page parity for every standalone route */
body.shared-detail-page {
  --shell-header: 80px;
}

body.shared-detail-page .brand-logo-wordmark {
  font-size: 1.14rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
}

body.shared-detail-page .nav-links {
  flex: 1 1 auto !important;
  justify-content: center !important;
  width: auto !important;
  margin-left: 0 !important;
}

body.shared-detail-page .nav-links > a {
  min-height: var(--shell-header) !important;
  padding: 0 0.62rem !important;
  border-radius: 0 !important;
  color: rgba(218, 226, 241, 0.7) !important;
  font-size: 0.78rem !important;
  font-weight: 540 !important;
  line-height: 1.6 !important;
}

body.shared-detail-page .nav-links > a::after {
  right: 0.62rem;
  bottom: 0.72rem;
  left: 0.62rem;
}

body.shared-detail-page .nav-links > a:hover,
body.shared-detail-page .nav-links > a[aria-current="page"],
body.shared-detail-page .nav-links > a.active {
  background: transparent !important;
  color: #f5f7fc !important;
}

body.shared-detail-page .nav-links > .nav-cta,
body.shared-detail-page .audit-page-nav-cta {
  min-height: 3.03rem !important;
  margin-left: 0.45rem !important;
  padding: 0.75rem 0.95rem !important;
  border: 1px solid transparent !important;
  border-radius: 0.65rem !important;
  background: #8495ff !important;
  box-shadow: 0 8px 20px rgba(83, 101, 212, 0.22) !important;
  color: #0b1020 !important;
  font-size: 0.88rem !important;
  font-weight: 450 !important;
  line-height: 1.6 !important;
}

body.shared-detail-page .language-switcher {
  width: auto !important;
  min-height: 2.65rem !important;
}

body.shared-detail-page .language-button {
  min-width: 2.2rem !important;
  min-height: 2.65rem !important;
  padding: 0 0.35rem !important;
  border-radius: 0.55rem !important;
  color: rgba(228, 234, 245, 0.69) !important;
  font-size: 0.67rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.6 !important;
}

body.shared-detail-page .language-button.is-active,
body.shared-detail-page .language-button.active,
body.shared-detail-page .language-button[aria-current="true"] {
  background: rgba(132, 149, 255, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(167, 179, 255, 0.18) !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero {
  display: flex !important;
  align-items: center !important;
  min-height: 40rem !important;
  padding: clamp(4.5rem, 7vw, 6.2rem) 0 !important;
  border-bottom-color: rgba(206, 216, 239, 0.1) !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr) !important;
  gap: clamp(3rem, 6vw, 4.8rem) !important;
  align-items: center !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 2rem !important;
  margin: 0 0 0.8rem !important;
  padding: 0.45rem 0.85rem !important;
  border: 1px solid rgba(132, 149, 255, 0.2) !important;
  border-radius: 0.72rem !important;
  color: #b8c5ff !important;
  background: linear-gradient(135deg, rgba(95, 129, 255, 0.13), rgba(137, 162, 255, 0.075)) !important;
  box-shadow: 0 4px 16px rgba(95, 129, 255, 0.1) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  line-height: 1 !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero .eyebrow::before {
  display: none !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero h1,
body.shared-detail-page.audit-page .audit-page-main #audit-title {
  max-width: 100% !important;
  margin: 0 !important;
  color: transparent !important;
  background: linear-gradient(135deg, #ffffff 0%, #e8eeff 35%, #c4d0ff 65%, #a8b8ff 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-size: clamp(3rem, 5.15vw, 4.12rem) !important;
  font-weight: 650 !important;
  letter-spacing: -0.06em !important;
  line-height: 0.96 !important;
  text-wrap: balance;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero-lead,
body.shared-detail-page.audit-page .audit-copy .section-text {
  max-width: 36rem !important;
  margin-top: 1rem !important;
  color: #dce3f2 !important;
  font-size: 1.03rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero-actions {
  gap: 0.85rem !important;
  margin-top: 1.5rem !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero-actions .button {
  min-height: 3.35rem !important;
  padding: 0 1.1rem !important;
  border-radius: 0.7rem !important;
  font-size: 1rem !important;
  font-weight: 650 !important;
  line-height: 1.6 !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero-actions .button-primary {
  min-width: 13.5rem !important;
  border-color: transparent !important;
  background: #8495ff !important;
  box-shadow: 0 8px 20px rgba(83, 101, 212, 0.22) !important;
  color: #0b1020 !important;
}

body.shared-detail-page[data-page]:not(.audit-page) .hero-actions .button-secondary {
  border-color: rgba(206, 216, 239, 0.16) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #dce3f2 !important;
  font-weight: 500 !important;
}

body.shared-detail-page .detail-proof-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 30rem;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(206, 216, 239, 0.14);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.025);
}

body.shared-detail-page .detail-proof-chip {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 3.15rem;
  padding: 0.65rem 0.85rem;
  border-right: 1px solid rgba(206, 216, 239, 0.12);
  color: #cbd4e4;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.25;
}

body.shared-detail-page .detail-proof-chip::before {
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8ea1ff;
  box-shadow: 0 0 0 4px rgba(132, 149, 255, 0.09);
  content: "";
}

body.shared-detail-page .detail-proof-chip--accent {
  grid-column: 1 / -1;
  justify-content: center;
  border-top: 1px solid rgba(206, 216, 239, 0.12);
  border-right: 0;
  color: #eef1ff;
  background: rgba(132, 149, 255, 0.11);
}

body.shared-detail-page .detail-proof-chip--accent::before {
  background: #56d995;
  box-shadow: 0 0 0 4px rgba(86, 217, 149, 0.09);
}

body.shared-detail-page .hero-aside {
  position: relative !important;
  display: block !important;
  min-height: 28.65rem !important;
  overflow: hidden !important;
  border: 1px solid rgba(148, 168, 255, 0.13) !important;
  border-radius: 1.35rem !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(132, 149, 255, 0.16), transparent 32%),
    #111722 !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.shared-detail-page .detail-showcase-statusbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.65rem;
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid rgba(206, 216, 239, 0.12);
}

body.shared-detail-page .detail-showcase-statusbar > span,
body.shared-detail-page .detail-showcase-statusbar > strong {
  color: #98a5b9;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

body.shared-detail-page .detail-showcase-statusbar > strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #bcefd3;
  text-align: right;
}

body.shared-detail-page .detail-showcase-statusbar i {
  width: 0.46rem;
  height: 0.46rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #56d995;
  box-shadow: 0 0 0 4px rgba(86, 217, 149, 0.11), 0 0 14px rgba(86, 217, 149, 0.42);
}

body.shared-detail-page .detail-preview-browser {
  margin: 1rem;
  overflow: hidden;
  border: 1px solid rgba(206, 216, 239, 0.1);
  border-radius: 1rem;
  background: #0b1019;
}

body.shared-detail-page .detail-preview-browser-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem 0;
}

body.shared-detail-page .detail-preview-browser-bar i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

body.shared-detail-page .detail-preview-canvas {
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem 0.9rem 1rem;
}

body.shared-detail-page .detail-preview-card {
  display: grid;
  align-content: end;
  min-height: 12rem;
  padding: 1.35rem;
  border: 1px solid rgba(206, 216, 239, 0.09);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(132, 149, 255, 0.04), rgba(132, 149, 255, 0.12)),
    rgba(255, 255, 255, 0.025);
}

body.shared-detail-page .detail-preview-card > span {
  color: #aebcff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.shared-detail-page .detail-preview-card > strong {
  display: -webkit-box;
  max-width: 16ch;
  margin-top: 0.65rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #f3f5fb;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

body.shared-detail-page .detail-preview-card > p {
  display: -webkit-box;
  max-width: 32rem;
  margin: 0.75rem 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #aab4c6;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Public work is a curated gallery, not a generic hero-page demonstration. */
body.shared-detail-page .projects-page-head { margin-bottom: 2.5rem; }
body.shared-detail-page .public-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:rgba(206,216,239,.12); border:1px solid rgba(206,216,239,.12); }
body.shared-detail-page .public-project-card { min-height:20rem; display:flex; flex-direction:column; padding:1.45rem; background:linear-gradient(145deg,#151c2a,#0f141e); }
body.shared-detail-page .public-project-top { display:flex; align-items:center; justify-content:space-between; color:#aebcff; font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
body.shared-detail-page .public-project-top b { font-size:1rem; color:#dce5ff; }
body.shared-detail-page .public-project-card h3 { margin:4rem 0 .75rem; font-size:clamp(1.55rem,2.6vw,2.35rem); line-height:1; letter-spacing:-.055em; }
body.shared-detail-page .public-project-card p { margin:0; color:#aeb8c9; font-size:.9rem; line-height:1.6; }
body.shared-detail-page .public-project-card a { margin-top:auto; padding-top:1.6rem; color:#dce5ff; font-size:.78rem; font-weight:750; text-decoration:none; }
body.shared-detail-page .public-project-card a span { color:#aebcff; }
body.shared-detail-page .public-project-empty { grid-column:1/-1; margin:0; padding:3rem; color:#aeb8c9; text-align:center; background:#10151e; }
@media(max-width:760px){body.shared-detail-page .public-project-grid{grid-template-columns:1fr}body.shared-detail-page .public-project-card{min-height:16rem}body.shared-detail-page .public-project-card h3{margin-top:2.5rem}}

body.shared-detail-page .detail-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

body.shared-detail-page .detail-preview-stats .hero-stat {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: space-between !important;
  min-width: 0;
  min-height: 5rem !important;
  padding: 0.85rem !important;
  border: 1px solid rgba(206, 216, 239, 0.09) !important;
  border-radius: 0.85rem !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

body.shared-detail-page .detail-preview-stats .hero-stat span,
body.shared-detail-page .detail-preview-stats .hero-stat strong {
  display: block;
  min-width: 0;
  color: #9ea9bb;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.shared-detail-page .detail-preview-stats .hero-stat strong {
  margin-top: 0.35rem;
  color: #eef1f7;
  font-size: 0.92rem;
  font-weight: 720;
}

body.shared-detail-page[data-page="products"] .hero-rail {
  min-height: 28.65rem !important;
  align-content: center;
  padding: 1rem !important;
  border-radius: 1.35rem !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(132, 149, 255, 0.16), transparent 32%),
    #111722 !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.shared-detail-page[data-page="products"] .hero-step {
  min-height: 7.5rem;
  border: 1px solid rgba(206, 216, 239, 0.09) !important;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
}

body.shared-detail-page .page-content h2,
body.shared-detail-page .final-cta h2 {
  font-weight: 650 !important;
  letter-spacing: -0.045em !important;
  line-height: 1.05 !important;
}

body.shared-detail-page .service-card,
body.shared-detail-page .care-card,
body.shared-detail-page .process-rail,
body.shared-detail-page .case-window,
body.shared-detail-page .info-card,
body.shared-detail-page .trust-card,
body.shared-detail-page .reviews-intro,
body.shared-detail-page .faq-item,
body.shared-detail-page .reference-panel {
  border-color: rgba(206, 216, 239, 0.12) !important;
  border-radius: 1rem !important;
  background-color: #111722 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 44px rgba(0, 0, 0, 0.16) !important;
}

body.shared-detail-page .service-card {
  min-height: 16.5rem !important;
}

body.shared-detail-page .final-cta-shell {
  border-radius: 1.2rem !important;
  background:
    radial-gradient(circle at 88% 0, rgba(132, 149, 255, 0.16), transparent 34%),
    #111722 !important;
}

body.shared-detail-page .ai-chat-toggle {
  right: 1.45rem !important;
  bottom: 1.25rem !important;
}

@media (min-width: 1100px) and (max-width: 1400px) {
  body.shared-detail-page .page-content > .wrap,
  body.shared-detail-page .final-cta > .wrap,
  body.shared-detail-page.audit-page .audit-section > .container {
    padding-right: 5rem !important;
  }
}

@media (max-width: 1020px) {
  body.shared-detail-page[data-page]:not(.audit-page) .hero {
    min-height: auto !important;
  }

  body.shared-detail-page[data-page]:not(.audit-page) .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
  }

  body.shared-detail-page[data-page]:not(.audit-page) .hero-grid > *,
  body.shared-detail-page .hero-aside,
  body.shared-detail-page[data-page="products"] .hero-rail {
    width: 100%;
    max-width: 44rem;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  body.shared-detail-page .nav-links {
    flex: 1 1 auto !important;
  }

  body.shared-detail-page .nav-links > a,
  body.shared-detail-page .nav-links > .nav-cta {
    min-height: 3rem !important;
    border-radius: 0.55rem !important;
  }

  body.shared-detail-page[data-page]:not(.audit-page) .hero {
    padding: 3.25rem 0 4.25rem !important;
  }

  body.shared-detail-page[data-page]:not(.audit-page) .hero h1,
  body.shared-detail-page.audit-page .audit-page-main #audit-title {
    max-width: 12ch !important;
    font-size: clamp(2.55rem, 10.8vw, 3.45rem) !important;
    line-height: 0.99 !important;
  }

  body.shared-detail-page[data-page]:not(.audit-page) .hero-actions {
    display: grid !important;
  }

  body.shared-detail-page[data-page]:not(.audit-page) .hero-actions .button {
    width: 100% !important;
  }

  body.shared-detail-page .detail-proof-strip {
    grid-template-columns: 1fr;
    max-width: none;
  }

  body.shared-detail-page .detail-proof-chip {
    border-right: 0;
    border-bottom: 1px solid rgba(206, 216, 239, 0.12);
  }

  body.shared-detail-page .detail-proof-chip--accent {
    grid-column: 1;
    border-top: 0;
    border-bottom: 0;
  }

  body.shared-detail-page .hero-aside,
  body.shared-detail-page[data-page="products"] .hero-rail {
    min-height: auto !important;
  }

  body.shared-detail-page .detail-showcase-statusbar {
    min-height: 3.25rem;
    padding: 0.75rem 0.8rem;
  }

  body.shared-detail-page .detail-showcase-statusbar > span,
  body.shared-detail-page .detail-showcase-statusbar > strong {
    font-size: 0.61rem;
    letter-spacing: 0.07em;
  }

  body.shared-detail-page .detail-preview-browser {
    margin: 0.72rem;
  }

  body.shared-detail-page .detail-preview-card {
    min-height: 9.5rem;
  }

  body.shared-detail-page .detail-preview-stats {
    grid-template-columns: 1fr;
  }

  body.shared-detail-page .detail-preview-stats .hero-stat {
    min-height: 3.65rem !important;
  }

  body.shared-detail-page .ai-chat-toggle {
    right: 0.45rem !important;
    bottom: calc(3.9rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}
