:root {
  --page-bg: #ffffff;
  --surface: #f5f5f7;
  --surface-strong: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --link: #0066cc;
  --button: #0071e3;
  --button-hover: #0077ed;
  --hairline: rgba(0, 0, 0, 0.16);
  --nav-height: 44px;
  --content-width: 1024px;
  --footer-width: 980px;
  --section-gap: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --slide-width: min(86vw, 1250px);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
}

body.is-scroll-locked {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(0, 125, 250, 0.8);
  outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Global navigation                                                          */
/* -------------------------------------------------------------------------- */

.global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
}

.global-nav {
  position: relative;
  z-index: 1003;
  height: var(--nav-height);
  background: rgba(250, 250, 252, 0.82);
  color: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 240ms ease;
}

.global-header.is-expanded .global-nav,
.global-header.is-mobile-open .global-nav {
  background: rgba(250, 250, 252, 0.98);
}

.global-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--content-width));
  height: 100%;
  margin-inline: auto;
}

.global-nav__apple {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 100%;
  place-items: center;
  opacity: 0.88;
  transition: opacity 160ms ease;
}

.global-nav__apple:hover {
  opacity: 1;
}

.global-nav__apple svg {
  width: 14px;
  height: 17px;
  fill: currentColor;
}

.global-nav__desktop {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex: 1 1 auto;
  height: 100%;
  margin-inline: 12px 8px;
}

.global-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.78);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 140ms ease;
}

.global-nav__item:hover,
.global-nav__item[aria-expanded="true"] {
  color: #000;
}

.global-nav__actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
}

.icon-button,
.menu-button {
  display: grid;
  width: 38px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  place-items: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 160ms ease;
}

.icon-button:hover,
.menu-button:hover {
  opacity: 1;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.menu-button {
  position: relative;
  display: none;
}

.menu-button span {
  position: absolute;
  left: 12px;
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 260ms var(--ease-out), top 260ms var(--ease-out);
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 23px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.nav-panel,
.utility-panel {
  position: absolute;
  top: var(--nav-height);
  right: 0;
  left: 0;
  z-index: 1002;
  overflow: hidden;
  background: rgba(250, 250, 252, 0.99);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 200ms ease,
    transform 300ms var(--ease-out),
    visibility 0s linear 300ms;
}

.nav-panel[aria-hidden="false"],
.utility-panel[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 160ms ease,
    transform 300ms var(--ease-out),
    visibility 0s;
}

.nav-panel__inner,
.utility-panel__inner {
  display: grid;
  width: min(100% - 48px, var(--content-width));
  min-height: 320px;
  margin-inline: auto;
  padding: 40px 0 54px;
}

.nav-panel__inner {
  grid-template-columns: minmax(230px, 1.45fr) repeat(2, minmax(150px, 1fr));
  gap: 46px;
}

.nav-group__eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.333;
}

.nav-group__list {
  display: grid;
  gap: 9px;
}

.nav-group--primary .nav-group__list {
  gap: 6px;
}

.nav-group a {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  color: #333336;
  font-size: 12px;
  line-height: 1.42;
}

.nav-group--primary a {
  color: #1d1d1f;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.nav-group a:hover {
  color: #000;
}

.nav-group a:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-group__all {
  margin-top: 12px;
  font-weight: 600;
}

.utility-panel__inner {
  display: block;
  min-height: 300px;
  max-width: 980px;
}

.search-panel__label,
.bag-panel__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}

.search-panel__field-wrap {
  display: flex;
  align-items: center;
  max-width: 760px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.search-panel__field-wrap svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  color: #6e6e73;
}

.search-panel__input {
  width: 100%;
  padding: 8px 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.search-panel__input::placeholder {
  color: #86868b;
}

.search-panel__quick,
.bag-panel__links {
  margin-top: 32px;
}

.search-panel__quick h2,
.bag-panel__links h2 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.search-panel__quick ul,
.bag-panel__links ul {
  display: grid;
  gap: 7px;
}

.search-panel__quick a,
.bag-panel__links a {
  width: fit-content;
  font-size: 14px;
  font-weight: 600;
}

.search-panel__quick a::before {
  content: "→";
  display: inline-block;
  margin-right: 9px;
  color: var(--muted);
}

.bag-panel h2 {
  margin-bottom: 13px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.bag-panel > p {
  color: var(--muted);
  font-size: 14px;
}

.bag-panel > p a {
  color: var(--link);
  text-decoration: underline;
}

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  display: none;
  overflow: hidden;
  background: #fafafc;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 180ms ease,
    transform 280ms var(--ease-out),
    visibility 0s linear 280ms;
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 280ms var(--ease-out),
    visibility 0s;
}

.mobile-menu__scroll {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 34px 48px 80px;
}

.mobile-menu__list {
  display: grid;
  gap: 9px;
}

.mobile-menu__list a {
  display: block;
  padding-block: 3px;
  color: #1d1d1f;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.page-scrim {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}

.page-scrim.is-visible {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 220ms ease,
    visibility 0s;
}

/* -------------------------------------------------------------------------- */
/* Shared buttons and card-link layer                                          */
/* -------------------------------------------------------------------------- */

.button {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 21px;
  border: 1px solid var(--button);
  border-radius: 999px;
  background: var(--button);
  color: #fff;
  font-size: 17px;
  line-height: 1.176;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: var(--button-hover);
  background: var(--button-hover);
}

.button:active {
  transform: scale(0.98);
}

.button--secondary {
  background: transparent;
  color: var(--button);
}

.button--secondary:hover {
  background: var(--button-hover);
  color: #fff;
}

.button--light {
  border-color: #fff;
  background: #fff;
  color: #1d1d1f;
}

.button--light:hover {
  border-color: #f5f5f7;
  background: #f5f5f7;
}

.button--small {
  min-height: 36px;
  padding: 7px 15px;
  font-size: 14px;
  line-height: 1.2858;
}

.cta-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 19px;
  pointer-events: auto;
}

.cta-row--compact {
  gap: 10px;
  margin-top: 16px;
}

.unit-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* -------------------------------------------------------------------------- */
/* Hero units                                                                  */
/* -------------------------------------------------------------------------- */

main {
  position: relative;
}

.hero {
  position: relative;
  isolation: isolate;
  height: 692px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero + .hero {
  margin-top: var(--section-gap);
}

.hero--event {
  background-color: #5477a0;
  background-image:
    var(--asset-hero-event),
    radial-gradient(circle at 50% 30%, rgba(213, 239, 255, 0.95), transparent 15%),
    linear-gradient(180deg, #9cc1e9 0%, #6388b5 55%, #294463 100%);
}

.hero--education {
  background-color: #f5f5f7;
  background-image:
    var(--asset-hero-education),
    linear-gradient(180deg, #f8f8fa 0%, #f1f1f3 100%);
}

.hero--iphone {
  background-color: #f5f5f7;
  background-image:
    var(--asset-hero-iphone),
    linear-gradient(180deg, #f8f8fa 0%, #f1f1f3 100%);
}

.hero__content {
  position: absolute;
  right: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  pointer-events: none;
}

.hero__content--top {
  top: 49px;
}

.hero__content--bottom {
  bottom: 48px;
}

.hero__content--light {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.hero h1,
.hero h2 {
  max-width: 840px;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.07143;
  letter-spacing: -0.005em;
}

.hero p {
  max-width: 720px;
  margin-top: 5px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.14286;
  letter-spacing: 0.007em;
}

.hero sup {
  position: relative;
  top: -0.18em;
  font-size: 0.55em;
  line-height: 0;
}

/* -------------------------------------------------------------------------- */
/* Product promo grid                                                          */
/* -------------------------------------------------------------------------- */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--section-gap);
  padding: var(--section-gap);
}

.promo-card {
  position: relative;
  isolation: isolate;
  height: 580px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.promo-card--mac-mini {
  background-color: #f5f5f7;
  background-image:
    var(--asset-promo-mac-mini),
    linear-gradient(180deg, #fafafa 0%, #ececef 100%);
}

.promo-card--macbook-air {
  background-color: #e9f6fc;
  background-image:
    var(--asset-promo-macbook-air),
    linear-gradient(145deg, #cceefa 0%, #f8fbfd 100%);
}

.promo-card--ipad-air {
  background-color: #dff6fb;
  background-image:
    var(--asset-promo-ipad-air),
    linear-gradient(145deg, #90e5f5 0%, #e9fafd 100%);
}

.promo-card--ipad-pro {
  background-color: #000;
  background-image:
    var(--asset-promo-ipad-pro),
    radial-gradient(circle at 50% 80%, rgba(0, 114, 227, 0.25), transparent 32%),
    #000;
}

.promo-card--trade-in {
  background-color: #f5f5f7;
  background-image:
    var(--asset-promo-trade-in),
    linear-gradient(180deg, #fafafa 0%, #eff0f2 100%);
}

.promo-card--apple-card {
  background-color: #f5f5f7;
  background-image:
    var(--asset-promo-apple-card),
    linear-gradient(180deg, #fafafa 0%, #eff0f2 100%);
}

.promo-card__content {
  position: absolute;
  top: 47px;
  right: 32px;
  left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  pointer-events: none;
}

.promo-card h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.promo-card p {
  max-width: 470px;
  margin-top: 4px;
  font-size: 21px;
  line-height: 1.2381;
  letter-spacing: 0.011em;
}

.promo-card .availability {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2858;
}

.promo-card--dark {
  color: #f5f5f7;
}

.promo-card--dark .button--secondary {
  border-color: #2997ff;
  color: #2997ff;
}

.promo-card--dark .button--secondary:hover {
  border-color: #2997ff;
  background: #2997ff;
  color: #fff;
}

.logo-heading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.logo-heading svg {
  width: 31px;
  height: 37px;
  fill: currentColor;
}

/* -------------------------------------------------------------------------- */
/* Entertainment carousel                                                      */
/* -------------------------------------------------------------------------- */

.entertainment {
  overflow: hidden;
  padding: 67px 0 38px;
  background: #fff;
}

.entertainment__heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: min(100% - 48px, 1250px);
  margin: 0 auto 31px;
}

.entertainment__heading-row h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.0834;
  letter-spacing: -0.003em;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.circle-control,
.play-control {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  place-items: center;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.circle-control:hover,
.play-control:hover {
  background: rgba(0, 0, 0, 0.14);
}

.circle-control:active,
.play-control:active {
  transform: scale(0.94);
}

.circle-control svg {
  width: 20px;
  height: 20px;
}

.carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding-inline: max(24px, calc((100vw - var(--slide-width)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding-inline: max(24px, calc((100vw - var(--slide-width)) / 2));
}

.entertainment-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 var(--slide-width);
  aspect-ratio: 1.87 / 1;
  overflow: hidden;
  border-radius: 0;
  background-color: #1d1d1f;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  opacity: 0.62;
  transform: scale(0.985);
  transition:
    opacity 420ms ease,
    transform 420ms var(--ease-out);
}

.entertainment-card[data-active="true"] {
  opacity: 1;
  transform: scale(1);
}

.entertainment-card--ted {
  background-image:
    var(--asset-tv-ted),
    linear-gradient(135deg, #6181a0 0%, #262f41 100%);
  background-position: center 32%;
}

.entertainment-card--dark-matter {
  background-image:
    var(--asset-tv-dark-matter),
    linear-gradient(135deg, #222f40 0%, #040509 100%);
}

.entertainment-card--f1 {
  background-image:
    var(--asset-tv-f1),
    linear-gradient(135deg, #bb1020 0%, #111 75%);
}

.entertainment-card--lucky {
  background-image:
    var(--asset-tv-lucky),
    linear-gradient(135deg, #744f34 0%, #17110d 100%);
}

.entertainment-card--dink {
  background-image:
    var(--asset-tv-dink),
    linear-gradient(135deg, #4a8bb4 0%, #f1bd4e 100%);
}

.entertainment-card--mayday {
  background-image:
    var(--asset-tv-mayday),
    linear-gradient(135deg, #8a9ca7 0%, #28323a 100%);
}

.entertainment-card__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.18) 46%, transparent 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38) 0%, transparent 50%);
}

.entertainment-card__content {
  position: absolute;
  bottom: 52px;
  left: 52px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  max-width: 470px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.entertainment-card__brand {
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.entertainment-card h3 {
  font-size: 56px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.entertainment-card__content > p:not(.entertainment-card__brand) {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
  font-size: 17px;
  line-height: 1.35;
}

.entertainment-card__content > p strong {
  font-weight: 700;
}

.entertainment-card__content .button {
  margin-top: 19px;
  text-shadow: none;
}

.carousel-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition:
    width 220ms var(--ease-out),
    border-radius 220ms ease,
    background-color 220ms ease;
}

.carousel-dot[aria-selected="true"] {
  width: 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.74);
}

.play-control {
  position: absolute;
  right: max(24px, calc((100vw - 1250px) / 2));
  width: 30px;
  height: 30px;
}

.play-control svg {
  width: 18px;
  height: 18px;
}

.play-control__play {
  display: none;
}

.play-control[aria-pressed="true"] .play-control__pause {
  display: none;
}

.play-control[aria-pressed="true"] .play-control__play {
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                       */
/* -------------------------------------------------------------------------- */

.global-footer {
  background: var(--surface);
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.3334;
}

.global-footer__inner {
  width: min(100% - 44px, var(--footer-width));
  margin-inline: auto;
  padding: 17px 0 22px;
}

.footnotes {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.footnotes p + p {
  margin-top: 9px;
}

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

.footer-column {
  min-width: 0;
}

.footer-column details + details {
  margin-top: 22px;
}

.footer-column summary {
  margin-bottom: 9px;
  color: #1d1d1f;
  font-weight: 600;
  list-style: none;
  pointer-events: none;
}

.footer-column summary::-webkit-details-marker {
  display: none;
}

.footer-column ul {
  display: grid;
  gap: 8px;
}

.footer-column a:hover,
.footer-legal a:hover {
  color: #1d1d1f;
  text-decoration: underline;
}

.footer-shop {
  margin-top: 34px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--hairline);
}

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

.footer-legal {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 28px;
  padding-top: 12px;
}

.footer-legal ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer-legal li {
  padding: 0 10px;
  border-right: 1px solid var(--hairline);
}

.footer-legal li:first-child {
  padding-left: 0;
}

.footer-legal li:last-child {
  border-right: 0;
}

.footer-locale {
  color: #424245;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Tablet                                                                      */
/* -------------------------------------------------------------------------- */

@media (max-width: 1068px) {
  :root {
    --content-width: 980px;
    --slide-width: min(88vw, 1000px);
  }

  .global-nav__inner {
    width: min(100% - 24px, var(--content-width));
  }

  .global-nav__item {
    padding-inline: 6px;
  }

  .hero {
    height: 650px;
  }

  .hero h1,
  .hero h2 {
    font-size: 48px;
  }

  .hero p {
    max-width: 620px;
    font-size: 24px;
  }

  .promo-card {
    height: 520px;
  }

  .promo-card__content {
    top: 42px;
    right: 20px;
    left: 20px;
  }

  .promo-card h2 {
    font-size: 36px;
  }

  .promo-card p {
    max-width: 420px;
    font-size: 19px;
  }

  .entertainment-card__content {
    bottom: 40px;
    left: 40px;
  }

  .entertainment-card h3 {
    font-size: 48px;
  }
}

/* -------------------------------------------------------------------------- */
/* Compact navigation                                                         */
/* -------------------------------------------------------------------------- */

@media (max-width: 833px) {
  :root {
    --nav-height: 48px;
  }

  .global-nav__inner {
    width: 100%;
    padding-inline: 16px 10px;
  }

  .global-nav__desktop {
    display: none;
  }

  .global-nav__apple {
    margin-right: auto;
  }

  .menu-button {
    display: grid;
  }

  .nav-panel {
    display: none;
  }

  .utility-panel__inner {
    width: calc(100% - 64px);
    padding-top: 35px;
  }

  .mobile-menu {
    display: block;
  }

  .page-scrim.is-mobile-menu {
    display: none;
  }

  .search-panel__input {
    font-size: 26px;
  }

  .promo-card {
    height: 490px;
  }

  .entertainment__heading-row h2 {
    font-size: 42px;
  }

  .footer-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-legal {
    grid-template-columns: 1fr auto;
  }

  .footer-legal ul {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* -------------------------------------------------------------------------- */
/* Phone                                                                       */
/* -------------------------------------------------------------------------- */

@media (max-width: 734px) {
  :root {
    --section-gap: 12px;
    --slide-width: calc(100vw - 44px);
  }

  .global-nav__actions .icon-button {
    width: 40px;
  }


  .utility-panel__inner {
    width: calc(100% - 48px);
    min-height: 310px;
    padding: 31px 0 42px;
  }

  .search-panel__input {
    font-size: 23px;
  }

  .mobile-menu__scroll {
    padding: 34px 46px 70px;
  }

  .hero {
    height: 548px;
  }

  .hero__content {
    right: 18px;
    left: 18px;
  }

  .hero__content--top {
    top: 37px;
  }

  .hero__content--bottom {
    bottom: 36px;
  }

  .hero h1,
  .hero h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .hero p {
    max-width: 370px;
    margin-top: 4px;
    font-size: 19px;
    line-height: 1.21053;
    letter-spacing: 0.012em;
  }

  .hero--education p {
    max-width: 345px;
  }

  .cta-row {
    gap: 10px;
    margin-top: 16px;
  }

  .button {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.2858;
  }

  .promo-grid {
    grid-template-columns: 1fr;
    padding: var(--section-gap) 0 0;
  }

  .promo-card {
    height: 548px;
  }

  .promo-card__content {
    top: 38px;
    right: 18px;
    left: 18px;
  }

  .promo-card h2 {
    font-size: 32px;
    line-height: 1.125;
  }

  .promo-card p {
    max-width: 350px;
    margin-top: 3px;
    font-size: 19px;
    line-height: 1.21053;
  }

  .promo-card .availability {
    margin-top: 6px;
    font-size: 12px;
  }

  .logo-heading svg {
    width: 24px;
    height: 29px;
  }

  .entertainment {
    padding: 50px 0 30px;
  }

  .entertainment__heading-row {
    align-items: center;
    width: calc(100% - 44px);
    margin-bottom: 22px;
  }

  .entertainment__heading-row h2 {
    max-width: 250px;
    font-size: 32px;
    line-height: 1.125;
  }

  .carousel-controls {
    gap: 7px;
  }

  .circle-control {
    width: 32px;
    height: 32px;
  }

  .carousel-track {
    gap: 10px;
    padding-inline: 22px;
  }

  .carousel-viewport {
    scroll-padding-inline: 22px;
  }

  .entertainment-card {
    aspect-ratio: 1.25 / 1;
    min-height: 278px;
    border-radius: 0;
  }

  .entertainment-card__scrim {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.12) 72%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 60%);
  }

  .entertainment-card__content {
    right: 24px;
    bottom: 24px;
    left: 24px;
    max-width: 310px;
  }

  .entertainment-card__brand {
    display: none;
  }

  .entertainment-card h3 {
    font-size: 34px;
    line-height: 1;
  }

  .entertainment-card__content > p:not(.entertainment-card__brand) {
    gap: 5px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.25;
  }

  .entertainment-card__content .button {
    margin-top: 12px;
  }

  .carousel-footer {
    margin-top: 9px;
  }

  .carousel-dots {
    gap: 8px;
  }

  .carousel-dot {
    width: 7px;
    height: 7px;
  }

  .carousel-dot[aria-selected="true"] {
    width: 18px;
  }

  .play-control {
    right: 22px;
    width: 28px;
    height: 28px;
  }

  .global-footer__inner {
    width: calc(100% - 32px);
    padding-top: 16px;
  }

  .footer-directory {
    display: block;
    padding-top: 9px;
  }

  .footer-column details,
  .footer-column details + details {
    margin: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .footer-column summary {
    position: relative;
    margin: 0;
    padding: 12px 28px 12px 0;
    color: #1d1d1f;
    font-weight: 400;
    cursor: pointer;
    pointer-events: auto;
  }

  .footer-column summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 8px;
    font-size: 15px;
    font-weight: 300;
    transform: translateY(-50%);
    transition: transform 180ms ease;
  }

  .footer-column details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
  }

  .footer-column ul {
    gap: 0;
    padding: 1px 14px 12px;
  }

  .footer-column li a {
    display: block;
    padding: 6px 0;
  }

  .footer-shop {
    margin-top: 20px;
    padding-bottom: 12px;
    border-bottom: 0;
  }

  .footer-legal {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-top: 5px;
  }

  .footer-legal ul {
    order: 2;
    gap: 5px 0;
    margin-top: 5px;
  }

  .footer-legal li {
    padding-inline: 0 10px;
    margin-right: 10px;
  }

  .footer-locale {
    order: -1;
    margin-bottom: 8px;
  }
}

@media (max-width: 390px) {
  .hero h1,
  .hero h2 {
    font-size: 36px;
  }

  .hero p,
  .promo-card p {
    font-size: 18px;
  }

  .hero--education .cta-row {
    margin-top: 13px;
  }

  .mobile-menu__scroll {
    padding-inline: 38px;
  }

  .mobile-menu__list a {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
