.page-products {
  --prod-angle: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  display: block;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 196, 90, 0.16), transparent 28%),
    linear-gradient(180deg, #0b0f0b 0%, #101810 100%);
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: #eaf6ef;
}

.page-products p {
  margin: 0;
}

.page-products .prod-hero {
  position: relative;
  display: grid;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 76px;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -60px;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, rgba(0, 196, 90, 0.22), rgba(0, 196, 90, 0) 60%);
  clip-path: polygon(30% 0, 100% 0, 90% 100%, 0 100%);
  pointer-events: none;
}

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

.page-products .prod-eyebrow {
  color: var(--c-yellow);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.page-products .prod-hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.page-products .prod-hero-desc {
  max-width: 620px;
  color: var(--c-gray);
  font-size: 1rem;
  line-height: 1.8;
}

.page-products .prod-hero-desc strong {
  color: var(--c-yellow);
  font-weight: 600;
}

.page-products .prod-hero-meta {
  margin-top: 24px;
  color: var(--c-light-green);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.page-products .prod-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.page-products .device-frame {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0;
  border: 1px solid rgba(0, 196, 90, 0.5);
  background: #101810;
  padding: 14px 14px 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-products .device-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-green), var(--c-yellow));
}

.page-products .device-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  color: var(--c-gray);
  font-size: 0.72rem;
}

.page-products .dev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-deep-green);
}

.page-products .dev-dot:nth-child(2) {
  background: var(--c-green);
}

.page-products .dev-dot:nth-child(3) {
  background: var(--c-yellow);
}

.page-products .dev-title {
  margin-left: 6px;
}

.page-products .device-screen {
  background: #0b0f0b;
}

.page-products .device-screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .prod-features,
.page-products .prod-requirements,
.page-products .prod-changelog {
  padding: 72px 0 80px;
}

.page-products .prod-features {
  background:
    linear-gradient(180deg, rgba(0, 196, 90, 0.06), transparent 40%),
    rgba(11, 15, 11, 0.8);
  border-block: 1px solid rgba(0, 196, 90, 0.18);
}

.page-products .prod-section-head {
  position: relative;
  margin-bottom: 40px;
}

.page-products .prod-index {
  color: var(--c-green);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.page-products .prod-section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0;
}

.page-products .prod-section-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--c-green), var(--c-yellow));
}

.page-products .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-sm);
  margin-bottom: 48px;
}

.page-products .feature-card {
  position: relative;
  padding: 24px 20px 28px;
  background: linear-gradient(145deg, rgba(37, 45, 37, 0.9), rgba(11, 15, 11, 0.95));
  border: 1px solid rgba(0, 196, 90, 0.22);
  border-top: 3px solid var(--c-green);
  clip-path: var(--prod-angle);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-products .feature-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--c-yellow);
}

.page-products .feature-card--yellow {
  border-top-color: var(--c-yellow);
  background: linear-gradient(145deg, rgba(223, 255, 0, 0.06), rgba(11, 15, 11, 0.95));
}

.page-products .feature-num {
  color: var(--c-yellow);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.page-products .feature-card h3 {
  font-size: 1.1rem;
  margin: 10px 0 8px;
  color: #ffffff;
}

.page-products .feature-card p:last-child {
  color: var(--c-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-products .feature-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.page-products .prod-shot {
  margin: 0;
  padding: 10px;
  background: rgba(0, 196, 90, 0.04);
  border: 1px solid rgba(0, 196, 90, 0.28);
}

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

.page-products .prod-shot figcaption {
  color: var(--c-light-green);
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 12px 4px 4px;
}

.page-products .prod-download {
  position: relative;
  padding: 72px 0 80px;
  background:
    linear-gradient(100deg, rgba(0, 196, 90, 0.2) 0%, rgba(0, 196, 90, 0.04) 32%, transparent 32%),
    #0b0f0b;
  border-block: 1px solid rgba(223, 255, 0, 0.14);
}

.page-products .download-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 24px;
  border: 1px solid rgba(0, 196, 90, 0.35);
  background: rgba(11, 15, 11, 0.85);
}

.page-products .download-device {
  margin: 0;
}

.page-products .download-device img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
}

.page-products .download-lead {
  color: var(--c-gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-products .os-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.page-products .os-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px;
  color: #ffffff;
  text-decoration: none;
  background: var(--c-dark-gray);
  border: 1px solid rgba(0, 196, 90, 0.28);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-products .os-tile:hover {
  border-color: var(--c-yellow);
  background: rgba(0, 196, 90, 0.16);
  color: var(--c-yellow);
}

.page-products .os-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.page-products .os-spec {
  color: var(--c-light-green);
  font-size: 0.75rem;
}

.page-products .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-products .download-note {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--c-yellow);
  color: var(--c-gray);
  font-size: 0.78rem;
}

.page-products .prod-requirements {
  background: linear-gradient(180deg, #101810, #0b0f0b);
}

.page-products .req-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.page-products .req-card {
  padding: 24px;
  background: var(--c-dark-gray);
  border: 1px solid #324032;
  border-left: 4px solid var(--c-green);
  transition: border-color 0.2s ease;
}

.page-products .req-card:hover {
  border-color: rgba(0, 196, 90, 0.6);
}

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

.page-products .req-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-deep-green);
  color: #ffffff;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.page-products .req-head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.page-products .req-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 16px;
}

.page-products .req-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(0, 196, 90, 0.22);
}

.page-products .req-list dt {
  color: var(--c-gray);
}

.page-products .req-list dd {
  margin: 0;
  color: var(--c-light-green);
  font-family: var(--font-mono);
  text-align: right;
}

.page-products .req-detail summary,
.page-products .log-detail summary {
  list-style: none;
  cursor: pointer;
  color: var(--c-yellow);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.page-products .req-detail summary::-webkit-details-marker,
.page-products .log-detail summary::-webkit-details-marker {
  display: none;
}

.page-products .req-detail p {
  margin-top: 12px;
  color: var(--c-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-products .prod-changelog {
  background: linear-gradient(180deg, #0b0f0b, rgba(0, 196, 90, 0.04));
}

.page-products .changelog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .log-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .log-item {
  position: relative;
  padding: 16px 16px 16px 20px;
  background: linear-gradient(90deg, rgba(0, 196, 90, 0.05), transparent 60%);
  border-left: 3px solid var(--c-green);
}

.page-products .log-version {
  color: var(--c-yellow);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.page-products .log-item h3 {
  margin: 6px 0 8px;
  font-size: 1.15rem;
}

.page-products .log-item p {
  color: var(--c-gray);
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-products .log-detail ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: var(--c-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-products .log-aside {
  padding: 10px;
  border: 1px solid rgba(0, 196, 90, 0.25);
  background: rgba(0, 196, 90, 0.04);
}

.page-products .log-aside img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .log-aside-note {
  margin: 12px 0 4px;
  text-align: center;
  color: var(--c-yellow);
  font-size: 0.8rem;
}

.page-products .prod-more {
  padding: 40px 0 80px;
}

.page-products .more-panel {
  position: relative;
  padding: 40px 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 196, 90, 0.14), rgba(11, 15, 11, 0.92));
  border: 1px solid rgba(0, 196, 90, 0.35);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-products .more-label {
  color: var(--c-yellow);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.page-products .more-panel h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 24px;
}

.page-products .more-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.page-products .trust-note {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(223, 255, 0, 0.25);
  color: rgba(205, 211, 205, 0.75);
  font-size: 0.83rem;
}

@media (min-width: 700px) {
  .page-products .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .req-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-products .prod-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    padding-top: 56px;
  }

  .page-products .feature-visual-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .page-products .download-panel {
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    padding: 40px;
  }

  .page-products .changelog-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-products .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .os-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
