.page-products {
  --cut-md: 28px;
  --gold-grad: linear-gradient(135deg, var(--gold), var(--light-gold) 55%, var(--gold));
  --panel-skew: polygon(0 0, calc(100% - var(--cut-md)) 0, 100% var(--cut-md), 100% 100%, 0 100%);
  overflow-x: clip;
  background: var(--bg-deep);
  color: var(--white);
}

.page-products .products-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 32%, rgba(230, 0, 18, .18), transparent 42%),
    radial-gradient(ellipse at 18% 82%, rgba(212, 175, 55, .12), transparent 38%),
    var(--bg-deep);
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -8% -20% 40%;
  background: var(--red);
  clip-path: polygon(12% 0, 100% 0, 92% 100%, 0 100%);
  opacity: .13;
  transform: skewX(-12deg);
}

.page-products .products-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .07) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 38%, #000 18%, transparent 70%);
  mask-image: radial-gradient(ellipse at 72% 38%, #000 18%, transparent 70%);
}

.page-products .hero-layer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  padding-block: calc(var(--header-h) + 28px) 44px;
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--gray);
}

.page-products .breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color var(--t-fast);
}

.page-products .breadcrumb a:hover {
  color: var(--light-gold);
}

.page-products .breadcrumb [aria-current="page"] {
  color: var(--white);
}

.page-products .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-products .hero-copy .page-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.page-products .title-accent {
  color: var(--red);
}

.page-products .hero-copy .subhead {
  max-width: 640px;
  margin: 0 0 30px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.7;
}

.page-products .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.page-products .dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px 16px 18px;
  background: var(--gold-grad);
  color: var(--bg-deep);
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  clip-path: var(--panel-skew);
  box-shadow: 0 14px 32px rgba(212, 175, 55, .22);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.page-products .dl-btn:hover,
.page-products .dl-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(212, 175, 55, .4);
  outline: none;
}

.page-products .dl-btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: none;
}

.page-products .dl-btn--outline:hover,
.page-products .dl-btn--outline:focus-visible {
  background: rgba(255, 255, 255, .06);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

.page-products .dl-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--bg-deep);
  color: var(--gold);
  border-radius: 8px;
}

.page-products .dl-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
}

.page-products .dl-btn svg text.sans {
  font-family: var(--font-sans);
}

.page-products .dl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.page-products .dl-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .72;
}

.page-products .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .03em;
}

.page-products .hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.page-products .device-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .tablet-device {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
}

.page-products .tablet-frame {
  position: relative;
  border-radius: 30px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(145deg, #343A46, #151922 72%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.page-products .tablet-screen {
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-blue);
  line-height: 0;
}

.page-products .tablet-screen svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .tablet-screen svg text {
  font-family: var(--font-mono);
}

.page-products .tablet-screen svg text.sans {
  font-family: var(--font-sans);
}

.page-products .float-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-left: 4px solid var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

.page-products .float-tag.gold {
  border-left-color: var(--gold);
}

.page-products .tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.page-products .float-tag.gold .tag-dot {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.page-products .hero-scoreline {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max);
  box-sizing: border-box;
  margin-inline: auto;
  padding: 0 var(--container-x) 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--gray);
}

.page-products .hero-scoreline strong {
  color: var(--white);
  font-weight: 500;
}

.page-products .q-particle {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: var(--green);
  filter: blur(1px);
  opacity: .5;
  animation: qFloat 6s ease-in-out infinite;
  pointer-events: none;
}

.page-products .q-particle.p1 {
  top: 20%;
  left: 8%;
  width: 7px;
  height: 7px;
}

.page-products .q-particle.p2 {
  top: 64%;
  left: 38%;
  width: 4px;
  height: 4px;
  animation-delay: -2s;
  background: var(--gold);
}

.page-products .q-particle.p3 {
  top: 28%;
  right: 14%;
  width: 5px;
  height: 5px;
  animation-delay: -4s;
}

@keyframes qFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: .2;
  }
  50% {
    transform: translate(8px, -16px);
    opacity: .7;
  }
}

.page-products .section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.page-products .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-products .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.page-products .download-panel {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-card) 30%);
}

.page-products .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: end;
}

.page-products .phone-figure {
  margin: 0;
  position: relative;
}

.page-products .phone-frame {
  position: relative;
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 12px;
  border-radius: 36px;
  background: var(--bg-deep);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  overflow: hidden;
}

.page-products .phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.page-products .phone-figure figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .dl-cards {
  display: grid;
  gap: 20px;
}

.page-products .dl-card {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--bg-deep);
  border: 1px solid rgba(255, 255, 255, .08);
  clip-path: var(--panel-skew);
}

.page-products .dl-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 56px;
  height: 3px;
  background: var(--red);
}

.page-products .dl-card--ios::after {
  background: var(--gold);
}

.page-products .dl-card-title {
  margin: 0 0 14px;
  font-family: var(--font-heavy);
  font-size: 20px;
  font-weight: 900;
}

.page-products .dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .dl-meta strong {
  color: var(--white);
  font-weight: 500;
}

.page-products .dl-card-desc {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}

.page-products .dl-faq-link {
  color: var(--light-gold);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration-color: rgba(232, 201, 106, .45);
  transition: color var(--t-fast);
}

.page-products .dl-faq-link:hover {
  color: var(--gold);
}

.page-products .download-tip {
  margin: 4px 0 0;
  padding: 14px 18px;
  background: rgba(212, 175, 55, .08);
  border-left: 3px solid var(--gold);
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}

.page-products .tablet-feature {
  position: relative;
  overflow: hidden;
  background: var(--bg-blue);
}

.page-products .tablet-feature::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red) 40%, var(--gold));
}

.page-products .tablet-feature::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0 auto;
  width: 24%;
  height: 42%;
  background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: .08;
  pointer-events: none;
}

.page-products .feature-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.page-products .feature-desc {
  max-width: 640px;
  margin: 0 0 20px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}

.page-products .step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stepCounter;
}

.page-products .step-list li {
  counter-increment: stepCounter;
  position: relative;
  padding: 14px 0 12px 64px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--gray);
  line-height: 1.6;
  font-size: 15px;
}

.page-products .step-list li::before {
  content: counter(stepCounter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
}

.page-products .step-list li strong {
  color: var(--white);
  font-family: var(--font-heavy);
  font-weight: 900;
}

.page-products .feature-figure {
  position: relative;
  margin: 0;
}

.page-products .feature-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.page-products .feature-figure::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 112px;
  height: 112px;
  background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: .2;
  z-index: -1;
}

.page-products .feature-figure figcaption,
.page-products .sync-figure figcaption,
.page-products .version-figure figcaption {
  margin-top: 14px;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.page-products .feature-card {
  position: relative;
  padding: 20px 18px 18px;
  background: var(--bg-card);
  border-top: 2px solid var(--red);
  clip-path: var(--panel-skew);
  transition: transform var(--t-fast), border-color var(--t-fast);
}

.page-products .feature-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
}

.page-products .feature-card .card-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: .06em;
}

.page-products .feature-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heavy);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

.page-products .feature-card p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.page-products .icon-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 12px 16px;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(11, 15, 25, .4);
}

.page-products .icon-strip img {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 12px;
}

.page-products .icon-strip figcaption {
  flex: 1;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}

.page-products .sync-section {
  position: relative;
  overflow: hidden;
}

.page-products .sync-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 44px;
}

.page-products .sync-diagram {
  position: relative;
  width: 260px;
  height: 260px;
  margin-inline: auto;
}

.page-products .sync-ring {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.page-products .sync-ring--red {
  inset: 0;
  border: 2px dashed var(--red);
  animation: qSpin 16s linear infinite;
}

.page-products .sync-ring--gold {
  inset: 30px;
  border: 2px solid var(--gold);
  opacity: .85;
  animation: qSpin 11s linear infinite reverse;
}

.page-products .sync-ring--green {
  inset: 64px;
  border: 2px dotted var(--green);
  animation: qSpin 8s linear infinite;
}

.page-products .sync-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.page-products .sync-core span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--red);
  box-shadow: 0 0 0 12px rgba(230, 0, 18, .08), 0 0 60px rgba(230, 0, 18, .25);
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--white);
  text-align: center;
}

.page-products .sync-core small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--gold);
}

@keyframes qSpin {
  to {
    transform: rotate(360deg);
  }
}

.page-products .sync-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-products .sync-list li {
  position: relative;
  padding-left: 24px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
}

.page-products .sync-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-products .text-link {
  display: inline-block;
  color: var(--light-gold);
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration-color: rgba(232, 201, 106, .45);
  transition: color var(--t-fast);
}

.page-products .text-link:hover {
  color: var(--gold);
}

.page-products .sync-figure img,
.page-products .version-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  border-radius: 12px;
}

.page-products .version-section {
  background: var(--bg-card);
  border-block: 1px solid rgba(255, 255, 255, .07);
}

.page-products .version-head {
  margin-bottom: 10px;
}

.page-products .version-copy-intro {
  max-width: 680px;
  margin: 0;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.page-products .filter-btn {
  appearance: none;
  margin: 0;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 13px;
  clip-path: var(--panel-skew);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.page-products .filter-btn:hover,
.page-products .filter-btn:focus-visible {
  color: var(--white);
  border-color: var(--gold);
  outline: none;
}

.page-products .filter-btn[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.page-products .version-list {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
}

.page-products .ver-item {
  position: relative;
  padding: 20px 18px;
  background: var(--bg-deep);
  border-left: 3px solid var(--gold);
  clip-path: var(--panel-skew);
}

.page-products .ver-item[hidden] {
  display: none;
}

.page-products .ver-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
}

.page-products .ver-period {
  margin: 10px 0 14px;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-products .ver-log {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .ver-log li {
  position: relative;
  padding-left: 24px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.page-products .ver-log li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
}

.page-products .ver-log li.log-new::before {
  background: var(--red);
}

.page-products .ver-log li.log-opt::before {
  background: var(--green);
}

.page-products .version-update-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 28px;
  padding: 14px 18px;
  background: rgba(57, 255, 20, .06);
  border-left: 3px solid var(--green);
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.page-products .version-update-note strong {
  color: var(--green);
  font-family: var(--font-mono);
}

.page-products .guide-grid {
  gap: 20px;
  margin-top: 32px;
}

.page-products .guide-card {
  position: relative;
  display: block;
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 3px solid var(--gold);
  clip-path: var(--panel-skew);
  color: var(--white);
  text-decoration: none;
  transition: transform var(--t-fast), border-color var(--t-fast);
}

.page-products .guide-card:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--red);
}

.page-products .guide-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heavy);
  font-size: 18px;
  font-weight: 900;
}

.page-products .guide-card p {
  margin: 0 0 14px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.page-products .guide-more {
  color: var(--light-gold);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .03em;
}

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

  .page-products .sync-diagram {
    width: 320px;
    height: 320px;
  }

  .page-products .icon-strip img {
    width: 104px;
    height: 104px;
  }
}

@media (min-width: 900px) {
  .page-products .version-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .guide-grid {
    margin-top: 36px;
  }
}

@media (min-width: 1024px) {
  .page-products .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(32px, 5vw, 72px);
  }

  .page-products .tablet-device {
    transform: perspective(1400px) rotateY(-6deg) rotate(2deg);
    transition: transform var(--t-base);
  }

  .page-products .tablet-device:hover {
    transform: perspective(1400px) rotateY(0deg) rotate(0deg);
  }

  .page-products .float-tag {
    position: absolute;
  }

  .page-products .float-tag.ft-a {
    top: 12%;
    left: -24px;
  }

  .page-products .float-tag.ft-b {
    right: -24px;
    bottom: 16%;
  }

  .page-products .download-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 56px;
  }

  .page-products .feature-intro {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px;
  }

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

  .page-products .sync-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 64px;
  }
}

@media (max-width: 639px) {
  .page-products .q-particle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .q-particle,
  .page-products .sync-ring {
    animation: none;
  }
}
