.page-products {
  --products-deep: var(--navy);
  --products-accent: var(--orange);
  background: var(--cream);
  color: var(--ink);
}
.page-products img {
  max-width: 100%;
  height: auto;
}
.page-products .products-hero {
  position: relative;
  padding: 40px 20px;
  border-bottom: 2px solid var(--ink);
}
.page-products .products-hero::before {
  content: "APPS";
  position: absolute;
  right: 8px;
  bottom: -12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(72px, 18vw, 160px);
  line-height: 1;
  color: var(--mist);
  z-index: 0;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.page-products .products-hero::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border: 4px solid var(--products-accent);
  z-index: 0;
}
.page-products .products-hero > * {
  position: relative;
  z-index: 1;
}
.page-products .products-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 8vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
  max-width: 12em;
  text-wrap: balance;
}
.page-products .products-hero__lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  max-width: 58ch;
  padding-left: 16px;
  border-left: 4px solid var(--products-accent);
  margin: 0;
}
.page-products .products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding-top: 40px;
}
.page-products .apps-nav {
  border: 2px solid var(--ink);
  background: var(--mist);
  box-shadow: 6px 6px 0 var(--shadow);
  padding: 18px;
}
.page-products .apps-nav__title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--products-accent);
  margin: 0 0 12px;
}
.page-products .apps-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-products .apps-nav__item + .apps-nav__item {
  border-top: 1px solid var(--border-brown);
}
.page-products .apps-nav__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.page-products .apps-nav__link:hover {
  background: var(--cream);
  transform: translateX(4px);
}
.page-products .apps-nav__no {
  font-family: var(--font-mono);
  color: var(--products-accent);
  font-size: 13px;
}
.page-products .apps-nav__home {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
}
.page-products .apps-content {
  display: grid;
  gap: 52px;
  min-width: 0;
}
.page-products .app-section {
  scroll-margin-top: 140px;
}
.page-products .app-section__head {
  margin-bottom: 22px;
}
.page-products .app-section__title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  margin: 8px 0 10px;
}
.page-products .app-section__intro {
  color: var(--slate);
  line-height: 1.7;
  max-width: 62ch;
  margin: 0;
}
.page-products .app-card {
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shadow);
  background: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.page-products .app-card__icon {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--mist);
}
.page-products .app-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-products .app-card__body {
  padding: 22px;
}
.page-products .app-card__title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 14px;
}
.page-products .app-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.page-products .app-card__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  margin: 0 0 12px;
  max-width: 62ch;
}
.page-products .app-card__action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.page-products .ios-showcase {
  display: grid;
  gap: 24px;
  align-items: start;
}
.page-products .phone-frame {
  position: relative;
  border: 4px solid var(--ink);
  border-radius: 28px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 10px 10px 0 var(--shadow);
}
.page-products .phone-frame::before {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  border-radius: 4px;
  background: var(--border-brown);
  margin: 0 auto 10px;
}
.page-products .phone-frame .ios-showcase__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 3px solid var(--cream);
  box-shadow: none;
  background: var(--mist);
}
.page-products .phone-frame__badge {
  position: absolute;
  top: 28px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 2px 2px 0 var(--shadow);
}
.page-products .ios-showcase__list {
  display: grid;
  gap: 18px;
}
.page-products .feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border-brown);
  background: rgba(237, 229, 217, 0.6);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.page-products .feature-item:hover {
  transform: translateY(-3px);
  background: var(--cream);
}
.page-products .feature-item__no {
  font-family: var(--font-mono);
  color: var(--products-accent);
  font-weight: 700;
}
.page-products .feature-item__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.page-products .feature-item__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}
.page-products .ios-showcase__note {
  font-size: 14px;
  line-height: 1.7;
  background: var(--amber);
  border: 2px solid var(--ink);
  padding: 14px 16px;
  box-shadow: 4px 4px 0 var(--shadow);
  margin: 4px 0 0;
}
.page-products .app-section--changelog {
  background: var(--products-deep);
  color: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shadow);
  padding: 24px;
}
.page-products .app-section--changelog .section-label {
  color: var(--amber);
}
.page-products .app-section--changelog .app-section__title {
  color: var(--cream);
}
.page-products .changelog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.page-products .changelog-head__img {
  display: none;
  width: 180px;
  height: auto;
  border: 2px solid var(--amber);
  box-shadow: 4px 4px 0 var(--shadow);
  background: var(--mist);
}
.page-products .changelog-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.page-products .changelog-item {
  display: grid;
  gap: 4px;
  padding: 16px 4px;
  border-top: 1px solid rgba(245, 239, 230, 0.25);
}
.page-products .changelog-item__ver {
  font-family: var(--font-mono);
  color: var(--amber);
  font-weight: 700;
}
.page-products .changelog-item__desc {
  margin: 0;
  color: var(--cream);
  font-size: 14px;
  line-height: 1.7;
}
.page-products .help-steps {
  list-style: none;
  counter-reset: help-step;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-products .help-steps__item {
  counter-increment: help-step;
  position: relative;
  padding: 20px 18px 20px 58px;
  border: 1px solid var(--border-brown);
  background: var(--mist);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.page-products .help-steps__item:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.page-products .help-steps__item::before {
  content: counter(help-step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--products-accent);
}
.page-products .help-steps__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.page-products .help-steps__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}
.page-products .help-steps__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.page-products .sys-tag {
  cursor: default;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.page-products .sys-tag:hover {
  background: var(--products-accent);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.page-products .help-flow {
  display: grid;
  gap: 20px;
  align-items: center;
}
.page-products .help-flow__img-wide {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--shadow);
  background: var(--mist);
}
.page-products .help-flow__side {
  display: grid;
  gap: 14px;
}
.page-products .help-flow__img-help {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--shadow);
  background: var(--mist);
}
.page-products .help-flow__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}

@media (min-width: 768px) {
  .page-products .products-hero {
    padding: 72px 56px 56px;
  }
  .page-products .products-hero::before {
    right: 32px;
    bottom: -16px;
  }
  .page-products .products-hero__lead {
    font-size: 17px;
    max-width: 60ch;
    margin-left: 48px;
    padding-left: 22px;
  }
  .page-products .products-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    padding-top: 56px;
  }
  .page-products .apps-nav {
    position: sticky;
    top: 130px;
    align-self: start;
  }
  .page-products .app-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .page-products .app-card__icon {
    border-right: 2px solid var(--ink);
    border-bottom: none;
  }
  .page-products .app-card__body {
    padding: 28px 30px;
  }
  .page-products .ios-showcase {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
  }
  .page-products .app-section--changelog {
    padding: 36px;
  }
  .page-products .changelog-head__img {
    display: block;
  }
  .page-products .changelog-item {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
    padding: 18px 4px;
  }
  .page-products .changelog-item:first-child {
    border-top: none;
    padding-top: 4px;
  }
  .page-products .help-flow {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
  }
}
