@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: #151515;
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid #151515; outline-offset: 4px; }
.pack-page { width: min(1200px, calc(100% - 32px)); margin: auto; padding: 28px 0 64px; }
.pack-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font-size: 14px;
  text-underline-offset: 4px;
}
.pack-header { padding: clamp(22px, 5vw, 68px) 0 clamp(28px, 5vw, 56px); }
.pack-header h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -.065em;
}
.pack-header p { max-width: 58ch; margin: 0; color: #585858; line-height: 1.55; }
.pack-purchase { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.pack-price { font-size: 18px; font-weight: 600; }
.pack-buy {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: #151515;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.pack-buy:hover { background: #383838; }
.pack-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.pack-wallpaper { min-width: 0; margin: 0; }
.pack-stage {
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  background: #f5f5f5;
  border-radius: 16px;
}
.pack-laptop {
  position: relative;
  width: 100%;
  aspect-ratio: 1392 / 766;
  background: url('../images/laptop-preview-front.png') 50% 52.07% / 127.44% auto no-repeat;
  filter: drop-shadow(0 10px 12px #15151526);
}
.pack-laptop img {
  position: absolute;
  left: 8.33%;
  top: 2.74%;
  width: 83.26%;
  height: 88.51%;
  object-fit: cover;
  background: #080808;
  border-radius: 1.6% 1.6% 0 0;
  clip-path: polygon(0 0,45% 0,45.15% 1.4%,45.45% 2.15%,54.5% 2.15%,54.8% 1.4%,54.95% 0,100% 0,100% 100%,0 100%);
}
.pack-wallpaper figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 12px 2px 0;
}
.pack-wallpaper h2 { margin: 0; font-size: 17px; font-weight: 600; }
.pack-resolution { color: #585858; font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .pack-gallery { grid-template-columns: 1fr; }
}
