.page-products {
  --pd-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.28);
  --pd-radius: 14px;
  background: var(--c-cream);
}

.page-products .pd-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(196, 165, 86, 0.28), transparent 60%),
    linear-gradient(135deg, var(--c-field), #00412c 82%);
  color: var(--c-white);
  padding-top: calc(var(--header-h) + 34px);
  padding-bottom: 64px;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 92px solid var(--c-gold);
  border-left: 92px solid transparent;
  opacity: 0.92;
}

.page-products .pd-hero__inner {
  display: grid;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-products .pd-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-products .pd-phone {
  width: 220px;
  max-width: 100%;
}

.page-products .pd-phone__shell {
  background: var(--c-ink);
  border-radius: 42px;
  padding: 10px;
  border: 2px solid rgba(196, 165, 86, 0.5);
  box-shadow: 0 36px 60px -28px rgba(0, 0, 0, 0.7);
}

.page-products .pd-phone__screen {
  position: relative;
  aspect-ratio: 9 / 19;
  border-radius: 32px;
  overflow: hidden;
  background: var(--c-ink);
}

.page-products .pd-phone__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products .pd-phone__ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 16px;
  color: var(--c-white);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 32, 22, 0.86));
}

.page-products .pd-phone__status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.9;
}

.page-products .pd-phone__match {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0.85;
}

.page-products .pd-phone__live {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-gold);
}

.page-products .pd-phone__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-alert);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.38);
}

.page-products .pd-phone__board {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.page-products .pd-phone__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.page-products .pd-phone__team-name {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

.page-products .pd-phone__team-score {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.page-products .pd-phone__colon {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-gold);
}

.page-products .pd-phone__timer {
  margin-top: 18px;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.page-products .pd-phone__timer-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-gold), var(--c-alert));
}

.page-products .pd-phone__note {
  margin: 10px 0 0;
  font-size: 11px;
  text-align: center;
  opacity: 0.75;
}

.page-products .pd-phone__tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.page-products .pd-phone__tab {
  padding: 8px 0;
  text-align: center;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid transparent;
}

.page-products .pd-phone__tab.is-on {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
  background: rgba(196, 165, 86, 0.16);
}

.page-products .pd-phone__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.38);
  border-left: 3px solid var(--c-gold);
  font-size: 13px;
  color: var(--c-softgold);
}

.page-products .pd-phone__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(196, 165, 86, 0.28);
}

.page-products .pd-hero__content {
  display: grid;
  gap: 14px;
}

.page-products .pd-hero .breadcrumbs {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-products .pd-hero .breadcrumbs a {
  color: var(--c-softgold);
}

.page-products .pd-hero__kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-softgold);
}

.page-products .pd-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-products .pd-hero__title-sub {
  display: block;
  margin-top: 14px;
  font-size: 0.42em;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--c-gold);
  border-left: 4px solid var(--c-gold);
  padding-left: 12px;
}

.page-products .pd-hero__lead {
  max-width: 540px;
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.page-products .pd-download {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
}

.page-products .pd-download__text {
  display: grid;
  gap: 10px;
}

.page-products .pd-download__hint {
  max-width: 300px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.page-products .pd-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px 26px;
  font-size: 16px;
  width: fit-content;
}

.page-products .pd-qr {
  width: 92px;
  height: 92px;
  background:
    radial-gradient(circle, var(--c-ink) 1.2px, transparent 1.8px) 8px 8px / 12px 12px;
  background-color: var(--c-white);
  position: relative;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.page-products .pd-qr__locator {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid var(--c-ink);
  background: var(--c-white);
}

.page-products .pd-qr__locator::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--c-ink);
}

.page-products .pd-qr__locator--tl { top: 7px; left: 7px; }
.page-products .pd-qr__locator--tr { top: 7px; right: 7px; }
.page-products .pd-qr__locator--bl { bottom: 7px; left: 7px; }

.page-products .pd-hero__stats {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: fit-content;
  list-style: none;
}

.page-products .pd-hero__stat {
  padding-right: 22px;
}

.page-products .pd-hero__stat dt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
}

.page-products .pd-hero__stat dd {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  color: var(--c-gold);
  white-space: nowrap;
}

.page-products .pd-hero__trust {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(196, 165, 86, 0.35);
  max-width: 420px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.page-products .pd-hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--c-white);
}

.page-products .pd-section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
}

.page-products .pd-section-head .section__kicker {
  margin-bottom: 8px;
}

.page-products .pd-section-head__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  border-left: 3px solid var(--c-gold);
  padding-left: 12px;
  max-width: 420px;
}

.page-products .pd-section-head--on-dark .section__kicker { color: var(--c-softgold); }
.page-products .pd-section-head--on-dark .section__title { color: var(--c-white); }
.page-products .pd-section-head--on-dark .pd-section-head__note { color: rgba(255, 255, 255, 0.7); border-left-color: var(--c-alert); }

.page-products .pd-features {
  background: var(--c-cream);
  padding-top: 72px;
  padding-bottom: 80px;
}

.page-products .pd-features__grid {
  display: grid;
  gap: 16px;
}

.page-products .pd-feature {
  background: var(--c-white);
  padding: 24px 20px 22px;
  box-shadow: var(--pd-shadow);
  position: relative;
  display: grid;
  gap: 10px;
}

.page-products .pd-feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 34%;
  background: linear-gradient(90deg, var(--c-gold), var(--c-softgold));
  transition: width 0.3s var(--ease-out);
}

.page-products .pd-feature:hover::after {
  width: 100%;
}

.page-products .pd-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.page-products .pd-feature__top svg {
  color: var(--c-gold);
}

.page-products .pd-feature__num {
  width: 28px;
  height: 28px;
  background: var(--c-ink);
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.page-products .pd-feature__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.page-products .pd-feature__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.82);
}

.page-products .pd-timeline-section {
  background: var(--c-white);
  padding-top: 72px;
  padding-bottom: 80px;
}

.page-products .pd-changelog {
  display: grid;
  gap: 36px;
  align-items: start;
}

.page-products .pd-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--c-sand);
  display: grid;
  gap: 24px;
}

.page-products .pd-timeline__item {
  position: relative;
}

.page-products .pd-timeline__marker {
  position: absolute;
  left: -37px;
  top: 6px;
  width: 24px;
  height: 24px;
}

.page-products .pd-timeline__dot {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-cream);
  border: 2px solid var(--c-field);
}

.page-products .pd-timeline__item--latest .pd-timeline__dot {
  background: var(--c-alert);
  border-color: var(--c-alert);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2);
}

.page-products .pd-timeline__pulse {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-alert);
  animation: pd-pulse 1.8s ease-out infinite;
}

@keyframes pd-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.page-products .pd-timeline__card {
  background: var(--c-white);
  border: 1px solid #eae4d8;
  border-left: 3px solid var(--c-field);
  padding: 22px 20px 20px;
}

.page-products .pd-timeline__card--latest {
  border-left-color: var(--c-gold);
  background: linear-gradient(180deg, #fff9e8, var(--c-white));
}

.page-products .pd-timeline__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.page-products .pd-timeline__version {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.page-products .pd-timeline__latest-tag {
  background: var(--c-alert);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
}

.page-products .pd-timeline__date {
  font-size: 13px;
  padding: 2px 8px;
  background: var(--c-sand);
  border: 1px solid var(--c-softgold);
}

.page-products .pd-timeline__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.page-products .pd-timeline__desc {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(10, 10, 10, 0.82);
}

.page-products .pd-timeline__desc:last-child {
  margin-bottom: 0;
}

.page-products .pd-timeline__aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-products .pd-timeline__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-products .pd-timeline__aside-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.62);
  border-left: 2px solid var(--c-gold);
  padding-left: 14px;
}

.page-products .pd-timeline__link {
  justify-self: start;
}

.page-products .pd-fix {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.28), transparent 60%),
    var(--c-deep);
  color: var(--c-cream);
  padding-top: 72px;
  padding-bottom: 76px;
}

.page-products .pd-fix__grid {
  display: grid;
  gap: 34px;
  align-items: start;
}

.page-products .pd-fix__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-products .pd-fix__caption {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.page-products .pd-fix__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pd-fix__step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--c-gold);
}

.page-products .pd-fix__step-num {
  width: 40px;
  height: 40px;
  background: var(--c-gold);
  color: var(--c-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-products .pd-fix__step h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
}

.page-products .pd-fix__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
}

.page-products .pd-fix__why {
  background: rgba(196, 165, 86, 0.14);
  border: 1px solid rgba(196, 165, 86, 0.5);
  padding: 20px;
}

.page-products .pd-fix__why h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-gold);
}

.page-products .pd-fix__why p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.page-products .pd-specs {
  background: var(--c-cream);
  padding-top: 72px;
  padding-bottom: 80px;
}

.page-products .pd-specs__grid {
  display: grid;
  gap: 16px;
}

.page-products .pd-spec-card {
  background: var(--c-white);
  padding: 24px 22px;
  box-shadow: var(--pd-shadow);
}

.page-products .pd-spec-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--c-sand);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.page-products .pd-spec-card__os {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-field);
}

.page-products .pd-spec-card__ver {
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
}

.page-products .pd-spec-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .pd-spec-card__list li {
  font-size: 14px;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.page-products .pd-spec-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

.page-products .pd-spec-card--permissions {
  background: var(--c-sand);
}

.page-products .pd-spec-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

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

.page-products .pd-permissions li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.page-products .pd-permissions span {
  font-weight: 700;
  color: var(--c-field);
}

.page-products .pd-bottom {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-ink);
}

.page-products .pd-bottom__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-products .pd-bottom__content {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 64px;
}

.page-products .pd-bottom__inner {
  display: grid;
  gap: 28px;
  max-width: 680px;
  padding: 28px 24px;
  background: rgba(10, 10, 10, 0.74);
  border-left: 4px solid var(--c-gold);
}

.page-products .pd-bottom .section__kicker {
  color: var(--c-softgold);
}

.page-products .pd-bottom__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--c-white);
}

.page-products .pd-bottom__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.page-products .pd-bottom__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .pd-bottom__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--c-white);
}

@media (min-width: 620px) {
  .page-products .pd-hero__stats {
    gap: 14px 36px;
  }

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

@media (min-width: 900px) {
  .page-products .pd-hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 80px;
  }

  .page-products .pd-hero__inner {
    grid-template-columns: 0.9fr 1.14fr;
    gap: 60px;
  }

  .page-products .pd-phone {
    width: 240px;
  }

  .page-products .pd-hero__lead {
    font-size: 17px;
  }

  .page-products .pd-changelog {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .page-products .pd-fix__grid {
    grid-template-columns: 1fr 1.08fr;
  }

  .page-products .pd-specs__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .pd-spec-card--permissions {
    grid-column: 1 / -1;
  }

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

  .page-products .pd-bottom__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-products .pd-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .pd-features__grid .pd-feature:nth-child(2) {
    transform: translateY(12px);
  }

  .page-products .pd-features__grid .pd-feature:nth-child(5) {
    transform: translateY(12px);
  }
}
