/* ==========================================================================
   iPhone 18 Pro — concept experience
   Design tokens, layout system, components and motion.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

:root {
  --ink: #0b0b0d;
  --ink-soft: #131316;
  --ink-2: #08080a;
  --paper: #f5f5f7;
  --white: #ffffff;
  --muted: #6e6e73;
  --muted-dark: #a1a1a6;
  --line: rgba(0, 0, 0, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --burgundy: #6b1f30;
  --burgundy-bright: #a8364e;
  --rose: #e7a4b4;
  --glacier: #c3d3d3;
  --blue: #5b8cff;
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 52px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, p, dl, dd, figure, fieldset {
  margin: 0;
}

fieldset {
  border: 0;
  padding: 0;
}

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

::selection {
  background: var(--burgundy);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--burgundy-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--ink :focus-visible,
.hero :focus-visible,
.final-cta :focus-visible {
  outline-color: var(--rose);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 132px);
}

section[id],
main[id] {
  scroll-margin-top: calc(var(--nav-h) + 14px);
}

.media-missing {
  background:
    linear-gradient(135deg, rgba(107, 31, 48, 0.14), rgba(88, 129, 139, 0.14)),
    #ececf0;
}

.section--paper {
  background: var(--paper);
}

.section--ink {
  background: var(--ink-2);
  color: var(--paper);
}

.section--ink .lede,
.section--ink .muted {
  color: var(--muted-dark);
}

/* ---------- Typography ---------- */

h1 {
  font-size: clamp(3.6rem, 11vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: -0.058em;
  font-weight: 700;
}

h2 {
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.048em;
  font-weight: 650;
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 620;
}

h4 {
  font-size: 1.06rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 620;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-bright);
  margin-bottom: 18px;
}

.section--ink .eyebrow,
.hero .eyebrow,
.final-cta .eyebrow {
  color: var(--rose);
}

.eyebrow--new {
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(231, 164, 180, 0.6);
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(231, 164, 180, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(231, 164, 180, 0); }
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--muted);
  max-width: 62ch;
}

.lede.center {
  margin-inline: auto;
  text-align: center;
}

.muted {
  color: var(--muted);
}

.grad-text {
  background: linear-gradient(100deg, #f4c3ce 0%, #b34b62 42%, #7d2438 72%, #c3d3d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-head--split .lede,
.section-aside {
  max-width: 44ch;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
  padding-bottom: 6px;
}

.section--ink .section-aside {
  color: var(--muted-dark);
}

.center {
  margin-inline: auto;
  text-align: center;
}

.fineprint {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #7d2538 0%, #5c1928 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(107, 31, 48, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  backdrop-filter: blur(12px);
}

.section--paper .btn-ghost,
.switch .btn-ghost,
.explore .btn-ghost {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--ink);
}

.btn-xs {
  min-height: 30px;
  padding: 5px 14px;
  font-size: 0.78rem;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 0.86rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #8f2a40 0%, #6b1f30 100%);
  box-shadow: 0 14px 34px rgba(107, 31, 48, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.section--paper .btn-ghost:hover,
.switch .btn-ghost:hover,
.explore .btn-ghost:hover {
  border-color: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.06);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--burgundy-bright);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.link-arrow span {
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--burgundy);
}

.link-arrow:hover span {
  transform: translateX(3px);
}

.section--ink .link-arrow {
  color: var(--rose);
}

.section--ink .link-arrow:hover {
  color: #fff;
}

.round-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.round-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.round-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

/* ---------- Announcement ---------- */

.announce {
  background: #111114;
  color: #f5f5f7;
  font-size: 0.8rem;
  line-height: 1.4;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
  text-align: center;
}

.announce p {
  max-width: 80ch;
}

.announce a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announce-cta {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Global nav ---------- */

.global-nav {
  background: rgba(251, 251, 253, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.global-inner {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.apple-mark {
  display: flex;
  align-items: center;
  color: #1d1d1f;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.apple-mark:hover {
  opacity: 1;
}

.global-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.global-links a {
  font-size: 0.72rem;
  color: #1d1d1f;
  opacity: 0.82;
  padding: 8px 4px;
  transition: opacity 0.2s;
}

.global-links a:hover {
  opacity: 1;
}

.global-utils {
  display: flex;
  align-items: center;
  gap: 18px;
}

.global-utils a {
  color: #1d1d1f;
  opacity: 0.82;
  display: flex;
}

.global-utils a:hover {
  opacity: 1;
}

/* ---------- Local nav ---------- */

.local-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.local-nav.is-scrolled {
  background: rgba(251, 251, 253, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.local-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 26px;
}

.local-title {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.local-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  flex: 1;
  justify-content: flex-end;
}

.local-links a {
  position: relative;
  font-size: 0.76rem;
  color: #1d1d1f;
  opacity: 0.8;
  padding: 6px 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.local-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.local-links a:hover,
.local-links a.is-active {
  opacity: 1;
}

.local-links a.is-active::after {
  transform: scaleX(1);
}

.local-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 22px; }

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

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

.mobile-menu {
  padding: 8px 24px 24px;
  background: rgba(251, 251, 253, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  animation: menuIn 0.3s var(--ease);
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.mobile-menu ul {
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
}

.mobile-menu li a {
  display: block;
  padding: 12px 0;
  font-size: 1.05rem;
  font-weight: 550;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mobile-menu .btn {
  width: 100%;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--burgundy), var(--rose), var(--glacier));
  transition: width 0.1s linear;
}

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

.hero {
  position: relative;
  overflow: clip;
  background: var(--ink-2);
  color: var(--paper);
  padding-top: clamp(54px, 7vw, 96px);
  isolation: isolate;
}

.hero-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 90vh;
  z-index: -1;
  background:
    radial-gradient(42% 48% at 26% 32%, rgba(131, 35, 58, 0.5) 0%, transparent 68%),
    radial-gradient(36% 44% at 76% 22%, rgba(88, 129, 139, 0.34) 0%, transparent 70%),
    radial-gradient(50% 50% at 50% 90%, rgba(72, 22, 38, 0.32) 0%, transparent 70%);
  filter: blur(10px);
  animation: aurora 16s ease-in-out infinite alternate;
}

@keyframes aurora {
  from { transform: translate3d(-1.5%, 0, 0) scale(1); }
  to { transform: translate3d(1.5%, 2%, 0) scale(1.06); }
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  background: linear-gradient(180deg, #ffffff 20%, #cfcfd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s var(--ease) both;
}

.hero-tagline {
  font-size: clamp(2.4rem, 6.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 650;
  margin-top: 8px;
  animation: rise 0.9s 0.08s var(--ease) both;
}

.hero-lede {
  max-width: 56ch;
  margin-top: 24px;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.5;
  color: #c7c7cc;
  letter-spacing: -0.01em;
  animation: rise 0.9s 0.16s var(--ease) both;
}

.hero .cta-row {
  justify-content: center;
  margin-top: 30px;
  animation: rise 0.9s 0.24s var(--ease) both;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: #8e8e93;
  animation: rise 0.9s 0.3s var(--ease) both;
}

.hero-note sup {
  color: var(--rose);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero-visual {
  position: relative;
  width: min(1180px, 100% - 40px);
  margin: clamp(34px, 5vw, 62px) auto 0;
  border-radius: clamp(24px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(80% 90% at 50% 10%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    #0c0c0f;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-visual img {
  width: 100%;
  height: auto;
  transform: scale(1.005);
  transition: transform 1.2s var(--ease);
}

.hero-visual:hover img {
  transform: scale(1.025);
}

.hero-visual-fade {
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(to top, var(--ink-2), transparent);
  pointer-events: none;
}

.spec-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(30px, 4vw, 50px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.spec-rail > div {
  padding: 0 22px;
  border-left: 1px solid var(--line-dark);
}

.spec-rail > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.spec-rail dt {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8e8e93;
  margin-bottom: 8px;
}

.spec-rail dd {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.spec-rail dd span {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 400;
  color: #8e8e93;
  letter-spacing: 0;
}

/* ---------- Highlights ---------- */

.highlights-scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 4px 4px 8px;
  scrollbar-width: none;
  cursor: grab;
}

.highlights-scroller::-webkit-scrollbar {
  display: none;
}

.highlights-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.hi-card {
  flex: 0 0 clamp(280px, 33vw, 396px);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 12px 12px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.1);
}

.hi-media {
  aspect-ratio: 2.06;
  border-radius: 18px;
  overflow: hidden;
  background: #e9e9ee;
  margin-bottom: 20px;
}

.hi-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hi-card:hover .hi-media img {
  transform: scale(1.035);
}

.hi-kicker {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--burgundy-bright);
  margin-bottom: 10px;
}

.hi-card h3 {
  font-size: 1.32rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hi-card > p:last-child {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.scroller-progress {
  height: 2px;
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.09);
  border-radius: 2px;
  overflow: hidden;
}

.scroller-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--burgundy);
  border-radius: 2px;
  transition: transform 0.15s linear;
  transform-origin: left center;
}

/* ---------- Upgrade ---------- */

.upgrade {
  background: #fff;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.upgrade-copy h2 {
  margin-bottom: 22px;
}

.upgrade-copy .lede {
  margin-bottom: 30px;
}

.select-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.select-wrap {
  position: relative;
  max-width: 360px;
}

.select-wrap select {
  appearance: none;
  width: 100%;
  min-height: 50px;
  padding: 0 46px 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  font-size: 0.98rem;
  font-weight: 550;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.select-wrap select:hover {
  border-color: rgba(0, 0, 0, 0.35);
}

.select-wrap select:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 31, 48, 0.12);
  outline: none;
}

.select-wrap svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.upgrade-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.upgrade-media {
  aspect-ratio: 1.72;
  border-radius: 22px;
  overflow: hidden;
  background: #0d0d10;
  margin-bottom: 26px;
}

.upgrade-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upgrade-kicker {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 0 14px;
  margin-bottom: 12px;
}

.upgrade-kicker strong {
  color: var(--ink);
}

.upgrade-stats {
  padding: 0 14px 10px;
}

.upgrade-stats li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.up-num {
  flex: 0 0 auto;
  min-width: 104px;
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--burgundy);
}

.up-label {
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--muted);
}

.upgrade-stats li.is-updating .up-num {
  animation: swap 0.45s var(--ease);
}

@keyframes swap {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: none; }
}

/* ---------- Design ---------- */

.design {
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(107, 31, 48, 0.28) 0%, transparent 65%),
    var(--ink-2);
}

.design-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.design-head .lede {
  padding-bottom: 8px;
}

.design-stage {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.design-media {
  position: relative;
  aspect-ratio: 1.68;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
}

.design-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s var(--ease), transform 0.9s var(--ease);
}

.design-shot.is-active {
  opacity: 1;
  transform: scale(1);
}

.finish-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  font-size: 0.8rem;
  font-weight: 550;
}

.finish-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.ar-link {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  font-size: 0.78rem;
  font-weight: 550;
  transition: background 0.2s;
}

.ar-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.design-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.swatches legend,
.control-label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8e8e93;
  margin-bottom: 12px;
}

.swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 0.84rem;
  transition: border-color 0.2s, background 0.2s;
}

.swatch:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.swatch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.swatch:has(input:checked) {
  border-color: var(--rose);
  background: rgba(231, 164, 180, 0.1);
}

.swatch:has(input:focus-visible) {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.swatch-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.4);
  flex: 0 0 auto;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.segmented button {
  border: 0;
  background: transparent;
  color: #a1a1a6;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.segmented button.is-active {
  background: #fff;
  color: var(--ink);
}

.size-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #8e8e93;
}

.design-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.design-specs > div {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line-dark);
}

.design-specs dt {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.design-specs dd {
  font-size: 0.78rem;
  color: #8e8e93;
}

/* ---------- Cameras ---------- */

.cameras {
  background:
    radial-gradient(50% 34% at 50% 0%, rgba(255, 255, 255, 0.055) 0%, transparent 70%),
    #08080a;
  padding-bottom: 0;
}

.camera-intro {
  max-width: 980px;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.camera-intro h2 {
  margin-bottom: 22px;
}

.camera-hero {
  width: min(1500px, 100%);
  margin-inline: auto;
  border-radius: clamp(0px, 2vw, 32px);
  overflow: hidden;
}

.camera-hero img {
  width: 100%;
  height: auto;
}

.camera-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  margin-top: clamp(36px, 5vw, 64px);
}

.camera-spec {
  padding: 28px 26px 8px 0;
  border-right: 1px solid var(--line-dark);
}

.camera-spec:last-child {
  border-right: 0;
}

.camera-spec:not(:first-child) {
  padding-left: 26px;
}

.spec-big {
  display: block;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--paper);
  margin-bottom: 10px;
}

.spec-big small {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rose);
  margin-left: 2px;
}

.camera-spec h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.camera-spec p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #8e8e93;
}

/* Aperture */

.aperture {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-top: clamp(64px, 9vw, 120px);
}

.aperture-copy h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

.aperture-copy > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted-dark);
  margin-bottom: 28px;
}

.ap-stops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ap-stop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.ap-stop:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.ap-stop.is-active {
  border-color: var(--rose);
  background: rgba(231, 164, 180, 0.1);
}

.ap-f {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ap-l {
  font-size: 0.72rem;
  color: #8e8e93;
}

.ap-stop.is-active .ap-l {
  color: var(--rose);
}

.ap-stage {
  position: relative;
  aspect-ratio: 1.62;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
}

.ap-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s var(--ease), transform 1.1s var(--ease);
}

.ap-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.ap-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 3px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(8, 8, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ap-value {
  grid-row: span 2;
  align-self: center;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--rose);
}

.ap-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.ap-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #c7c7cc;
}

/* Controls bento */

.controls-head {
  margin-top: clamp(72px, 10vw, 130px);
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tile {
  position: relative;
  height: clamp(230px, 26vw, 320px);
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.tile--wide {
  grid-column: span 2;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.tile:hover img {
  transform: scale(1.04);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.25) 38%, transparent 70%);
  pointer-events: none;
}

.tile figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
}

.tile figcaption span {
  display: block;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  margin-bottom: 3px;
}

.tile figcaption p {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
}

/* Pro video */

.video-block {
  margin-top: clamp(72px, 9vw, 120px);
  padding-block: clamp(60px, 8vw, 100px);
  background: #050506;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-hero {
  width: min(1300px, 100% - 40px);
  margin: 0 auto clamp(36px, 4vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-hero img {
  width: 100%;
  height: auto;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.video-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 18px;
  background: #111;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease);
}

.video-card:hover img {
  transform: scale(1.015);
}

.video-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.video-card p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #8e8e93;
}

/* ---------- Battery ---------- */

.battery {
  background:
    radial-gradient(50% 50% at 78% 18%, rgba(62, 94, 104, 0.28) 0%, transparent 65%),
    radial-gradient(40% 40% at 12% 80%, rgba(107, 31, 48, 0.22) 0%, transparent 70%),
    var(--ink-2);
  padding-top: clamp(80px, 10vw, 140px);
}

.battery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.battery-copy h2 {
  margin-bottom: 20px;
}

.mega-stat {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 0.82;
  margin: 6px 0 6px -6px;
}

.mega-num {
  font-size: clamp(7rem, 17vw, 15rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  background: linear-gradient(180deg, #ffffff 10%, #9f9fa6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mega-unit {
  font-size: clamp(1.2rem, 2.4vw, 2.2rem);
  font-weight: 600;
  color: var(--rose);
  padding-top: 0.5em;
  letter-spacing: -0.03em;
}

.mega-label {
  font-size: 1rem;
  color: #c7c7cc;
  margin-bottom: 18px;
}

.mega-label sup {
  color: var(--rose);
}

.battery-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.battery-media img {
  width: 100%;
  height: auto;
}

.charge-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: clamp(44px, 6vw, 72px);
}

.charge-card {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.charge-card h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  margin-bottom: 8px;
}

.charge-card p:not(.eyebrow) {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #8e8e93;
  max-width: 40ch;
}

.charge-ring {
  --p: 0;
  flex: 0 0 auto;
  width: clamp(124px, 13vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--glacier) calc(var(--p) * 1%), rgba(255, 255, 255, 0.09) 0);
  display: grid;
  place-items: center;
  position: relative;
  transition: --p 1.5s var(--ease);
}

.charge-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.charge-ring.is-charged {
  --p: 50;
}

.charge-pct {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.charge-pct small {
  font-size: 0.5em;
  color: var(--rose);
  margin-left: 2px;
}

.charge-card--wide {
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(107, 31, 48, 0.28), rgba(255, 255, 255, 0.035));
}

.charge-card--wide img {
  width: 52px;
  height: auto;
  opacity: 0.9;
}

/* ---------- Performance ---------- */

.performance {
  background:
    radial-gradient(45% 40% at 50% 12%, rgba(52, 86, 165, 0.24) 0%, transparent 65%),
    var(--ink-2);
  overflow: hidden;
}

.perf-glow {
  position: absolute;
  inset: auto 10% -30%;
  height: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(91, 140, 255, 0.16) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.perf-head {
  max-width: 900px;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.perf-head h2 {
  margin-bottom: 22px;
}

.chip-visual {
  width: min(1180px, 100%);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0c;
}

.chip-visual img {
  width: 100%;
  height: auto;
}

.perf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-dark);
}

.perf-stats > div {
  padding: 26px 24px 8px 0;
  border-right: 1px solid var(--line-dark);
}

.perf-stats > div:last-child {
  border-right: 0;
}

.perf-stats > div:not(:first-child) {
  padding-left: 24px;
}

.perf-stats dt {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 10px;
}

.perf-stats .unit {
  color: var(--rose);
  font-size: 0.55em;
  margin-left: 1px;
}

.perf-stats dd {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #8e8e93;
}

.vapor-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
}

.vapor-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vapor-media img {
  width: 100%;
  height: auto;
}

.vapor-copy h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.vapor-copy > p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted-dark);
  margin-bottom: 26px;
}

.icon-points {
  display: grid;
  gap: 18px;
}

.icon-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.icon-point img {
  width: auto;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.icon-point h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.icon-point p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #8e8e93;
}

/* ---------- Family tabs ---------- */

.family {
  background: var(--paper);
}

.tabs {
  margin-top: 10px;
}

.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: clamp(34px, 4vw, 52px);
}

.tablist button {
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #55555a;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s;
}

.tablist button:hover {
  color: var(--ink);
}

.tablist button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.tabpanel[hidden] {
  display: none;
}

.tabpanel {
  animation: panelIn 0.45s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.panel-intro {
  max-width: 860px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.panel-intro h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.panel-intro p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 66ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 10px 10px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: #eee;
  margin-bottom: 14px;
}

.feature-card h4 {
  font-size: 0.98rem;
  margin: 0 6px 4px;
}

.feature-card p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 6px;
}

.feature-card .link-arrow {
  margin: 8px 6px 0;
  font-size: 0.8rem;
}

.feature-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Accessories ---------- */

.accessories {
  background:
    radial-gradient(60% 70% at 88% 40%, rgba(107, 31, 48, 0.3) 0%, transparent 65%),
    var(--ink-2);
  overflow: hidden;
}

.accessories-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.accessories-copy h2 {
  margin-bottom: 20px;
}

.accessories-copy p {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted-dark);
  margin-bottom: 28px;
  max-width: 46ch;
}

.accessories-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.accessories-media img {
  width: 100%;
  height: auto;
}

/* ---------- Shop ---------- */

.shop {
  background: #fff;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shop-card {
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 10px 10px 22px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
}

.shop-card img {
  width: 100%;
  aspect-ratio: 1.31;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
  background: #e9e9ee;
}

.shop-card h3 {
  font-size: 1.12rem;
  margin: 0 10px 6px;
}

.shop-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 10px 14px;
}

.shop-card .link-arrow {
  margin-left: 10px;
  font-size: 0.82rem;
}

/* ---------- Switch ---------- */

.switch {
  background:
    radial-gradient(55% 60% at 82% 50%, rgba(107, 31, 48, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, #f5f5f7 0%, #eeeef1 100%);
}

.switch-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.switch-copy h2 {
  margin-bottom: 22px;
}

.switch-copy .lede {
  margin-bottom: 26px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: #3a3a3c;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--burgundy);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.6 17.2 4.8 12.4l1.4-1.4 3.4 3.4 7.2-7.2 1.4 1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.6 17.2 4.8 12.4l1.4-1.4 3.4 3.4 7.2-7.2 1.4 1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.switch-media {
  display: grid;
  gap: 14px;
}

.switch-media > img {
  width: min(320px, 100%);
  height: auto;
  margin-inline: auto;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.switch-tradein {
  background: #fff;
  border-radius: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.switch-tradein img {
  height: 26px;
  width: auto;
  margin-bottom: 10px;
}

.switch-tradein p {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ---------- Specs ---------- */

.specs {
  background: var(--paper);
}

.spec-table {
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row h3 {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  padding-top: 2px;
}

.spec-row p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #3a3a3c;
  max-width: 78ch;
}

.spec-row p + p {
  margin-top: 10px;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-tags span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.72rem;
  font-weight: 550;
  color: #55555a;
}

/* ---------- Explore ---------- */

.explore {
  background: #fff;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.explore-card {
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.explore-media {
  height: 240px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.explore-media img {
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 18px;
}

.explore-media--duo img {
  max-height: 230px;
}

.explore-flag {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy-bright);
  margin-bottom: 8px;
}

.explore-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 8px;
}

.explore-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 44ch;
}

.mini-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}

.mini-specs li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 10px 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
}

.mini-specs span {
  color: var(--muted);
}

.mini-specs strong {
  font-weight: 600;
  font-size: 0.82rem;
}

.explore-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: auto;
}

/* ---------- Environment ---------- */

.environment {
  background:
    radial-gradient(55% 55% at 80% 10%, rgba(38, 92, 66, 0.26) 0%, transparent 65%),
    #080a09;
}

.env-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.env-head h2 {
  margin-bottom: 14px;
}

.env-head .link-arrow {
  padding-bottom: 8px;
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.env-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.env-card img {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 22px;
}

.env-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.env-card h3 strong {
  color: var(--glacier);
}

.env-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #8e8e93;
}

/* ---------- Values ---------- */

.values {
  background: var(--paper);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-card img {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 22px;
}

.value-card h3 {
  font-size: 1.22rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 18px;
}

.value-card .link-arrow {
  margin-top: auto;
  font-size: 0.84rem;
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--paper);
  padding-block: clamp(90px, 12vw, 160px);
  text-align: center;
  isolation: isolate;
}

.final-glow {
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(35% 45% at 30% 40%, rgba(131, 35, 58, 0.45) 0%, transparent 70%),
    radial-gradient(30% 40% at 72% 30%, rgba(88, 129, 139, 0.3) 0%, transparent 70%);
  filter: blur(20px);
}

.final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta h2 {
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

.final-cta p:not(.eyebrow) {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: #c7c7cc;
  margin-bottom: 30px;
}

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

.site-footer {
  background: var(--paper);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
  padding-block: 44px 36px;
}

.footnotes-block {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footnotes-block h2 {
  font-size: 0.8rem;
  letter-spacing: 0;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 12px;
}

.footnotes {
  list-style: decimal;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  max-width: 110ch;
}

.footnotes li::marker {
  color: #86868b;
}

.footnote-legal {
  margin-top: 14px;
  color: #5f5f64;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.footer-col h3 {
  font-size: 0.74rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: 0;
  margin-bottom: 8px;
}

.footer-col ul {
  margin-bottom: 20px;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-col a {
  color: #424245;
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-note {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.footer-note a {
  color: var(--burgundy-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 20px;
}

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

.footer-legal li {
  border-right: 1px solid #d2d2d7;
  padding: 0 10px;
}

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

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

.footer-legal a {
  color: #424245;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.locale {
  margin-left: auto;
  color: #424245;
}

.disclaimer {
  margin-top: 20px;
  color: #5f5f64;
  font-size: 0.68rem;
  max-width: 100ch;
}

/* ---------- Reveal & motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero h1,
  .hero-tagline,
  .hero-lede,
  .hero .cta-row,
  .hero-note {
    animation: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .local-links { gap: 14px; }
  .local-links a { font-size: 0.72rem; }
  .global-links { gap: 4px; }
  .global-links a { font-size: 0.68rem; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid--three { grid-template-columns: repeat(3, 1fr); }
  .perf-stats { grid-template-columns: repeat(2, 1fr); }
  .perf-stats > div:nth-child(2) { border-right: 0; }
  .perf-stats > div:nth-child(3),
  .perf-stats > div:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .perf-stats > div:nth-child(3) { padding-left: 0; }
  .camera-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .camera-spec:nth-child(2) { border-right: 0; }
  .camera-spec:nth-child(3),
  .camera-spec:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .camera-spec:nth-child(3) { padding-left: 0; }
}

@media (max-width: 900px) {
  .global-links { display: none; }
  .global-inner { justify-content: space-between; }
  .global-utils { margin-left: auto; }
  .local-links { display: none; }
  .local-actions { margin-left: auto; }
  .menu-toggle { display: block; }

  .upgrade-grid,
  .battery-grid,
  .design-stage,
  .aperture,
  .vapor-grid,
  .accessories-grid,
  .switch-grid {
    grid-template-columns: 1fr;
  }

  .design-head { grid-template-columns: 1fr; gap: 18px; }
  .design-media { aspect-ratio: 1.8; }
  .design-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .design-specs { grid-column: span 2; }

  .battery-copy { order: 1; }
  .battery-media { order: 2; }
  .charge-grid { grid-template-columns: 1fr; }

  .accessories-copy { order: 1; }
  .accessories-media { order: 2; }

  .switch-media { order: 2; }
  .switch-copy { order: 1; }

  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .explore-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: 1fr; }
  .env-head { grid-template-columns: 1fr; }
  .footer-directory { grid-template-columns: repeat(3, 1fr); }

  .control-grid { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--three { grid-template-columns: repeat(2, 1fr); }

  .spec-row { grid-template-columns: 180px 1fr; gap: 20px; }
  .section-head--split { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-head--split .lede,
  .section-aside { max-width: 60ch; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .announce { font-size: 0.72rem; }
  .announce-inner { flex-direction: column; gap: 2px; padding: 8px 0; }
  .announce-cta { display: none; }

  .hero { padding-top: 44px; }
  .hero-visual { width: calc(100% - 24px); border-radius: 22px; }
  .spec-rail { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .spec-rail > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec-rail > div:nth-child(3),
  .spec-rail > div:nth-child(4) { border-top: 1px solid var(--line-dark); padding-top: 18px; }
  .spec-rail > div:nth-child(4) { padding-left: 18px; }

  .hi-card { flex-basis: 84vw; }

  .upgrade-stats li { flex-direction: column; gap: 2px; }
  .up-num { min-width: 0; }

  .design-panel { grid-template-columns: 1fr; }
  .design-specs { grid-column: auto; }
  .design-media { aspect-ratio: 1.5; }
  .ar-link { display: none; }

  .camera-spec-grid { grid-template-columns: 1fr; }
  .camera-spec { border-right: 0; padding-left: 0; }
  .camera-spec + .camera-spec { border-top: 1px solid var(--line-dark); padding-top: 22px; }

  .ap-stops { grid-template-columns: 1fr 1fr; }
  .ap-stage { aspect-ratio: 1.3; }
  .ap-caption { grid-template-columns: 1fr; }
  .ap-value { grid-row: auto; }

  .control-grid { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .tile { height: 270px; }

  .video-grid { grid-template-columns: 1fr; }

  .charge-card { flex-direction: column; align-items: flex-start; }
  .charge-card--wide { flex-direction: row; align-items: center; }

  .perf-stats { grid-template-columns: 1fr 1fr; }
  .vapor-copy h3 br { display: none; }

  .tablist { width: 100%; border-radius: 16px; }
  .tablist button { flex: 1; padding: 10px 12px; font-size: 0.78rem; }
  .feature-grid,
  .feature-grid--three { grid-template-columns: 1fr 1fr; }

  .shop-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .mini-specs { grid-template-columns: 1fr 1fr; }
  .explore-media { height: 200px; }

  .env-grid { grid-template-columns: 1fr; }
  .footer-directory { grid-template-columns: 1fr 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .locale { margin-left: 0; }
}

@media (max-width: 420px) {
  h1 { font-size: 3.1rem; }
  .hero-tagline { font-size: 2.4rem; }
  .feature-grid,
  .feature-grid--three { grid-template-columns: 1fr; }
  .footer-directory { grid-template-columns: 1fr; }
  .perf-stats { grid-template-columns: 1fr; }
  .perf-stats > div { border-right: 0; padding-left: 0 !important; }
  .perf-stats > div + div { border-top: 1px solid var(--line-dark); }
}
