.page-products {
  overflow-x: clip;
}

.page-products [id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.page-products .container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-products .product-hero {
  position: relative;
  background: linear-gradient(140deg, var(--grass-deep) 0%, var(--grass) 62%, #3e8f5a 100%);
  color: #fff;
  padding: 150px 0 64px;
  overflow: hidden;
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  inset: auto -180px -240px auto;
  width: 560px;
  height: 560px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 66%, rgba(255, 255, 255, 0.06) 66% 71%, transparent 71%);
  pointer-events: none;
}

.page-products .product-hero .container {
  position: relative;
  z-index: 1;
}

.page-products .product-hero .breadcrumbs {
  margin-bottom: 40px;
}

.page-products .product-hero .breadcrumbs__item {
  color: rgba(255, 255, 255, 0.78);
}

.page-products .product-hero .breadcrumbs__link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.page-products .product-hero .breadcrumbs__current {
  color: #fff;
}

.page-products .product-hero__content {
  max-width: 780px;
  margin-bottom: 44px;
}

.page-products .product-hero h1 {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.08;
  margin: 12px 0 0;
  letter-spacing: 0.01em;
}

.page-products .product-hero__lead {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.page-products .service-index {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
}

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

.page-products .service-index__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-products .service-index__item:hover,
.page-products .service-index__item:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.page-products .service-index__num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 15px;
  color: var(--orange);
}

.page-products .archives-exhibit,
.page-products .subscription-exhibit,
.page-products .scenario-exhibit,
.page-products .guarantee-exhibit {
  padding: 52px 0 40px;
}

.page-products .distribution-exhibit {
  padding: 52px 0 48px;
}

.page-products .archives-exhibit {
  background: var(--cream);
}

.page-products .subscription-exhibit {
  background: #fff;
}

.page-products .distribution-exhibit {
  background: linear-gradient(160deg, var(--grass-deep) 0%, var(--grass) 60%, #3e8f5a 100%);
  color: #fff;
}

.page-products .scenario-exhibit {
  background: var(--cream);
}

.page-products .guarantee-exhibit {
  background: #fff;
}

.page-products .exhibit-head {
  max-width: 800px;
  margin-bottom: 32px;
}

.page-products .exhibit-head__top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-products .exhibit-head .chapter-num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--orange);
  -webkit-text-stroke: 1px currentColor;
  letter-spacing: 0.02em;
}

.page-products .exhibit-head h2 {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.15;
  margin: 10px 0 12px;
  color: var(--charcoal);
}

.page-products .exhibit-head .section-lead {
  margin: 0;
  color: #5a5e65;
  line-height: 1.75;
  font-size: 15px;
}

.page-products .exhibit-head--light h2 {
  color: #fff;
}

.page-products .exhibit-head--light .section-lead {
  color: rgba(255, 255, 255, 0.84);
}

.page-products figure {
  margin: 0;
}

.page-products figcaption {
  font-size: 12px;
  color: #767a82;
  margin-top: 10px;
  text-align: center;
  line-height: 1.6;
}

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

.page-products .img-frame--16x9 img {
  aspect-ratio: 16 / 9;
}

.page-products .img-frame--4x3 img {
  aspect-ratio: 4 / 3;
}

.page-products .archives-screenshot {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
}

.page-products .archives-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 4px 4px 16px;
  margin: 0 -4px 24px;
}

.page-products .archive-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--silver);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-products .archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--grass);
}

.page-products .archive-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  transition: transform 0.24s var(--ease);
}

.page-products .archive-card:hover .archive-card__meta {
  transform: translateX(6px);
}

.page-products .archive-card__code {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  color: var(--grass);
  letter-spacing: 0.06em;
}

.page-products .archive-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--charcoal);
  line-height: 1.4;
}

.page-products .archive-card p {
  font-size: 13px;
  color: #5a5e65;
  line-height: 1.65;
  margin: 0 0 14px;
}

.page-products .archive-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .stat-badge {
  background: var(--cream);
  color: var(--charcoal);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.page-products .preview-block {
  display: grid;
  gap: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--silver);
  padding: 24px;
  align-items: center;
}

.page-products .preview-block__img,
.page-products .sync-block__img,
.page-products .record-block__img {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-products .preview-block__content h3,
.page-products .sync-block__content h3,
.page-products .record-block__content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 10px 0 10px;
  line-height: 1.4;
}

.page-products .preview-block__content p,
.page-products .sync-block__content p,
.page-products .record-block__content p {
  font-size: 14px;
  color: #5a5e65;
  line-height: 1.75;
  margin: 0 0 18px;
}

.page-products .subscription-visual {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
}

.page-products .plan-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}

.page-products .plan-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 1px solid var(--silver);
  background: var(--cream);
}

.page-products .plan-card--member {
  background: linear-gradient(135deg, #eaf4ec, #f5fbf6);
  border-color: var(--grass);
  box-shadow: var(--shadow-soft);
}

.page-products .plan-card__tier {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  color: var(--charcoal);
  line-height: 1;
}

.page-products .plan-card__desc {
  margin: 8px 0 18px;
  color: #6a6d74;
  font-size: 14px;
}

.page-products .plan-card__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.page-products .plan-card__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
}

.page-products .plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grass);
}

.page-products .plan-card--guest .plan-card__list li::before {
  background: var(--silver);
}

.page-products .compare-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--silver);
  background: #fff;
}

.page-products .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .table-scroll:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-products .data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

.page-products .data-table th,
.page-products .data-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #eceef0;
}

.page-products .data-table th {
  background: var(--grass);
  color: #fff;
  font-weight: 600;
}

.page-products .data-table tr:last-child td {
  border-bottom: none;
}

.page-products .chart-layout {
  display: grid;
  gap: 20px;
}

.page-products .glass-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  backdrop-filter: blur(6px);
}

.page-products .chart-panel h3 {
  font-size: 16px;
  margin: 0 0 4px;
  color: #fff;
  font-weight: 700;
}

.page-products .chart-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 14px;
}

.page-products .chart-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
}

.page-products .distribution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .distribution-actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.page-products .distribution-actions .btn--ghost:hover,
.page-products .distribution-actions .btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.page-products .scenario-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.page-products .scenario-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--silver);
  padding: 26px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.page-products .scenario-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grass);
  color: #fff;
  align-items: center;
  justify-content: center;
}

.page-products .scenario-card:nth-child(2) .scenario-card__icon {
  background: var(--orange);
}

.page-products .scenario-card:nth-child(3) .scenario-card__icon {
  background: var(--sky);
}

.page-products .scenario-card h3 {
  font-size: 18px;
  margin: 12px 0 8px;
  color: var(--charcoal);
  line-height: 1.4;
}

.page-products .scenario-card p {
  font-size: 14px;
  color: #5a5e65;
  line-height: 1.75;
  margin: 0 0 14px;
}

.page-products .scenario-card a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.page-products .scenario-card a:hover,
.page-products .scenario-card a:focus-visible {
  color: var(--grass-deep);
  text-decoration: underline;
}

.page-products .sync-block {
  display: grid;
  gap: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--silver);
  padding: 24px;
  align-items: center;
}

.page-products .guarantee-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
}

.page-products .guarantee-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--orange);
}

.page-products .guarantee-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--charcoal);
}

.page-products .guarantee-card p {
  margin: 0;
  font-size: 14px;
  color: #5a5e65;
  line-height: 1.7;
}

.page-products .record-block {
  display: grid;
  gap: 20px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--silver);
  align-items: center;
  margin-bottom: 28px;
}

.page-products .trust-note {
  background: var(--grass);
  color: #fff;
  border-radius: 26px;
  padding: 22px 28px;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  margin: 0;
}

@media (min-width: 768px) {
  .page-products .archives-exhibit,
  .page-products .subscription-exhibit,
  .page-products .scenario-exhibit,
  .page-products .guarantee-exhibit {
    padding: 88px 0 64px;
  }

  .page-products .distribution-exhibit {
    padding: 84px 0 72px;
  }

  .page-products .archives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    overflow: visible;
    padding: 0;
    margin: 0 0 32px;
  }

  .page-products .archive-card {
    flex: none;
    min-width: 0;
  }

  .page-products .preview-block {
    grid-template-columns: 420px 1fr;
    padding: 28px;
  }

  .page-products .plan-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .page-products .scenario-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-products .sync-block {
    grid-template-columns: 420px 1fr;
    padding: 28px;
  }

  .page-products .guarantee-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-products .record-block {
    grid-template-columns: 420px 1fr;
    padding: 28px;
  }
}

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

  .page-products .chart-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
