.page-products {
  --rail-width: 232px;
  background:
    radial-gradient(rgba(199, 184, 166, 0.36) 1px, transparent 1.5px) 0 0 / 14px 14px,
    linear-gradient(180deg, var(--c-bg) 0%, #EDE7DC 100%);
}

.page-products .container {
  padding-block: 40px 80px;
}

.page-products .breadcrumbs {
  margin-bottom: 22px;
}

.page-products .breadcrumbs__current {
  color: var(--c-muted);
}

.page-products .page-products__head {
  margin-bottom: 34px;
}

.page-products .page-head__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(90, 107, 78, 0.12);
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 700;
}

.page-products .page-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 14px;
  max-width: 920px;
}

.page-products .page-head__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-muted);
  max-width: 820px;
}

.page-products .products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 44px;
}

.page-products .products-rail {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.page-products .products-rail__title {
  display: none;
}

.page-products .products-rail__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-products .products-rail__nav::-webkit-scrollbar {
  display: none;
}

.page-products .products-rail__link {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: var(--c-surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-body);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.page-products .products-rail__link:hover {
  border-color: var(--c-warm);
  color: var(--c-warm);
}

.page-products .products-rail__helper {
  display: none;
}

.page-products .products-main {
  min-width: 0;
}

.page-products .products-main > :first-child {
  margin-top: 0;
}

.page-products .content-section {
  margin-top: 40px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-products .section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.page-products .section-title__num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--c-warm);
  opacity: 0.85;
}

.page-products .section-title h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1.2;
}

.page-products .section-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-body);
  max-width: 780px;
  margin-bottom: 28px;
}

.page-products .feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-products .phone-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: start;
}

.page-products .phone-frame {
  width: 220px;
  max-width: 100%;
  padding: 10px 10px 16px;
  background: var(--c-ink);
  border-radius: 34px;
  box-shadow: 0 30px 60px rgba(26, 24, 22, 0.22), inset 0 0 0 2px rgba(245, 240, 232, 0.08);
  position: relative;
}

.page-products .phone-frame::before {
  content: "";
  display: block;
  width: 62px;
  height: 18px;
  margin: 0 auto 8px;
  background: var(--c-ink);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 1px 0 rgba(245, 240, 232, 0.12);
}

.page-products .phone-frame__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.page-products .phone-visual__caption {
  max-width: 230px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
}

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

.page-products .feature-card {
  background:
    linear-gradient(180deg, rgba(176, 94, 60, 0.04), rgba(176, 94, 60, 0) 60%),
    var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-products .feature-card[open] {
  border-color: var(--c-warm);
  box-shadow: 0 10px 30px rgba(176, 94, 60, 0.1);
}

.page-products .feature-card__head {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
}

.page-products .feature-card__head::-webkit-details-marker {
  display: none;
}

.page-products .feature-card__head::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
  color: var(--c-muted);
  transition: transform 0.2s;
}

.page-products .feature-card[open] .feature-card__head::after {
  content: "−";
  color: var(--c-warm);
}

.page-products .feature-card__head:hover {
  background: rgba(176, 94, 60, 0.06);
}

.page-products .feature-card__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--c-warm);
}

.page-products .feature-card__head-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.page-products .feature-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--c-ink);
}

.page-products .feature-card__subtitle {
  font-size: 13px;
  color: var(--c-muted);
}

.page-products .feature-card__head .tag {
  flex: 0 0 auto;
}

.page-products .feature-card__body {
  padding: 4px 18px 18px;
}

.page-products .feature-card__body p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-body);
}

.page-products .list {
  margin-top: 10px;
}

.page-products .list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-body);
}

.page-products .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-warm);
}

.page-products .feature-visual-row {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.page-products .visual-block {
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.page-products .visual-block__caption {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
}

.page-products .version-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 30px;
}

.page-products .version-timeline__item {
  padding: 14px 16px;
  background: linear-gradient(145deg, var(--c-deep), var(--c-deep-2));
  border-radius: 16px;
  color: var(--c-text-dark);
}

.page-products .version-timeline__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--c-highlight);
}

.page-products .version-timeline__item span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: rgba(245, 240, 232, 0.7);
}

.page-products .compare-panel {
  margin-top: 30px;
  padding: 22px 18px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
}

.page-products .compare-panel__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.page-products .compare-table {
  border: 1.5px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
}

.page-products .compare-row {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border-bottom: 1px solid var(--c-line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-body);
}

.page-products .compare-row:last-child {
  border-bottom: 0;
}

.page-products .compare-row--head {
  background: rgba(90, 107, 78, 0.08);
  font-weight: 700;
  color: var(--c-ink);
}

.page-products .compare-row > span {
  min-width: 0;
  overflow-wrap: break-word;
}

.page-products .compare-row > span:first-child {
  font-weight: 600;
  color: var(--c-accent);
}

.page-products .compare-figure,
.page-products .performance-figure {
  margin: 18px 0 0;
}

.page-products .compare-figure img,
.page-products .performance-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.page-products .compare-figure .visual-block__caption,
.page-products .performance-figure .visual-block__caption {
  border-top: 0;
  padding: 10px 4px 0;
}

.page-products .performance-panel {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  padding: 26px 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 242, 75, 0.12), transparent 30%),
    linear-gradient(160deg, var(--c-surface), var(--c-bg));
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
}

.page-products .performance-panel__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.page-products .performance-panel p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-body);
  margin-bottom: 14px;
}

.page-products .notice {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(90, 107, 78, 0.08);
  border-radius: 16px;
}

.page-products .notice p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-body);
}

.page-products .download-section {
  margin-top: 48px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-products .download-panel {
  display: grid;
  gap: 28px;
  padding: 32px 24px;
  background: linear-gradient(145deg, var(--c-deep), var(--c-deep-2));
  border-radius: 32px;
  color: var(--c-text-dark);
  overflow: hidden;
}

.page-products .download-panel__kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 10px;
}

.page-products .download-panel h2 {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
}

.page-products .download-panel p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.78);
  max-width: 560px;
  margin-bottom: 22px;
}

.page-products .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-warm);
  border: 0;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.page-products .download-btn:hover {
  background: var(--c-energy);
  transform: scale(1.05);
  box-shadow: 0 14px 30px rgba(255, 106, 43, 0.28);
}

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

.page-products .download-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
}

.page-products .download-chips .tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 240, 232, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-products .download-note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 0 !important;
}

.page-products .download-panel__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.page-products .qr-code {
  width: 168px;
  height: 168px;
  padding: 16px;
  background: #FFFDF8;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--c-deep);
  position: relative;
}

.page-products .qr-code::before,
.page-products .qr-code::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid var(--c-ink);
  background: #fff;
}

.page-products .qr-code::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.page-products .qr-code::after {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}

.page-products .qr-code__grid {
  width: 92px;
  height: 92px;
  background: radial-gradient(circle at 3px 3px, var(--c-ink) 2px, transparent 2.5px) 0 0 / 12px 12px;
}

.page-products .qr-code__label {
  font-size: 11px;
  text-align: center;
  color: var(--c-muted);
  position: relative;
  z-index: 1;
}

.page-products .qr-hint {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.55);
}

.page-products .scenario-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-products .scenario-card {
  position: relative;
  padding: 28px 22px 24px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.page-products .scenario-card:hover {
  border-color: var(--c-warm);
}

.page-products .scenario-card::before {
  content: "01";
  position: absolute;
  top: 8px;
  right: 16px;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: rgba(176, 94, 60, 0.12);
}

.page-products .scenario-card:nth-child(2)::before {
  content: "02";
}

.page-products .scenario-card:nth-child(3)::before {
  content: "03";
}

.page-products .scenario-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.page-products .scenario-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-body);
}

.page-products .support-band {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
  padding: 22px 20px;
  border-radius: 24px;
  background: var(--c-highlight);
  color: var(--c-ink);
}

.page-products .support-band__text {
  display: block;
  font-size: 14px;
  line-height: 1.6;
}

.page-products .support-band__text strong {
  font-family: var(--font-head);
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.page-products .support-band__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-products .support-band__links .btn--ghost {
  border-color: rgba(26, 24, 22, 0.4);
  color: var(--c-ink);
}

@media (min-width: 768px) {
  .page-products .version-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .compare-panel {
    padding: 28px;
  }

  .page-products .compare-row {
    grid-template-columns: 120px 1fr 1fr;
    padding: 14px 18px;
    font-size: 14px;
  }

  .page-products .scenario-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .support-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .page-products .products-layout {
    grid-template-columns: var(--rail-width) minmax(0, 1fr);
    gap: 52px;
  }

  .page-products .products-rail {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(165deg, var(--c-deep), var(--c-deep-2));
    border-radius: var(--radius);
    padding: 24px 20px;
    color: var(--c-text-dark);
  }

  .page-products .products-rail__title {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(245, 240, 232, 0.55);
  }

  .page-products .products-rail__nav {
    flex-direction: column;
    gap: 4px;
    width: 100%;
    overflow: visible;
  }

  .page-products .products-rail__link {
    border: 0;
    background: transparent;
    border-radius: 12px;
    padding: 10px 12px;
    color: rgba(245, 240, 232, 0.82);
    font-weight: 500;
  }

  .page-products .products-rail__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: transparent;
  }

  .page-products .products-rail__helper {
    display: block;
    margin-top: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    font-size: 13px;
    color: rgba(245, 240, 232, 0.75);
  }

  .page-products .products-rail__helper a {
    color: var(--c-highlight);
    text-decoration: none;
  }

  .page-products .feature-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
  }

  .page-products .phone-visual {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-products .feature-visual-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .performance-panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 32px;
    padding: 30px 28px;
  }

  .page-products .download-panel {
    grid-template-columns: 1.4fr 0.6fr;
    padding: 48px 52px;
    align-items: center;
    gap: 32px;
  }
}
