:root {
  --silver: #c8cdd2;
  --silver-bright: #f7f8f9;
  --silver-dark: #737a82;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(255,255,255,.018), transparent 30%, transparent 72%, rgba(214,220,226,.025)),
    rgba(7,8,10,.95);
  border-bottom-color: rgba(255,255,255,.14);
}

.brand {
  padding-right: 25px;
  border-right: 1px solid rgba(255,255,255,.15);
}

.nav-link.is-active,
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
  background: rgba(214,220,226,.07);
}

.nav-link-external {
  color: var(--silver-bright);
  border-color: rgba(214,220,226,.24);
}

.header-store-button {
  color: #08090a;
  border-color: var(--silver-bright);
  background: linear-gradient(135deg, #ffffff, #a9afb5 42%, #edf0f2 72%, #737a81);
  box-shadow: 0 0 30px rgba(214,220,226,.12);
}

.header-store-button:hover {
  background: linear-gradient(135deg, #ffffff, #bdc2c7 45%, #f1f3f5 74%, #7d848b);
}

.eyebrow {
  color: #d8dde2;
}

.eyebrow > span,
.status-dot {
  background: linear-gradient(90deg, var(--silver-bright), var(--silver-dark));
}

.hero h1 em {
  -webkit-text-stroke-color: rgba(235,239,243,.72);
}

.button-primary {
  color: #08090a;
  border-color: var(--silver-bright);
  background: linear-gradient(135deg, #ffffff, #a9afb5 42%, #edf0f2 72%, #737a81);
}

.product-card:hover,
.bundle-card:hover,
.benefit-card:hover,
.support-option:hover {
  border-color: rgba(214,220,226,.38);
}

.badge-featured,
.badge-new,
.filter-chip:hover,
.filter-chip.is-active {
  color: #08090a;
  background: linear-gradient(135deg, #f8f9fa, #9ca3aa);
  border-color: #d7dce1;
}

.text-button:hover,
.catalogue-summary a:hover,
.generated-ticket button {
  color: var(--silver-bright);
}

@media (max-width: 1080px) {
  .brand {
    border-right: 0;
    padding-right: 0;
  }
}


/* Silver finish */
.header-store-button,
.button-primary {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #acb2b8 34%,
      #eef1f3 68%,
      #737a81 100%
    );
  border-color: #e1e5e8;
}

.header-store-button:hover {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #c3c8cd 38%,
      #f4f6f7 70%,
      #858c93 100%
    );
}


/* Tebex custom product media gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-gallery-item {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #090a0c;
  cursor: pointer;
  transition:
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.product-gallery-item:hover,
.product-gallery-item.is-active {
  border-color: rgba(235, 239, 243, .68);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
}

.product-gallery-item.is-active::after {
  content: "";
  position: absolute;
  inset: auto 8px 7px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #f5f7f8,
    transparent
  );
}

.product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-item.image-fallback img {
  object-fit: contain;
  padding: 18%;
  opacity: .7;
}

.product-media.image-fallback > img,
.dialog-hero.image-fallback > img {
  object-fit: contain;
  padding: 9%;
  opacity: .68;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #0b0d10;
  background-size: 32px 32px;
}

@media (max-width: 760px) {
  .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Development hero status panel refinement */
.hero-shell {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(420px, 520px);
  gap: clamp(42px, 5vw, 76px);
}

.hero-panel {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  overflow: hidden;
  transform: none;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.025),
      transparent 42%
    ),
    #0a0c0e;
  border-color: rgba(225, 229, 232, .24);
  box-shadow:
    0 32px 90px rgba(0,0,0,.55),
    inset 0 1px rgba(255,255,255,.035);
  isolation: isolate;
}

.terminal-body {
  padding: clamp(26px, 3vw, 36px);
}

.terminal-brand {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding-bottom: 26px;
}

.terminal-brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  align-self: center;
}

.terminal-brand > div {
  min-width: 0;
  gap: 5px;
}

.terminal-brand small {
  overflow-wrap: anywhere;
}

.terminal-brand strong {
  max-width: 100%;
  min-width: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: .9;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.terminal-brand span {
  overflow-wrap: anywhere;
}

.status-line {
  position: relative;
  z-index: 1;
  padding: 22px 0;
}

.status-line p {
  min-width: 0;
}

.status-line strong,
.status-line small {
  overflow-wrap: anywhere;
}

.terminal-stats {
  position: relative;
  z-index: 1;
}

@media (max-width: 1280px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-panel {
    width: min(100%, 620px);
    max-width: 620px;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .terminal-body {
    padding: 22px;
  }

  .terminal-brand {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 15px;
  }

  .terminal-brand img {
    width: 72px;
    height: 72px;
  }

  .terminal-brand strong {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .terminal-brand small {
    font-size: .52rem;
    letter-spacing: .1em;
  }

  .terminal-brand span {
    font-size: .58rem;
  }
}
