/* Palette colours follow the Panel (tools/theme/colour-follow.py) */
/* Nabtech Workspace store styles: palette
 * Nabtech Workspace theme. Structure: palette tokens, then rules grouped by the component they style,
 * in cascade order (groups repeat when the cascade needs a later override). */

:root {
  --nwp-palette-c1:color-mix(in srgb,var(--nbc-inverse-text,#ffffff) 11%,#94e4ff);
}

/* nb-store */
#nb-store.nb-store[data-nb-store] {
  --nb-navy:color-mix(in srgb,var(--nbc-primary,#0948b3) 18%,#070b07);
  --nb-ink:color-mix(in srgb,var(--nbc-theme-accent,#146b86) 38%,#090118);
  --nb-muted:color-mix(in srgb,var(--nbc-link,#336699) 51%,#626662);
  --nb-accent:color-mix(in srgb,var(--nbc-primary,#0948b3) 37%,#161f16) !important;
  --nb-action:color-mix(in srgb,var(--nbc-primary,#0948b3) 37%,#161f16);
  --nb-action-hover:color-mix(in srgb,var(--nbc-primary,#0948b3) 53%,#2f4431);
  --nb-action-ink:color-mix(in srgb,var(--nbc-primary,#0948b3) 48%,#203121);
  --nb-pearl:color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 19%,#f3f9ff);
  --nb-border:color-mix(in srgb,var(--nbc-primary,#0948b3) 14%,#f6fff8);
  --nb-blue:color-mix(in srgb,var(--nbc-primary,#0948b3) 37%,#161f16);
  --nb-hero-heading:color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 15%,#f0f8ff);
  --nb-cta-heading:color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 17%,#f1f9ff);
  background:radial-gradient(ellipse at 15% 10%,color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 12%,#dbf1ff) 0,transparent 28%),radial-gradient(ellipse at 96% 34%,color-mix(in srgb,var(--nbc-palette-surface-alt,#edf0f5) 17%,#e7f7fd) 0,transparent 37%),linear-gradient(180deg,color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 18%,#f2f9ff),color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 39%,#f4f8fd) 30%,color-mix(in srgb,var(--nbc-palette-surface-alt,#edf0f5) 33%,#f1faff) 75%,color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 35%,#f3f9fd)) !important;
  color:color-mix(in srgb,var(--nbc-theme-accent,#146b86) 38%,#090118);
}

/* nb-hero */
#nb-store.nb-store[data-nb-store] .nb-hero {
  --nb-accent:color-mix(in srgb,var(--nbc-primary,#0948b3) 11%,#9df8ff);
  background:radial-gradient(ellipse at 80% 25%,color-mix(in srgb,color-mix(in srgb,var(--nbc-primary,#0948b3) 47%,#20756f) 54%,transparent),transparent 52%),linear-gradient(115deg,color-mix(in srgb,var(--nbc-palette-ink,#2a2e36) 15%,#000e1e) 3%,color-mix(in srgb,var(--nbc-theme-accent,#146b86) 33%,#070016) 66%,color-mix(in srgb,var(--nbc-theme-accent,#146b86) 39%,#07041b)) !important;
  color:color-mix(in srgb,var(--nbc-inverse-text,#ffffff) 15%,#f0f8ff) !important;
  border-radius: 0 0 44px 44px !important;
}

/* nb-price */
#nb-store.nb-store[data-nb-store]:is(.nb-store--codeguard,.nb-store--nordvpn,.nb-store--sitelockvpn,.nb-store--spamexperts) .nb-price-section {
  --nb-price-overlap: 34px;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
}

/* sec-price */
#nb-store.nb-store[data-nb-store]:is(.nb-store--codeguard,.nb-store--nordvpn,.nb-store--sitelockvpn,.nb-store--spamexperts) .nb-price-section .sec-price-surface {
  position: relative;
  top: calc(-1 * var(--nb-price-overlap));
  margin-bottom: calc(-1 * var(--nb-price-overlap));
}
@media(max-width:600px) {
  #nb-store.nb-store[data-nb-store]:is(.nb-store--codeguard,.nb-store--nordvpn,.nb-store--sitelockvpn,.nb-store--spamexperts) .nb-price-section {
    --nb-price-overlap: 24px;
  }
}

/* nb-hero */
#nb-store.nb-store[data-nb-store] .nb-hero h1 {
  color:color-mix(in srgb,var(--nbc-inverse-text,#ffffff) 15%,#f0f8ff) !important;
}
#nb-store.nb-store[data-nb-store] .nb-hero h1 :is(em,strong,span) {
  color: var(--nwp-palette-c1) !important;
  font-style: normal;
}

/* nb-lead */
#nb-store.nb-store[data-nb-store] .nb-hero .nb-lead {
  color:color-mix(in srgb,var(--nbc-link,#336699) 25%,#ebf7fe) !important;
}

/* nb-hero */
#nb-store.nb-store[data-nb-store] .nb-hero :is(.nb-kicker,.sec-eyebrow) {
  color:color-mix(in srgb,var(--nbc-primary,#0948b3) 18%,#c2fefc) !important;
}

/* nb-btn */
#nb-store.nb-store[data-nb-store] .nb-hero .nb-btn,
#nb-store.nb-store[data-nb-store] .nb-cta .nb-btn {
  background:color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 19%,#f3faff) !important;
  color:color-mix(in srgb,var(--nbc-theme-accent,#146b86) 35%,#0e0920) !important;
  border-color:color-mix(in srgb,var(--nbc-palette-border,#d5dce5) 10%,#e6f3fd) !important;
  box-shadow:0 8px 22px color-mix(in srgb,var(--nbc-shadow,#000000) 13.33%,transparent);
}
#nb-store.nb-store[data-nb-store] .nb-hero .nb-btn--ghost,
#nb-store.nb-store[data-nb-store] .nb-cta .nb-btn--ghost {
  background:color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 3.14%,transparent) !important;
  color:color-mix(in srgb,var(--nbc-inverse-text,#ffffff) 13%,#edf7ff) !important;
  border-color:color-mix(in srgb,color-mix(in srgb,var(--nbc-primary,#0948b3) 16%,#d1f5ff) 30.2%,transparent) !important;
  box-shadow: none;
}
#nb-store.nb-store[data-nb-store] .nb-hero .nb-btn:hover,
#nb-store.nb-store[data-nb-store] .nb-cta .nb-btn:hover {
  background:color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 11%,#dbf3ff) !important;
  color:color-mix(in srgb,var(--nbc-theme-accent,#146b86) 35%,#0e0920) !important;
}
#nb-store.nb-store[data-nb-store] .nb-hero .nb-btn--ghost:hover,
#nb-store.nb-store[data-nb-store] .nb-cta .nb-btn--ghost:hover {
  background:color-mix(in srgb,var(--nbc-palette-surface,#ffffff) 9.02%,transparent) !important;
  color:var(--nbc-inverse-text,#ffffff) !important;
}

/* nb-cta */
#nb-store.nb-store[data-nb-store] .nb-cta {
  --nb-accent:color-mix(in srgb,var(--nbc-primary,#0948b3) 11%,#9df8ff);
  background:radial-gradient(ellipse at 79% 12%,color-mix(in srgb,color-mix(in srgb,var(--nbc-primary,#0948b3) 37%,#41aaa9) 35%,transparent),transparent 52%),linear-gradient(113deg,color-mix(in srgb,var(--nbc-palette-ink,#2a2e36) 11%,#031324),color-mix(in srgb,var(--nbc-theme-accent,#146b86) 39%,#07041b) 70%,color-mix(in srgb,var(--nbc-theme-accent,#146b86) 55%,#100012)) !important;
  color:color-mix(in srgb,var(--nbc-inverse-text,#ffffff) 17%,#f1f9ff) !important;
  border-radius: 44px 44px 0 0 !important;
  margin: 0 !important;
}
#nb-store.nb-store[data-nb-store] .nb-cta::before {
  background:radial-gradient(ellipse at 80% 20%,color-mix(in srgb,color-mix(in srgb,var(--nbc-primary,#0948b3) 21%,#68cfff) 9.41%,transparent),transparent 56%) !important;
}
#nb-store.nb-store[data-nb-store] .nb-cta :is(h2,h3) {
  color:color-mix(in srgb,var(--nbc-inverse-text,#ffffff) 17%,#f1f9ff) !important;
}
#nb-store.nb-store[data-nb-store] .nb-cta :is(h2,h3) :is(em,strong,span) {
  color: var(--nwp-palette-c1) !important;
}
#nb-store.nb-store[data-nb-store] .nb-cta p {
  color:color-mix(in srgb,var(--nbc-link,#336699) 25%,#ebf7fe) !important;
}

/* nb-kicker */
#nb-store.nb-store[data-nb-store] .nb-cta .nb-kicker {
  color:color-mix(in srgb,var(--nbc-primary,#0948b3) 18%,#c2fefc) !important;
}

/* nb-offscreen */
#nb-store.nb-store[data-nb-store] .nb-offscreen *,
#nb-store.nb-store[data-nb-store].nb-page-hidden *,
#nb-store.nb-store[data-nb-store] .nb-offscreen::before,
#nb-store.nb-store[data-nb-store] .nb-offscreen::after {
  animation-play-state: paused !important;
}

/* nb-store */
#nb-store.nb-store[data-nb-store] :is(.nb-scene,[data-nb-motion]) {
  contain: layout style;
}
#nb-store.nb-store[data-nb-store] :is(.nb-hero,.nb-cta) [aria-hidden="true"] {
  pointer-events: none;
}
#nb-store.nb-store[data-nb-store] :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid color-mix(in srgb,var(--nbc-primary,#0948b3) 56%,#647866) !important;
  outline-offset: 5px;
}
#nb-store.nb-store[data-nb-store] :is(.nb-hero,.nb-cta) :is(a,button,input,select,textarea,summary):focus-visible {
  outline-color: var(--nwp-palette-c1) !important;
}
@media(max-width:760px) {
  #nb-store.nb-store[data-nb-store] .nb-hero {
    border-radius: 0 0 29px 29px !important;
  }
  #nb-store.nb-store[data-nb-store] .nb-cta {
    border-radius: 28px 28px 0 0 !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  #nb-store.nb-store[data-nb-store] *,
  #nb-store.nb-store[data-nb-store] *::before,
  #nb-store.nb-store[data-nb-store] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
