.page-products {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-family: var(--font-body);
}

.prd-hero {
  position: relative;
  padding: 1.75rem 0 3.5rem;
  background: linear-gradient(135deg, var(--deep-paper) 0%, var(--paper) 42%, rgba(201, 165, 58, .16) 100%);
  border-bottom: 3px solid var(--ink);
}

.prd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(26, 26, 26, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.prd-hero > .container {
  position: relative;
  z-index: 1;
}

.prd-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .prd-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .9fr);
  }
}

.prd-hero-copy {
  padding: 1rem 0;
}

.prd-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .85rem;
  font-family: var(--font-anno);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  color: var(--blue);
}

.prd-kicker::before {
  content: "";
  width: 2.25rem;
  height: .35rem;
  background: var(--orange);
  box-shadow: 3px 3px 0 rgba(26, 26, 26, .16);
}

.prd-kicker-light {
  color: var(--gold);
}

.prd-hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
  max-width: 11em;
}

.prd-hero-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 42rem;
}

.prd-hero-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: .7rem;
}

.prd-hero-points li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.5;
}

.prd-hero-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.prd-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: min(100%, 420px);
  padding: .9rem 1.5rem;
  border: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.prd-hero-cta:hover {
  transform: translate(3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.prd-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.prd-phone-holder {
  position: relative;
  width: min(100%, 320px);
}

.prd-phone-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2rem 2rem 3.2rem 3.2rem;
  border: 3px solid var(--ink);
  object-fit: cover;
  transform: rotate(2.5deg);
  box-shadow: 14px 14px 0 var(--orange), 18px 18px 0 rgba(26, 26, 26, .28);
}

.prd-phone-tag {
  position: absolute;
  top: 1.4rem;
  right: -1rem;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  line-height: 1;
  padding: .45rem .7rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transform: rotate(4deg);
}

.prd-core {
  padding: 3.25rem 0 4rem;
  background: var(--paper);
}

.prd-section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.06;
  margin: .35rem 0 .65rem;
  letter-spacing: -.01em;
}

.prd-section-title-light {
  color: var(--paper);
}

.prd-lede {
  color: var(--gray);
  line-height: 1.75;
  font-size: 1.02rem;
  max-width: 54rem;
  margin: 0;
}

.prd-lede-light {
  color: rgba(245, 240, 232, .8);
}

@media (min-width: 760px) {
  .prd-core-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
    align-items: end;
    gap: 2rem;
    margin-bottom: 1rem;
  }

  .prd-core-head .prd-lede {
    justify-self: end;
    text-align: right;
  }
}

.prd-tabs {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.prd-tab-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.prd-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.prd-tab-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  flex: 1 1 100%;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.prd-tab-btn:hover {
  background: var(--deep-paper);
}

.prd-tab-num {
  font-family: var(--font-anno);
  font-style: italic;
  color: var(--orange);
  min-width: 2em;
  font-weight: 700;
}

.prd-tab-arrow {
  margin-left: auto;
  transform: translateX(-4px);
  opacity: .65;
  transition: transform .2s ease;
}

@media (min-width: 940px) {
  .prd-tabs {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }

  .prd-tab-nav {
    display: grid;
    align-content: start;
    align-self: start;
    gap: .8rem;
  }

  .prd-tab-btn {
    flex: none;
  }
}

.page-products #prd-tab-1:checked ~ .prd-tab-nav .prd-tab-btn-1,
.page-products #prd-tab-2:checked ~ .prd-tab-nav .prd-tab-btn-2,
.page-products #prd-tab-3:checked ~ .prd-tab-nav .prd-tab-btn-3,
.page-products #prd-tab-4:checked ~ .prd-tab-nav .prd-tab-btn-4 {
  background: var(--ink);
  color: var(--paper);
  transform: translateX(6px);
}

.page-products #prd-tab-1:checked ~ .prd-tab-nav .prd-tab-btn-1 .prd-tab-num,
.page-products #prd-tab-2:checked ~ .prd-tab-nav .prd-tab-btn-2 .prd-tab-num,
.page-products #prd-tab-3:checked ~ .prd-tab-nav .prd-tab-btn-3 .prd-tab-num,
.page-products #prd-tab-4:checked ~ .prd-tab-nav .prd-tab-btn-4 .prd-tab-num {
  color: var(--gold);
}

.page-products #prd-tab-1:focus-visible ~ .prd-tab-nav .prd-tab-btn-1,
.page-products #prd-tab-2:focus-visible ~ .prd-tab-nav .prd-tab-btn-2,
.page-products #prd-tab-3:focus-visible ~ .prd-tab-nav .prd-tab-btn-3,
.page-products #prd-tab-4:focus-visible ~ .prd-tab-nav .prd-tab-btn-4 {
  outline: 3px solid var(--bright-orange);
  outline-offset: 3px;
}

.prd-tab-panels {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}

.prd-tab-panel {
  display: none;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.prd-panel-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 .65rem;
  color: var(--paper);
}

.prd-panel-text {
  color: rgba(245, 240, 232, .88);
  line-height: 1.75;
  max-width: 60ch;
  margin: 0;
}

.prd-panel-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: .7rem;
}

.prd-panel-list li {
  border-left: 3px solid var(--gold);
  background: rgba(245, 240, 232, .05);
  padding: .6rem .8rem .6rem 1rem;
  line-height: 1.6;
  color: rgba(245, 240, 232, .94);
}

.prd-figure {
  margin: 1.6rem 0 0;
  border: 1px solid rgba(245, 240, 232, .22);
  background: rgba(245, 240, 232, .03);
}

.prd-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.prd-figure figcaption {
  padding: .6rem .8rem;
  font-family: var(--font-anno);
  font-style: italic;
  font-size: .88rem;
  color: rgba(245, 240, 232, .62);
}

.page-products #prd-tab-1:checked ~ .prd-tab-panels .prd-panel-1,
.page-products #prd-tab-2:checked ~ .prd-tab-panels .prd-panel-2,
.page-products #prd-tab-3:checked ~ .prd-tab-panels .prd-panel-3,
.page-products #prd-tab-4:checked ~ .prd-tab-panels .prd-panel-4 {
  display: block;
}

.prd-platforms {
  padding: 3.25rem 0 4rem;
  background: var(--blue);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.prd-platform-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 840px) {
  .prd-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.prd-platform-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 1.5rem;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .45);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.prd-platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  border-radius: 14px 4px 14px 4px;
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 rgba(26, 26, 26, .25);
}

.prd-platform-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 0 .4rem;
}

.prd-platform-desc {
  color: var(--gray);
  line-height: 1.7;
  font-size: .95rem;
  margin: 0;
}

.prd-platform-note {
  font-size: .86rem;
  font-family: var(--font-anno);
  line-height: 1.7;
  color: var(--blue);
  border-top: 1px solid var(--deep-paper);
  margin: 1rem 0 0;
  padding: .75rem 0 0;
}

.prd-platform-link {
  display: inline-block;
  margin-top: 1rem;
  padding: .65rem 1rem;
  background: var(--blue);
  color: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background-color .2s ease, color .2s ease;
}

.prd-platform-link:hover {
  background: var(--ink);
  color: var(--gold);
}

.prd-qr-note {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.1rem 1.3rem;
  background: rgba(245, 240, 232, .08);
  border: 1px solid rgba(245, 240, 232, .22);
}

.prd-qr-box {
  flex-shrink: 0;
  line-height: 0;
  background: var(--paper);
  border: 2px solid var(--paper);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .3);
  transition: transform .25s ease, box-shadow .25s ease;
}

.prd-qr-box:hover {
  transform: scale(1.06);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
}

.prd-qr-box svg {
  display: block;
}

.prd-qr-note-text {
  margin: 0;
  color: rgba(245, 240, 232, .8);
  font-size: .95rem;
  line-height: 1.75;
}

@media (max-width: 520px) {
  .prd-qr-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

.prd-version {
  padding: 3.5rem 0 4rem;
  background: var(--paper);
}

.prd-timeline {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .prd-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.prd-version-item {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 2rem;
  background: rgba(26, 26, 26, .025);
  border-left: 4px solid var(--orange);
  box-shadow: 4px 6px 0 var(--deep-paper);
}

.prd-version-item:nth-child(2) {
  border-left-color: var(--blue);
}

.prd-version-item:nth-child(3) {
  border-left-color: var(--gold);
}

.prd-version-item:nth-child(4) {
  border-left-color: var(--orange);
  background: rgba(232, 74, 42, .08);
}

.prd-version-tag {
  display: inline-block;
  padding: .25rem .6rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .85rem;
  line-height: 1.2;
  color: var(--blue);
}

.prd-version-item:nth-child(2) .prd-version-tag {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}

.prd-version-item:nth-child(3) .prd-version-tag {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}

.prd-version-item:nth-child(4) .prd-version-tag {
  background: var(--orange);
  border-color: var(--ink);
  color: var(--ink);
}

.prd-version-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: .7rem 0 .4rem;
}

.prd-version-text {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}

.prd-updates {
  padding: 3.5rem 0 4rem;
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--orange);
}

.prd-update-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .prd-update-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

.prd-update-media {
  margin: 0;
  border: 3px solid var(--deep-paper);
  box-shadow: 10px 10px 0 rgba(232, 74, 42, .65);
}

.prd-update-media img {
  display: block;
  width: 100%;
  height: auto;
}

.prd-update-points {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: .85rem;
}

.prd-update-point {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: rgba(245, 240, 232, .05);
  line-height: 1.7;
  color: rgba(245, 240, 232, .82);
}

.prd-update-point strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--gold);
  margin-bottom: .35rem;
}

.prd-update-point:last-child {
  border-left-color: var(--orange);
}

.prd-update-point:last-child strong {
  color: var(--bright-orange);
}

.prd-intext-link {
  color: var(--bright-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.prd-intext-link:hover {
  opacity: .8;
}

.prd-cta {
  position: relative;
  padding: 5rem 0;
  background: var(--ink);
  overflow: hidden;
}

.prd-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}

.prd-cta-inner {
  position: relative;
  z-index: 1;
}

.prd-cta-copy {
  max-width: 40rem;
  color: var(--paper);
}

.prd-cta-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
  margin: .5rem 0 1rem;
}

.prd-cta-text {
  color: rgba(245, 240, 232, .82);
  line-height: 1.75;
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.prd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.prd-cta-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border: 2px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.prd-cta-link-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.prd-cta-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
