/* Shared site header/footer/cookie styles - PC Web Systems theme */
:root {
  --bg: #02050b;
  --bg-soft: #07111f;
  --panel: rgba(7, 17, 31, 0.86);
  --panel-strong: rgba(4, 10, 20, 0.96);
  --blue: #1fb9ff;
  --blue2: #0b6fb8;
  --blue-2: #0b6fb8;
  --blue-bright: #5fd8ff;
  --green: #72ff18;
  --green-soft: #9dff4b;
  --text: #f4f8ff;
  --muted: #a7b8cf;
  --warning: #ffca66;
  --danger: #ff6b6b;
  --success: #72ff8a;
  --line: rgba(95, 216, 255, 0.24);
  --line-strong: rgba(95, 216, 255, 0.34);
  --green-line: rgba(114, 255, 24, 0.52);
  --tile: rgba(7, 17, 31, 0.72);
  --shadow-blue: 0 0 24px rgba(31, 185, 255, 0.35);
  --shadow-green: 0 0 24px rgba(114, 255, 24, 0.25);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(31, 185, 255, 0.16),
      transparent 34rem
    ),
    radial-gradient(
      circle at top right,
      rgba(114, 255, 24, 0.1),
      transparent 32rem
    ),
    linear-gradient(180deg, #01040a 0%, #030811 50%, #010307 100%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a {
  color: var(--blue-bright);
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--green-soft);
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 4, 10, 0.88);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.topbar .wrap {
  width: calc(100% - clamp(1rem, 12vw, 150px) - clamp(1rem, 5vw, 64px));
  max-width: none;
  margin-left: clamp(1rem, 12vw, 150px);
  margin-right: clamp(1rem, 5vw, 64px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 80px;
  padding: 0;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: 250px;
  height: 70px;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 0;
  outline-offset: 4px;
}
.brand-icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 1px solid rgba(95, 216, 255, 0.62);
  border-radius: 16px;
  background: rgba(2, 5, 11, 0.68);
  box-shadow:
    0 0 14px rgba(31, 185, 255, 0.3),
    0 0 20px rgba(114, 255, 24, 0.16),
    inset 0 0 14px rgba(31, 185, 255, 0.1);
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.brand-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}
.brand-text {
  color: #fff;
  font-size: clamp(1.24rem, 1.65vw, 1.55rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(31, 185, 255, 0.18);
  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}
.brand:hover,
.brand:focus {
  color: var(--green-soft);
}
.brand:hover .brand-text,
.brand:focus .brand-text {
  color: var(--green-soft);
  text-shadow:
    0 0 12px rgba(114, 255, 24, 0.34),
    0 0 18px rgba(31, 185, 255, 0.18);
}
.brand:hover .brand-icon-frame,
.brand:focus .brand-icon-frame {
  border-color: rgba(114, 255, 24, 0.72);
  box-shadow:
    0 0 18px rgba(114, 255, 24, 0.26),
    0 0 24px rgba(31, 185, 255, 0.24),
    inset 0 0 14px rgba(114, 255, 24, 0.08);
  transform: translateY(-1px);
}
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.95rem;
}
.nav a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(31, 185, 255, 0.18),
    rgba(114, 255, 24, 0.18)
  );
  box-shadow: var(--shadow-green);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}
.nav a {
  font-weight: 700;
  text-decoration: none;
}
.btn {
  gap: 0.55rem;
  min-height: 44px;
}
.nav a:hover,
.nav a:focus,
.btn:hover,
.btn:focus {
  color: #fff;
  border-color: rgba(114, 255, 24, 0.72);
  background: linear-gradient(
    90deg,
    rgba(31, 185, 255, 0.24),
    rgba(114, 255, 24, 0.24)
  );
  box-shadow: var(--shadow-green), var(--shadow-blue);
  transform: translateY(-1px);
}
.btn-primary,
.btn-secondary {
  border-color: var(--green-line);
  background: linear-gradient(
    90deg,
    rgba(31, 185, 255, 0.18),
    rgba(114, 255, 24, 0.18)
  );
  color: var(--text);
  box-shadow: var(--shadow-green);
}
.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}
.card,
.panel,
.legal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-blue), var(--shadow-green), var(--shadow-card);
}
.input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="password"] {
  border: 1px solid rgba(95, 216, 255, 0.24);
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(31, 185, 255, 0.15);
  outline: none;
}
.footer {
  margin-top: 1.25rem;
  background: rgba(1, 4, 10, 0.88);
  border-top: 1px solid var(--line);
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
  align-items: start;
}
.footer-title {
  color: var(--text);
  font-weight: 800;
  margin-bottom: 0.55rem;
}
.footer p,
.footer a {
  color: rgba(244, 248, 255, 0.86);
  margin: 0;
}
.footer a:hover,
.footer a:focus {
  color: var(--green-soft);
}
.footer small {
  display: block;
  color: rgba(244, 248, 255, 0.68);
  margin-top: 0.4rem;
}
.footer .wrap {
  padding: 1.35rem 0;
  color: rgba(244, 248, 255, 0.84);
}
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: none;
  justify-content: center;
  pointer-events: none;
}
.cookie-consent.is-visible {
  display: flex;
}
.cookie-consent-card {
  width: min(100%, 920px);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-blue), var(--shadow-green), var(--shadow-card);
  padding: 1rem 1rem 1rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  pointer-events: auto;
}
.cookie-consent-copy {
  color: var(--text);
}
.cookie-consent-copy p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}
.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cookie-consent-actions .btn {
  white-space: nowrap;
}
.text-gradient {
  color: var(--blue-bright);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-gradient {
    background: linear-gradient(90deg, var(--blue-bright), var(--green));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
}
.hero-title-white {
  color: var(--text);
}
.legal-main {
  padding: 2rem 0;
}
.legal-card {
  padding: 1.5rem;
}
.legal-card p {
  color: var(--muted);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .topbar .wrap {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
  }
}
@media (max-width: 680px) {
  .topbar-inner {
    padding: 0.8rem 0;
  }
  .brand {
    width: min(250px, calc(100vw - 2rem));
    height: 70px;
  }
  .brand-icon-frame {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .brand-icon {
    width: 45px;
    height: 45px;
  }
  .brand-text {
    font-size: clamp(1.12rem, 6vw, 1.42rem);
  }
  .cookie-consent-card {
    grid-template-columns: 1fr;
  }
  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Header logo refinement - B06 */
@media (min-width: 861px) {
  .topbar .wrap {
    width: calc(100% - 140px);
    max-width: none;
    margin-left: 100px;
    margin-right: 40px;
  }

  .brand {
    width: 430px;
    height: 70px;
    gap: 14px;
  }

  .brand-icon-frame {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    border-radius: 18px;
  }

  .brand-icon {
    width: 70px;
    height: 70px;
  }
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 70px;
  line-height: 1;
}

.brand-title {
  color: #fff;
  font-size: clamp(2rem, 2.35vw, 2.35rem);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(31, 185, 255, 0.18);
  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}

.brand-tagline {
  margin-top: 4px;
  color: var(--blue-bright);
  font-size: 0.83rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(31, 185, 255, 0.18);
}

.brand:hover .brand-title,
.brand:focus .brand-title {
  color: var(--green-soft);
  text-shadow:
    0 0 12px rgba(114, 255, 24, 0.34),
    0 0 18px rgba(31, 185, 255, 0.18);
}

@media (max-width: 860px) {
  .brand {
    width: min(360px, calc(100vw - 2rem));
    height: 70px;
    gap: 12px;
  }

  .brand-icon-frame {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .brand-icon {
    width: 56px;
    height: 56px;
  }

  .brand-copy {
    height: 62px;
  }

  .brand-title {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  .brand-tagline {
    font-size: 0.72rem;
  }
}

/* Header brand image update - B01 */
.brand {
  width: clamp(170px, 24vw, 300px);
  height: auto;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 clamp(170px, 24vw, 300px);
  gap: 0;
}
.brand-header-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 860px) {
  .brand {
    width: clamp(160px, 42vw, 260px);
    flex-basis: clamp(160px, 42vw, 260px);
    min-height: 48px;
  }
  .brand-header-image {
    max-width: 260px;
    max-height: 68px;
  }
}
@media (max-width: 520px) {
  .brand {
    width: min(220px, 58vw);
    flex-basis: min(220px, 58vw);
  }
  .brand-header-image {
    max-width: 220px;
    max-height: 58px;
  }
}


/* Header logo placement/readability fix - B03 */
.topbar .wrap {
  width: calc(100% - 48px) !important;
  max-width: none !important;
  margin-left: 24px !important;
  margin-right: 24px !important;
}
.topbar-inner {
  min-height: 92px;
  padding: 0 !important;
}
.brand {
  width: clamp(300px, 33vw, 500px) !important;
  flex: 0 1 clamp(300px, 33vw, 500px) !important;
  min-height: 82px !important;
  height: auto !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}
.brand-header-image {
  width: 100% !important;
  max-width: 500px !important;
  height: auto !important;
  max-height: 86px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
@media (max-width: 900px) {
  .topbar .wrap {
    width: calc(100% - 24px) !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  .brand {
    width: clamp(240px, 48vw, 380px) !important;
    flex-basis: clamp(240px, 48vw, 380px) !important;
    min-height: 64px !important;
  }
  .brand-header-image {
    max-width: 380px !important;
    max-height: 70px !important;
  }
}
@media (max-width: 560px) {
  .topbar-inner {
    min-height: 76px;
  }
  .brand {
    width: min(285px, 66vw) !important;
    flex-basis: min(285px, 66vw) !important;
    min-height: 54px !important;
  }
  .brand-header-image {
    max-width: 285px !important;
    max-height: 58px !important;
  }
}

/* Unified header logo image across all public pages - B04 */
.topbar .wrap {
  width: calc(100% - 48px) !important;
  max-width: none !important;
  margin-left: 24px !important;
  margin-right: 24px !important;
}
.brand {
  width: clamp(300px, 33vw, 500px) !important;
  flex: 0 1 clamp(300px, 33vw, 500px) !important;
  min-height: 82px !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}
.brand-header-image {
  display: block !important;
  width: 100% !important;
  max-width: 500px !important;
  height: auto !important;
  max-height: 86px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
@media (max-width: 900px) {
  .topbar .wrap {
    width: calc(100% - 24px) !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  .brand {
    width: clamp(240px, 48vw, 380px) !important;
    flex-basis: clamp(240px, 48vw, 380px) !important;
    min-height: 64px !important;
  }
  .brand-header-image {
    max-width: 380px !important;
    max-height: 70px !important;
  }
}
@media (max-width: 560px) {
  .topbar-inner {
    min-height: 76px;
  }
  .brand {
    width: min(285px, 66vw) !important;
    flex-basis: min(285px, 66vw) !important;
    min-height: 54px !important;
  }
  .brand-header-image {
    max-width: 285px !important;
    max-height: 58px !important;
  }
}

/* PCWS approved site-wide button + container halo update */
.nav a,
.side-menu a,
button.btn:not(.btn-price),
a.btn:not(.btn-price),
input.btn:not(.btn-price),
.nav-toggle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 400 !important;
  background: rgba(35, 35, 35, 0.58) !important;
  background-image: none !important;
  border: 1px solid rgba(35, 35, 35, 0.94) !important;
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.34),
    0 0 18px rgba(0, 139, 243, 0.38),
    0 12px 30px rgba(0, 0, 0, 0.34) !important;
  text-shadow: none !important;
}

.nav a:hover,
.nav a:focus-visible,
.side-menu a:hover,
.side-menu a:focus-visible,
button.btn:not(.btn-price):hover,
button.btn:not(.btn-price):focus-visible,
a.btn:not(.btn-price):hover,
a.btn:not(.btn-price):focus-visible,
input.btn:not(.btn-price):hover,
input.btn:not(.btn-price):focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 400 !important;
  background: rgba(35, 35, 35, 0.74) !important;
  background-image: none !important;
  border-color: rgba(35, 35, 35, 1) !important;
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.52),
    0 0 24px rgba(0, 139, 243, 0.56),
    0 14px 34px rgba(0, 0, 0, 0.38) !important;
  filter: none !important;
  transform: none !important;
}

.nav a *,
.side-menu a *,
button.btn:not(.btn-price) *,
a.btn:not(.btn-price) *,
input.btn:not(.btn-price) *,
.nav-toggle * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 400 !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.card,
.panel,
.legal-card,
.test-hero,
.test-panel,
.result-card,
.note-card,
.summary-box,
.hero-copy,
.hero-image-card,
.spec-card,
.cta-card,
.traffic-card,
.micro div,
.traffic-bullets div,
.feature-tile,
.hero-media {
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.24),
    0 0 22px rgba(0, 139, 243, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.30) !important;
  border-color: rgba(0, 139, 243, 0.32) !important;
}

.hero-offer-card {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36) !important;
  border-color: rgba(255, 255, 255, 0.86) !important;
}

.btn-price,
.btn-price:hover,
.btn-price:focus-visible,
.btn-price *,
.btn-price:hover *,
.btn-price:focus-visible * {
  font-weight: inherit;
}

/* Header mobile menu button fix - B09 */
.nav-toggle {
  display: none !important;
  width: 44px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 5px !important;
  cursor: pointer !important;
  flex: 0 0 auto !important;
}

.nav-toggle span {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-image: none !important;
}

@media (min-width: 901px) {
  .topbar .nav {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    margin-left: auto !important;
  }

  .topbar .nav {
    position: absolute !important;
    top: calc(100% + 0.55rem) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 500 !important;
    display: none !important;
    width: min(280px, calc(100vw - 2rem)) !important;
    padding: 0.75rem !important;
    border-radius: 18px !important;
    background: rgba(5, 12, 23, 0.96) !important;
    border: 1px solid rgba(0, 139, 243, 0.32) !important;
    box-shadow:
      0 0 0 1px rgba(0, 139, 243, 0.22),
      0 0 22px rgba(0, 139, 243, 0.28),
      0 24px 60px rgba(0, 0, 0, 0.48) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .topbar .nav.is-open {
    display: grid !important;
    gap: 0.55rem !important;
  }

  .topbar .nav a {
    width: 100% !important;
  }
}

/* Header dropdown navigation - B10 */
.nav {
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
}

.nav-dropdown summary {
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 400 !important;
  background: rgba(35, 35, 35, 0.58) !important;
  background-image: none !important;
  border: 1px solid rgba(35, 35, 35, 0.94) !important;
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.34),
    0 0 18px rgba(0, 139, 243, 0.38),
    0 12px 30px rgba(0, 0, 0, 0.34) !important;
  text-shadow: none !important;
  user-select: none !important;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease !important;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none !important;
}

.nav-dropdown summary::marker {
  content: "" !important;
}

.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible,
.nav-dropdown[open] summary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(35, 35, 35, 0.74) !important;
  border-color: rgba(35, 35, 35, 1) !important;
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.52),
    0 0 24px rgba(0, 139, 243, 0.56),
    0 14px 34px rgba(0, 0, 0, 0.38) !important;
  outline: none !important;
}

.nav-caret {
  font-size: 0.82em !important;
  line-height: 1 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.nav-dropdown[open] .nav-caret {
  transform: rotate(180deg) translateY(1px) !important;
}

.nav-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 0.55rem) !important;
  left: 0 !important;
  z-index: 700 !important;
  display: none !important;
  min-width: 210px !important;
  padding: 0.65rem !important;
  border-radius: 18px !important;
  background: rgba(5, 12, 23, 0.97) !important;
  border: 1px solid rgba(0, 139, 243, 0.32) !important;
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.22),
    0 0 22px rgba(0, 139, 243, 0.28),
    0 24px 60px rgba(0, 0, 0, 0.48) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown[open] .nav-dropdown-menu {
  display: grid !important;
  gap: 0.45rem !important;
}

.nav-dropdown-menu a {
  width: 100% !important;
  justify-content: flex-start !important;
  white-space: nowrap !important;
  min-height: 38px !important;
  padding: 0 14px !important;
}

.site-page-main {
  padding: 5rem 0 4rem !important;
}

.site-page-card {
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.site-page-card h1 {
  margin-top: 0 !important;
  font-size: clamp(2rem, 5vw, 3.25rem) !important;
  line-height: 1.05 !important;
}

.site-page-card .lead {
  color: var(--muted) !important;
  font-size: 1.08rem !important;
  max-width: 760px !important;
}

.site-link-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
}

.site-link-card {
  display: block !important;
  padding: 1rem !important;
  min-height: 100% !important;
  border-radius: 18px !important;
  color: #ffffff !important;
  background: rgba(7, 17, 31, 0.72) !important;
  border: 1px solid rgba(0, 139, 243, 0.32) !important;
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.18),
    0 0 16px rgba(0, 139, 243, 0.20),
    0 12px 28px rgba(0, 0, 0, 0.24) !important;
}

.site-link-card strong {
  display: block !important;
  color: #ffffff !important;
  margin-bottom: 0.35rem !important;
}

.site-link-card span {
  color: var(--muted) !important;
}

@media (max-width: 1080px) and (min-width: 901px) {
  .topbar .wrap {
    width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .brand {
    width: 220px !important;
  }

  .nav {
    gap: 8px !important;
  }

  .nav a,
  .nav-dropdown summary {
    min-height: 40px !important;
    padding: 0 14px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 900px) {
  .topbar .nav {
    width: min(330px, calc(100vw - 2rem)) !important;
  }

  .nav {
    flex-wrap: initial !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .nav-dropdown {
    display: block !important;
    width: 100% !important;
  }

  .nav-dropdown summary {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .nav-dropdown-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    padding: 0.5rem !important;
    border-radius: 14px !important;
    box-shadow: inset 0 0 0 1px rgba(0, 139, 243, 0.14) !important;
    background: rgba(0, 0, 0, 0.18) !important;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none !important;
  }

  .nav-dropdown[open] .nav-dropdown-menu {
    display: grid !important;
    gap: 0.45rem !important;
  }

  .nav-dropdown-menu a {
    white-space: normal !important;
  }
}

/* Footer four-column navigation support - B10 */
.footer-grid {
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(140px, 0.8fr)) !important;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Temporary maintenance lock overlay */
html.pcws-maintenance-active,
body.pcws-maintenance-active {
  overflow: hidden;
}

body.pcws-maintenance-active > :not(#pcwsMaintenanceLock) {
  pointer-events: none;
}

.pcws-maintenance-lock {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at top, rgba(31, 185, 255, 0.18), transparent 34rem),
    radial-gradient(circle at bottom, rgba(114, 255, 24, 0.12), transparent 30rem),
    rgba(1, 4, 10, 0.66);
  backdrop-filter: blur(2px);
}

.pcws-maintenance-card {
  width: min(92vw, 620px);
  border: 1px solid rgba(114, 255, 24, 0.58);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.97), rgba(2, 5, 11, 0.96)),
    var(--panel-strong);
  box-shadow:
    0 0 34px rgba(114, 255, 24, 0.24),
    0 24px 80px rgba(0, 0, 0, 0.58);
}

.pcws-maintenance-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 0.9rem;
  padding: 0 1rem;
  border: 1px solid rgba(95, 216, 255, 0.42);
  border-radius: 999px;
  color: var(--green-soft);
  background: rgba(31, 185, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pcws-maintenance-card h1 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.pcws-maintenance-card p {
  margin: 0 auto;
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.16rem);
}

.pcws-maintenance-note {
  margin-top: 1.2rem !important;
  color: var(--green-soft) !important;
  font-weight: 800;
}



/* Checkout/cart header support - B012 */
.nav .pcws-cart-link,
.pcws-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.pcws-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--green-soft, #8fffba);
  color: #031014;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}
.purchase-cart-form { margin: 0; }
.purchase-cart-form .purchase-buy-button { width: 100%; }


/* B013 ecommerce cart/quantity polish */
.product-cart-notice { margin: 0 0 16px; }
.purchase-license-note {
  border: 1px solid rgba(97, 183, 255, .28);
  background: rgba(0, 139, 243, .10);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 14px 0;
  color: #eaf6ff;
  line-height: 1.45;
}
.purchase-cart-form {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}
.quantity-label {
  display: block;
  font-weight: 700;
  color: #dceaff;
}
.quantity-stepper,
.quantity-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.quantity-input {
  width: 56px;
  min-width: 56px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(97, 183, 255, .38);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 8px 6px;
}
.quantity-button,
.quantity-update {
  border: 1px solid rgba(97, 183, 255, .38);
  background: rgba(0, 139, 243, .16);
  color: #eaf6ff;
  border-radius: 10px;
  min-width: 34px;
  min-height: 34px;
  cursor: pointer;
  font-weight: 800;
}
.quantity-update { padding: 0 10px; font-size: .85rem; }
.quantity-button:hover,
.quantity-update:hover { background: rgba(0, 139, 243, .28); }


/* B016 global cart indicator behavior */
.pcws-cart-link[data-pcws-cart-link] {
  white-space: nowrap;
}
.pcws-cart-link[hidden] { display: none !important; }
