.page-products {
  --prod-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  min-width: 0;
}

.page-products .page-products__crumb {
  margin-bottom: 2rem;
}

.page-products .page-products__heading {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.page-products .page-products__heading-copy {
  max-width: 760px;
}

.page-products .page-products__heading-side {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-products .page-products__version-tag {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
  border: 1px solid rgba(0, 212, 255, 0.4);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.page-products .page-products__status-text {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.page-products .prod-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.page-products .prod-download__rail {
  position: relative;
  z-index: 1;
}

.page-products .prod-download__card {
  position: relative;
  background: linear-gradient(145deg, rgba(59, 45, 110, 0.68), rgba(11, 60, 73, 0.56));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  overflow: hidden;
  box-shadow: var(--prod-shadow);
  backdrop-filter: blur(6px);
}

.page-products .prod-download__card::before {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 5.75rem;
  width: 3.5rem;
  height: 2.75rem;
  border: 2px solid rgba(0, 212, 255, 0.16);
  border-radius: 6px;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 8px 8px;
  transform: perspective(50px) rotateX(10deg);
  pointer-events: none;
}

.page-products .prod-download__shine {
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 60%);
  pointer-events: none;
}

.page-products .prod-download__version {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
  margin-bottom: 0.75rem;
}

.page-products .prod-download__title {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.page-products .prod-download__desc {
  font-size: 0.925rem;
  color: var(--color-text-dim);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.page-products .prod-download__platforms {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-products .prod-download__platforms li {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.page-products .prod-download__btn {
  display: block;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
  transition: box-shadow var(--transition), transform var(--transition), filter var(--transition);
  position: relative;
  z-index: 1;
}

.page-products .prod-download__btn:hover,
.page-products .prod-download__btn:focus-visible {
  box-shadow: 0 0 36px rgba(255, 107, 53, 0.5);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.page-products .prod-download__hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-products .prod-download__content {
  min-width: 0;
}

.page-products .prod-download__main-figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-products .prod-download__copy-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.page-products .prod-download__copy p {
  color: var(--color-text-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-products .prod-download__platform-figure {
  margin: 1rem 0 0;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-products .prod-download__platform-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products .prod-install {
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.page-products .prod-install > .section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.page-products .section-head__meta {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
}

.page-products .prod-install__wrap {
  display: grid;
  gap: 2rem;
  min-width: 0;
}

.page-products .prod-install__steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 3.5rem;
  position: relative;
}

.page-products .prod-install__steps::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-cyan), rgba(0, 212, 255, 0.15));
  border-radius: 2px;
}

.page-products .prod-install__step {
  position: relative;
  padding-bottom: 1.75rem;
}

.page-products .prod-install__step:last-child {
  padding-bottom: 0;
}

.page-products .prod-install__step-num {
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-panel);
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--color-cyan);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  z-index: 1;
}

.page-products .prod-install__step:hover .prod-install__step-num,
.page-products .prod-install__step:focus-within .prod-install__step-num {
  background: var(--color-cyan);
  color: var(--color-bg);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
}

.page-products .prod-install__step-body:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 6px;
  border-radius: 8px;
}

.page-products .prod-install__step-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.page-products .prod-install__step-body p {
  font-size: 0.925rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.page-products .prod-install__figure {
  margin: 0;
  min-width: 0;
}

.page-products .prod-install__figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  background: var(--color-panel);
  border-radius: 0 0 var(--radius) var(--radius);
}

.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products .prod-relogin {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.page-products .prod-relogin .eyebrow {
  color: var(--color-orange);
}

.page-products .prod-relogin h2 {
  font-size: 1.375rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-products .prod-relogin p {
  color: var(--color-text-dim);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.page-products .prod-relogin__list {
  list-style: none;
  margin: 1.25rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.page-products .prod-relogin__list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-text);
  line-height: 1.6;
}

.page-products .prod-relogin__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-cyan);
  border-radius: 2px;
  transform: rotate(45deg);
}

.page-products .prod-relogin__figure {
  margin: 0;
  min-width: 0;
}

.page-products .prod-security {
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-products .prod-security > .section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.page-products .prod-security__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.page-products .prod-security__panel {
  background: var(--color-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--color-purple);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.page-products .prod-security__panel:hover {
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.page-products .prod-security__panel--wine {
  border-top-color: var(--color-wine);
}

.page-products .prod-security__panel h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.page-products .prod-security__panel p {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.page-products .prod-security__detail {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-top: 0.75rem;
}

.page-products .prod-security__detail summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-cyan);
  font-weight: 600;
  font-family: var(--font-accent);
  letter-spacing: 0.04em;
}

.page-products .prod-security__detail p {
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

.page-products .prod-security__figure {
  margin: 1.5rem 0;
  min-width: 0;
}

.page-products .prod-security__note {
  font-size: 0.875rem;
  color: var(--color-text-dim);
}

@media (min-width: 640px) {
  .page-products .page-products__heading {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }

  .page-products .page-products__heading-side {
    flex-shrink: 0;
  }
}

@media (min-width: 900px) {
  .page-products .prod-download {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }

  .page-products .prod-download__rail {
    position: sticky;
    top: 2rem;
  }

  .page-products .prod-install__wrap {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: start;
  }

  .page-products .prod-relogin {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 3rem;
  }

  .page-products .prod-security__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .page-products .prod-security__figure {
    margin-top: 2rem;
  }
}
