/* Usman Traders · iPhone page (dark, cinematic product page) */
:root { --bg: #000; --bg-2: #0b0b0d; --card: #151517; --card-2: #1d1d20; --line: #2a2a2e; --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #6e6e73; --blue: #2997ff; --blue-btn: #0071e3; --accent: #8b7bff;
  --tint: #5e1f2b; --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1); --wrap: 1180px; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 "Inter Tight", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.04; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(41,151,255,.6); outline-offset: 3px; border-radius: 10px; }
.kicker { font-size: 19px; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }

/* pills */
.pill { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .35s var(--spring), background .25s, box-shadow .25s; }
.pill.big { height: 48px; padding: 0 26px; font-size: 16px; }
.pill-blue { background: var(--blue-btn); color: #fff; }
.pill-blue:hover { background: #0077ed; transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,113,227,.9); }
.pill-ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); color: var(--ink); }
.pill-ghost:hover { box-shadow: inset 0 0 0 1px #fff; transform: translateY(-2px); }
.pill::after { content: ""; position: absolute; z-index: -1; left: -25%; top: -25%; width: 150%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 58%); transform: translate(-95%, -95%); transition: transform .9s var(--ease); pointer-events: none; }
.pill:hover::after { transform: translate(55%, 45%); }

/* site bar */
.topbar { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; height: 52px; padding: 0 max(20px, calc(50% - 590px)); font-size: 13.5px; background: rgba(0,0,0,.8); }
.topbar .brand { display: flex; align-items: center; gap: 8px; }
.topbar .brand img { filter: invert(1); width: 24px; height: 24px; }
.topbar .brand b { font-size: 15px; letter-spacing: -.02em; }
.topbar nav { display: flex; gap: 22px; margin: 0 auto; color: var(--ink-2); }
.topbar nav a { transition: color .2s; }
.topbar nav a:hover, .topbar nav a[aria-current] { color: var(--ink); }
.top-wa { color: #30d158; font-weight: 600; }
@media (max-width: 640px) { .topbar nav { display: none; } .topbar { justify-content: space-between; } }

/* sticky local nav pill */
.localnav { position: fixed; z-index: 40; top: 10px; left: 0; right: 0; padding: 0 16px; pointer-events: none; transform: translateY(-120%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.localnav.show { transform: none; opacity: 1; }
.ln-inner { pointer-events: auto; width: min(1020px, 100%); margin: 0 auto; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 10px 0 22px; border-radius: 18px;
  background: rgba(22,22,24,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 40px -20px rgba(0,0,0,.8); }
.ln-inner > b { font-size: 18px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-models { display: flex; gap: 4px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.ln-models button { height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: background .25s, color .25s; }
.ln-models button:hover { color: var(--ink); }
.ln-models button[aria-selected="true"] { background: rgba(255,255,255,.12); color: var(--ink); }
@media (max-width: 760px) { .ln-models { display: none; } .ln-inner { justify-content: space-between; } .ln-inner > b { margin-right: auto; font-size: 16px; } }

/* hero */
.ip-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 80px max(20px, calc(50% - 590px)) 60px; overflow: hidden; isolation: isolate; }
.ip-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(45% 40% at 50% 46%, color-mix(in srgb, var(--tint) 55%, transparent), transparent 70%); opacity: .55; transition: background 1s var(--ease); }
.hero-stage { position: absolute; inset: 52px 0 150px; display: grid; place-items: center; }
.bigword { font-size: clamp(120px, 30vw, 440px); font-weight: 800; letter-spacing: -.06em; line-height: .8; user-select: none;
  background: linear-gradient(180deg, #ffffff 0%, #b8bcc4 22%, #4b4f57 46%, #e9ecf2 58%, #8c9099 78%, #2b2d33 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(255,255,255,.12)); transform: scale(calc(1 + var(--hp, 0) * .25)); opacity: calc(1 - var(--hp, 0) * 1.2); }
.hero-phone { position: absolute; width: min(560px, 62vw); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 50px 60px rgba(0,0,0,.8)); transform: translateY(calc(var(--hp, 0) * -60px)) scale(calc(1 + var(--hp, 0) * .12)); }
.motion .hero-phone { animation: phoneIn 1.4s var(--ease) both .15s; }
.motion .bigword { animation: wordIn 1.6s var(--ease) both; }
@keyframes phoneIn { from { opacity: 0; translate: 0 80px; } }
@keyframes wordIn { from { opacity: 0; letter-spacing: .05em; } }
.hero-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eyebrow-name { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.hero-title h1 { font-size: clamp(54px, 8vw, 104px); font-weight: 700; letter-spacing: -.045em; margin-top: 6px; }
.motion .hero-title { animation: phoneIn 1.2s var(--ease) both .45s; }
.buy-pill { display: flex; align-items: center; gap: 22px; padding: 12px 12px 12px 24px; border-radius: 999px; background: rgba(40,40,44,.75); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.motion .buy-pill { animation: phoneIn 1.2s var(--ease) both .65s; }
.buy-pill b { display: block; font-size: 15.5px; } .buy-pill span { display: block; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 760px) { .ip-hero { padding-bottom: 32px; } .hero-stage { inset: 52px 0 260px; } .hero-phone { width: 86vw; } .buy-pill { width: 100%; border-radius: 22px; justify-content: space-between; } }

/* highlights */
.highlights { padding: 70px 20px 40px; }
.hl-row { width: min(var(--wrap), 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.hl small { display: block; color: var(--ink-2); font-size: 14px; }
.hl b { display: block; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.15; background: linear-gradient(90deg, #fff, #c9cdd6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl span { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }

/* zoom + colours (sticky, phone grows as you scroll) */
.zoom { position: relative; height: 220vh; }
.zoom-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 20px 40px; overflow: hidden; }
.zoom-sticky::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 35% at 50% 55%, color-mix(in srgb, var(--tint) 70%, transparent), transparent 70%); opacity: .5; transition: background .8s var(--ease); }
.lit-head { font-size: clamp(40px, 6.4vw, 84px); margin-top: 8px; }
.zoom-stage { position: relative; flex: 1; width: 100%; min-height: 0; display: grid; place-items: center; margin: 10px 0; }
.zoom-phone { max-height: 100%; width: auto; max-width: min(560px, 80vw); object-fit: contain; transform: scale(calc(.72 + var(--zp, 0) * .38)); filter: drop-shadow(0 40px 60px rgba(0,0,0,.85)); transition: opacity .35s; }
.finishes { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.finish { width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: transform .35s var(--spring), box-shadow .3s; }
.finish:hover { transform: scale(1.12); }
.finish[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 3px #000, 0 0 0 5px #fff; }
.finish-label { margin-top: 12px; color: var(--ink-2); font-size: 15px; min-height: 22px; }

/* gallery */
.gallery-sec { padding: 120px 0 40px; }
.sec-head { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto 40px; }
.sec-head h2 { font-size: clamp(36px, 5.4vw, 64px); margin-top: 6px; }
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(20px, calc(50% - 590px)) 10px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gcard { flex: none; width: min(680px, 84vw); scroll-snap-align: center; }
.gframe { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--gc, #333) 55%, #111), #0d0d0f 75%); }
.gframe img { width: 72%; height: 86%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); transition: transform .9s var(--ease); }
.gcard:hover .gframe img { transform: scale(1.04); }
.gcard p { margin-top: 18px; max-width: 520px; color: var(--ink-2); font-size: 17px; }
.gcard p b { color: var(--ink); }
.gal-ctrl { display: flex; gap: 12px; justify-content: flex-end; width: min(var(--wrap), calc(100% - 40px)); margin: 24px auto 0; }
.circle { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #333336; transition: background .2s, transform .3s var(--spring); }
.circle:hover { background: #48484c; transform: scale(1.06); }
.circle:disabled { opacity: .35; }

/* lit paragraph */
.story { padding: 140px 20px; }
.lit-para { width: min(860px, 100%); margin: 0 auto; text-align: center; font-size: clamp(22px, 2.7vw, 32px); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.lit-para .w, .lit-head .w { color: #78787d; transition: color .5s var(--ease); }
.lit-para .w.lit, .lit-head .w.lit { color: var(--ink-2); }
.lit-para em { font-style: normal; }
.lit-para em .w.lit { color: #fff; }
.lit-head .w.lit { color: var(--ink); }

/* specs */
.specs-sec { padding: 40px 0 60px; }
.spec-grid { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.spec { position: relative; overflow: hidden; isolation: isolate; padding: 30px 26px; border-radius: 26px; background: var(--card); min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .5s var(--ease), background .3s; }
.spec::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tint) 70%, transparent), transparent 65%); opacity: .35; transition: opacity .5s; }
.spec:hover { transform: translateY(-6px); background: var(--card-2); }
.spec:hover::before { opacity: .7; }
.spec small { color: var(--ink-3); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.spec b { display: block; margin-top: 8px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; line-height: 1.1; }

/* compare */
.compare { padding: 100px 0 40px; }
.cmp-grid { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.cmp { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 22px 26px; border-radius: 28px; background: var(--card); transition: transform .5s var(--ease), box-shadow .5s; }
.cmp:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08); }
.cmp.on { box-shadow: inset 0 0 0 2px var(--blue); }
.cmp img { width: 70%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(0,0,0,.7)); transition: transform .8s var(--ease); }
.cmp:hover img { transform: translateY(-6px) scale(1.03); }
.cmp .dots { display: flex; gap: 6px; justify-content: center; margin: 18px 0 12px; min-height: 12px; }
.cmp .dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.cmp h3 { font-size: 24px; }
.cmp .tl { color: var(--ink-2); font-size: 15px; margin-top: 8px; min-height: 44px; }
.cmp .pr { margin-top: 14px; font-weight: 600; }
.cmp .st { font-size: 13.5px; margin-top: 2px; color: #30d158; }
.cmp .st.low { color: #ff9f0a; }
.cmp .acts { display: flex; gap: 10px; margin-top: 18px; }

/* why + final */
.why { padding: 100px 20px 0; }
.why-grid { width: min(var(--wrap), 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-card { padding: 26px; border-radius: 24px; background: var(--card); transition: transform .45s var(--ease); }
.why-card:hover { transform: translateY(-6px); }
.why-card b { font-size: 19px; }
.why-card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.final { text-align: center; padding: 140px 20px 120px; }
.final h2 { font-size: clamp(42px, 6.4vw, 80px); }
.final p { color: var(--ink-2); margin: 16px auto 0; max-width: 520px; font-size: 19px; }
.final-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.ip-foot { border-top: 1px solid var(--line); padding: 30px max(20px, calc(50% - 590px)) 40px; color: #8e8e93; font-size: 13px; display: grid; gap: 8px; }
.ip-foot a { color: var(--ink-2); }

/* reveal */
.motion [data-rv] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
.motion [data-rv].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .zoom { height: auto; } .zoom-sticky { position: relative; }
  .lit-para .w, .lit-head .w { color: var(--ink-2); } .lit-para em .w, .lit-head .w { color: var(--ink); }
}

.noimg { width: 70%; aspect-ratio: 1; display: grid; place-items: center; }
.noimg svg { width: 46%; height: auto; stroke: #3a3a3d; stroke-width: 3; }
[hidden] { display: none !important; }

/* =====================================================================
   Hero v2: pinned scroll story
   Chrome 3D "PRO" letters with the phone lying across them (like a
   product shot on a table). While you scroll ~1.5 screens the section
   stays put: the phone turns upright, the letters grow and fade back.
   Positions are set by js/iphone.js from measured sizes.
   ===================================================================== */
.ip-hero { position: relative; height: 260svh; min-height: 0; padding: 0; display: block; overflow: visible; isolation: auto; }
.ip-hero::before { content: none; }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 max(20px, calc(50% - 590px)) 44px; }
.hero-pin::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(42% 36% at 50% 46%, color-mix(in srgb, var(--tint) 60%, transparent), transparent 72%); opacity: var(--glow, .55); transition: background 1s var(--ease); }
.hero-stage { position: absolute; inset: 52px 0 var(--foot-h, 210px); display: grid; place-items: center; perspective: 1400px; }
.hero-stage > * { grid-area: 1 / 1; }

/* chrome letters */
.bigword { --f: clamp(140px, 30vw, 470px); position: relative; z-index: 0; font-size: var(--f); font-weight: 800; letter-spacing: -.035em; line-height: .78; padding: .06em .04em .1em; user-select: none;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
  background:
    linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 48%, rgba(220,210,255,.6) 52%, transparent 62%) 0 0 / 260% 100% no-repeat,
    linear-gradient(178deg, #ffffff 0%, #e9ecf2 14%, #9aa0aa 30%, #3a3d45 44%, #f2f4f8 52%, #b9bfca 62%, #5a5f69 76%, #d6d9e0 90%, #8d93a0 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.35)) drop-shadow(0 18px 50px rgba(150,170,255,.16));
  transform-origin: 50% 60%; will-change: transform, opacity; animation: sheen 6s var(--ease) infinite; }
@keyframes sheen { 0%, 35% { background-position: 130% 0, 0 0; } 75%, 100% { background-position: -40% 0, 0 0; } }
/* extruded depth behind the face */
.bigword::before { content: attr(data-text); position: absolute; inset: 0; z-index: -1; padding: inherit; color: transparent; -webkit-text-stroke: 1px rgba(140,150,255,.25);
  background: linear-gradient(180deg, #6d717b 0%, #24262c 55%, #0b0b0d 100%); -webkit-background-clip: text; background-clip: text; transform: translate(.012em, .05em); }
/* soft iridescent rim, like light catching chrome */
.bigword::after { content: attr(data-text); position: absolute; inset: 0; z-index: -2; padding: inherit; color: transparent; -webkit-text-stroke: 6px rgba(150,130,255,.18); filter: blur(10px); }

/* phone rig: size from js (--rig), transform from js */
.phone-rig { position: relative; z-index: 2; width: var(--rig, 600px); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; will-change: transform; }
.hero-phone { position: static; width: 100%; height: 100%; object-fit: contain; transform: none !important; filter: drop-shadow(0 30px 40px rgba(0,0,0,.75)); }
.motion .hero-phone { animation: none; }
.motion .phone-rig { animation: rigIn 1.5s var(--ease) both .2s; }
@keyframes rigIn { from { opacity: 0; translate: 18% 0; } }
.motion .bigword { animation: wordIn2 1.6s var(--ease) both, sheen 6s var(--ease) 1.6s infinite; }
@keyframes wordIn2 { from { opacity: 0; letter-spacing: .06em; filter: blur(14px); } }
.floor { z-index: 1; align-self: center; width: calc(var(--rig, 600px) * .8); height: calc(var(--rig, 600px) * .12); border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.9), transparent 70%);
  translate: 0 calc(var(--rig, 600px) * .16); opacity: var(--floor, 1); filter: blur(8px); }

/* bottom text: stays readable over everything */
.hero-foot { position: relative; z-index: 3; }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 14px; width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); opacity: var(--hint, 1); transition: opacity .3s; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) {
  .ip-hero { height: 240svh; }
  .hero-pin { padding: 0 18px 26px; }
  .hero-stage { inset: 52px 0 var(--foot-h, 250px); }
  .hero-title h1 { font-size: clamp(44px, 12.5vw, 60px); }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ip-hero { height: auto; } .hero-pin { position: relative; } .bigword { animation: none; } }
/* rig = the cut-out phone (size set by js); the shadow follows the phone's real outline */
.phone-rig { width: auto; aspect-ratio: auto; overflow: hidden; display: block; transform-style: flat; filter: drop-shadow(0 26px 34px rgba(0,0,0,.8)); border-radius: 6%; }
.hero-phone { display: block; max-width: none; width: auto; height: auto; object-fit: fill; filter: none; }
/* brighter chrome */
.bigword { background:
    linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 48%, rgba(220,210,255,.65) 52%, transparent 62%) 0 0 / 260% 100% no-repeat,
    linear-gradient(178deg, #ffffff 0%, #f3f5f9 11%, #c9ced8 25%, #5d626d 39%, #eceff4 49%, #ffffff 56%, #b4bac6 70%, #6f7581 84%, #e6e9ef 100%);
  -webkit-text-stroke: 1.5px rgba(255,255,255,.7); }
.phone-rig { position: relative; }
.phone-rig > .hero-phone { position: absolute; left: 0; top: 0; margin: 0; }
.bigword { -webkit-background-clip: text; background-clip: text; }
.bigword { background:
    linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 48%, rgba(220,210,255,.7) 52%, transparent 62%) 0 0 / 260% 100% no-repeat,
    linear-gradient(178deg, #ffffff 0%, #eef1f5 14%, #b9bec8 30%, #8b919c 40%, #f7f8fb 50%, #ffffff 56%, #cfd3db 68%, #8f95a1 84%, #eceef3 100%);
  -webkit-background-clip: text; background-clip: text; }
/* colour zoom lasts longer, and the phone is bigger on phones */
.zoom { height: 260svh; }
@media (max-width: 760px) { .zoom { height: 240svh; } .zoom-sticky { padding: 70px 16px 30px; } .zoom-phone { max-width: 92vw; transform: scale(calc(.8 + var(--zp, 0) * .32)); } .lit-head { font-size: clamp(36px, 10vw, 48px); } }
/* hero v3: the stage is the whole screen; positions come from js (letters above the headline,
   the phone stands up using the full height once the headline has slid away) */
.hero-stage { inset: 52px 0 16px; }
.bigword { font-size: clamp(120px, 30vw, 470px); }
.floor { translate: 0 calc(var(--floorY, 0px) + var(--rig, 600px) * .07); }
.hero-foot { transition: none; will-change: opacity, transform; }
/* the cut-out follows the iPhone's own rounded corners (about 12.5% of its width, 5.7% of its height) */
.phone-rig { border-radius: 12.5% / 5.7%; }
/* single official photo: the cut-out already has the real iPhone outline, so no extra clipping */
.phone-rig.single { border-radius: 0; overflow: visible; }
/* contact link reads as a link, not only by colour */
.ip-foot a[href^="tel"], footer a[href^="tel"] { text-decoration: underline; text-underline-offset: 3px; }
/* audit 2026-11-21: numbers line up on every card; compare cards keep price and buttons on one line */
.spec small { margin-bottom: auto; }
.cmp .tl { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.cmp .pr { margin-top: auto; padding-top: 14px; }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }

/* touch (phones, tablets): the same feel as hover while a finger is on it */
@media (hover: none) {
  .pill, .finish, .circle, .cmp, .gcard, .ln-models button { -webkit-tap-highlight-color: transparent; }
  .pill:active { transform: scale(.95); transition-duration: .12s; }
  .pill-blue:active { background: #0077ed; box-shadow: 0 12px 26px -12px rgba(0,113,227,.9); }
  .pill:active::after { transform: translate(55%, 45%); transition-duration: .5s; }
  .finish:active { transform: scale(1.12); }
  .circle:active { transform: scale(.92); background: #48484c; }
  .cmp:active { transform: scale(.98); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.14); transition-duration: .15s; }
  .cmp:active img { transform: translateY(-6px) scale(1.03); }
  .gcard:active .gframe img { transform: scale(1.04); }
}

/* text for search engines and screen readers only */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* colour section: the phone grows as you scroll but never past its own space, so it never covers the colour dots */
.zoom-phone { transform-origin: 50% 50%; transform: scale(calc(.76 + var(--zp, 0) * .24)); }
.finishes, .finish-label { position: relative; z-index: 2; }
@media (max-width: 760px) { .zoom-phone { transform: scale(calc(.86 + var(--zp, 0) * .14)); } }

/* ================= 2026-11-23 · Apple-style upgrade ================= */

/* --- liquid glass PRO: bright frosted letters, soft depth, rainbow light at the edges, a light that follows the mouse --- */
@property --sweep { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
#bigWord.bigword { color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.75);
  background:
    radial-gradient(22% 55% at var(--lx, 28%) var(--ly, 30%), rgba(255,255,255,1), rgba(255,255,255,0) 72%),
    linear-gradient(100deg, transparent 0%, rgba(255,176,120,.38) 8%, transparent 16%, transparent 42%, rgba(140,185,255,.42) 50%, transparent 58%, transparent 80%, rgba(255,190,140,.34) 88%, transparent 96%),
    linear-gradient(180deg, #ffffff 0%, #e6e6ec 20%, #a9a9b3 46%, #82828d 55%, #d2d2d9 78%, #fbfbfd 100%);
  background-size: 100% 100%, 240% 100%, 100% 100%; background-repeat: no-repeat;
  background-position: 0 0, var(--sweep, 0%) 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.95)) drop-shadow(0 0 14px rgba(255,255,255,.28)) drop-shadow(0 26px 50px rgba(0,0,0,.85)); }
/* depth and rainbow edge light come from shadows of the letters themselves (layers on top would hide the glass face) */
#bigWord.bigword::before, #bigWord.bigword::after { content: none; }
#bigWord.bigword { filter: drop-shadow(0 0 1px rgba(255,255,255,.95)) drop-shadow(0 .028em 0 #3b3b43) drop-shadow(0 .05em 0 #17171b)
  drop-shadow(-.035em 0 .05em rgba(255,168,110,.55)) drop-shadow(.035em 0 .05em rgba(130,175,255,.6)) drop-shadow(0 0 .08em rgba(255,255,255,.16)) drop-shadow(0 30px 50px rgba(0,0,0,.85)); }
@keyframes glassSweep { from { --sweep: 0%; } to { --sweep: 100%; } }
.motion #bigWord.bigword { animation: wordIn2 1.6s var(--ease) both, glassSweep 10s ease-in-out 1.6s infinite alternate; }
#bigWord.bigword { animation: glassSweep 10s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { #bigWord.bigword { animation: none !important; } }

/* --- feature pictures (drawn or whole official photos, never cut) --- */
.fv { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.fv img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.7)); transition: transform .8s var(--ease); }
.fv-glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tint) 55%, transparent), transparent 70%); filter: blur(10px); opacity: .7; }
/* chip */
.chip { position: relative; width: min(62%, 190px); aspect-ratio: 1; border-radius: 18%; display: grid; place-content: center; text-align: center;
  background: linear-gradient(145deg, #2b2b30, #111114 60%, #1c1c20); box-shadow: inset 0 0 0 2px #3a3a40, inset 0 0 0 7px #121214, inset 0 0 0 8px #4a4a52, 0 30px 60px -20px rgba(0,0,0,.9), 0 0 70px -10px color-mix(in srgb, var(--tint) 70%, transparent); }
.chip::before { content: ""; position: absolute; inset: -9%; border-radius: 22%; z-index: -1;
  background: repeating-linear-gradient(90deg, #6d6d75 0 2px, transparent 2px 9px), repeating-linear-gradient(0deg, #6d6d75 0 2px, transparent 2px 9px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 7%; opacity: .55; }
.chip b { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(160deg, #fff, #b9b9c2 45%, #f2e3ff 60%, #8f8f99); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip i { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .3em; color: #b0b0b8; margin-top: 4px; }
/* aperture blades open and close */
.iris { width: min(66%, 200px); aspect-ratio: 1; }
.iris svg { width: 100%; height: 100%; stroke: none; overflow: visible; }
.iris .blades { transform-origin: 50% 50%; animation: iris 4s ease-in-out infinite alternate; }
@keyframes iris { from { transform: rotate(0deg) scale(1); } to { transform: rotate(28deg) scale(.9); } }
/* display */
.scr { position: relative; height: 92%; aspect-ratio: 9 / 19.5; border-radius: 13% / 6%; padding: 3.2%; background: linear-gradient(140deg, #4b4b52, #18181b 40%, #2c2c31);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 30px 60px -20px rgba(0,0,0,.9); }
.scr i { position: absolute; z-index: 2; top: 4.5%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.scr span { position: absolute; inset: 3.2%; border-radius: 11% / 5%; overflow: hidden;
  background: radial-gradient(120% 70% at 30% 20%, color-mix(in srgb, var(--tint) 90%, #fff 10%), transparent 60%), radial-gradient(90% 60% at 80% 90%, #6f8cff, transparent 60%), linear-gradient(170deg, #1a1a2a, #000); }
.scr b { position: absolute; z-index: 2; left: 0; right: 0; top: 18%; text-align: center; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.04em; color: rgba(255,255,255,.92); }
/* battery fills up */
.batt { width: min(54%, 170px); aspect-ratio: 1 / 1.9; position: relative; border-radius: 22px; box-shadow: inset 0 0 0 3px #d6d6dc; padding: 8px; }
.batt::before { content: ""; position: absolute; top: -12px; left: 32%; right: 32%; height: 10px; border-radius: 6px 6px 0 0; background: #d6d6dc; }
.batt span { position: absolute; left: 8px; right: 8px; bottom: 8px; border-radius: 14px; background: linear-gradient(0deg, #30d158, #7ef0a0); height: 30%; animation: fill 3.6s var(--ease) infinite alternate; }
@keyframes fill { to { height: calc(100% - 16px); } }
/* storage stack */
.stor { display: grid; gap: 10px; width: min(70%, 220px); }
.stor i { height: 26px; border-radius: 9px; background: linear-gradient(90deg, #2c2c31, #3b3b42); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transform-origin: left; animation: stor 3s var(--ease) infinite alternate; }
.stor i:nth-child(2) { animation-delay: .25s; } .stor i:nth-child(3) { animation-delay: .5s; } .stor i:nth-child(4) { animation-delay: .75s; }
.stor i::after { content: ""; display: block; height: 100%; width: 70%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-btn), #6fb6ff); }
@keyframes stor { from { transform: scaleX(.55); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .iris .blades, .batt span, .stor i { animation: none; } }

/* --- At a glance: picture on top, words below, no numbers --- */
#specGrid .spec { display: grid; grid-template-rows: 210px auto; gap: 18px; padding: 18px 22px 26px; overflow: hidden; transition: transform .6s var(--spring), box-shadow .6s, background .6s; }
#specGrid .spec .fvbox { position: relative; border-radius: 18px; background: radial-gradient(70% 70% at 50% 45%, rgba(255,255,255,.06), transparent 70%), #0d0d0f; overflow: hidden; }
#specGrid .spec .fvbox .fv { position: absolute; inset: 14px; width: auto; height: auto; }
#specGrid .spec b { align-self: end; }
#specGrid .spec:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--tint) 90%, transparent); background: #1f1f23; }
#specGrid .spec:hover .fv img { transform: scale(1.04) rotate(-1.5deg); }
#specGrid .spec small { display: none; }

/* --- Get the highlights: big cards that slide by themselves --- */
.hls { padding: 110px 0 60px; }
.hls .sec-head { padding: 0 max(20px, calc(50% - 590px)); }
.hls-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 34px max(20px, calc(50% - 590px)) 10px; scroll-padding: 0 max(20px, calc(50% - 590px)); }
.hls-track::-webkit-scrollbar { display: none; }
.hl-slide { flex: none; width: min(1180px, calc(100vw - 40px)); height: clamp(460px, 64vh, 640px); scroll-snap-align: start; border-radius: 30px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; overflow: hidden; position: relative; isolation: isolate; transition: opacity .6s; }
.hl-slide::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(55% 70% at 72% 50%, color-mix(in srgb, var(--tint) 45%, transparent), transparent 70%); opacity: .8; }
.hl-slide .tx { padding: 0 0 0 clamp(26px, 5vw, 64px); font-size: clamp(24px, 2.7vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.hl-slide .tx small { display: block; margin-top: 14px; font-size: 17px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.hl-slide .vis { position: relative; height: 100%; padding: 36px 36px 36px 0; }
.hl-slide .vis .fv { height: 100%; }
.hl-slide:not(.on) { opacity: .55; }
.hls-ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 24px; }
.hls-dots { display: flex; gap: 10px; align-items: center; height: 56px; padding: 0 22px; border-radius: 999px; background: rgba(42,42,45,.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.hls-dots button { position: relative; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.4); overflow: hidden; transition: width .5s var(--ease), background .3s; }
.hls-dots button[aria-selected="true"] { width: 48px; background: rgba(255,255,255,.3); }
.hls-dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.hls-play { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(42,42,45,.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: transform .3s var(--spring), background .3s; }
.hls-play:hover { transform: scale(1.06); background: rgba(66,66,70,.8); }
.hls-play svg { width: 18px; height: 18px; }
.hls-play .i-play { display: none; } .hls-play.paused .i-play { display: block; } .hls-play.paused .i-pause { display: none; }
@media (max-width: 760px) {
  .hl-slide { width: calc(100vw - 40px); height: auto; min-height: 560px; grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; }
  .hl-slide .tx { padding: 30px 24px 0; font-size: 24px; }
  .hl-slide .vis { padding: 20px; height: 380px; }
}

/* --- Take a closer look: feature buttons on the left, the picture changes on the right --- */
.look { padding: 100px max(20px, calc(50% - 590px)) 40px; }
.look-box { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 30px; align-items: center; min-height: 640px; padding: 40px; border-radius: 30px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); position: relative; overflow: hidden; isolation: isolate; }
.look-box::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(45% 55% at 70% 50%, color-mix(in srgb, var(--tint) 40%, transparent), transparent 70%); transition: background .8s; }
.look-pills { display: grid; gap: 12px; justify-items: start; }
.lp { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; padding: 14px 22px 14px 14px; border-radius: 30px; background: rgba(42,42,45,.8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); text-align: left; font-size: 17px; font-weight: 600; max-width: 100%;
  transition: background .35s, border-radius .45s var(--ease), transform .3s var(--spring); }
.lp:hover { background: rgba(58,58,62,.9); transform: translateX(3px); }
.lp .pl { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); transition: transform .45s var(--ease); }
.lp .pl svg { width: 14px; height: 14px; }
.lp .sw { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); margin: 3px; }
.lp .more { grid-column: 1 / -1; display: none; font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--ink-2); padding: 4px 4px 2px; }
.lp[aria-expanded="true"] { border-radius: 22px; background: rgba(48,48,52,.92); }
.lp[aria-expanded="true"] .pl { transform: rotate(45deg); }
.lp[aria-expanded="true"] .more { display: block; animation: lpIn .45s var(--ease) both; }
@keyframes lpIn { from { opacity: 0; transform: translateY(-6px); } }
.look-cols { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.look-cols button { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: transform .3s var(--spring), box-shadow .3s; }
.look-cols button[aria-checked="true"] { box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff; }
.look-cols button:hover { transform: scale(1.12); }
.look-stage { position: relative; height: 560px; }
.look-stage .fv { position: absolute; inset: 0; animation: stageIn .7s var(--ease) both; }
@keyframes stageIn { from { opacity: 0; transform: scale(.96); } }
@media (max-width: 860px) {
  .look-box { grid-template-columns: 1fr; padding: 22px; min-height: 0; }
  .look-stage { height: 420px; order: -1; }
  .look-pills { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; justify-items: stretch; }
  .lp .more { white-space: normal; max-width: 280px; }
}

/* --- Buy: Apple Store style chooser --- */
.buy { padding: 110px max(20px, calc(50% - 590px)) 60px; background: linear-gradient(#000, #0b0b0d); }
.buy-head h2 { font-size: clamp(40px, 5.6vw, 64px); }
.buy-head p { margin-top: 10px; font-size: 19px; color: var(--ink-2); }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 50px; margin-top: 44px; align-items: start; }
.buy-visual { position: sticky; top: 84px; }
.buy-photo { position: relative; height: min(640px, calc(100vh - 160px)); border-radius: 30px; background: radial-gradient(60% 55% at 50% 50%, color-mix(in srgb, var(--tint) 45%, transparent), transparent 75%), #111113; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.buy-photo .fv { position: absolute; inset: 30px; width: auto; height: auto; }
.buy-photo .fv img { animation: stageIn .6s var(--ease) both; }
.buy-cap { margin-top: 14px; text-align: center; color: var(--ink-2); font-size: 15px; }
.buy-steps { display: grid; gap: 34px; }
.step h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 14px; }
.step h3 span { color: var(--ink-3); font-weight: 600; }
.opts { display: grid; gap: 12px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 76px; padding: 16px 20px; border-radius: 16px; text-align: left; background: #151517; box-shadow: inset 0 0 0 1px #3a3a3e;
  transition: box-shadow .25s, background .25s, transform .3s var(--spring); }
.opt:hover:not(:disabled) { box-shadow: inset 0 0 0 1px #86868b; transform: translateY(-1px); }
.opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--blue); background: #17171a; }
.opt:disabled { opacity: .45; cursor: not-allowed; }
.opt b { font-size: 17px; letter-spacing: -.01em; }
.opt small { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.opt .pr { text-align: right; font-size: 15px; font-weight: 600; white-space: nowrap; }
.opt .pr small { color: var(--ink-3); }
.swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.swatches button { width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: transform .3s var(--spring), box-shadow .25s; }
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--blue); }
.swatches button.out { opacity: .4; }
.buy-sum { position: sticky; bottom: 14px; z-index: 5; padding: 22px; border-radius: 22px; background: rgba(28,28,30,.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px -30px rgba(0,0,0,.9); }
.buy-sum .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.buy-sum .what { font-size: 15px; color: var(--ink-2); }
.buy-sum .what b { display: block; color: var(--ink); font-size: 18px; }
.buy-sum .amt { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.buy-sum .st { margin-top: 6px; font-size: 14px; color: #30d158; } .buy-sum .st.low { color: #ff9f0a; } .buy-sum .st.out { color: var(--ink-2); }
.buy-sum .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.buy-sum .acts .pill { height: 50px; font-size: 16px; }
.buy-sum .note { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.buy-sum .prot { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 600; }
.buy-sum .prot-note { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.buy-sum .prot span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.buy-sum .prot span::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2 2.6 3.3v4.1c0 3.3 2.3 6.1 5.4 7.4 3.1-1.3 5.4-4.1 5.4-7.4V3.3z' fill='%2330d158'/%3E%3Cpath d='M5.4 8.1l1.8 1.8 3.5-3.7' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 900px) {
  .buy-grid { grid-template-columns: 1fr; gap: 26px; }
  .buy-visual { position: relative; top: 0; }
  .buy-photo { height: 380px; }
  .buy-sum .acts { grid-template-columns: 1fr; }
}

/* pictures always fit their box completely (a grid cell with a fixed size, so max-height works) */
.fv { grid-template-columns: 100%; grid-template-rows: 100%; min-height: 0; min-width: 0; }
.fv > * { grid-area: 1 / 1; place-self: center; }
.fv > img { max-width: 100%; max-height: 100%; }
.fv > .fv-glow { place-self: stretch; }
#specGrid .spec { grid-template-columns: 100%; justify-items: stretch; align-content: stretch; }
#specGrid .spec .fvbox { width: 100%; }
.opt small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.buy-sum { position: relative; bottom: auto; }

/* colour section: the photo always fits its space (fixed grid cell, so max-height works on short screens) */
.zoom-stage { grid-template-columns: 100%; grid-template-rows: 100%; }
.zoom-phone { grid-area: 1 / 1; place-self: center; max-height: 100%; max-width: min(560px, 100%); height: auto; }

/* ---- smooth hero: the glass letters are drawn once; only a light layer moves (no repainting every frame) ---- */
#bigWord.bigword { animation: none; will-change: transform, opacity;
  background: linear-gradient(100deg, transparent 0%, rgba(255,176,120,.38) 8%, transparent 16%, transparent 42%, rgba(140,185,255,.42) 50%, transparent 58%, transparent 80%, rgba(255,190,140,.34) 88%, transparent 96%) 30% 0 / 240% 100% no-repeat,
    radial-gradient(30% 60% at 30% 28%, rgba(255,255,255,.9), rgba(255,255,255,0) 72%),
    linear-gradient(180deg, #ffffff 0%, #e6e6ec 20%, #a9a9b3 46%, #82828d 55%, #d2d2d9 78%, #fbfbfd 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 .03em 0 #2e2e35) drop-shadow(-.035em 0 .05em rgba(255,168,110,.5)) drop-shadow(.035em 0 .05em rgba(130,175,255,.55)) drop-shadow(0 0 .06em rgba(255,255,255,.18)); }
.motion #bigWord.bigword { animation: wordIn2 1.6s var(--ease) both; }
.glass-light { position: relative; z-index: 1; width: 46vmin; height: 46vmin; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,0) 62%); mix-blend-mode: overlay; will-change: transform; transition: transform .25s linear; opacity: var(--glow-l, 1); }
@media (hover: none) { .glass-light { display: none; } }
/* real photo label for the display feature */
.fv-tag { place-self: end center !important; margin-bottom: 4%; position: relative; z-index: 2; padding: 8px 16px; border-radius: 999px; font-size: clamp(13px, 1.3vw, 16px); font-weight: 650; letter-spacing: -.01em; white-space: nowrap;
  background: rgba(40,40,44,.62); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

/* ---- phones: model buttons always at the top (swipe to pick an iPhone), tab bar at the bottom ---- */
.ip-tabbar { display: none; }
@media (max-width: 760px) {
  .topbar { display: none; }
  .localnav { transform: none; opacity: 1; top: 8px; padding: 0 10px; }
  .ln-inner { flex-wrap: wrap; height: auto; padding: 8px 8px 8px 16px; row-gap: 6px; border-radius: 20px; }
  .ln-inner > .pill-ghost { display: none; }
  .ln-models { display: flex; order: 3; flex: 0 0 100%; margin: 0 0 0 -8px; padding-bottom: 2px; }
  .ln-models button { height: 34px; font-size: 14px; padding: 0 14px; }
  .ln-models button[aria-selected="true"] { background: #fff; color: #000; }
  .ip-hero .hero-stage, .hero-stage { top: 118px; }
  .ip-tabbar { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; justify-content: space-around; padding: 7px; border-radius: 24px;
    background: rgba(28,28,30,.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 40px -20px rgba(0,0,0,.9); }
  .ip-tabbar a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 16px; font-size: 11px; font-weight: 600; color: var(--ink-2); -webkit-tap-highlight-color: transparent; }
  .ip-tabbar a[aria-current] { color: #fff; }
  .ip-tabbar a:active { background: rgba(255,255,255,.1); }
  .ip-tabbar .ip-wa { color: #30d158; }
  .ip-foot { padding-bottom: 110px; }
  .hero-pin { padding-bottom: 96px; }
}

/* camera aperture: drawn by the page, no spinning wheel */
.iris { width: min(78%, 230px); aspect-ratio: 1; }
.iris svg { width: 100%; height: 100%; stroke: none; overflow: visible; filter: drop-shadow(0 20px 40px rgba(0,0,0,.8)); }
.iris .blades { animation: none !important; transform: none !important; }

/* ---- smooth scrolling: the glass look (gradient + glow shadows) lives on the inner letters, drawn once;
   the outer box only moves and fades, which the graphics chip does without redrawing ---- */
#bigWord.bigword { background: none; filter: none; -webkit-text-stroke: 0; color: transparent; will-change: transform, opacity; contain: layout style; }
#bigWord .bw { display: block; color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.75);
  background: linear-gradient(100deg, transparent 0%, rgba(255,176,120,.38) 8%, transparent 16%, transparent 42%, rgba(140,185,255,.42) 50%, transparent 58%, transparent 80%, rgba(255,190,140,.34) 88%, transparent 96%) 30% 0 / 240% 100% no-repeat,
    radial-gradient(30% 60% at 30% 28%, rgba(255,255,255,.9), rgba(255,255,255,0) 72%),
    linear-gradient(180deg, #ffffff 0%, #e6e6ec 20%, #a9a9b3 46%, #82828d 55%, #d2d2d9 78%, #fbfbfd 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 .03em 0 #2e2e35) drop-shadow(-.035em 0 .05em rgba(255,168,110,.5)) drop-shadow(.035em 0 .05em rgba(130,175,255,.55)) drop-shadow(0 0 .06em rgba(255,255,255,.18));
  will-change: transform; transform: translateZ(0); }
/* the glow is painted once into the word's own layer (an inner layer would re-apply it every frame) */
#bigWord .bw { will-change: auto; transform: none; }

/* ---- smoother hero (2): no mouse light blob, no outline lines inside the letters, moving pieces are their own layers ---- */
.glass-light { display: none !important; }
#bigWord .bw { -webkit-text-stroke: 0; filter: drop-shadow(0 0 .6px rgba(255,255,255,.95)) drop-shadow(0 .03em 0 #2e2e35) drop-shadow(-.035em 0 .05em rgba(255,168,110,.5)) drop-shadow(.035em 0 .05em rgba(130,175,255,.55)) drop-shadow(0 0 .06em rgba(255,255,255,.18)); }
.hero-pin::before { display: none; }
.hero-glow { position: absolute; z-index: -2; inset: 0; pointer-events: none; background: radial-gradient(42% 36% at 50% 46%, color-mix(in srgb, var(--tint) 60%, transparent), transparent 72%); opacity: .55; will-change: opacity; }
.floor { translate: none; transform: translateY(0); will-change: transform, opacity; margin-top: calc(var(--rig, 600px) * .14); }
.scroll-hint { will-change: opacity; }
.phone-rig { will-change: transform; }

/* ---- phones: no live blur behind bars and cards (phones redraw it every frame while scrolling), lighter glow ---- */
@media (max-width: 760px), (hover: none) {
  .ln-inner, .ip-tabbar, .hls-dots, .hls-play, .lp, .buy-pill, .buy-sum, .fv-tag, .topbar { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .ln-inner, .ip-tabbar { background: rgba(22,22,24,.96); }
  .hls-dots, .hls-play { background: rgba(42,42,45,.96); }
  .lp { background: #2a2a2d; } .lp[aria-expanded="true"] { background: #303034; }
  .buy-pill { background: rgba(40,40,44,.97); }
  .fv-tag { background: rgba(40,40,44,.92); }
  #bigWord .bw { filter: drop-shadow(0 .03em 0 #2e2e35) drop-shadow(0 0 .05em rgba(200,190,255,.35)); }
  .hero-phone { filter: drop-shadow(0 18px 24px rgba(0,0,0,.7)); }
  .floor { filter: none; background: radial-gradient(ellipse, rgba(0,0,0,.85), transparent 68%); }
}

/* highlights: the picture area is exactly the card's height, so photos scale down to fit (never cut) */
@media (min-width: 761px) { .hl-slide { grid-template-rows: 100%; } .hl-slide .vis { height: 100%; min-height: 0; overflow: hidden; } .hl-slide .vis .fv { height: 100%; } }
@media (max-width: 760px) { .hl-slide .vis { min-height: 0; } }
.buy-sum .plans { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy-sum .plan { padding: 14px 14px 12px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.buy-sum .plan b { display: block; font-size: 14.5px; margin-bottom: 8px; letter-spacing: -.01em; }
.buy-sum .plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.buy-sum .plan li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.buy-sum .plan li::before { content: ""; position: absolute; left: 0; top: 1px; width: 15px; height: 15px; border-radius: 50%; background: #30d158 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 560px) { .buy-sum .plans { grid-template-columns: 1fr; } }
.buy-sum .plans-more { display: inline-flex; gap: 4px; margin-top: 10px; font-size: 14px; font-weight: 600; color: #2997ff; text-decoration: none; }
.buy-sum .plans-more:hover { text-decoration: underline; }
