.page-products {
  --page-rot: 2.4deg;
  --page-border-w: 2px;
  background: var(--c-navy-deep);
  color: var(--c-white);
  overflow-x: hidden;
  position: relative;
}

.page-products .breadcrumbs {
  padding-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.page-products .breadcrumbs__link {
  color: var(--c-gold);
  text-decoration: none;
  transition: color 0.2s;
}

.page-products .breadcrumbs__link:hover,
.page-products .breadcrumbs__link:focus {
  color: var(--c-gold-bright);
  text-decoration: underline;
}

.page-products .btn {
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

.page-products .btn:active {
  transform: scale(0.97);
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.page-products h1 {
  font-size: var(--font-h1);
  font-weight: 800;
  margin: 1.2rem 0 1rem;
}

.page-products h2 {
  font-size: var(--font-h2);
  font-weight: 800;
  margin: 0.6rem 0 0.8rem;
}

.page-products h3 {
  font-size: var(--font-h4);
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

.page-products p {
  font-family: var(--font-body);
  font-size: var(--font-body-size);
  line-height: 1.8;
}

.page-products__top {
  position: relative;
  z-index: 3;
}

.page-products__hero {
  position: relative;
  padding-top: 1rem;
}

.page-products__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 14px,
    rgba(212, 168, 67, 0.05) 14px 28px
  );
  pointer-events: none;
}

.page-products__hero::after {
  content: "365";
  position: absolute;
  right: -0.08em;
  top: 0.02em;
  font-family: var(--font-heading);
  font-size: clamp(8rem, 24vw, 18rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

.page-products__hero .site-container {
  position: relative;
  z-index: 1;
}

.page-products__hero-split {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

.page-products__hero-copy {
  max-width: 34em;
}

.page-products__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0;
}

.page-products__live-dot {
  width: 10px;
  height: 10px;
  background: var(--c-red);
  border-radius: 50%;
  animation: page-products-pulse 1.6s infinite;
}

@keyframes page-products-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.65);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(230, 57, 70, 0);
  }
}

.page-products__lede {
  color: rgba(255, 255, 255, 0.86);
  max-width: 32em;
}

.page-products__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.page-products__hero-actions .btn--ghost {
  background: transparent;
  border: var(--page-border-w) solid var(--c-gold);
  color: var(--c-gold-bright);
}

.page-products__hero-actions .btn--ghost:hover,
.page-products__hero-actions .btn--ghost:focus {
  background: rgba(212, 168, 67, 0.16);
}

.page-products__hero-visual {
  max-width: 300px;
  margin: 0 auto;
  transform: rotate(-2deg);
  position: relative;
}

.page-products__hero-visual::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--c-gold);
  opacity: 0.3;
  z-index: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-products__hero-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--c-gold);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.32);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  object-fit: cover;
}

.page-products__platforms {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.page-products__heading {
  margin-bottom: 2.4rem;
  max-width: 38em;
}

.page-products__kicker {
  display: inline-block;
  background: var(--c-red);
  color: var(--c-white);
  padding: 0.3rem 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-products__section-lead {
  color: rgba(255, 255, 255, 0.8);
  margin: 0.6rem 0 0;
}

.page-products__platform-grid {
  display: grid;
  gap: 1.6rem;
}

.page-products__platform-card {
  position: relative;
  background: var(--c-navy);
  border: var(--page-border-w) solid var(--c-slate);
  border-left: 6px solid var(--c-gold);
  padding: 1.6rem 1.6rem 1.8rem;
  margin: 0;
  border-radius: 0;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.page-products__platform-card::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  bottom: 0.7rem;
  width: 3rem;
  height: 3rem;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 6px,
    rgba(212, 168, 67, 0.14) 6px 12px
  );
  pointer-events: none;
}

.page-products__platform-card:hover,
.page-products__platform-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--c-gold);
  box-shadow: 10px 14px 0 rgba(0, 0, 0, 0.2);
}

.page-products__platform-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.page-products__platform-icon {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-navy-deep);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.7rem;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.page-products__platform-card--offset {
  margin-top: 0.8rem;
}

.page-products__download-btn {
  margin-top: 1.4rem;
  cursor: pointer;
}

.page-products__feature {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.page-products__feature-row {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

.page-products__feature-media {
  position: relative;
  transform: rotate(1deg);
}

.page-products__feature--reverse .page-products__feature-media {
  transform: rotate(-1deg);
}

.page-products__feature-media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: rgba(212, 168, 67, 0.22);
  z-index: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-products__feature-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--c-gold-dark);
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.25);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  object-fit: cover;
  transition: transform 0.3s;
}

.page-products__feature-media:hover img,
.page-products__feature-media:focus-within img {
  transform: scale(1.01);
}

.page-products__feature-copy {
  max-width: 34em;
}

.page-products__feature-index {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-gold);
  margin-bottom: 0.4rem;
}

.page-products__feature-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.page-products__feature-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}

.page-products__feature-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.page-products__feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 1rem;
  height: 2px;
  background: var(--c-gold);
}

.page-products__highlight {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1rem 0.6rem 0.8rem;
  border-left: 5px solid var(--c-red);
  background: rgba(26, 58, 107, 0.4);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-gold-bright);
}

.page-products__changelog {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.page-products__changelog-head {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: flex-start;
}

.page-products__changelog-title {
  max-width: 34em;
}

.page-products__changelog-art {
  max-width: 240px;
  height: auto;
  border: 2px solid var(--c-gold-dark);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  object-fit: cover;
}

.page-products__changelog-list {
  margin-top: 2.4rem;
}

.page-products__changelog-item {
  background: var(--c-navy);
  border: 1px solid var(--c-slate);
  margin-bottom: 1rem;
  border-left: 5px solid var(--c-gold);
  transition: border-color 0.2s;
}

.page-products__changelog-item[open] {
  border-left-color: var(--c-gold-bright);
}

.page-products__changelog-item summary {
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-gold-bright);
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

.page-products__changelog-item summary::-webkit-details-marker {
  display: none;
}

.page-products__changelog-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--c-gold);
}

.page-products__changelog-item[open] summary::after {
  content: "–";
}

.page-products__changelog-item summary:hover,
.page-products__changelog-item summary:focus {
  color: var(--c-white);
}

.page-products__changelog-body {
  padding: 0 1.2rem 1.3rem;
  border-top: 1px dashed rgba(74, 90, 120, 0.6);
  margin: 0 1.2rem 0 0;
}

.page-products__changelog-body ul {
  margin: 0;
  padding: 0.8rem 0 0 1.2rem;
}

.page-products__changelog-body li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.35rem;
}

.page-products__quotes {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.page-products__quote-grid {
  display: grid;
  gap: 1.4rem;
}

.page-products__quote {
  background: var(--c-navy);
  border: none;
  border-left: 6px solid var(--c-gold);
  padding: 1.6rem;
  margin: 0;
  border-radius: 0;
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.2);
}

.page-products__quote blockquote {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--c-white);
  margin: 0 0 0.8rem;
}

.page-products__quote figcaption {
  font-family: var(--font-heading);
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--c-gold-bright);
}

.page-products__help-note {
  margin-top: 2.4rem;
  padding: 1rem 1.2rem;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.4);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.page-products__help-note a {
  color: var(--c-gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products__help-note a:hover,
.page-products__help-note a:focus {
  color: var(--c-white);
}

@media (min-width: 768px) {
  .page-products__hero-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 3.2rem;
  }

  .page-products__platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
  }

  .page-products__platform-card--offset {
    margin-top: 2.2rem;
    margin-bottom: -2.2rem;
  }

  .page-products__feature-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.4rem;
  }

  .page-products__feature--reverse .page-products__feature-media {
    order: 2;
  }

  .page-products__feature--reverse .page-products__feature-copy {
    order: 1;
  }

  .page-products__changelog-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-products__changelog-art {
    max-width: 300px;
  }

  .page-products__quote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
  }

  .page-products__quote--offset {
    transform: translateY(26px);
  }
}

@media (min-width: 1024px) {
  .page-products__hero-split {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  }

  .page-products__hero-visual {
    max-width: 340px;
    margin-right: 1rem;
  }

  .page-products__feature-row {
    gap: 4.5rem;
  }

  .page-products__feature-copy {
    padding-left: 1rem;
  }

  .page-products__feature--reverse .page-products__feature-copy {
    padding-left: 0;
    padding-right: 1rem;
  }
}
