/* Apple collaboration — a light, precise product theatre. */

body[data-page="apple"] { background: #f5f5f7; }

.apple-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(46px, 6vh, 76px));
  padding-bottom: 0;
  background:
    radial-gradient(70% 60% at 50% 18%, #ffffff 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #f5f5f7 0%, #f0f0f2 74%, #e9e9ec 100%);
  color: #1d1d1f;
  isolation: isolate;
}
.apple-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(60% 70% at 50% 45%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 45%, #000, transparent 80%);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}
.apple-hero__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.apple-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6e6e73;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.apple-hero__eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #0b7a4d; box-shadow: 0 0 0 4px rgba(11, 122, 77, 0.08); }
.apple-hero h1 {
  margin-top: 22px;
  font-size: clamp(56px, 8.4vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 600;
  color: #1d1d1f;
  text-wrap: balance;
}
.apple-hero h1 span {
  display: block;
  background: linear-gradient(100deg, #1d1d1f 0%, #395646 46%, #0c8a58 82%, #1d1d1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.apple-hero__sub {
  max-width: 650px;
  margin-top: 20px;
  color: #6e6e73;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.apple-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.apple-hero__actions .btn--primary { background: #1d1d1f; color: #fff; }
.apple-hero__actions .btn--ghost { border-color: rgba(0, 0, 0, 0.18); color: #1d1d1f; }
.apple-hero__actions .btn--ghost:hover { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.3); }
.apple-hero__note { margin-top: 20px; color: #86868b; font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; }

.apple-hero__devices {
  position: relative;
  z-index: 2;
  width: min(100% - var(--gutter) * 2, 1380px);
  margin: clamp(32px, 4.5vh, 54px) auto 0;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 38px);
  padding: 0 20px 24px;
  perspective: 1600px;
}
.apple-hero__devices::before {
  content: '';
  position: absolute;
  left: 8%; right: 8%; bottom: -4%;
  height: 44%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20, 44, 33, 0.14), transparent 72%);
  filter: blur(26px);
  z-index: -1;
}
.hero-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  flex: none;
  animation: hero-device-in 1.5s var(--ease-soft) both;
}
.hero-device:nth-child(1) { animation-delay: .1s; transform: translateY(38px) rotate(-7deg); }
.hero-device:nth-child(2) { animation-delay: .2s; transform: translateY(22px) rotate(3deg); }
.hero-device:nth-child(3) { animation-delay: .3s; transform: translateY(46px) rotate(-2deg); }
.hero-device:nth-child(4) { animation-delay: .4s; transform: translateY(30px) rotate(5deg); }
@keyframes hero-device-in { from { opacity: 0; transform: translateY(80px) scale(.97); filter: blur(8px); } }
.hero-device__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #6e6e73;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .9;
}
.hero-device__label b { color: #3a3a3c; font-weight: 500; font-family: var(--font); font-size: 11px; letter-spacing: -0.01em; }

/* Device primitives ------------------------------------------------------- */
.dev { position: relative; flex: none; }
.dev * { box-sizing: border-box; }

.dev-iphone {
  width: var(--w, 230px);
  aspect-ratio: 0.485;
  padding: calc(var(--w, 230px) * 0.018);
  border-radius: calc(var(--w, 230px) * 0.17);
  background:
    linear-gradient(145deg, #c4d2cb 0%, #75867e 4%, #2b3732 12%, #3f4d47 30%, #151b18 55%, #73857c 88%, #d4e0da 100%);
  box-shadow:
    0 44px 90px rgba(19, 32, 26, 0.24),
    0 10px 20px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 0 0 2px rgba(0, 0, 0, 0.28);
  position: relative;
}
.dev-iphone::before {
  content: '';
  position: absolute;
  inset: calc(var(--w, 230px) * 0.018);
  border-radius: calc(var(--w, 230px) * 0.158);
  background: #020403;
  z-index: 0;
}
.dev-iphone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--w, 230px) * 0.155);
  overflow: hidden;
  background: #04100b;
  z-index: 1;
}
.dev-iphone__wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(56% 40% at 72% 30%, rgba(208, 255, 231, 0.95), transparent 8%),
    radial-gradient(42% 34% at 28% 24%, rgba(91, 255, 178, 0.52), transparent 55%),
    radial-gradient(60% 50% at 50% 72%, rgba(5, 54, 38, 0.9), transparent 75%),
    linear-gradient(155deg, #b7e9d3 0%, #3f9872 14%, #0f3d2c 38%, #061a12 64%, #020605 100%);
}
.dev-iphone__wall::before {
  content: '';
  position: absolute;
  width: 58%; aspect-ratio: 1;
  left: 23%; top: 29%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(104,255,182,.45) 12%, rgba(8,88,58,.5) 34%, transparent 64%);
  filter: blur(13px);
}
.dev-iphone__wall::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255,255,255,.3), transparent 20%, transparent 62%, rgba(255,255,255,.09) 82%, transparent);
  mix-blend-mode: screen;
}
.dev-iphone__island {
  position: absolute;
  left: 50%; top: 2.7%;
  width: 30%; height: 4.2%;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  z-index: 3;
}
.dev-iphone__island::after { content: ''; position: absolute; right: 11%; top: 50%; width: 4px; height: 4px; border-radius: 50%; transform: translateY(-50%); background: #0a2a20; box-shadow: 0 0 0 1px rgba(80,160,130,.25); }
.dev-iphone__ui {
  position: absolute;
  left: 9%; right: 9%; top: 11%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  font-size: calc(var(--w, 230px) * 0.026);
  letter-spacing: 0.04em;
  z-index: 2;
}
.dev-iphone__ui em { font-style: normal; font-family: var(--font); font-size: calc(var(--w, 230px) * 0.035); letter-spacing: -0.02em; }
.dev-iphone__clock {
  position: absolute;
  left: 9%; top: 17%;
  color: #fff;
  font-size: calc(var(--w, 230px) * 0.18);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 500;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
  z-index: 2;
}
.dev-iphone__date {
  position: absolute;
  left: 10%; top: 34%;
  color: rgba(255,255,255,.72);
  font-size: calc(var(--w, 230px) * 0.042);
  letter-spacing: 0.02em;
  z-index: 2;
}
.dev-iphone__badge {
  position: absolute;
  left: 9%; bottom: 9%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 99px;
  color: rgba(255,255,255,.82);
  background: rgba(8, 25, 18, 0.34);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: calc(var(--w, 230px) * 0.024);
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
}
.dev-iphone__badge i { width: 4px; height: 4px; border-radius: 50%; background: #b9ffcf; box-shadow: 0 0 8px #b9ffcf; }
.dev-iphone__side { position: absolute; right: -2px; width: 2px; background: #65776e; border-radius: 2px; z-index: 4; }
.dev-iphone__side--power { top: 28%; height: 12%; }
.dev-iphone__side--v1 { left: -2px; top: 22%; height: 7%; background: #65776e; position: absolute; border-radius: 2px; z-index: 4; }
.dev-iphone__side--v2 { left: -2px; top: 31%; height: 10%; background: #65776e; position: absolute; border-radius: 2px; z-index: 4; }
.dev-iphone__side--mute { left: -2px; top: 15%; height: 4%; background: #65776e; position: absolute; border-radius: 2px; z-index: 4; }

/* iPhone back for the product theatre */
.dev-iphone--back { background: linear-gradient(145deg, #c4d7cb 0%, #67876f 4%, #284330 16%, #3e614a 33%, #1b3023 62%, #728d77 88%, #d1e4d6 100%); }
.dev-iphone--back::after {
  content: 'GUSEN';
  position: absolute;
  left: 50%; bottom: 7%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.3);
  font-family: var(--mono);
  font-size: calc(var(--w, 230px) * 0.028);
  letter-spacing: .26em;
  z-index: 2;
}
.dev-iphone--back .dev-iphone__screen { background: linear-gradient(145deg, #5f8b6b, #274c35 30%, #14281b 100%); }
.dev-iphone--back .dev-iphone__screen::before {
  content: '';
  position: absolute;
  left: 8%; top: 4%;
  width: 37%; height: 19%;
  border-radius: 24%;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(0,0,0,.2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 8px 18px rgba(0,0,0,.2);
}
.dev-iphone__lens {
  position: absolute;
  width: 16%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #708b7d 0%, #0a1510 28%, #020403 58%, #2b4437 78%, #0a1711 100%);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.16), inset 0 0 12px rgba(255,255,255,.1);
  z-index: 3;
}
.dev-iphone__lens--1 { left: 13%; top: 8%; }
.dev-iphone__lens--2 { right: 13%; top: 8%; }
.dev-iphone__lens--3 { left: 13%; top: 23%; }
.dev-iphone__flash { position: absolute; right: 16%; top: 24%; width: 5%; aspect-ratio: 1; border-radius: 50%; background: #f3e5b6; box-shadow: 0 0 10px rgba(255,238,190,.5); z-index: 3; }

/* iPad */
.dev-ipad {
  width: var(--w, 340px);
  aspect-ratio: .75;
  padding: calc(var(--w, 340px) * .016);
  border-radius: calc(var(--w, 340px) * .055);
  background: linear-gradient(145deg, #d6d9d7, #727874 4%, #353a37 28%, #1c211f 60%, #858d88 94%, #d5dbd7);
  box-shadow: 0 38px 80px rgba(18, 30, 25, .2), inset 0 0 0 1px rgba(255,255,255,.55), inset 0 0 0 2px rgba(0,0,0,.2);
  position: relative;
}
.dev-ipad__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: calc(var(--w, 340px) * .045);
  background: #04100b;
  overflow: hidden;
}
.dev-ipad__wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 46% at 31% 28%, rgba(190, 242, 255, .9), transparent 12%),
    radial-gradient(50% 44% at 68% 30%, rgba(126, 255, 188, .65), transparent 52%),
    radial-gradient(70% 50% at 50% 78%, rgba(88, 43, 120, .55), transparent 74%),
    linear-gradient(145deg, #d6f3ff 0%, #5fb7b9 20%, #193c45 44%, #131127 70%, #030607 100%);
}
.dev-ipad__wall::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.34), transparent 24%, transparent 66%, rgba(255,255,255,.08)); }
.dev-ipad__wall::after { content: 'G'; position: absolute; right: 9%; bottom: 6%; color: rgba(255,255,255,.24); font-family: var(--serif); font-size: calc(var(--w,340px)*.24); line-height: .8; }
.dev-ipad__cam { position: absolute; left: 50%; top: 2.2%; width: 5px; height: 5px; border-radius: 50%; transform: translateX(-50%); background: #04100b; box-shadow: inset 0 0 0 1px rgba(110,180,150,.5); z-index: 3; }
.dev-ipad__pencil {
  position: absolute;
  right: calc(var(--w, 340px) * -.12);
  top: 18%;
  width: calc(var(--w, 340px) * .035);
  height: 52%;
  border-radius: 99px;
  background: linear-gradient(90deg, #dce4df, #f6faf7 35%, #8e9b94 100%);
  box-shadow: 0 12px 24px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.9);
  transform: rotate(8deg);
  z-index: -1;
}

/* MacBook */
.dev-mac { width: var(--w, 450px); position: relative; padding-top: 1%; }
.dev-mac__lid {
  width: 100%;
  aspect-ratio: 1.58;
  padding: calc(var(--w,450px) * .012);
  border-radius: calc(var(--w,450px) * .022) calc(var(--w,450px) * .022) 3px 3px;
  background: linear-gradient(150deg, #d4d6d3, #7d817e 3%, #2f3331 24%, #171a19 70%, #6b706d 100%);
  box-shadow: 0 36px 70px rgba(15, 25, 21, .23), inset 0 0 0 1px rgba(255,255,255,.5);
  position: relative;
}
.dev-mac__screen { width: 100%; height: 100%; border-radius: 4px 4px 0 0; overflow: hidden; position: relative; background: #04100b; }
.dev-mac__wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 50% at 58% 54%, rgba(177, 255, 209, .9) 0%, rgba(55, 220, 145, .38) 11%, rgba(11, 66, 45, .5) 38%, transparent 66%),
    radial-gradient(80% 80% at 50% 50%, #0b2319 0%, #04100b 58%, #020504 100%);
}
.dev-mac__wall::before { content: ''; position: absolute; left: 6%; right: 6%; bottom: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(185,255,207,.34), transparent); }
.dev-mac__notch { position: absolute; left: 50%; top: 0; width: 12%; height: 3.6%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #020403; z-index: 3; }
.dev-mac__base {
  width: 112%;
  margin-left: -6%;
  height: calc(var(--w, 450px) * .075);
  border-radius: 2px 2px calc(var(--w, 450px) * .04) calc(var(--w, 450px) * .04);
  background: linear-gradient(180deg, #a6aba7 0%, #545b57 18%, #2c302e 54%, #131615 100%);
  box-shadow: 0 18px 34px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.5);
  position: relative;
}
.dev-mac__base::before {
  content: '';
  position: absolute;
  left: 7%; right: 7%; top: 16%;
  height: 2px;
  border-radius: 99px;
  background: rgba(0,0,0,.5);
  box-shadow: 0 3px 0 rgba(255,255,255,.09);
}
.dev-mac__trackpad { position: absolute; left: 50%; bottom: 9%; width: 18%; height: 26%; transform: translateX(-50%); border-radius: 3px; background: rgba(0,0,0,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.dev-mac__base::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 12%; height: 4px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #151817; }

/* Vision Pro */
.dev-vision { width: var(--w, 380px); aspect-ratio: 2.15; position: relative; display: grid; place-items: center; }
.dev-vision__band {
  position: absolute;
  left: 8%; right: 8%; top: 26%;
  height: 42%;
  border-radius: 50% 50% 12% 12%;
  background: linear-gradient(180deg, #4f5b55, #b8c4bd 18%, #6f7c75 46%, #2a3230 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.4);
  z-index: 0;
  transform: scaleX(1.08);
}
.dev-vision__visor {
  position: relative;
  width: 94%;
  height: 76%;
  border-radius: 49% 49% 44% 44% / 58% 58% 42% 42%;
  background: linear-gradient(155deg, #f3faf6 0%, #b9c8c1 12%, #5d6e66 32%, #1a2420 57%, #050a08 100%);
  box-shadow:
    0 34px 60px rgba(10, 20, 15, .24),
    inset 0 2px 0 rgba(255,255,255,.85),
    inset 0 -8px 18px rgba(0,0,0,.5),
    inset 0 0 0 2px rgba(20, 30, 26, .55);
  overflow: hidden;
  z-index: 2;
}
.dev-vision__visor::before {
  content: '';
  position: absolute;
  inset: 7% 5% 12%;
  border-radius: 50% 50% 42% 42% / 58% 58% 42% 42%;
  background:
    radial-gradient(38% 46% at 32% 34%, rgba(255,255,255,.48), transparent 20%),
    radial-gradient(46% 38% at 70% 72%, rgba(96, 255, 185, .28), transparent 55%),
    linear-gradient(145deg, rgba(9, 20, 15, .4), rgba(0, 0, 0, .86));
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 0 28px rgba(0,0,0,.8);
}
.dev-vision__visor::after {
  content: '';
  position: absolute;
  left: 16%; right: 16%; top: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
}
.dev-vision__light { position: absolute; inset: 18% 12% 18%; border-radius: 50%; background: radial-gradient(ellipse, rgba(185,255,207,.15), transparent 70%); filter: blur(12px); z-index: 1; }
.dev-vision__crown { position: absolute; right: 4%; top: 34%; width: 3.5%; height: 13%; border-radius: 99px; background: linear-gradient(180deg, #e1e8e4, #6d7872 50%, #252b28); z-index: 3; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.dev-vision__audio { position: absolute; top: 38%; width: 4%; height: 22%; border-radius: 30%; background: linear-gradient(180deg, #d5dfd9, #56635c); z-index: 3; }
.dev-vision__audio--l { left: 0; }
.dev-vision__audio--r { right: 0; }

/* Hero sizing ------------------------------------------------------------- */
.hero-device--phone .dev-iphone { --w: clamp(96px, 9.2vw, 132px); }
.hero-device--ipad .dev-ipad { --w: clamp(145px, 14vw, 202px); }
.hero-device--mac .dev-mac { --w: clamp(240px, 22vw, 320px); }
.hero-device--vision .dev-vision { --w: clamp(190px, 18vw, 260px); }

/* Statement --------------------------------------------------------------- */
.apple-statement { background: #f5f5f7; color: #1d1d1f; }
.apple-statement .section-label { color: #86868b; }
.apple-statement__grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
}
.apple-statement h2 {
  font-size: clamp(42px, 6.2vw, 90px);
  line-height: .98;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.apple-statement h2 span { color: #8e8e93; }
.apple-statement__copy p { max-width: 42ch; color: #6e6e73; font-size: 17px; line-height: 1.7; }
.apple-statement__copy .fine { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.1); font-size: 11px; color: #86868b; line-height: 1.6; }
.apple-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.apple-pillar { padding: 26px; border-radius: 22px; border: 1px solid rgba(0,0,0,.09); background: rgba(255,255,255,.52); }
.apple-pillar .mono { color: #86868b; display: block; margin-bottom: 30px; }
.apple-pillar h3 { font-size: 21px; letter-spacing: -0.03em; font-weight: 600; }
.apple-pillar p { margin-top: 9px; color: #6e6e73; font-size: 13px; line-height: 1.6; }

/* Feature ribbon ---------------------------------------------------------- */
.apple-features { background: #fff; border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); color: #1d1d1f; }
.apple-features__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.apple-feature { padding: clamp(24px, 3vw, 38px) 24px; border-right: 1px solid rgba(0,0,0,.07); }
.apple-feature:last-child { border-right: 0; }
.apple-feature .mono { color: #0c8a58; font-size: 9px; }
.apple-feature h3 { margin-top: 26px; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.03em; font-weight: 600; }
.apple-feature p { margin-top: 8px; color: #6e6e73; font-size: 12px; line-height: 1.6; max-width: 24ch; }

/* Product explorer -------------------------------------------------------- */
.apple-explorer { background: #050607; color: #f5f5f7; }
.apple-explorer .section-label { color: #6e6e73; }
.apple-explorer .h2 { max-width: 12ch; }
.product-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.product-tab {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.035);
  font-size: 12px;
  transition: color .3s ease, background .3s ease, border-color .3s ease;
}
.product-tab:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.product-tab.is-active { color: #07120d; background: #b9ffcf; border-color: #b9ffcf; }
.product-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 650px;
  border-radius: clamp(28px, 3.4vw, 44px);
  border: 1px solid rgba(255,255,255,.13);
  background:
    radial-gradient(70% 80% at 34% 50%, rgba(58, 150, 108, .13), transparent 70%),
    linear-gradient(140deg, #0b100e 0%, #060908 58%, #0a0d0b 100%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 40px 100px rgba(0,0,0,.45);
}
.product-panel::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.038) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(65% 65% at 32% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(65% 65% at 32% 50%, #000, transparent 78%);
  pointer-events: none;
  opacity: .65;
}
.product-stage { position: relative; min-height: 600px; display: grid; place-items: center; padding: 30px; }
.product-stage::after {
  content: '';
  position: absolute;
  left: 16%; right: 16%; bottom: 8%;
  height: 18%;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  filter: blur(30px);
  z-index: 0;
}
.product-visual { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.95) translateY(14px); transition: opacity .6s var(--ease), transform .9s var(--ease); pointer-events: none; }
.product-visual.is-active { opacity: 1; transform: none; }
.product-visual .dev-iphone { --w: clamp(195px, 17.5vw, 245px); }
.product-visual .dev-ipad { --w: clamp(270px, 24vw, 340px); }
.product-visual .dev-mac { --w: clamp(390px, 34vw, 500px); }
.product-visual .dev-vision { --w: clamp(330px, 30vw, 440px); }
.iphone-pair { position: relative; display: flex; align-items: center; gap: 22px; }
.iphone-pair .dev-iphone:first-child { transform: translateY(28px) rotate(-10deg) scale(.94); z-index: 1; opacity: .92; }
.iphone-pair .dev-iphone:last-child { z-index: 2; transform: rotate(3deg); }
.product-visual--ipad .dev-ipad { transform: rotate(-4deg); }
.product-visual--mac .dev-mac { transform: perspective(1200px) rotateY(-8deg) rotateX(2deg); }
.product-visual--vision .dev-vision { transform: rotate(-3deg); }
.product-visual__tag {
  position: absolute;
  left: 8%; bottom: 9%;
  color: rgba(255,255,255,.38);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  z-index: 4;
}
.product-info { position: relative; z-index: 2; padding: clamp(32px, 4vw, 58px); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.09); }
.product-info__eyebrow { color: #b9ffcf; font-family: var(--mono); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.product-info h3 { margin-top: 16px; font-size: clamp(34px, 4vw, 56px); line-height: .98; letter-spacing: -.05em; font-weight: 600; }
.product-info__tag { margin-top: 12px; color: rgba(255,255,255,.52); font-size: 14px; }
.product-info__desc { margin-top: 24px; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.75; max-width: 40ch; }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); }
.product-spec { padding: 14px 15px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.product-spec dt { color: rgba(255,255,255,.34); font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.product-spec dd { margin: 5px 0 0; color: #f5f5f7; font-size: 13px; letter-spacing: -.01em; }
.product-info__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.product-info__actions .btn--ghost { border-color: rgba(255,255,255,.2); color: #f5f5f7; }
.product-info__actions .btn--ghost:hover { background: rgba(255,255,255,.08); }
.product-info__status { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.4); font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; margin-left: 4px; }
.product-info__status i { width: 4px; height: 4px; border-radius: 50%; background: #b9ffcf; box-shadow: 0 0 8px #b9ffcf; }

/* Comparison -------------------------------------------------------------- */
.apple-compare { background: #f5f5f7; color: #1d1d1f; }
.apple-compare .section-label { color: #86868b; }
.apple-compare .h2 { max-width: 12ch; }
.compare-lead { max-width: 38ch; color: #6e6e73; font-size: 16px; line-height: 1.7; }
.compare-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin: 42px 0 20px; }
.compare-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.compare-tab {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1px solid rgba(0,0,0,.13);
  color: #6e6e73;
  background: rgba(255,255,255,.55);
  font-size: 11.5px;
  transition: .3s ease;
}
.compare-tab:hover { border-color: rgba(0,0,0,.28); color: #1d1d1f; }
.compare-tab.is-active { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.compare-note { color: #86868b; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.compare-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid rgba(0,0,0,.09); background: #fff; }
.compare-table { width: 100%; min-width: 780px; border-collapse: collapse; table-layout: fixed; }
.compare-table th, .compare-table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid rgba(0,0,0,.07); vertical-align: middle; }
.compare-table thead th { background: #fbfbfd; color: #86868b; font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.compare-table thead th:nth-child(2) { color: #a1a1a6; }
.compare-table thead th:nth-child(3) { color: #0b7a4d; background: rgba(185,255,207,.18); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover td { background: #fcfcfd; }
.compare-table tbody tr:hover td:last-child { background: rgba(185,255,207,.14); }
.compare-table td:first-child { color: #1d1d1f; font-size: 13.5px; width: 36%; }
.compare-table td:first-child small { display: block; margin-top: 4px; color: #a1a1a6; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.compare-table td:nth-child(2) { color: #86868b; font-size: 13px; }
.compare-table td:nth-child(3) { background: rgba(185,255,207,.08); color: #0b5f3d; font-size: 13px; font-weight: 500; }
.compare-yes { display: inline-flex; align-items: center; gap: 7px; }
.compare-yes::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: #0b7a4d; box-shadow: 0 0 0 4px rgba(11,122,77,.08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3.5 7.2 2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.compare-no { color: #b0b0b5; }
.compare-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 8px; border-radius: 6px; background: rgba(11,122,77,.08); color: #0b7a4d; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.compare-badge--muted { background: rgba(0,0,0,.04); color: #86868b; }
.compare-footnote { margin-top: 16px; color: #86868b; font-size: 11px; line-height: 1.65; max-width: 76ch; }

/* Lab --------------------------------------------------------------------- */
.apple-lab {
  background:
    radial-gradient(70% 70% at 80% 20%, rgba(20, 78, 55, .3), transparent 70%),
    #040605;
  color: #f5f5f7;
}
.apple-lab .section-label { color: #6e6e73; }
.apple-lab__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.apple-lab h2 { font-size: clamp(44px, 6.2vw, 92px); line-height: .94; letter-spacing: -.06em; font-weight: 600; }
.apple-lab h2 span { color: #93b9a5; }
.apple-lab__copy p { color: rgba(255,255,255,.5); font-size: 15px; line-height: 1.7; max-width: 40ch; }
.lab-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: stretch; }
.lab-console {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(150deg, rgba(13,24,19,.82), rgba(5,9,7,.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 30px 80px rgba(0,0,0,.3);
  overflow: hidden;
}
.lab-console::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(185,255,207,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(185,255,207,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent);
  pointer-events: none;
}
.lab-console__head { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; color: #6e6e73; font-family: var(--mono); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.lab-console__head span { color: #b9ffcf; }
.lab-steps { position: relative; z-index: 1; margin-top: 30px; }
.lab-step { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.09); opacity: .33; transition: opacity .4s ease, color .4s ease; }
.lab-step.is-active { opacity: 1; color: #f5f5f7; }
.lab-step.is-done { opacity: .8; }
.lab-step__no { color: #6e6e73; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.lab-step__name { font-size: 14px; letter-spacing: -.01em; }
.lab-step__status { color: #6e6e73; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.lab-step.is-active .lab-step__status { color: #b9ffcf; }
.lab-step.is-done .lab-step__status { color: #7dbb96; }
.lab-progress { position: relative; z-index: 1; height: 2px; background: rgba(255,255,255,.1); margin-top: 18px; overflow: hidden; }
.lab-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5fd794, #b9ffcf); box-shadow: 0 0 15px rgba(185,255,207,.6); transition: width .7s var(--ease); }
.lab-console__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.lab-console__foot .mono { color: #6e6e73; }
.lab-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; overflow: hidden; }
.lab-stat { background: #080c0a; padding: 26px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.lab-stat strong { font-size: clamp(36px, 4vw, 56px); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.lab-stat strong span { font-size: .4em; color: #b9ffcf; vertical-align: super; margin-left: 3px; }
.lab-stat p { color: #6e6e73; font-size: 11px; line-height: 1.5; }
.lab-stat:nth-child(2) strong { color: #b9ffcf; }
.lab-note { margin-top: 18px; color: #55555a; font-size: 10px; line-height: 1.6; max-width: 90ch; }

/* Closing ----------------------------------------------------------------- */
.apple-close { background: #f5f5f7; color: #1d1d1f; text-align: center; }
.apple-close p { color: #86868b; font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.apple-close h2 { margin-top: 26px; font-size: clamp(48px, 8vw, 124px); line-height: .92; letter-spacing: -.07em; font-weight: 600; }
.apple-close h2 span { color: #a1a1a6; }
.apple-close .btn-group { justify-content: center; margin-top: 34px; }
.apple-close .device-lines { margin-top: 66px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: #a1a1a6; font-family: var(--mono); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.apple-close .device-lines span { color: #6e6e73; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .apple-hero__devices { min-height: 330px; gap: 10px; }
  .hero-device--phone .dev-iphone { --w: 112px; }
  .hero-device--ipad .dev-ipad { --w: 170px; }
  .hero-device--mac .dev-mac { --w: 280px; }
  .hero-device--vision .dev-vision { --w: 220px; }
  .product-panel { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .product-stage { min-height: 550px; }
  .product-info { padding: 34px; }
  .apple-lab__head { grid-template-columns: 1fr; gap: 24px; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-stats { grid-template-columns: repeat(4, 1fr); }
  .lab-stat { min-height: 135px; padding: 20px; }
}
@media (max-width: 900px) {
  .apple-hero { padding-top: calc(var(--header-h) + 66px); }
  .apple-hero__devices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    justify-items: center;
    gap: 34px 12px;
    min-height: 0;
    padding-bottom: 54px;
  }
  .hero-device { transform: none !important; }
  .hero-device--phone .dev-iphone { --w: clamp(100px, 17vw, 140px); }
  .hero-device--ipad .dev-ipad { --w: clamp(145px, 24vw, 205px); }
  .hero-device--mac .dev-mac { --w: clamp(230px, 35vw, 310px); }
  .hero-device--vision .dev-vision { --w: clamp(180px, 30vw, 270px); }
  .apple-statement__grid { grid-template-columns: 1fr; gap: 28px; }
  .apple-pillars { grid-template-columns: 1fr; gap: 10px; }
  .apple-pillar .mono { margin-bottom: 16px; }
  .apple-features__row { grid-template-columns: 1fr 1fr; }
  .apple-feature:nth-child(2) { border-right: 0; }
  .apple-feature:nth-child(1), .apple-feature:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,.07); }
  .product-panel { grid-template-columns: 1fr; }
  .product-stage { min-height: 440px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .product-info { border-left: 0; padding: 30px; }
  .product-visual .dev-iphone { --w: 210px; }
  .product-visual .dev-ipad { --w: 290px; }
  .product-visual .dev-mac { --w: 390px; }
  .product-visual .dev-vision { --w: 330px; }
  .lab-stats { grid-template-columns: 1fr 1fr; }
  .lab-stat:nth-child(1), .lab-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 640px) {
  .apple-hero h1 { font-size: clamp(54px, 15vw, 82px); }
  .apple-hero__sub { font-size: 14px; max-width: 31ch; }
  .apple-hero__actions { width: 100%; }
  .apple-hero__actions .btn { flex: 1; }
  .apple-hero__note { font-size: 7px; }
  .apple-hero__devices { margin-top: 32px; gap: 28px 8px; padding-bottom: 38px; }
  .hero-device { gap: 10px; }
  .hero-device__label b { font-size: 10px; }
  .hero-device__label { font-size: 7px; }
  .hero-device--phone .dev-iphone { --w: 92px; }
  .hero-device--ipad .dev-ipad { --w: 132px; }
  .hero-device--mac .dev-mac { --w: 205px; }
  .hero-device--vision .dev-vision { --w: 160px; }
  .apple-statement h2 { font-size: clamp(40px, 12vw, 60px); }
  .apple-statement__copy p { font-size: 15px; }
  .apple-features__row { grid-template-columns: 1fr; }
  .apple-feature { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.07); }
  .apple-feature:last-child { border-bottom: 0; }
  .apple-feature h3 { margin-top: 14px; }
  .product-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .product-tabs::-webkit-scrollbar { display: none; }
  .product-tab { flex: none; }
  .product-panel { border-radius: 26px; }
  .product-stage { min-height: 390px; padding: 18px; }
  .product-visual .dev-iphone { --w: 142px; }
  .product-visual .dev-ipad { --w: 205px; }
  .product-visual .dev-mac { --w: 280px; }
  .product-visual .dev-vision { --w: 245px; }
  .iphone-pair { gap: 8px; }
  .product-info { padding: 24px; }
  .product-info h3 { font-size: 38px; }
  .product-info__desc { font-size: 13px; }
  .product-specs { margin-top: 22px; }
  .product-spec { padding: 11px 12px; }
  .compare-toolbar { align-items: flex-start; flex-direction: column; }
  .compare-tabs { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 3px; }
  .compare-tab { flex: none; }
  .compare-table th, .compare-table td { padding: 14px 16px; }
  .compare-table { min-width: 700px; }
  .apple-lab h2 { font-size: clamp(42px, 12vw, 62px); }
  .lab-console { padding: 22px; }
  .lab-step { grid-template-columns: 24px 1fr auto; gap: 10px; }
  .lab-step__status { font-size: 7px; }
  .lab-stats { grid-template-columns: 1fr 1fr; }
  .lab-stat { min-height: 120px; padding: 18px; }
  .lab-stat strong { font-size: 34px; }
  .apple-close h2 { font-size: clamp(48px, 14vw, 78px); }
  .apple-close .device-lines { gap: 8px 16px; }
}
