/* DHCC Free Zone, v19: the best of apple.com in one page.
   Dark, cinematic product-page theme (iPhone 18 Pro) that turns light near the end, with components from across apple.com:
   global nav mega menu, ribbon, floating local nav, media hero, highlights gallery, stat counters, sticky zoom-out,
   full-bleed headline, specs grid, segmented switcher, captioned card gallery, scroll-lit text, gradient headline,
   buy-flow builder, upgrade-style panel, store shelf with modals, compare panel, values, section index and footer.
   Font sizes are in rem so the accessibility text size control scales them. */

:root {
  --ink: #f5f5f7;
  --ink-2: #86868b;
  --ink-3: #6e6e73;
  --bg: #000;
  --bg-alt: #1d1d1f;
  --bg-deep: #161617;
  --line: #424245;
  --link: #2997ff;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --l-ink: #1d1d1f;
  --l-ink-2: #6e6e73;
  --l-bg: #f5f5f7;
  --l-line: #d2d2d7;
  --l-link: #0066cc;
  --focus: rgba(0, 125, 250, .6);
  --ease: cubic-bezier(.4, 0, .6, 1);
  --ease-out: cubic-bezier(0, 0, .5, 1);
  --gw: min(87.5vw, 1260px);
  --gutter: calc((100vw - var(--gw)) / 2);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.47059 var(--sans); letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
sup { font-size: .6em; line-height: 0; vertical-align: super; }
sup a { color: inherit; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 1px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10001; padding: 10px 16px; border-radius: 980px; background: var(--blue); color: #fff; font-size: .875rem; }
.skip:focus { top: 8px; text-decoration: none; }
main { display: block; }
main:focus { outline: none; }

/* ---------- Type ---------- */
.eyebrow { color: var(--ink-2); font-family: var(--display); font-size: 1.0625rem; line-height: 1.235; font-weight: 600; letter-spacing: -.022em; }
.eyebrow.center, .center { text-align: center; }
.super-headline { font-family: var(--display); font-size: 5rem; line-height: 1.05; font-weight: 600; letter-spacing: -.015em; }
.section-headline { font-family: var(--display); font-size: 3rem; line-height: 1.08349; font-weight: 600; letter-spacing: -.003em; }
.headline-center { font-family: var(--display); font-size: 3.5rem; line-height: 1.07143; font-weight: 600; letter-spacing: -.005em; text-align: center; }
.hl-copy { max-width: 692px; margin: 40px auto 0; color: var(--ink-2); font-family: var(--display); font-size: 1.3125rem; line-height: 1.381; font-weight: 600; letter-spacing: .011em; }
.hl-copy b { color: var(--ink); font-weight: 600; transition: color .8s var(--ease); }
.hl-copy.narrow { max-width: 692px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 1.0625rem; white-space: nowrap; }
.more-link svg { width: 7px; height: 12px; }
.more-link.sm { font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 11px 21px; border: 1px solid transparent; border-radius: 980px; background: var(--blue); color: #fff;
  font-size: 1.0625rem; line-height: 1.17648; letter-spacing: -.022em; white-space: nowrap; text-align: center;
  transition: background-color .32s var(--ease), color .32s var(--ease), border-color .32s var(--ease);
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn-secondary { background: transparent; border-color: var(--link); color: var(--link); }
.btn-secondary:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-secondary.on-photo { border-color: rgba(255, 255, 255, .9); color: #fff; }
.btn-secondary.on-photo:hover { background: #fff; color: var(--l-ink); }
.btn-sm { padding: 8px 15px; font-size: .875rem; line-height: 1.28577; letter-spacing: -.016em; }

/* ---------- Global nav (dark product-page variant) ---------- */
.gn { position: relative; z-index: 9999; height: 44px; background: rgba(22, 22, 23, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.gn.has-fly, .gn.has-menu { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.gn-content { position: relative; z-index: 2; max-width: 1024px; height: 44px; margin: 0 auto; padding: 0 22px; }
.gn-list { display: flex; justify-content: space-between; align-items: center; height: 44px; margin: 0 -8px; }
.gn-item { height: 44px; }
.gn-link { display: flex; align-items: center; height: 44px; padding: 0 8px; color: rgba(255, 255, 255, .8); font-size: .75rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; transition: color .32s var(--ease); }
.gn-link:hover, .gn-item.is-open > .gn-link { color: #fff; text-decoration: none; }
.gn-home img { width: auto; height: 22px; }
.gn-menu-btn { display: none; }
.gn-bg { position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: calc(44px + var(--fh, 0px)); background: var(--bg-deep); opacity: 0; visibility: hidden; transition: height .32s var(--ease) .12s, opacity .24s var(--ease) .2s, visibility 0s linear .44s; }
.gn.has-fly .gn-bg, .gn.has-menu .gn-bg { opacity: 1; visibility: visible; transition: height .32s var(--ease), opacity 0s, visibility 0s; }
.gn-fly { position: absolute; z-index: 2; top: 44px; left: 0; right: 0; visibility: hidden; pointer-events: none; }
.gn-item.is-open .gn-fly { visibility: visible; pointer-events: auto; }
.gn-fly-in { display: flex; max-width: 1024px; margin: 0 auto; padding: 40px 22px 84px; text-align: start; }
.gn-group { max-width: 25%; padding-inline-end: 44px; }
.gn-group.is-big { max-width: 50%; padding-inline-end: 88px; }
.gn-head { margin-bottom: 14px; color: var(--ink-2); font-size: .75rem; font-weight: 400; line-height: 1.33337; letter-spacing: -.01em; }
.gn-group li { margin: 0 -11px; }
.gn-group a, .gn-group button:not(.gn-a11y button) { display: inline-block; padding: 7px 11px; margin-bottom: -6px; color: #e8e8ed; font-size: .75rem; font-weight: 600; line-height: 1.33337; letter-spacing: -.01em; transition: color .32s var(--ease); }
.gn-group a:hover, .gn-group button:hover { color: #fff; text-decoration: none; }
.gn-group a.gn-big { padding: 9px 11px 7px; margin-bottom: -4px; font-family: var(--display); font-size: 1.5rem; line-height: 1.16667; letter-spacing: .009em; }
.gn-after, .gn-group ul + ul { margin-top: 14px; }
.gn-group button[aria-pressed="true"] { color: var(--link); }
.gn-group button[aria-pressed="true"]::after { content: " ✓"; }
.gn-fi { opacity: 0; transform: translateY(-4px); transition: opacity .32s var(--ease) calc(var(--i, 0) * 20ms + (var(--g, 0) + 1) * 80ms), transform .32s var(--ease) calc(var(--i, 0) * 20ms + (var(--g, 0) + 1) * 80ms); }
.gn-item.is-open .gn-fi { opacity: 1; transform: none; }
.gn-item:not(.is-open) .gn-fi { transition-delay: 0s; transition-duration: .16s; }
.gn-curtain { position: fixed; inset: 0; z-index: 9998; background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .32s var(--ease) 80ms, visibility .32s step-end 80ms; }
.gn-curtain.is-on { opacity: 1; visibility: visible; transition: opacity .32s var(--ease) 80ms, visibility .32s step-start 80ms; }
.gn-search { display: block; }
.gn-sf { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; color: var(--ink-2); }
.gn-sf input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 1.5rem/1.16667 var(--display); letter-spacing: .009em; }
.gn-sf input::placeholder { color: var(--ink-3); }
.gn-sf input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.gn-quick li { margin: 0 -11px; }
.gn-quick a { display: flex; align-items: center; gap: 10px; padding: 6px 11px; color: #e8e8ed; font-size: .75rem; font-weight: 600; line-height: 1.33337; }
.gn-quick a::before { content: "→"; color: var(--ink-2); font-weight: 400; }
.gn-quick a:hover { color: #fff; text-decoration: none; }
.gn-a11y { display: inline-flex; gap: 8px; margin-top: 4px; }
.gn-a11y button { min-width: 56px; height: 44px; padding: 0 14px; border: 1px solid var(--ink-3); border-radius: 12px; color: var(--ink); font-family: var(--display); font-size: 1.0625rem; font-weight: 600; }
.gn-a11y button[data-size="1.125"] { font-size: 1.25rem; }
.gn-a11y button[data-size="1.25"] { font-size: 1.4375rem; }
.gn-a11y button[aria-pressed="true"] { border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.gn-mobile { display: none; }

/* ---------- Ribbon ---------- */
.ribbon { padding: 16px 22px; background: var(--bg-alt); text-align: center; font-size: .875rem; line-height: 1.42859; letter-spacing: -.016em; color: var(--ink); }
.ribbon a { white-space: nowrap; }

/* ---------- Floating local nav (iPhone 18 Pro, 2026) ---------- */
.ln { position: fixed; top: 10px; left: 0; right: 0; z-index: 9990; display: flex; justify-content: center; pointer-events: none; opacity: 0; transform: translateY(-14px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.ln.is-shown { opacity: 1; transform: none; }
.ln.is-shown .ln-wrap { pointer-events: auto; }
.ln-wrap {
  position: relative; display: flex; align-items: center; justify-content: space-between; width: min(1024px, calc(100% - 24px)); height: 52px;
  padding: 0 12px 0 22px; border-radius: 18px; background: rgba(18, 18, 18, .8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px #282828; transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.ln-title { color: var(--ink); font-family: var(--display); font-size: 1.1875rem; line-height: 1.21; font-weight: 600; letter-spacing: .012em; }
.ln-title:hover { text-decoration: none; }
.ln-actions { display: flex; align-items: center; gap: 10px; }
.ln-explore, .ln-buy { display: inline-flex; align-items: center; height: 28px; padding: 6px 12px; border-radius: 120px; font-size: .75rem; line-height: 1.33337; letter-spacing: -.01em; }
.ln-explore { color: var(--ink); box-shadow: 0 0 0 1px var(--ink-3); transition: box-shadow .3s var(--ease), background-color .3s var(--ease); }
.ln-explore:hover, .ln-explore[aria-expanded="true"] { background: rgba(255, 255, 255, .12); }
.ln-buy { background: var(--blue); color: #fff; }
.ln-buy:hover { background: var(--blue-hover); text-decoration: none; }
.ln-menu {
  position: absolute; top: 62px; right: 0; width: 260px; padding: 10px; border-radius: 18px; background: rgba(28, 28, 30, .92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px #2c2c2e, 0 20px 50px rgba(0, 0, 0, .5);
  transform-origin: top right; animation: pop-in .28s var(--ease-out);
}
.ln-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-size: .9375rem; }
.ln-menu a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
@keyframes pop-in { from { opacity: 0; transform: scale(.96) translateY(-4px); } to { opacity: 1; transform: none; } }
.ln.is-light .ln-wrap { background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 6px 20px rgba(0, 0, 0, .06); }
.ln.is-light .ln-title { color: var(--l-ink); }
.ln.is-light .ln-explore { color: var(--l-ink); box-shadow: 0 0 0 1px #86868b; }
.ln.is-light .ln-explore:hover, .ln.is-light .ln-explore[aria-expanded="true"] { background: rgba(0, 0, 0, .06); }
.ln.is-light .ln-menu { background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 20px 50px rgba(0, 0, 0, .14); }
.ln.is-light .ln-menu a { color: var(--l-ink); }
.ln.is-light .ln-menu a:hover { background: rgba(0, 0, 0, .05); }

/* ---------- Media hero ---------- */
.hero { position: relative; height: max(640px, min(calc(100vh - 96px), 900px)); overflow: hidden; background: #000; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.14); }
.js .hero-media img { animation: hero-settle 3s var(--ease-out) .05s forwards; }
@keyframes hero-settle { to { transform: scale(1); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .2) 38%, rgba(0, 0, 0, 0) 60%); }
.hero-inner { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 var(--gutter) 56px; }
.hero-eyebrow { font-family: var(--display); font-size: 1.75rem; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; }
.hero-title { margin-top: 4px; font-family: var(--display); font-size: 5rem; line-height: 1.05; font-weight: 600; letter-spacing: -.015em; }
.hero-buy {
  display: flex; align-items: center; gap: 18px; padding: 12px 12px 12px 22px; border-radius: 28px; background: rgba(50, 50, 52, .55);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: .75rem; line-height: 1.33337; letter-spacing: -.01em; color: var(--ink); white-space: nowrap;
}

/* ---------- Sections ---------- */
.section { padding: 160px 0 0; }
.theme-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: var(--gw); margin: 0 auto 52px; }
.section-headline.wide { width: var(--gw); margin: 0 auto 52px; }

/* Highlights gallery */
.highlights { padding-bottom: 120px; }
.gallery { position: relative; }
.gallery-track { position: relative; display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--gutter); scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar, .cg-track::-webkit-scrollbar, .shelf-track::-webkit-scrollbar { display: none; }
.g-card { position: relative; flex: none; width: var(--gw); height: calc(var(--gw) * .54); max-height: 720px; min-height: 440px; overflow: hidden; border-radius: 28px; background: #000; scroll-snap-align: start; }
.g-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.g-card.is-current img { transform: none; }
.g-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 42%); pointer-events: none; }
.g-cap { position: absolute; z-index: 2; top: 52px; left: 0; right: 0; max-width: 620px; margin: 0 auto; padding: 0 24px; color: rgba(255, 255, 255, .95); text-align: center; font-family: var(--display); font-size: 1.75rem; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out) .25s, transform .7s var(--ease-out) .25s; }
.g-card.is-current .g-cap { opacity: 1; transform: none; }
.g-controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; justify-content: center; gap: 14px; pointer-events: none; }
.g-dots, .g-play { pointer-events: auto; display: flex; align-items: center; height: 56px; border-radius: 28px; background: rgba(66, 66, 69, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.g-dots { gap: 16px; padding: 0 23px; }
.g-dots button { position: relative; display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .42); overflow: hidden; transition: width .4s var(--ease), background-color .4s var(--ease); }
.g-dots button[aria-selected="true"] { width: 48px; background: rgba(255, 255, 255, .22); }
.g-dots button span { position: absolute; inset: 0; border-radius: 4px; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.g-dots button[aria-selected="true"] span { --p: 1; }
.g-dots.is-timed button[aria-selected="true"] span { animation: g-fill var(--dur, 5s) linear forwards; }
.g-dots.is-paused button[aria-selected="true"] span { animation-play-state: paused; }
@keyframes g-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.g-play { justify-content: center; width: 56px; color: var(--ink); }
.g-play svg { width: 56px; height: 56px; display: none; }
.g-play[data-state="playing"] .i-pause, .g-play[data-state="paused"] .i-play, .g-play[data-state="ended"] .i-replay { display: block; }

/* Intro + stats */
.intro { width: min(980px, calc(100% - 48px)); margin: 0 auto; text-align: center; }
.intro .super-headline { margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; align-items: center; }
.stat-pre, .stat-post { color: var(--ink-2); font-size: .875rem; line-height: 1.28577; letter-spacing: -.016em; }
.stat-num { margin: 2px 0 4px; font-family: var(--display); font-size: 2.5rem; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-unit { font-size: .6em; }

/* Sticky zoom-out */
.zoom { position: relative; height: 260vh; margin-top: 140px; }
.zoom-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.zoom-frame { position: absolute; inset: 0; clip-path: inset(calc(var(--p, 0) * 9vh) calc(var(--p, 0) * 7vw) calc(var(--p, 0) * 30vh) round calc(var(--p, 0) * 28px)); will-change: clip-path; }
.zoom-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - .18 * var(--p, 0))); will-change: transform; }
.zoom-copy { position: absolute; left: 0; right: 0; bottom: 6vh; padding: 0 24px; text-align: center; opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 24px)); }
.zoom-copy p { max-width: 560px; margin: 14px auto 0; color: var(--ink-2); font-family: var(--display); font-size: 1.3125rem; line-height: 1.381; font-weight: 600; }
.zoom-copy .super-headline { font-size: 4rem; }

/* Full-bleed headline + specs */
.activities { padding-top: 120px; }
.overlay-hero { position: relative; height: min(860px, 92vh); min-height: 560px; overflow: hidden; }
.overlay-media { position: absolute; inset: -8% 0; }
.overlay-media img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0px)); will-change: transform; }
.overlay-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 28%, rgba(0, 0, 0, 0) 58%); }
.overlay-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 64px; padding: 0 24px; text-align: center; }
.overlay-copy .super-headline { margin-top: 10px; }
.activities .hl-copy { margin-top: 24px; text-align: center; }
.specs { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; width: min(980px, calc(100% - 48px)); margin: 100px auto 0; }
.specs-stats p { display: flex; flex-direction: column; padding: 20px 0 28px; border-top: 1px solid var(--line); }
.stat-big { margin: 2px 0; font-family: var(--display); font-size: 3rem; line-height: 1.08349; font-weight: 600; }
.specs-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.specs-list > div:last-child { display: block; }
.specs-list dt { font-weight: 600; }
.specs-list dd { color: var(--ink-2); }

/* Segmented switcher */
.term .hl-copy { margin-top: 24px; }
.term-stage { width: min(1040px, var(--gw)); margin: 64px auto 0; text-align: center; }
.term-media { position: relative; aspect-ratio: 16 / 9; max-height: 620px; overflow: hidden; border-radius: 28px; background: var(--bg-alt); }
.term-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.4s var(--ease-out); }
.term-media img.is-on { opacity: 1; transform: none; }
.seg { position: relative; display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 980px; background: rgba(66, 66, 69, .6); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 980px; background: rgba(255, 255, 255, .16); transition: transform .42s cubic-bezier(.3, .7, .2, 1), width .42s cubic-bezier(.3, .7, .2, 1); }
.seg button { position: relative; z-index: 1; min-width: 92px; padding: 9px 18px; border-radius: 980px; color: var(--ink-2); font-size: .875rem; font-weight: 600; transition: color .3s var(--ease); }
.seg button[aria-checked="true"] { color: var(--ink); }
.term-cap { min-height: 3em; max-width: 620px; margin: 20px auto 0; color: var(--ink-2); font-size: 1.0625rem; }
.term-cap b { color: var(--ink); font-weight: 600; }

/* Captioned card gallery with UI overlays */
.support .section-headline.wide { margin-bottom: 52px; }
.cg-track { display: flex; gap: 24px; overflow-x: auto; padding: 0 var(--gutter); scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.cg-card { flex: none; width: min(744px, 82vw); scroll-snap-align: start; }
.cg-media { position: relative; aspect-ratio: 1.55; overflow: hidden; border-radius: 28px; background: var(--bg-alt); }
.cg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cg-card:hover .cg-media img { transform: scale(1.03); }
.cg-cap { max-width: 540px; margin-top: 28px; padding: 0 18px; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.47059; }
.cg-cap b { color: var(--ink); font-weight: 600; }
.ui-stack, .ui-glass, .ui-toggles, .ui-row { position: absolute; z-index: 2; opacity: 0; transition: opacity .6s var(--ease-out) .15s, transform .6s var(--ease-out) .15s; }
.cg-card.is-live .ui-stack, .cg-card.is-live .ui-glass, .cg-card.is-live .ui-toggles, .cg-card.is-live .ui-row { opacity: 1; transform: none; }
.ui-stack { top: 50%; right: 30px; display: flex; flex-direction: column; gap: 12px; transform: translate(10px, -50%); }
.cg-card.is-live .ui-stack { transform: translate(0, -50%); }
.ui-round { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(40, 40, 42, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ui-round svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ui-round.is-on { background: rgba(255, 255, 255, .92); }
.ui-round.is-on svg { stroke: #1d1d1f; }
.ui-glass { left: 28px; bottom: 28px; display: flex; flex-direction: column; gap: 2px; min-width: 220px; padding: 14px 18px 16px; border-radius: 18px; background: rgba(30, 30, 32, .5); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); transform: translateY(10px); }
.ui-glass-t { color: rgba(255, 255, 255, .7); font-size: .75rem; }
.ui-glass-n { font-size: 1.0625rem; font-weight: 600; }
.ui-bar { position: relative; height: 4px; margin-top: 10px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ui-bar i { position: absolute; inset: 0; border-radius: 2px; background: #30d158; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .5s; }
.cg-card.is-live .ui-bar i { transform: scaleX(.72); }
.cg-card.is-live .ui-bar.is-full i { transform: scaleX(1); }
.ui-toggles { right: 28px; bottom: 28px; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 18px; background: rgba(30, 30, 32, .5); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); transform: translateY(10px); }
.ui-toggles span { display: flex; align-items: center; gap: 12px; padding: 8px 10px; font-size: .875rem; font-weight: 600; }
.tg { position: relative; width: 38px; height: 23px; border-radius: 12px; background: rgba(120, 120, 128, .4); transition: background-color .4s var(--ease) .7s; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease) .7s; }
.cg-card.is-live .tg.is-on { background: #30d158; }
.cg-card.is-live .tg.is-on::after { transform: translateX(15px); }
.ui-row { left: 50%; bottom: 28px; display: flex; gap: 8px; transform: translate(-50%, 10px); }
.cg-card.is-live .ui-row { transform: translate(-50%, 0); }
.ui-row span { padding: 9px 16px; border-radius: 980px; background: rgba(30, 30, 32, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: .875rem; font-weight: 600; }
.ui-row span.is-on { background: rgba(255, 255, 255, .92); color: #1d1d1f; }
.paddles { display: flex; justify-content: flex-end; gap: 18px; width: var(--gw); margin: 32px auto 0; }
.paddle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(66, 66, 69, .72); color: rgba(255, 255, 255, .8); transition: background-color .1s linear, opacity .1s linear; }
.paddle:hover:not(:disabled) { background: rgba(80, 80, 84, .8); }
.paddle:disabled { opacity: .36; cursor: default; }
.paddle svg { width: 36px; height: 36px; }

/* Scroll-lit statement */
.statement { position: relative; height: 230vh; margin-top: 120px; }
.statement-sticky { position: sticky; top: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 0 var(--gutter); }
.statement-sticky .eyebrow { width: min(980px, 100%); margin-bottom: 18px; }
.statement-text { max-width: 980px; font-family: var(--display); font-size: 4rem; line-height: 1.0625; font-weight: 600; letter-spacing: -.009em; }
.statement-text .w { opacity: .16; transition: opacity .25s linear; }
.statement-text .w.is-lit { opacity: 1; }

/* Gradient headline + features */
.health { width: 100%; text-align: center; }
.health .super-headline { margin-top: 10px; }
.gradient {
  background: linear-gradient(90deg, #5ee0b5 0%, #6fc6ff 35%, #b9a6ff 65%, #5ee0b5 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.health .hl-copy { margin-top: 28px; }
.health-media { width: var(--gw); aspect-ratio: 2.1; margin: 72px auto 0; overflow: hidden; border-radius: 28px; }
.health-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; width: min(760px, calc(100% - 48px)); margin: 72px auto 0; }
.features h3 { margin: 18px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.3125rem; line-height: 1.19; font-weight: 600; }
.features p { color: var(--ink-2); }
.f-ic svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Panels (build + move) */
.panel { width: var(--gw); margin: 0 auto; padding: 80px clamp(24px, 5.5vw, 84px); border-radius: 28px; background: var(--bg-alt); }
.build-head { margin-bottom: 52px; }
.build-intro { margin-top: 12px; color: var(--ink-2); font-family: var(--display); font-size: 1.3125rem; line-height: 1.19; }
.build-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; }
.build-sticky { position: sticky; top: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 580px; padding: 48px 24px 32px; border-radius: 18px; background: #000; perspective: 1200px; }
.license {
  position: relative; display: flex; flex-direction: column; width: min(440px, 100%); aspect-ratio: 1.586; padding: 26px 28px; overflow: hidden; border-radius: 22px; color: #1d1d1f;
  background: linear-gradient(135deg, #fff 0%, #f0f0f3 38%, #fbfbfd 52%, #e2e2e7 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 80px -24px rgba(0, 0, 0, .8);
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transform-style: preserve-3d; transition: transform .6s var(--ease-out);
}
.license-shine { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .85) 50%, transparent 60%); transform: translateX(var(--sx, -30%)); transition: transform .6s var(--ease-out); pointer-events: none; }
.license-top { position: relative; }
.license-top img { height: 27px; width: auto; }
.license-kind { position: relative; margin-top: auto; color: #86868b; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.license-name { position: relative; margin-top: 2px; font-family: var(--display); font-size: 1.375rem; line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; }
.license-meta { position: relative; display: flex; gap: 8px; margin-top: 12px; }
.license-meta span { padding: 4px 10px; border-radius: 980px; background: rgba(0, 0, 0, .06); color: #6e6e73; font-size: .75rem; font-weight: 600; }
.build-visual-note { max-width: 420px; margin-top: 36px; color: var(--ink-2); font-size: .75rem; line-height: 1.33337; text-align: center; }
.build-form { display: flex; flex-direction: column; gap: 52px; }
.opt-legend { display: block; margin-bottom: 18px; color: var(--ink-2); font-family: var(--display); font-size: 1.5rem; line-height: 1.16667; font-weight: 600; letter-spacing: .009em; }
.opt-legend b { color: var(--ink); font-weight: 600; }
.opt-list { display: grid; gap: 14px; }
.opt-list.is-3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 16px 18px; border: 1px solid var(--ink-3); border-radius: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.is-3 .opt-box { flex-direction: column; justify-content: center; gap: 2px; min-height: 92px; text-align: center; }
.opt:hover .opt-box { border-color: var(--ink-2); }
.opt input:checked + .opt-box { border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.opt input:focus-visible + .opt-box { outline: 4px solid var(--focus); outline-offset: 1px; }
.opt-name { font-size: 1.0625rem; line-height: 1.235; font-weight: 600; }
.opt-price { color: var(--ink-2); font-size: .8125rem; line-height: 1.38; white-space: nowrap; }
.steppers { display: grid; gap: 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 14px 14px 14px 18px; border: 1px solid var(--line); border-radius: 12px; }
.st-label { font-weight: 600; line-height: 1.235; }
.st-label small { display: block; color: var(--ink-2); font-size: .8125rem; font-weight: 400; }
.st-ctl { display: flex; align-items: center; gap: 4px; }
.st-ctl button { width: 36px; height: 36px; border-radius: 50%; background: #333336; font-size: 1.25rem; line-height: 1; transition: background-color .2s var(--ease); }
.st-ctl button:hover { background: #424245; }
.st-ctl button:disabled { opacity: .35; cursor: default; }
.st-ctl output { min-width: 34px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.summary { padding: 28px; border-radius: 18px; background: #000; }
.summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 600; }
.summary-total { font-family: var(--display); font-size: 2rem; line-height: 1.125; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-lines { margin-top: 14px; color: var(--ink-2); font-size: .875rem; line-height: 1.43; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.summary-ctas { display: flex; flex-wrap: wrap; gap: 12px 1em; margin-top: 22px; }

.move { padding-top: 120px; padding-bottom: 160px; }
.move-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.move-select label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .75rem; font-weight: 600; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; top: 50%; right: 16px; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
.move-select select { width: 260px; height: 44px; padding: 0 40px 0 16px; border: 1px solid var(--ink-3); border-radius: 12px; background: transparent; color: var(--ink); font-size: .9375rem; appearance: none; -webkit-appearance: none; cursor: pointer; }
.move-select select option { background: #1d1d1f; }
.move-lead { margin: 40px 0 24px; color: var(--ink-2); font-size: 1.0625rem; }
.move-lead b { color: var(--ink); }
.bento { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.bento-tile { display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding: 32px; border-radius: 18px; background: #000; text-align: center; }
.bt-eyebrow { color: var(--ink-2); font-size: .875rem; font-weight: 600; }
.bt-pre, .bt-post { color: var(--ink-2); font-size: .875rem; line-height: 1.43; }
.bt-big { margin: 4px 0 6px; font-family: var(--display); font-size: 2.5rem; line-height: 1.1; font-weight: 600; }
.bt-title { margin: 14px 0 6px; font-family: var(--display); font-size: 1.5rem; line-height: 1.17; font-weight: 600; }
.tile-move .f-ic { display: flex; justify-content: center; }
.tile-move.is-swapping .bt-title, .tile-move.is-swapping .bt-post { opacity: 0; transform: translateY(6px); }
.tile-move .bt-title, .tile-move .bt-post { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.move-foot { margin-top: 36px; text-align: center; }
.name-box { display: flex; align-items: center; gap: 10px; height: 56px; margin-top: 18px; padding: 0 18px; border-radius: 14px; background: #1d1d1f; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease); }
.name-box:focus-within { box-shadow: inset 0 0 0 1px var(--link), 0 0 0 4px var(--focus); }
.name-glass { flex: none; color: var(--ink-2); }
.name-box input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 1.0625rem/1.2 var(--display); }
.name-box input::placeholder { color: var(--ink-3); }
.name-suffix { flex: none; color: var(--ink-2); font-size: .9375rem; font-weight: 600; }
.name-status { margin-top: 14px; color: var(--ink-2); font-size: .875rem; }
.name-status.is-ok { color: #30d158; }
.name-status.is-warn { color: #ff9f0a; }
.name-rules { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.name-rules li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 980px; background: #1d1d1f; color: var(--ink-2); font-size: .75rem; }
.name-rules li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #48484a; transition: background-color .3s var(--ease); }
.name-rules li.is-ok { color: var(--ink); }
.name-rules li.is-ok::before { background: #30d158; }
.name-rules li.is-bad::before { background: #ff9f0a; }

/* Banner */
.banner { position: relative; height: min(820px, 96vh); min-height: 560px; overflow: hidden; }
.banner-media { position: absolute; inset: 0; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(var(--zoom, 1)); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 55%); }
.banner-copy { position: relative; z-index: 2; padding: 96px 24px 0; text-align: center; }
.banner-copy > p { margin-top: 10px; font-family: var(--display); font-size: 1.75rem; line-height: 1.14; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 1em; margin-top: 24px; }

/* ---------- Light sections ---------- */
.light { background: var(--l-bg); color: var(--l-ink); }
.light a:not(.btn) { color: var(--l-link); }
.light .btn-secondary { border-color: var(--l-link); color: var(--l-link); }
.light .eyebrow { color: var(--l-ink-2); }
.light.section { padding: 120px 0 0; }

.shelf-sec .section-head { margin-bottom: 20px; }
.shelf-track { display: flex; gap: 20px; overflow-x: auto; padding: 24px var(--gutter) 40px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.card {
  position: relative; flex: none; display: flex; flex-direction: column; width: 372px; min-height: 440px; padding: 30px 30px 40px; border-radius: 18px; background: #fff;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, .08); scroll-snap-align: start; transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.card:hover { box-shadow: 2px 4px 16px rgba(0, 0, 0, .16); transform: scale3d(1.01, 1.01, 1.01); }
.card-eyebrow { font-size: .75rem; font-weight: 600; line-height: 1.33; }
.card h3 { margin-top: 8px; font-family: var(--display); font-size: 1.75rem; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; }
.card > p:not(.card-eyebrow) { margin-top: 10px; color: var(--l-ink); font-size: 1.0625rem; }
.card-img { margin: 24px -10px -10px; aspect-ratio: 1.72; overflow: hidden; border-radius: 12px; margin-top: auto; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.04); }
.card > p + .card-img { margin-top: 24px; }
.card-plus { position: absolute; right: 30px; bottom: 30px; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); width: 36px; height: 36px; border-radius: 50%; background: #333336; transition: background-color .2s var(--ease), transform .3s var(--ease-out); }
.card-plus::before, .card-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 1px; background: #fff; }
.card-plus::after { transform: rotate(90deg); }
.card-plus:hover { background: #1d1d1f; transform: scale(1.06); }
.light .paddle { background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56); }
.light .paddle:hover:not(:disabled) { background: rgba(223, 223, 227, .7); }
.shelf-sec .paddles { margin-top: 0; }

.compare-panel { width: var(--gw); margin: 0 auto; padding: 72px clamp(20px, 5vw, 80px) 56px; border-radius: 28px; background: #fff; text-align: center; }
.cmp-cols, .cmp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mini-card { width: 168px; aspect-ratio: 1.586; margin: 0 auto 28px; padding: 12px 14px; border-radius: 12px; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(0, 0, 0, .05); transform: rotate(-6deg); transition: transform .5s var(--ease-out); }
.cmp-col:hover .mini-card { transform: rotate(0deg) translateY(-4px); }
.mini-card img { height: 18px; width: auto; }
.mini-card.is-silver { background: linear-gradient(135deg, #fff, #e4e4e8 60%, #f6f6f8); }
.mini-card.is-gold { background: linear-gradient(135deg, #fbf3e4, #e9d6b3 60%, #f7ecd9); }
.mini-card.is-graphite { background: linear-gradient(135deg, #4a4a4d, #2a2a2c 60%, #3c3c3f); }
.cmp-label { min-height: 1.4em; color: #b64400; font-size: .75rem; font-weight: 600; }
.cmp-col h3 { font-family: var(--display); font-size: 1.5rem; line-height: 1.17; font-weight: 600; }
.cmp-tag { max-width: 240px; margin: 8px auto 0; font-size: .875rem; line-height: 1.43; font-weight: 600; }
.cmp-price { margin-top: 18px; font-size: .875rem; }
.cmp-ctas { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; }
.cmp-rows { margin-top: 48px; border-top: 1px solid var(--l-line); }
.cmp-row { position: relative; padding: 76px 0 26px; font-size: .875rem; }
.cmp-ic { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); }
.cmp-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--l-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.compare-all { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 6px 6px 6px 20px; border-radius: 980px; background: #e8e8ed; color: var(--l-ink) !important; font-size: .875rem; font-weight: 600; }
.compare-all span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; }
.compare-all svg { width: 7px; height: 12px; }
.compare-all:hover { text-decoration: none; background: #dcdce1; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: var(--gw); margin: 0 auto; }
.v-card { display: flex; flex-direction: column; min-height: 300px; padding: 34px; border-radius: 18px; background: #fff; }
.v-ic svg { width: 32px; height: 32px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke: currentColor; }
.v-card h3 { margin: 22px 0 10px; font-family: var(--display); font-size: 1.5rem; line-height: 1.17; font-weight: 600; }
.v-card p { margin-bottom: 18px; color: var(--l-ink); }
.v-card .more-link { margin-top: auto; }
.ic-blue, .c-blue { color: #0071e3; } .ic-green, .c-green { color: #007d5a; } .ic-orange, .c-orange { color: #e35d00; }

.faq { padding-bottom: 120px !important; }
.faq > .section-headline, .faq-list { width: min(980px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.faq-list { margin-top: 48px; border-top: 1px solid var(--l-line); }
.faq-item { border-bottom: 1px solid var(--l-line); }
.faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 26px 0; text-align: start; font-family: var(--display); font-size: 1.5rem; line-height: 1.16667; font-weight: 600; letter-spacing: .009em; }
.faq-ic { position: relative; flex: none; width: 20px; height: 20px; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; border-radius: 1px; background: var(--l-ink-2); transition: transform .32s var(--ease); }
.faq-ic::after { transform: rotate(90deg); }
.faq-item button[aria-expanded="true"] .faq-ic::after { transform: rotate(0deg); }
.faq-item button[aria-expanded="true"] .faq-ic::before { transform: rotate(180deg); }
.faq-a { height: 0; overflow: hidden; transition: height .4s var(--ease); }
.faq-a p { max-width: 760px; padding: 0 0 30px; opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: .1s; }

.index-sec { background: #fafafc; }
.index-in { width: min(980px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 64px; }
.index-title { font-family: var(--display); font-size: 2.5rem; line-height: 1.1; font-weight: 600; }
.index-cols { display: flex; gap: 72px; margin-top: 40px; }
.index-cols h3 { margin-bottom: 14px; color: var(--l-ink-2); font-size: .75rem; font-weight: 400; }
.index-cols li { margin: 0 0 8px; }
.index-cols a { color: #333336 !important; font-size: .75rem; font-weight: 600; }
.index-cols .is-big a { font-family: var(--display); font-size: 1.5rem; line-height: 1.17; }
.index-cols a:hover { color: #000 !important; text-decoration: none; }

/* Modal (Apple overlay sheet) */
.modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px; background: rgba(0, 0, 0, .48); opacity: 0; transition: opacity .32s var(--ease); }
.modal.is-open { opacity: 1; }
.modal-sheet { position: relative; width: min(980px, 100%); margin: auto; padding: 88px clamp(24px, 8vw, 104px); border-radius: 28px; background: #fff; color: var(--l-ink); transform: translateY(40px) scale(.98); transition: transform .45s cubic-bezier(.2, .8, .2, 1); outline: none; }
.modal.is-open .modal-sheet { transform: none; }
.modal-sheet .eyebrow { color: var(--l-ink-2); }
.modal-sheet .section-headline { margin: 8px 0 28px; }
.modal-sheet p:not(.eyebrow) { max-width: 640px; margin-top: 14px; font-family: var(--display); font-size: 1.3125rem; line-height: 1.381; font-weight: 600; color: var(--l-ink-2); }
.modal-close { position: absolute; top: 20px; right: 20px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #333336; color: #fff; transition: background-color .2s var(--ease); }
.modal-close:hover { background: #1d1d1f; }
.modal-close svg { width: 18px; height: 18px; }

/* ---------- Footer (Apple globalfooter) ---------- */
.gf { background: var(--l-bg); color: rgba(0, 0, 0, .56); font-size: .75rem; line-height: 1.33337; letter-spacing: -.01em; }
.gf-content { max-width: 1024px; margin: 0 auto; padding: 0 22px 21px; }
.gf a { color: rgba(0, 0, 0, .72); }
.gf a:hover { color: rgba(0, 0, 0, .88); text-decoration: underline; }
.gf-notes { padding: 17px 0 11px; border-bottom: 1px solid var(--l-line); }
.gf-notes li, .gf-notes p { margin-bottom: .8em; }
.gf-notes ol { counter-reset: fn; }
.gf-notes ol li { counter-increment: fn; }
.gf-notes ol li::before { content: counter(fn) ". "; }
.gf-crumbs { display: flex; align-items: center; gap: 10px; padding: 16px 0 6px; color: rgba(0, 0, 0, .88); }
.gf-crumbs span[aria-hidden] { color: rgba(0, 0, 0, .56); font-size: 1rem; }
.gf-home { display: flex; }
.gf-home svg { width: 10px; height: 17px; }
.gf-dir { display: flex; padding: 18px 0 30px; }
.gf-col { flex: 1; padding-inline-end: 20px; }
.gf-col h3 { margin-bottom: .8em; color: rgba(0, 0, 0, .88); font-size: .75rem; font-weight: 600; }
.gf-col h3 button { cursor: default; text-align: start; }
.gf-col ul { margin-bottom: 24px; }
.gf-col li { margin-bottom: .8em; }
.gf-more { padding: 0 0 9px; border-bottom: 1px solid var(--l-line); }
.gf-more a { color: var(--l-link) !important; text-decoration: underline; }
.gf-legal-row { display: flex; align-items: center; gap: 8px 24px; padding-top: 9px; }
.gf-copy { margin-inline-end: 6px; }
.gf-links { display: flex; flex-wrap: wrap; flex: 1; }
.gf-links li + li { margin-inline-start: 7px; padding-inline-start: 8px; border-inline-start: 1px solid var(--l-line); }
.gf-gov img { height: 31px; width: auto; }

/* ---------- Reveal on scroll ---------- */
.js [data-in] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.js [data-in].is-in { opacity: 1; transform: none; }

/* ---------- Accessibility preferences ---------- */
html.pref-contrast { --ink-2: #c7c7cc; --ink-3: #aeaeb2; --line: #8e8e93; --l-ink-2: #3a3a3c; --l-line: #8e8e93; }
html.pref-contrast .statement-text .w { opacity: 1; }
html.pref-links a:not(.btn):not(.gn-link):not(.ln-buy):not(.compare-all) { text-decoration: underline; }
html.pref-still *, html.pref-still *::before, html.pref-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.pref-still [data-in] { opacity: 1 !important; transform: none !important; }
html.pref-still .hero-media img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-in] { opacity: 1; transform: none; transition: none; }
  .js .hero-media img { animation: none; transform: none; }
  .gradient { animation: none; }
  .statement-text .w { opacity: 1; }
}

/* ---------- Medium: up to 1068px ---------- */
@media (max-width: 1068px) {
  .super-headline { font-size: 4rem; line-height: 1.0625; letter-spacing: -.009em; }
  .hero-title { font-size: 4rem; }
  .section-headline { font-size: 2.5rem; line-height: 1.1; letter-spacing: 0; }
  .headline-center { font-size: 3rem; line-height: 1.08349; }
  .hl-copy { font-size: 1.1875rem; line-height: 1.42; }
  .section { padding-top: 128px; }
  .statement-text { font-size: 3rem; line-height: 1.08349; }
  .build-grid { grid-template-columns: 1fr; gap: 40px; }
  .build-sticky { position: relative; top: 0; min-height: 420px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-name { grid-column: 1 / -1; }
  .card { width: 320px; min-height: 380px; }
  .gf-dir { flex-wrap: wrap; }
  .gf-col { flex: 1 1 33%; }
}

/* ---------- Global nav collapses below 834px ---------- */
@media (max-width: 833px) {
  .gn-content { padding: 0 8px 0 16px; }
  .gn-list { margin: 0; justify-content: flex-start; }
  .gn-item[data-fly]:not(.gn-tool) { display: none; }
  .gn-home { margin-inline-end: auto; }
  .gn-tool .gn-link, .gn-menu-btn .gn-link { justify-content: center; width: 48px; padding: 0; }
  .gn-menu-btn { display: block; }
  .gn-fly-in { flex-direction: column; padding: 24px 48px 48px; }
  .gn-group, .gn-group.is-big { max-width: none; padding: 0 0 28px; }
  .gn-fly { height: calc(100dvh - 44px); overflow-y: auto; }
  #gn-burger svg polyline { transition: transform .24s var(--ease); transform-origin: 9px 9px; }
  .gn.has-menu #gn-burger .b-top { transform: translateY(3px) rotate(45deg); }
  .gn.has-menu #gn-burger .b-bot { transform: translateY(-3px) rotate(-45deg); }
  .gn-mobile { position: absolute; z-index: 2; top: 44px; left: 0; right: 0; display: block; height: calc(100dvh - 44px); overflow: hidden; visibility: hidden; }
  .gn.has-menu .gn-mobile { visibility: visible; }
  .gn-m-panel { position: absolute; inset: 0; overflow-y: auto; padding: 8px 48px 48px; transition: transform .32s var(--ease), opacity .32s var(--ease); }
  .gn-m-panel.is-sub { transform: translateX(24px); opacity: 0; visibility: hidden; }
  .gn-mobile.is-sub .is-root { transform: translateX(-24px); opacity: 0; visibility: hidden; }
  .gn-mobile.is-sub .is-sub { transform: none; opacity: 1; visibility: visible; }
  .gn-m-list li { opacity: 0; transform: translateY(-8px); transition: opacity .32s var(--ease) calc(var(--i) * 20ms + 80ms), transform .32s var(--ease) calc(var(--i) * 20ms + 80ms); }
  .gn.has-menu .gn-m-list li { opacity: 1; transform: none; }
  .gn-m-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 0; color: #e8e8ed; font: 600 1.75rem/1.14286 var(--display); letter-spacing: .007em; text-align: start; }
  .gn-m-list button::after { content: ""; width: 9px; height: 9px; margin-inline-end: 4px; border-top: 1.5px solid var(--ink-2); border-right: 1.5px solid var(--ink-2); transform: rotate(45deg); }
  .gn-m-back { display: flex; align-items: center; height: 44px; margin: -4px 0 8px -4px; color: var(--ink-2); }
  .gn-m-subin .gn-head { margin: 12px 0 10px; font-size: .9375rem; }
  .gn-m-subin a { display: block; padding: 6px 0; color: #e8e8ed; font-size: 1.0625rem; font-weight: 600; }
  .gn-m-subin a.gn-big { font: 600 1.75rem/1.14286 var(--display); }
  .gn-m-subin ul + ul, .gn-m-subin .gn-group + .gn-group { margin-top: 24px; }
  .gn-m-subin .gn-fi { opacity: 1; transform: none; }
  .ln-title { font-size: 1.0625rem; }
}

/* ---------- Small: 734px and below ---------- */
@media (max-width: 734px) {
  :root { --gw: calc(100vw - 40px); }
  .super-headline { font-size: 2.75rem; line-height: 1.09; letter-spacing: -.003em; }
  .hero { height: max(560px, calc(100svh - 120px)); }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 32px; }
  .hero-eyebrow { font-size: 1.3125rem; }
  .hero-title { font-size: 2.75rem; line-height: 1.09; }
  .hero-buy { width: 100%; justify-content: space-between; white-space: normal; }
  .section, .light.section { padding-top: 96px; }
  .section-headline { font-size: 2rem; line-height: 1.125; letter-spacing: .004em; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 32px; }
  .headline-center { font-size: 2rem; line-height: 1.125; }
  .hl-copy { margin-top: 28px; font-size: 1.0625rem; line-height: 1.47; padding: 0 4px; }
  .highlights { padding-bottom: 80px; }
  .gallery-track { gap: 12px; }
  .g-card { height: 520px; min-height: 0; border-radius: 22px; }
  .g-cap { top: 32px; font-size: 1.3125rem; line-height: 1.19; }
  .g-controls { bottom: 18px; }
  .g-dots { height: 48px; padding: 0 18px; gap: 12px; }
  .g-play { width: 48px; height: 48px; }
  .stats { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .stat-num { font-size: 2rem; }
  .zoom { height: 200vh; margin-top: 96px; }
  .zoom-frame { clip-path: inset(calc(var(--p, 0) * 14vh) calc(var(--p, 0) * 20px) calc(var(--p, 0) * 34vh) round calc(var(--p, 0) * 22px)); }
  .zoom-copy .super-headline { font-size: 2.5rem; }
  .zoom-copy p { font-size: 1.0625rem; }
  .overlay-hero { height: 78vh; min-height: 480px; }
  .specs { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .specs-list > div { grid-template-columns: 1fr; gap: 2px; }
  .stat-big { font-size: 2.5rem; }
  .term-stage { margin-top: 40px; }
  .term-media { aspect-ratio: 4 / 5; border-radius: 22px; }
  .seg button { min-width: 0; padding: 9px 14px; }
  .cg-card { width: 86vw; }
  .cg-media { aspect-ratio: 1; border-radius: 22px; }
  .ui-stack { right: 16px; }
  .ui-round { width: 46px; height: 46px; }
  .ui-glass { left: 16px; bottom: 16px; min-width: 180px; }
  .ui-toggles { right: 16px; bottom: 16px; }
  .ui-row { bottom: 16px; }
  .ui-row span { padding: 7px 12px; font-size: .75rem; }
  .statement { height: 190vh; margin-top: 80px; }
  .statement-text { font-size: 2rem; line-height: 1.125; }
  .health-media { aspect-ratio: 1.2; margin-top: 48px; border-radius: 22px; }
  .features { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .panel { padding: 48px 20px; border-radius: 22px; }
  .build-sticky { min-height: 300px; padding: 32px 18px 22px; }
  .opt-list.is-3 { grid-template-columns: 1fr; }
  .is-3 .opt-box { flex-direction: row; justify-content: space-between; min-height: 64px; }
  .opt-legend { font-size: 1.3125rem; line-height: 1.19; }
  .move { padding-bottom: 96px; }
  .move-head { flex-direction: column; align-items: flex-start; }
  .move-select select { width: 100%; }
  .move-select { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento-tile { min-height: 220px; padding: 28px 20px; }
  .banner { height: 640px; }
  .banner-copy { padding-top: 64px; }
  .banner-copy > p { font-size: 1.1875rem; }
  .card { width: 290px; min-height: 340px; padding: 26px; }
  .card h3 { font-size: 1.5rem; }
  .compare-panel { padding: 48px 16px 40px; border-radius: 22px; overflow-x: auto; }
  .cmp-cols, .cmp-row { gap: 12px; }
  .mini-card { width: 88px; margin-bottom: 18px; padding: 8px; border-radius: 8px; }
  .mini-card img { height: 11px; }
  .cmp-col h3 { font-size: 1.0625rem; }
  .cmp-tag { display: none; }
  .cmp-row { font-size: .75rem; }
  .values-grid { grid-template-columns: 1fr; }
  .v-card { min-height: 0; }
  .faq-item button { font-size: 1.1875rem; line-height: 1.21; padding: 20px 0; }
  .index-cols { flex-direction: column; gap: 32px; }
  .modal { padding: 0; }
  .modal-sheet { min-height: 100%; border-radius: 0; padding: 88px 24px 48px; }
  .gf-content { padding: 0 16px 21px; }
  .gf-dir { display: block; padding: 8px 0 20px; }
  .gf-col { padding: 0; }
  .gf-col h3 { margin: 0; border-bottom: 1px solid var(--l-line); }
  .gf-col h3 button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 0; cursor: pointer; font-weight: 400; color: rgba(0, 0, 0, .88); }
  .gf-col h3 button::after { content: "+"; font-size: 1rem; color: var(--l-ink-2); transition: transform .3s var(--ease); }
  .gf-col h3 button[aria-expanded="true"]::after { transform: rotate(45deg); }
  .gf-col ul { display: none; margin: 0; padding: 10px 0 6px 14px; }
  .gf-col h3:has(button[aria-expanded="true"]) + ul { display: block; }
  .gf-legal-row { flex-wrap: wrap; }
  .gf-links { flex-basis: 100%; }
}
.summary-total { white-space: nowrap; }
@media (max-width: 734px) { .summary-row { flex-direction: column; align-items: flex-start; gap: 4px; } }
