.page-products *,
.page-products *::before,
.page-products *::after {
  box-sizing: border-box;
}

.page-products {
  --apps-card-min: 300px;
  --apps-tray-gap: 18px;
  background:
    linear-gradient(135deg, rgba(255, 215, 0, .08) 0, rgba(255, 215, 0, 0) 32%),
    var(--c-navy);
  color: var(--c-paper);
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
}

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

.page-products .apps-frame {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}

@media (min-width: 900px) {
  .page-products .apps-frame {
    padding: 0 32px;
  }
}

.page-products .apps-hero {
  position: relative;
  padding: 38px 0 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 215, 0, .18), transparent 30%),
    linear-gradient(115deg, #0A1F44 0%, #142B5E 58%, #0A1F44 100%);
  overflow: hidden;
}

.page-products .apps-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-neon), var(--c-gold));
  z-index: 2;
}

.page-products .breadcrumb--apps-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 215, 0, .28);
  font-size: 13px;
}

.page-products .breadcrumb-link {
  color: rgba(245, 240, 230, .72);
  text-decoration: none;
  transition: color .2s var(--ease-snap);
}

.page-products .breadcrumb-link:hover,
.page-products .breadcrumb-link:focus {
  color: var(--c-gold);
}

.page-products .breadcrumb-current {
  color: var(--c-gold);
  font-weight: 600;
}

.page-products .apps-hero__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .page-products .apps-hero__grid {
    grid-template-columns: 1fr 280px;
    align-items: end;
    gap: 40px;
  }
}

.page-products .apps-hero__main {
  position: relative;
  z-index: 1;
}

.page-products .apps-hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 118px);
  line-height: .92;
  text-transform: uppercase;
  color: var(--c-paper);
  transform: skewX(-4deg);
  margin: 12px 0 18px;
  letter-spacing: .01em;
  max-width: 900px;
}

.page-products .apps-hero__lede {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
  max-width: 58ch;
  color: rgba(245, 240, 230, .84);
  border-left: 4px solid var(--c-gold);
  padding-left: 18px;
  margin: 0;
}

.page-products .apps-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.page-products .apps-hero__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(255, 215, 0, .55);
  background: rgba(10, 31, 68, .52);
  color: var(--c-gold);
  font-size: 13px;
  letter-spacing: .12em;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-products .apps-hero__cta {
  text-decoration: none;
  color: var(--c-navy);
  background: var(--c-gold);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .1em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background .2s var(--ease-snap), color .2s var(--ease-snap);
}

.page-products .apps-hero__cta:hover,
.page-products .apps-hero__cta:focus {
  background: var(--c-neon);
  color: var(--c-navy);
}

.page-products .apps-hero__strip {
  margin-top: 30px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, .28);
  border-bottom: 1px solid rgba(255, 215, 0, .28);
}

.page-products .apps-hero__strip__track {
  display: flex;
  width: max-content;
  animation: apps-strip-scroll 22s linear infinite;
}

.page-products .apps-hero__strip__track span {
  color: var(--c-gold);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .28em;
  padding: 10px 0;
  white-space: nowrap;
}

@keyframes apps-strip-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.page-products .tray-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 16px;
}

.page-products .tray-switch__btn {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--c-paper);
  background: rgba(255, 215, 0, .1);
  border: 1px solid rgba(255, 215, 0, .6);
  padding: 8px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background .2s var(--ease-snap), color .2s var(--ease-snap);
}

.page-products .tray-switch__btn:hover,
.page-products .tray-switch__btn:focus {
  background: var(--c-gold);
  color: var(--c-navy);
}

.page-products .app-tray {
  display: flex;
  gap: var(--apps-tray-gap);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 0 18px;
  padding-bottom: 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-gold) rgba(255, 215, 0, .16);
}

@media (min-width: 900px) {
  .page-products .app-tray {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    overflow: visible;
    padding-bottom: 0;
  }
}

.page-products .app-card {
  position: relative;
  flex: 0 0 88%;
  scroll-snap-align: start;
  min-width: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  padding: 28px 22px 66px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 640px) {
  .page-products .app-card {
    flex-basis: 78%;
    padding: 32px 26px 70px;
  }
}

@media (min-width: 900px) {
  .page-products .app-card {
    flex: none;
    padding: 36px 30px 76px;
  }
}

.page-products .app-card--desktop {
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px);
}

.page-products .app-card__flag {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 172px;
  height: 78px;
  background: var(--c-gold);
  clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%);
  color: var(--c-navy);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .1em;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 12px 16px;
  z-index: 3;
}

.page-products .app-card--desktop .app-card__flag {
  left: auto;
  right: 0;
  clip-path: polygon(0 0, 100% 34px, 100% 100%, 0 100%);
  justify-content: flex-end;
  padding: 0 16px 12px 0;
}

.page-products .app-card__head {
  display: grid;
  gap: 10px;
}

.page-products .app-card__index {
  font-family: var(--font-display);
  font-size: 84px;
  line-height: .8;
  color: rgba(10, 31, 68, .12);
  margin: 0 auto 8px 0;
}

.page-products .app-card__intro {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(17, 17, 17, .78);
  margin: 0;
}

.page-products .app-card__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .page-products .app-card__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .page-products .app-card--mobile .app-card__body {
    grid-template-columns: 1.08fr .92fr;
  }

  .page-products .app-card--desktop .app-card__body {
    grid-template-columns: .92fr 1.08fr;
  }

  .page-products .app-card--desktop .app-card__visual {
    order: -1;
  }
}

.page-products .app-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

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

.page-products .feature-list__item {
  padding: 14px 16px;
  background: rgba(10, 31, 68, .05);
  border-left: 3px solid var(--c-neon);
  display: grid;
  gap: 4px;
}

.page-products .feature-list__item strong {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--c-navy);
}

.page-products .feature-list__item span {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(17, 17, 17, .75);
}

.page-products .app-card__note {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 2px dashed var(--c-gold);
  font-size: 13px;
  color: rgba(17, 17, 17, .72);
}

.page-products .app-card__visual,
.page-products .app-visual {
  position: relative;
}

.page-products .app-visual {
  margin: 0;
  padding: 8px;
}

.page-products .app-visual__img {
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  filter: saturate(.92) contrast(1.04);
}

.page-products .app-card--desktop .app-visual__img {
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px);
}

.page-products .app-visual__caption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(17, 17, 17, .6);
  border-bottom: 1px solid rgba(10, 31, 68, .14);
  padding-bottom: 6px;
}

.page-products .device-svg {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: .82;
}

.page-products .device-svg--phone {
  right: -4px;
  bottom: -2px;
  width: 84px;
  height: 168px;
  filter: drop-shadow(0 8px 14px rgba(10, 31, 68, .32));
}

.page-products .device-svg--monitor {
  left: -6px;
  top: -4px;
  width: 146px;
  height: 110px;
  filter: drop-shadow(0 8px 16px rgba(10, 31, 68, .32));
}

.page-products .fee-section {
  position: relative;
  padding: 62px 0 58px;
  background: var(--c-navy);
  overflow: hidden;
}

.page-products .fee-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, .14), rgba(57, 255, 20, .05));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .fee-section__head {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.page-products .fee-section__head .app-card__index {
  color: rgba(255, 215, 0, .4);
}

.page-products .fee-section__lede,
.page-products .path-section__lede {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245, 240, 230, .84);
  margin: 0;
}

.page-products .fee-section__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 680px) {
  .page-products .fee-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.page-products .fee-rule {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 22px;
  display: grid;
  gap: 8px;
}

.page-products .fee-rule__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--c-navy);
  margin: 0;
  letter-spacing: .04em;
}

.page-products .fee-rule__text {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(17, 17, 17, .75);
  margin: 0;
}

.page-products .fee-demo {
  position: relative;
  margin-top: 24px;
  background: rgba(245, 240, 230, .06);
  border: 1px solid rgba(255, 215, 0, .5);
}

.page-products .fee-demo__summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .06em;
  color: var(--c-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.page-products .fee-demo__summary::-webkit-details-marker {
  display: none;
}

.page-products .fee-demo__summary::after {
  content: "+";
  font-size: 28px;
  line-height: 1;
  color: var(--c-neon);
}

.page-products .fee-demo[open] .fee-demo__summary::after {
  content: "–";
}

.page-products .fee-demo__panel {
  padding: 20px;
  border-top: 1px solid rgba(255, 215, 0, .3);
  display: grid;
  gap: 12px;
}

.page-products .fee-demo__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(245, 240, 230, .25);
}

.page-products .fee-demo__label {
  color: rgba(245, 240, 230, .68);
}

.page-products .fee-demo__value {
  color: var(--c-paper);
  font-weight: 600;
  text-align: right;
}

.page-products .fee-demo__note {
  font-size: 13px;
  color: rgba(245, 240, 230, .55);
  margin: 4px 0 0;
}

.page-products .fee-flow {
  position: relative;
  margin: 36px 0 0;
}

@media (min-width: 900px) {
  .page-products .fee-flow {
    margin-top: 44px;
  }
}

.page-products .fee-flow__img {
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-products .fee-flow__caption {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(245, 240, 230, .62);
  letter-spacing: .06em;
}

.page-products .path-section {
  position: relative;
  padding: 62px 0 56px;
  background:
    linear-gradient(135deg, rgba(10, 31, 68, .04) 25%, transparent 25%) 0 0 / 24px 24px,
    var(--c-paper);
  color: var(--c-ink);
}

.page-products .path-section__head {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.page-products .path-section__head .app-card__index {
  color: rgba(255, 87, 0, .3);
}

.page-products .path-section__lede {
  color: rgba(17, 17, 17, .76);
}

.page-products .path-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}

@media (min-width: 760px) {
  .page-products .path-compare {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.page-products .path-compare__col {
  padding: 26px;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
}

.page-products .path-compare__col--mobile {
  background: var(--c-navy);
  color: var(--c-paper);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-products .path-compare__col--desktop {
  background: var(--c-gold);
  color: var(--c-navy);
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%, 0 24px);
}

.page-products .path-compare__title {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 6px;
  letter-spacing: .04em;
}

.page-products .path-compare__col p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.page-products .path-compare__col ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.page-products .path-compare__col li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
}

.page-products .path-compare__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 8px;
  height: 8px;
  background: var(--c-neon);
  transform: rotate(45deg);
}

.page-products .path-compare__col--desktop li::before {
  background: var(--c-orange);
}

.page-products .path-compare__figure {
  margin: 26px 0 0;
}

.page-products .path-compare__img {
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-products .path-steps {
  margin-top: 40px;
}

.page-products .path-steps__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--c-navy);
  margin: 0 0 20px;
  transform: skewX(-3deg);
}

.page-products .path-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: path-step;
}

@media (min-width: 900px) {
  .page-products .path-steps__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.page-products .path-step {
  position: relative;
  padding: 22px;
  background: #fff;
  border-top: 4px solid var(--c-gold);
  box-shadow: 0 10px 24px rgba(10, 31, 68, .07);
}

@media (min-width: 900px) {
  .page-products .path-step::before {
    content: "";
    position: absolute;
    top: 42px;
    right: -22px;
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, var(--c-gold), var(--c-neon));
    z-index: 1;
  }

  .page-products .path-step:last-child::before {
    display: none;
  }
}

.page-products .path-step__num {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--c-navy);
  color: var(--c-gold);
  font-family: var(--font-display);
  font-size: 22px;
  transform: rotate(-6deg);
  margin-bottom: 14px;
}

.page-products .path-step__heading {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--c-navy);
  margin: 0 0 8px;
}

.page-products .path-step__text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(17, 17, 17, .72);
  margin: 0;
}

.page-products .path-step__tip {
  display: none;
  margin: 12px 0 0;
  padding: 8px 10px;
  background: rgba(57, 255, 20, .12);
  border-left: 2px solid var(--c-neon);
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-navy);
}

.page-products .path-step:hover .path-step__tip,
.page-products .path-step:focus .path-step__tip,
.page-products .path-step:focus-within .path-step__tip {
  display: block;
}

.page-products .path-map {
  margin: 36px 0 0;
}

.page-products .path-map__img {
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.page-products .path-map__caption {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(17, 17, 17, .6);
  letter-spacing: .06em;
}

.page-products .path-extra {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--c-gray);
  color: var(--c-ink);
  font-size: 15px;
  line-height: 1.7;
}

.page-products .path-extra a {
  color: var(--c-navy-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--c-gold);
}

.page-products .path-extra a:hover,
.page-products .path-extra a:focus {
  border-bottom-color: var(--c-orange);
}
