* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --muted: #424245;
  --blue: #0071e3;
  --blue-dark: #0059b3;
  --border-blue: #0071e3;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    system-ui,
    "Inter",
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
  max-width: 100vw;
}

.top-nav {
  background: rgba(245, 245, 247, 0.84);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-nav-apple {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.top-nav-apple .menu a {
  color: rgba(29, 29, 31, 0.82);
}

.top-nav-apple .menu a:hover {
  color: #1d1d1f;
}

.top-nav-apple .nav-icons button {
  color: rgba(29, 29, 31, 0.82);
}

.top-nav-apple .brand {
  color: rgba(29, 29, 31, 0.92);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 14px;
}

.brand {
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 27px;
  width: auto;
  max-width: min(210px, 48vw);
}

.menu {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu a {
  color: #1d1d1fcc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.menu a:hover {
  color: #111;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-icon-btn,
.nav-menu-toggle {
  border: none;
  background: transparent;
  color: #1d1d1f;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-icon-svg {
  display: block;
}

.nav-menu-toggle {
  display: none;
}

.nav-menu-bars {
  position: relative;
  width: 17px;
  height: 11px;
  display: block;
}

.nav-menu-bars::before,
.nav-menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  border-radius: 1px;
  background: #1d1d1f;
}

.nav-menu-bars::before {
  top: 2px;
}

.nav-menu-bars::after {
  bottom: 2px;
}

.hero {
  text-align: center;
  padding: 52px 16px 0;
}

.hero-iphone {
  background: #fff;
  padding: 0;
  margin: 0;
}

.hero-iphone-stage {
  position: relative;
  width: 100%;
  min-height: min(92vh, 940px);
  overflow: hidden;
}

.hero-image.hero-image-iphone {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  display: block;
}

.hero-iphone-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-iphone-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-iphone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

/* View 0: first slide centered; second off-screen to the right */
.hero-iphone-slides--view-0 .hero-iphone-slide:nth-child(1) {
  transform: translateX(0);
  z-index: 2;
}

.hero-iphone-slides--view-0 .hero-iphone-slide:nth-child(2) {
  transform: translateX(100%);
  z-index: 1;
}

/* View 1: first exits left; second enters from right to center */
.hero-iphone-slides--view-1 .hero-iphone-slide:nth-child(1) {
  transform: translateX(-100%);
  z-index: 1;
}

.hero-iphone-slides--view-1 .hero-iphone-slide:nth-child(2) {
  transform: translateX(0);
  z-index: 2;
}

.hero-iphone-slide .hero-photo.hero-photo-iphone,
.hero-iphone-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform: translateY(-6%) scale(1.06);
  transform-origin: 50% 35%;
  display: block;
}

.hero-iphone-carousel-dots {
  position: absolute;
  bottom: clamp(14px, 3.5vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: auto;
}

.hero-iphone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.hero-iphone-dot:hover {
  background: rgba(0, 0, 0, 0.4);
}

.hero-iphone-dot.is-active {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.2);
}

.hero-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-iphone-copy {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4.5vh, 48px) max(16px, env(safe-area-inset-right)) min(32vh, 280px)
    max(16px, env(safe-area-inset-left));
  text-align: center;
  background: transparent;
  pointer-events: none;
}

.hero-iphone-copy .hero-copy {
  pointer-events: auto;
}

.hero-iphone .hero-copy {
  padding: 0;
}

.hero-iphone .hero-copy h1 {
  font-size: clamp(48px, 7.5vw, 80px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: #1d1d1f;
  margin: 0;
  text-shadow:
    0 0 28px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(255, 255, 255, 0.85);
}

.hero-iphone .hero-subhead {
  margin-top: 6px;
  font-size: clamp(21px, 2.65vw, 28px);
  line-height: 1.14286;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: #1d1d1f;
  text-shadow:
    0 0 22px rgba(255, 255, 255, 0.95),
    0 0 10px rgba(255, 255, 255, 0.88),
    0 1px 2px rgba(255, 255, 255, 0.85);
}

.hero-iphone .hero-cta {
  margin-top: 19px;
  gap: 16px;
}

.btn-apple {
  font-size: 17px;
  line-height: 1.17647;
  font-weight: 400;
  letter-spacing: -0.022em;
  padding: 11px 22px;
  min-height: 44px;
  border-radius: 980px;
}

.btn-outline-hero {
  background: transparent;
  color: #0071e3;
  border-color: #0071e3;
}

.btn-outline-hero:hover {
  background: #0071e3;
  color: #fff;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.hero-copy h2 {
  font-size: clamp(42px, 7vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.hero-copy p:not(.hero-subhead) {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 500;
}

.hero-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.hero-cta .btn,
.hero-cta .btn-apple {
  white-space: nowrap;
}

.btn {
  border-radius: 999px;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  border: 1px solid var(--border-blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.hero-image {
  width: min(980px, 100%);
  height: min(55vw, 560px);
  margin: 28px auto 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.image-placeholder {
  border: 2px dashed #c7c7cc;
  border-radius: 20px;
  background: linear-gradient(180deg, #fafafc 0%, #ececf0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6e6e73;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-copy em {
  font-style: italic;
  font-weight: 500;
  color: #2a74a8;
}

.hero-neo {
  padding: 0;
  margin-top: 72px;
}

.hero-neo-stage {
  position: relative;
  min-height: min(88vh, 880px);
  overflow: hidden;
  background: #f5f5f7;
}

.hero-neo-image {
  position: absolute;
  inset: 0;
}

.neo-hero-photo {
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: translateY(-5%) scale(1.06);
  transform-origin: 50% 38%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-neo-copy {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4.5vh, 48px) max(16px, env(safe-area-inset-right)) min(28vh, 260px)
    max(16px, env(safe-area-inset-left));
  text-align: center;
  background: transparent;
  pointer-events: none;
}

.hero-neo-copy .hero-copy {
  pointer-events: auto;
}

.hero-neo .hero-copy h2,
.hero-neo .hero-copy p {
  text-shadow:
    0 0 28px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(255, 255, 255, 0.85);
}

.hero-ipad-air {
  margin-top: 80px;
  padding: 0;
  background: transparent;
}

.hero-ipad-stage {
  position: relative;
  min-height: min(90vh, 920px);
  overflow: hidden;
  background: #d6f2ff;
}

.hero-ipad-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(191, 233, 251, 0.92) 0%,
    rgba(214, 242, 255, 0.42) 34%,
    transparent 58%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-ipad-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ipad-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: translateY(5%) scale(1.07);
  transform-origin: 50% 65%;
  display: block;
}

.hero-ipad-copy {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4.5vh, 48px) max(16px, env(safe-area-inset-right)) min(28vh, 260px)
    max(16px, env(safe-area-inset-left));
  text-align: center;
  background: transparent;
  pointer-events: none;
}

.hero-ipad-copy .hero-copy {
  pointer-events: auto;
}

.hero-ipad-air .hero-copy h2,
.hero-ipad-air .hero-copy p {
  text-shadow:
    0 0 26px rgba(255, 255, 255, 0.98),
    0 0 14px rgba(237, 248, 255, 0.95),
    0 1px 3px rgba(255, 255, 255, 0.9);
}

.hero-ipad-air .hero-copy em {
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(255, 255, 255, 0.88);
}

/* AirPods Max 2 — headline behind product, color loop */
.hero-airpods-max {
  margin-top: 80px;
  padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  text-align: center;
  background: transparent;
}

.airpods-max-shell {
  max-width: 1220px;
  margin: 0 auto;
}

.airpods-max-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(88vh, 920px);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.airpods-max-center {
  position: relative;
  flex: 1 1 auto;
  min-height: min(62vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vh, 100px) max(16px, env(safe-area-inset-right)) 0
    max(16px, env(safe-area-inset-left));
}

.airpods-max-bg-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  margin: 0;
  padding: 0 12px;
  font-size: clamp(40px, 11vw, 132px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #1d1d1d;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.airpods-max-visual {
  position: relative;
  z-index: 2;
  width: min(92vw, 760px);
  height: min(52vh, 520px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.airpods-max-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: opacity 0.4s ease-in-out;
  will-change: opacity;
}

@media (prefers-reduced-motion: reduce) {
  .airpods-max-photo {
    transition: none;
  }
}

.airpods-max-bar {
  position: relative;
  z-index: 3;
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
  padding: clamp(16px, 3vh, 28px) clamp(22px, 3.5vw, 40px) clamp(28px, 4vh, 44px);
  text-align: left;
  background: transparent;
}

.airpods-max-copy {
  flex: 1 1 220px;
  min-width: min(100%, 280px);
}

.airpods-max-tagline {
  margin: 0;
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: #1d1d1f;
}

.airpods-max-tagline + .airpods-max-tagline {
  margin-top: 4px;
}

.airpods-max-price {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  color: #6e6e73;
  letter-spacing: -0.01em;
}

.airpods-max-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 14px;
  flex: 0 1 auto;
}

.airpods-max-cta .btn {
  margin: 0;
}

@media (max-width: 734px) {
  .airpods-max-bar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px max(18px, env(safe-area-inset-right)) 20px max(18px, env(safe-area-inset-left));
  }

  .airpods-max-copy {
    flex: 0 0 auto;
    min-width: 0;
  }

  .airpods-max-cta {
    justify-content: flex-start;
    width: 100%;
    margin-top: 0;
  }

  .airpods-max-price {
    margin-top: 8px;
  }
}

.promo-grid {
  margin-top: 16px;
  padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.promo-card {
  padding: 0;
  margin: 0;
  min-height: 0;
}

.promo-card-stage {
  position: relative;
  min-height: min(72vw, 580px);
  overflow: hidden;
  text-align: center;
  border-radius: 18px;
  isolation: isolate;
}

.promo-dark {
  background: #000;
  color: #f5f5f7;
}

.promo-yellow {
  background: #e1980d;
  color: #f7f7f5;
}

.promo-light {
  background: #f5f5f7;
  color: var(--text);
}

.promo-copy h3 {
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 600;
}

.promo-copy p {
  margin-top: 8px;
  font-size: clamp(18px, 1.75vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  font-weight: 400;
}

.promo-copy p + p {
  margin-top: 5px;
}

.promo-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.btn-small {
  margin-top: 16px;
  font-size: 15px;
  padding: 8px 16px;
}

.promo-cta .btn-small {
  margin-top: 0;
}

.promo-card .promo-copy > .btn-small,
.promo-cta .btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 980px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  min-height: 40px;
  padding: 8px 18px;
  font-size: clamp(13px, 1.1vw, 15px);
}

.promo-card .promo-copy > a.btn-small:only-of-type {
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
}

.btn-outline-dark {
  border-color: #2997ff;
  color: #2997ff;
}

.btn-outline-dark:hover {
  background: #2997ff;
  color: #fff;
}

.promo-card .promo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  display: block;
  background: #000;
}

.promo-light .promo-image {
  background: #ebebed;
}

.promo-photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  transform: translateY(5%) scale(1.05);
  transform-origin: 50% 75%;
}

/* Per-tile crops (order: WWDC, Watch, MacBook Pro, AirPods) — WWDC overlay uses its own rules */
.promo-grid .promo-card:nth-child(1):not(.promo-stack--overlay) .promo-photo {
  object-position: 50% 38%;
  transform: translateY(2%) scale(1.04);
  transform-origin: 50% 45%;
}

.promo-grid .promo-card:nth-child(2) .promo-photo {
  object-position: 50% 88%;
  transform: translateY(6%) scale(1.08);
  transform-origin: 50% 95%;
}

.promo-grid .promo-card:nth-child(3) .promo-photo {
  object-position: 50% 52%;
  transform: translateY(3%) scale(1.05);
  transform-origin: 50% 60%;
}

.promo-grid .promo-card:nth-child(4) .promo-photo {
  object-position: 50% 72%;
  transform: translateY(4%) scale(1.06);
  transform-origin: 50% 80%;
}

/* WWDC-style: artwork first, copy + CTA beneath (not overlaid) */
.promo-card.promo-stack .promo-card-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  text-align: center;
}

.promo-card.promo-stack .promo-image {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  overflow: hidden;
  background: #e1980d;
  padding: 40px 32px 8px;
  box-sizing: border-box;
}

.promo-grid .promo-card.promo-stack .promo-photo {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: min(38vh, 360px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: 50% 50%;
  display: block;
}

.promo-card.promo-stack .promo-copy {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 8px 28px 36px;
  background: #e1980d;
  pointer-events: auto;
}

.promo-card.promo-stack .promo-copy p:first-of-type {
  margin-top: 0;
  font-size: clamp(17px, 1.65vw, 26px);
  line-height: 1.3;
}

.promo-card.promo-stack .promo-copy p + p {
  margin-top: 6px;
}

.promo-card.promo-stack .promo-copy > a.btn-small:only-of-type {
  margin-top: 20px;
}

/* WWDC overlay: copy layered on image; larger artwork anchored bottom-right */
.promo-card.promo-stack--overlay .promo-card-stage {
  display: block;
  position: relative;
  min-height: min(72vw, 580px);
  overflow: hidden;
  text-align: left;
  border-radius: 0 0 18px 18px;
}

.promo-card.promo-stack--overlay .promo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  flex: unset;
  background: #e1980d;
}

.promo-card.promo-stack--overlay .promo-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  top: auto;
  width: 172%;
  height: 172%;
  max-width: none;
  max-height: none;
  min-height: 0;
  object-fit: cover;
  object-position: 100% 100%;
  transform: none;
  transform-origin: 100% 100%;
  display: block;
}

.promo-card.promo-stack--overlay .promo-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  padding: clamp(22px, 4.2vw, 48px) clamp(22px, 4vw, 40px) clamp(20px, 3.5vw, 36px);
  margin: 0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.22) 48%,
    transparent 78%
  );
  text-align: left;
  pointer-events: none;
}

.promo-card.promo-stack--overlay .promo-copy p {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 2px 14px rgba(0, 0, 0, 0.25);
}

.promo-card.promo-stack--overlay .promo-copy p:first-of-type {
  font-size: clamp(19px, 1.85vw, 28px);
}

.promo-card.promo-stack--overlay .promo-copy > a.btn-small:only-of-type {
  margin-top: 18px;
}

.promo-card.promo-stack.promo-dark .promo-copy p {
  text-shadow: none;
}

.promo-card .promo-copy {
  position: relative;
  z-index: 2;
  padding: 44px 24px min(24vh, 188px);
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  pointer-events: none;
  max-width: 34rem;
}

.promo-card .promo-copy a,
.promo-card .promo-copy .btn {
  pointer-events: auto;
}

.promo-light .promo-copy h3,
.promo-light .promo-copy p {
  text-shadow:
    0 0 20px rgba(245, 245, 247, 0.9),
    0 1px 2px rgba(255, 255, 255, 0.75);
}

.promo-dark .promo-copy h3,
.promo-dark .promo-copy p {
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.75),
    0 0 1px rgba(0, 0, 0, 0.45);
}

.entertainment-intro {
  padding: 44px 16px 50px;
  text-align: center;
  background: #fff;
}

.entertainment-intro h2 {
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.quick-links-band {
  background: #f5f5f7;
  border-top: 1px solid #d2d2d7;
  padding: 28px 18px 32px;
}

.quick-links-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.quick-links-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.quick-links-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 14px;
}

.quick-links-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links-pills a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: #1d1d1f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
}

.quick-links-pills a:hover {
  background: #ececef;
}

.quick-links-fab {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #d2d2d7;
  padding: 3px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px #00000014;
  align-self: center;
}

.quick-links-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
}

.quick-links-avatar.placeholder {
  background: linear-gradient(180deg, #d6e8ff 0%, #b8d4f5 100%);
  border: 2px dashed #c7c7cc;
  color: #6e6e73;
}

.site-footer {
  background: #f5f5f7;
  color: #424245;
  border-top: 1px solid #d2d2d7;
}

.footer-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 20px 14px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
  padding-top: 10px;
}

.footer-col h4 {
  font-size: 12px;
  line-height: 1.33337;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.footer-subheading {
  margin-top: 20px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #424245;
  font-size: 12px;
  line-height: 1.33337;
  margin-bottom: 9px;
}

.footer-col a:hover,
.footer-shop-note a:hover,
.footer-legal-links a:hover {
  text-decoration: underline;
}

.footer-shop-note {
  margin-top: 26px;
  border-bottom: 1px solid #d2d2d7;
  padding-bottom: 10px;
  font-size: 12px;
  line-height: 1.33337;
}

.footer-shop-note a {
  color: #0066cc;
  text-decoration: none;
}

.footer-pricing-note {
  margin: 0;
  padding: 8px 0 12px;
  border-bottom: 1px solid #d2d2d7;
  font-size: 11px;
  line-height: 1.4;
  color: #6e6e73;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0 2px;
  flex-wrap: wrap;
}

.footer-legal p,
.footer-legal span {
  font-size: 12px;
  line-height: 1.33337;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #424245;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.33337;
  position: relative;
  padding-right: 8px;
}

.footer-legal-links a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #86868b;
}

@media (max-width: 860px) {
  .nav-wrap {
    padding: 0 10px;
  }

  .menu {
    gap: 12px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-iphone-stage {
    min-height: min(88vh, 860px);
  }

  .hero-iphone-copy {
    padding-bottom: min(26vh, 220px);
  }

  .hero-iphone-slide .hero-photo.hero-photo-iphone {
    transform: translateY(-7%) scale(1.07);
    transform-origin: 50% 32%;
  }

  .hero-copy p:not(.hero-subhead) {
    font-size: clamp(21px, 6vw, 30px);
  }

  .btn {
    font-size: 15px;
    padding: 9px 18px;
  }

  .hero-iphone .btn-apple {
    font-size: 17px;
    line-height: 1.17647;
    padding: 11px 20px;
  }

  .hero-neo {
    margin-top: 56px;
  }

  .hero-neo-stage {
    min-height: min(86vh, 780px);
  }

  .hero-neo-copy {
    padding-bottom: min(24vh, 200px);
  }

  .neo-hero-photo {
    transform: translateY(-6%) scale(1.07);
    transform-origin: 50% 36%;
  }

  .hero-ipad-air {
    margin-top: 56px;
  }

  .hero-ipad-stage {
    min-height: min(88vh, 800px);
  }

  .hero-ipad-copy {
    padding-bottom: min(24vh, 200px);
  }

  .ipad-hero-photo {
    transform: translateY(6%) scale(1.08);
    transform-origin: 50% 62%;
  }

  .hero-airpods-max {
    margin-top: 56px;
  }

  .airpods-max-stage {
    min-height: min(86vh, 860px);
  }

  .airpods-max-center {
    min-height: min(54vh, 580px);
    padding-top: 40px;
  }

  .airpods-max-visual {
    height: min(46vh, 460px);
  }

  .promo-card-stage {
    min-height: min(88vw, 540px);
    border-radius: 16px;
  }

  .promo-card.promo-stack .promo-card-stage {
    min-height: 0;
  }

  .promo-card.promo-stack--overlay .promo-card-stage {
    min-height: min(88vw, 540px);
    border-radius: 0 0 16px 16px;
  }

  .promo-card.promo-stack .promo-image {
    padding: 32px 24px 6px;
  }

  .promo-card.promo-stack--overlay .promo-image {
    padding: 0;
  }

  .promo-card.promo-stack .promo-copy {
    padding: 12px 22px 34px;
  }

  .promo-grid .promo-card.promo-stack .promo-photo {
    max-height: min(40vh, 340px);
  }

  .promo-card.promo-stack--overlay .promo-photo {
    max-height: none;
    width: 172%;
    height: 172%;
  }

  .promo-card .promo-copy {
    padding: 40px 20px min(20vh, 168px);
  }

  .promo-copy h3 {
    font-size: clamp(28px, 5.2vw, 42px);
  }

  .promo-copy p {
    font-size: clamp(20px, 3.1vw, 28px);
  }

  .entertainment-intro {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-links-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 834px) {
  .top-nav-apple {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .menu {
    display: none;
  }

  body.nav-drawer-open {
    overflow: hidden;
  }

  body.nav-drawer-open main {
    position: relative;
    z-index: 0;
  }

  .top-nav.is-open {
    z-index: 10000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  .top-nav.is-open .nav-wrap {
    position: relative;
    z-index: 10002;
  }

  .top-nav.is-open .menu {
    display: flex;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 0 calc(20px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    gap: 0;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    overscroll-behavior: contain;
  }

  .top-nav.is-open .menu a {
    padding: 14px max(20px, env(safe-area-inset-right)) 14px max(20px, env(safe-area-inset-left));
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 17px;
    font-weight: 400;
    color: #1d1d1f;
    white-space: normal;
    text-align: left;
  }

  .top-nav-apple.is-open .menu a:hover {
    color: #000;
  }

  .nav-menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
    height: 48px;
  }

  .brand-logo {
    height: 24px;
    max-width: min(190px, 52vw);
  }

  /* Mobile product heroes: same image band sizes as before; copy absolutely layered (desktop-style) */
  .hero-iphone {
    background: #f5f5f7;
  }

  .hero-iphone-stage {
    position: relative;
    height: min(52vh, 480px);
    min-height: min(44vh, 400px);
    overflow: hidden;
    background: #f5f5f7;
  }

  .hero-iphone-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) min(12vh, 96px)
      max(18px, env(safe-area-inset-left));
    pointer-events: none;
    background: transparent;
  }

  .hero-iphone-copy .hero-copy {
    pointer-events: auto;
  }

  .hero-iphone .hero-copy {
    max-width: 26rem;
    margin: 0 auto;
  }

  .hero-iphone .hero-subhead {
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: -0.015em;
  }

  .hero-iphone .hero-cta {
    margin-top: 18px;
  }

  .hero-image.hero-image-iphone {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    display: block;
    z-index: 0;
  }

  .hero-iphone-slide .hero-photo.hero-photo-iphone {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
    transform: none;
    display: block;
  }

  .hero-iphone-slide:nth-child(2) .hero-photo.hero-photo-iphone {
    object-position: 50% 22%;
  }

  .hero-iphone-carousel-dots {
    bottom: clamp(10px, 2.5vh, 22px);
  }

  .hero-iphone .hero-copy h1,
  .hero-iphone .hero-subhead {
    text-shadow:
      0 0 28px rgba(255, 255, 255, 0.95),
      0 0 12px rgba(255, 255, 255, 0.9),
      0 1px 2px rgba(255, 255, 255, 0.85);
  }

  .hero-neo {
    margin-top: 0;
    background: #fff;
  }

  .hero-neo-stage {
    position: relative;
    height: min(52vh, 480px);
    min-height: min(44vh, 400px);
    overflow: hidden;
    background: #fff;
  }

  .hero-neo-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) min(12vh, 96px)
      max(18px, env(safe-area-inset-left));
    pointer-events: none;
    background: transparent;
  }

  .hero-neo-copy .hero-copy {
    pointer-events: auto;
  }

  .hero-neo .hero-copy {
    max-width: 26rem;
    margin: 0 auto;
  }

  .hero-neo .hero-copy p:not(.hero-subhead) {
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: -0.015em;
  }

  .hero-neo .hero-cta {
    margin-top: 18px;
  }

  .hero-neo-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .neo-hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
    transform: none;
    display: block;
  }

  .hero-neo .hero-copy h2,
  .hero-neo .hero-copy p {
    text-shadow:
      0 0 28px rgba(255, 255, 255, 0.95),
      0 0 12px rgba(255, 255, 255, 0.9),
      0 1px 2px rgba(255, 255, 255, 0.85);
  }

  .hero-ipad-air {
    margin-top: 0;
    background: #f5f5f7;
  }

  .hero-ipad-stage {
    position: relative;
    height: min(52vh, 480px);
    min-height: min(44vh, 400px);
    overflow: hidden;
    background: #d6f2ff;
  }

  .hero-ipad-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) min(12vh, 96px)
      max(18px, env(safe-area-inset-left));
    pointer-events: none;
    background: transparent;
  }

  .hero-ipad-copy .hero-copy {
    pointer-events: auto;
  }

  .hero-ipad-air .hero-copy {
    max-width: 26rem;
    margin: 0 auto;
  }

  .hero-ipad-air .hero-copy p:not(.hero-subhead) {
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: -0.015em;
  }

  .hero-ipad-air .hero-cta {
    margin-top: 18px;
  }

  .hero-ipad-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .ipad-hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 58%;
    transform: none;
    display: block;
  }

  .hero-ipad-air .hero-copy h2,
  .hero-ipad-air .hero-copy p,
  .hero-ipad-air .hero-copy em {
    text-shadow:
      0 0 26px rgba(255, 255, 255, 0.98),
      0 0 14px rgba(237, 248, 255, 0.95),
      0 1px 3px rgba(255, 255, 255, 0.9);
  }

  .hero-cta {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 max(4px, env(safe-area-inset-right)) 0 max(4px, env(safe-area-inset-left));
  }

  .hero-cta .btn,
  .hero-cta .btn-apple {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    min-height: 38px;
    border-radius: 980px;
    white-space: nowrap;
  }

  .hero-iphone .btn-apple {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: -0.022em;
    padding: 9px 14px;
    min-height: 40px;
  }
}

@media (max-width: 734px) {
  .promo-grid {
    grid-template-columns: 1fr;
    padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
    gap: 10px;
  }

  .promo-card-stage {
    min-height: min(86vw, 520px);
    border-radius: 16px;
  }

  .promo-card.promo-stack .promo-card-stage {
    min-height: 0;
  }

  .promo-card.promo-stack--overlay .promo-card-stage {
    min-height: min(86vw, 520px);
    border-radius: 0 0 16px 16px;
  }

  .promo-card.promo-stack .promo-image {
    padding: 28px 20px 4px;
  }

  .promo-card.promo-stack--overlay .promo-image {
    padding: 0;
  }

  .promo-card.promo-stack .promo-copy {
    padding: 10px 20px 32px;
  }

  .promo-grid .promo-card.promo-stack .promo-photo {
    max-height: min(42vh, 320px);
  }

  .promo-card.promo-stack--overlay .promo-photo {
    max-height: none;
    width: 172%;
    height: 172%;
  }

  .promo-card .promo-copy {
    padding: 36px 20px min(18vh, 148px);
  }

  .promo-light .promo-copy h3,
  .promo-light .promo-copy p {
    text-shadow: none;
  }

  .hero-iphone .hero-copy h1 {
    font-size: clamp(40px, 8.5vw, 64px);
  }

  .hero-iphone .hero-subhead {
    font-size: clamp(18px, 2.8vw, 24px);
  }

  .hero-neo .hero-copy h2,
  .hero-ipad-air .hero-copy h2 {
    font-size: clamp(36px, 7.5vw, 52px);
  }

  .hero-neo .hero-copy p:not(.hero-subhead),
  .hero-ipad-air .hero-copy p:not(.hero-subhead) {
    font-size: clamp(18px, 3.8vw, 26px);
  }

  .hero-airpods-max {
    margin-top: 36px;
  }

  .airpods-max-stage {
    min-height: min(70vh, 600px);
  }

  .airpods-max-bg-title {
    font-size: clamp(32px, 12vw, 72px);
    white-space: normal;
    text-align: center;
    max-width: 96vw;
    transform: translate(-50%, -42%);
  }

  .airpods-max-center {
    min-height: min(42vh, 400px);
    padding-top: 24px;
    padding-bottom: 4px;
  }

  .airpods-max-visual {
    width: min(94vw, 640px);
    height: min(40vh, 380px);
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 28px;
  }

  .hero-cta {
    flex-wrap: nowrap;
    gap: 8px;
    max-width: min(20.5rem, calc(100vw - 24px));
  }

  .hero-cta .btn,
  .hero-cta .btn-apple {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 36px;
  }

  .hero-iphone .btn-apple {
    font-size: 14px;
    padding: 8px 11px;
    min-height: 38px;
  }

  .hero-image:not(.hero-image-iphone) {
    height: 72vw;
    margin-top: 18px;
    border-radius: 14px;
  }

  .hero-iphone .hero-copy h1 {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1.07;
  }

  .hero-iphone .hero-subhead {
    font-size: clamp(16px, 4.2vw, 21px);
    line-height: 1.25;
    margin-top: 8px;
  }

  .hero-iphone .hero-cta {
    margin-top: 18px;
  }

  .image-placeholder {
    border-radius: 14px;
    font-size: 13px;
  }

  .hero-neo .hero-copy h2 {
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .hero-neo .hero-copy p:not(.hero-subhead) {
    font-size: clamp(17px, 4.5vw, 22px);
    margin-top: 6px;
  }

  .hero-ipad-air .hero-copy h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-ipad-air .hero-copy p:not(.hero-subhead) {
    font-size: clamp(16px, 4.4vw, 21px);
    margin-top: 6px;
  }

  .airpods-max-bar {
    gap: 8px;
    padding: 10px max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left));
  }

  .airpods-max-stage {
    min-height: min(64vh, 540px);
  }

  .airpods-max-cta {
    gap: 8px 10px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
    padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
    gap: 10px;
  }

  .promo-card-stage {
    min-height: min(92vw, 480px);
    max-height: none;
    border-radius: 14px;
  }

  .promo-card.promo-stack .promo-card-stage {
    min-height: 0;
  }

  .promo-card.promo-stack--overlay .promo-card-stage {
    min-height: min(92vw, 480px);
    border-radius: 0 0 14px 14px;
  }

  .promo-card.promo-stack .promo-image {
    padding: 24px max(16px, env(safe-area-inset-right)) 4px max(16px, env(safe-area-inset-left));
  }

  .promo-card.promo-stack--overlay .promo-image {
    padding: 0;
  }

  .promo-card.promo-stack .promo-copy {
    padding: 10px max(18px, env(safe-area-inset-right)) 26px max(18px, env(safe-area-inset-left));
    max-width: 100%;
  }

  .promo-card.promo-stack--overlay .promo-copy {
    padding: clamp(18px, 4vw, 28px) max(18px, env(safe-area-inset-right)) clamp(16px, 3vw, 24px)
      max(18px, env(safe-area-inset-left));
  }

  .promo-grid .promo-card.promo-stack .promo-photo {
    max-height: min(46vh, 300px);
  }

  .promo-card.promo-stack--overlay .promo-photo {
    max-height: none;
    width: 168%;
    height: 168%;
  }

  .promo-card.promo-stack .promo-copy p:first-of-type {
    font-size: clamp(15px, 4vw, 19px);
  }

  .promo-card .promo-copy {
    padding: 32px max(18px, env(safe-area-inset-right)) min(14vh, 112px)
      max(18px, env(safe-area-inset-left));
    max-width: 100%;
  }

  .promo-copy h3 {
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: 1.07;
    letter-spacing: -0.02em;
  }

  .promo-copy p {
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.28;
  }

  .promo-cta {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 16px;
    max-width: calc(100% - 8px);
    margin-left: auto;
    margin-right: auto;
  }

  .promo-card .promo-copy > .btn-small,
  .promo-cta .btn-small {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 12px;
    font-size: clamp(12px, 3.2vw, 14px);
    min-height: 38px;
  }

  .promo-card .promo-copy > a.btn-small:only-of-type {
    flex: none;
    width: auto;
    max-width: 100%;
    padding: 8px 20px;
  }

  .btn-small {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 15px;
  }

  .promo-card .btn-small {
    min-height: 38px;
  }

  .entertainment-intro {
    padding: 32px 16px 40px;
  }

  .entertainment-intro h2 {
    font-size: clamp(28px, 9vw, 44px);
  }

  .footer-wrap {
    padding: 16px 14px 14px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer-subheading {
    margin-top: 14px;
  }

  .quick-links-band {
    padding: 22px 14px 26px;
  }

  .quick-links-title {
    font-size: 19px;
  }

  .quick-links-pills {
    gap: 8px;
  }

  .quick-links-pills a {
    font-size: 12px;
    padding: 7px 14px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    gap: 6px;
    max-width: calc(100% - 16px);
    padding: 0 max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
  }

  .hero-cta .btn,
  .hero-cta .btn-apple {
    padding: 7px 6px;
    font-size: clamp(11px, 2.9vw, 12px);
    min-height: 36px;
    letter-spacing: -0.02em;
  }

  .hero-iphone .btn-apple {
    font-size: clamp(11px, 3.15vw, 13px);
    padding: 7px 7px;
    min-height: 36px;
  }

  .promo-cta {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: calc(100% - 12px);
  }

  .promo-card .promo-copy > .btn-small,
  .promo-cta .btn-small {
    padding: 7px 8px;
    font-size: clamp(11px, 2.85vw, 13px);
    min-height: 36px;
  }

  .promo-card .promo-copy > a.btn-small:only-of-type {
    padding: 8px 18px;
    flex: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-iphone-slide {
    transition: none;
  }

  .hero-iphone-slide .hero-photo.hero-photo-iphone {
    transform: none;
    object-position: 50% 18%;
  }

  .neo-hero-photo,
  .ipad-hero-photo,
  .promo-photo {
    transform: none;
  }

  .neo-hero-photo {
    object-position: 50% 40%;
  }

  .ipad-hero-photo {
    object-position: 50% 55%;
  }

  .promo-photo {
    object-position: center 58%;
  }
}

/* Homepage — “Explore the lineup.” (matches iphone/iphone.css lineup band) */
.iphone-explore {
  background: #f5f5f7;
  padding: 64px 0 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.iphone-explore-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 max(22px, env(safe-area-inset-right)) 0 max(22px, env(safe-area-inset-left));
}

.iphone-explore-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.iphone-explore-title {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: #1d1d1f;
}

.iphone-explore-link {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  white-space: nowrap;
  color: #06c;
}

.iphone-lineup-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 2px 0 28px;
  scroll-padding-inline: 22px;
}

.iphone-lineup-rail::-webkit-scrollbar {
  display: none;
}

.iphone-lineup-card {
  flex: 0 0 min(372px, calc(100vw - 40px));
  scroll-snap-align: start;
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.07);
}

.iphone-lineup-card-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.iphone-lineup-card-visual--pro,
.iphone-lineup-card-visual--air,
.iphone-lineup-card-visual--std,
.iphone-lineup-card-visual--e {
  background: transparent;
}

.iphone-lineup-card-photo {
  width: 100%;
  height: 125%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 0%;
  display: block;
  flex-shrink: 0;
}

.home-lineup-photo--macbook {
  object-position: 50% 35%;
}

.home-lineup-photo--airpods {
  object-position: 50% 28%;
}

.home-lineup-photo--max {
  object-position: 50% 22%;
}

.iphone-lineup-card-body {
  padding: 22px 28px 36px;
  text-align: center;
  background: #fff;
}

.iphone-lineup-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 18px;
}

.iphone-lineup-swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.iphone-lineup-swatch:hover {
  transform: scale(1.08);
}

.iphone-lineup-swatch.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.12),
    0 0 0 2px #fff,
    0 0 0 3.5px #1d1d1f;
}

.iphone-lineup-swatch:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
}

.iphone-lineup-card-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: #1d1d1f;
}

.iphone-lineup-tagline {
  margin: 0 auto 16px;
  max-width: 300px;
  font-size: 15px;
  line-height: 1.42;
  letter-spacing: -0.016em;
  font-weight: 400;
  color: #6e6e73;
}

.iphone-lineup-price {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}

.iphone-lineup-dagger {
  font-size: 0.75em;
  font-weight: 500;
  vertical-align: super;
  margin-left: 0.04em;
  line-height: 0;
}

.iphone-lineup-footnote .iphone-lineup-dagger {
  font-size: 1em;
  vertical-align: baseline;
  margin-right: 0.2em;
  font-weight: 600;
}

.iphone-lineup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 20px;
}

.iphone-lineup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 22px;
  border-radius: 980px;
  background: #0071e3;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.iphone-lineup-btn:hover {
  background: #0077ed;
  color: #fff;
  text-decoration: none;
}

.iphone-lineup-buy {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #06c;
  text-decoration: none;
}

.iphone-lineup-buy:hover {
  text-decoration: underline;
}

.iphone-lineup-footnote {
  margin: 16px 0 0;
  max-width: 720px;
  font-size: 12px;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: #86868b;
}
