.page-products {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

.page-products .breadcrumb {
  margin: 24px 0 20px;
}

.page-products .page-header {
  margin-bottom: 28px;
  border-left: 4px solid var(--color-red);
  padding-left: 16px;
}

.page-products .page-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-red);
  margin-bottom: 8px;
}

.page-products .page-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  margin-bottom: 12px;
}

.page-products .page-lead {
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}

.page-products .campaign-banner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11, 30, 54, 0.28), transparent 38%),
    var(--gradient-gold-red);
  margin-bottom: 48px;
}

.page-products .campaign-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-night);
}

.page-products .campaign-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: -14%;
  width: 50%;
  height: 100%;
  background: rgba(59, 31, 94, 0.34);
  transform: skewX(-16deg);
  pointer-events: none;
}

.page-products .campaign-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 0;
  color: #fff8e7;
}

.page-products .campaign-copy {
  max-width: 560px;
}

.page-products .campaign-tag {
  display: inline-block;
  background: var(--color-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
}

.page-products .campaign-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  margin: 12px 0 14px;
  color: #ffffff;
}

.page-products .campaign-desc {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  margin-bottom: 20px;
}

.page-products .campaign-link {
  background: var(--color-night);
  border: 1px solid var(--color-night);
  color: var(--color-paper);
}

.page-products .campaign-link:hover {
  background: var(--color-paper);
  color: var(--color-night);
}

.page-products .campaign-figure {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border: 2px solid rgba(251, 246, 236, 0.38);
  box-shadow: 12px 12px 0 rgba(11, 30, 54, 0.18);
}

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

.page-products .app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.page-products .dl-column,
.page-products .tools-column,
.page-products .release-column {
  min-width: 0;
}

.page-products .client-card {
  position: relative;
  background: var(--color-paper);
  border: 2px solid var(--color-brown);
  padding: 22px 20px 26px;
  box-shadow: 8px 8px 0 rgba(11, 30, 54, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .page-products .client-card:hover {
    transform: translateY(-4px);
    box-shadow: 12px 12px 0 rgba(11, 30, 54, 0.18);
  }
}

.page-products .client-card-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-products .client-card-head h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.page-products .version-badge {
  position: absolute;
  top: -14px;
  right: -8px;
  background: var(--color-night);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  transform: rotate(2deg);
  z-index: 2;
}

.page-products .client-figure {
  margin: 0 0 18px;
  border: 1px solid var(--color-brown);
  background: var(--color-night);
  padding: 6px;
  height: 320px;
}

.page-products .client-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top 20%;
}

.page-products .client-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-products .spec-block {
  border-top: 1px dashed var(--color-brown);
  padding-top: 12px;
  margin-top: 14px;
}

.page-products .spec-block h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-red);
  margin: 0 0 8px;
}

.page-products .spec-block ul {
  margin: 0;
  padding-left: 18px;
}

.page-products .spec-block li {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.page-products .client-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #6b5f4c;
  background: rgba(212, 175, 55, 0.14);
  border-left: 3px solid var(--color-gold);
  padding: 8px 10px;
}

.page-products .client-action {
  margin-top: 18px;
}

.page-products .download-hint {
  position: relative;
}

.page-products .hint-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-night);
  color: var(--color-paper);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .page-products .download-hint:hover .hint-tip {
    opacity: 1;
  }
}

.page-products .tools-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.page-products .tools-tabs .chip {
  color: var(--color-ink);
  border: 1px solid var(--color-brown);
  background: transparent;
}

.page-products .tools-tabs .chip:hover,
.page-products .tools-tabs .chip:focus-visible {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-night);
}

.page-products .tool-section {
  border-top: 3px solid var(--color-gold);
  padding-top: 28px;
  margin-top: 32px;
}

.page-products .tool-section:first-of-type {
  margin-top: 0;
}

.page-products .tool-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-products .tool-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border: 2px solid var(--color-red);
  color: var(--color-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.page-products .tool-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  margin: 0;
}

.page-products .tool-figure {
  margin: 0 0 18px;
  background: var(--color-night);
  border: 1px solid var(--color-night);
  padding: 6px;
}

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

.page-products .tool-desc {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-products .tool-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .tool-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.page-products .tool-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

.page-products .tool-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-red);
  border-bottom: 2px solid var(--color-gold);
  text-decoration: none;
  padding-bottom: 2px;
}

.page-products .tool-link:hover {
  color: var(--color-night);
  border-bottom-color: var(--color-red);
}

.page-products .release-panel {
  background: var(--color-night);
  color: var(--color-paper);
  border-top: 4px solid var(--color-gold);
  padding: 22px 18px 26px;
}

.page-products .release-panel-head {
  margin-bottom: 16px;
}

.page-products .release-panel-head h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.page-products .release-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-signal);
}

.page-products .release-live .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-signal);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.2);
}

.page-products .release-list,
.page-products .release-archive {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .release-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(251, 246, 236, 0.16);
}

.page-products .release-item:last-child {
  border-bottom: 0;
}

.page-products .release-item .tag {
  justify-self: start;
  background: var(--color-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  white-space: nowrap;
}

.page-products .release-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.page-products .release-more {
  margin-top: 14px;
  border-top: 1px dashed rgba(251, 246, 236, 0.28);
  padding-top: 12px;
}

.page-products .release-more summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold);
  list-style: none;
}

.page-products .release-more summary::-webkit-details-marker {
  display: none;
}

.page-products .release-more summary::after {
  content: "+";
  display: inline-block;
  margin-left: 6px;
  font-weight: 900;
  transition: transform 0.2s;
}

.page-products .release-more[open] summary::after {
  content: "-";
}

.page-products .tool-note {
  border: 2px solid var(--color-brown);
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.12), transparent 50%),
    var(--color-paper);
  padding: 24px;
  margin-bottom: 56px;
}

.page-products .tool-note-inner {
  max-width: 840px;
}

.page-products .tool-note h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.page-products .tool-note p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-products .tool-note a {
  color: var(--color-red);
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-products .campaign-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-products .campaign-copy {
    flex: 0 1 56%;
  }

  .page-products .campaign-figure {
    flex: 0 0 340px;
    margin: 0;
  }

  .page-products .client-figure {
    height: 380px;
  }
}

@media (min-width: 1024px) {
  .page-products .app-layout {
    grid-template-columns: 240px minmax(0, 1fr) 240px;
    gap: 32px;
  }

  .page-products .dl-column,
  .page-products .release-column {
    align-self: start;
  }

  .page-products .release-column {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }

  .page-products .client-figure {
    height: 420px;
  }
}
