/* VScripts v10: the shared product card, lineups, the product page, catalog, plans and legal pages.
   Loaded last on every page (after home.css on the home page, after vs-v8.css + v9.css elsewhere). */
:root {
  --x-max: 1240px;
  --x-pad: clamp(20px, 4vw, 44px);
  --x-ease: cubic-bezier(.22, 1, .36, 1);
  --x-spring: cubic-bezier(.34, 1.4, .5, 1);
  --x-surface: #161617;
  --x-surface-2: #1d1d1f;
  --x-line: rgba(255, 255, 255, .1);
  --x-text: #f5f5f7;
  --x-muted: #a1a1a6;
  --x-dim: #86868b;
  --x-accent: #ff7a2f;
}
.x-shell { width: min(var(--x-max), 100% - var(--x-pad) * 2); margin-inline: auto; }

/* ---------- Page-to-page transition ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: x-leave .26s var(--x-ease) both; }
::view-transition-new(root) { animation: x-enter .55s var(--x-ease) both; }
@keyframes x-leave { to { opacity: 0; transform: scale(.985); } }
@keyframes x-enter { from { opacity: 0; transform: translateY(16px); } }
.gnav { view-transition-name: x-gnav; }

/* ---------- Reveal on scroll ---------- */
.v10 .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--x-ease), transform .9s var(--x-ease); transition-delay: calc(var(--i, 0) * 80ms); }
.v10 .reveal.is-visible { opacity: 1; transform: none; }

/* Page heads rise in on load, one line after the other, without waiting for a script. */
.rise { animation: x-rise 1s var(--x-ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@keyframes x-rise { from { opacity: 0; transform: translateY(26px); } }
.pd-related { margin-top: 0; }

/* ---------- Product card ---------- */
.pc { --a: #ff7a2f; --b: #ff375f; position: relative; isolation: isolate; display: flex; flex-direction: column; aspect-ratio: 4 / 5; min-height: 400px; border-radius: 28px; overflow: hidden; background: var(--x-surface); color: var(--x-text); text-decoration: none; letter-spacing: -.01em; transition: transform .55s var(--x-ease), opacity .9s var(--x-ease); -webkit-tap-highlight-color: transparent; }
.v10 .pc.reveal.is-visible { transition: transform .55s var(--x-ease), opacity .9s var(--x-ease); transition-delay: 0s; }
.pc::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(90% 62% at 80% 96%, color-mix(in srgb, var(--a) 62%, transparent), transparent 72%), radial-gradient(70% 55% at 6% 100%, color-mix(in srgb, var(--b) 40%, transparent), transparent 72%); transition: opacity .6s var(--x-ease); opacity: .85; }
.pc::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .1), transparent 62%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); opacity: 0; transition: opacity .4s; }
.pc-media { position: absolute; inset: 0; z-index: -1; }
.pc-cut { position: absolute; left: 9%; top: 43%; width: 124%; max-width: none; height: auto; border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .09); transform: rotate(-2.5deg); transform-origin: 0 0; transition: transform .8s var(--x-ease); }
.pc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--x-ease); }
.pc-picture .pc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, .55) 100%); }
.pc-picture::before { display: none; }
.pc-copy { display: grid; gap: 6px; padding: 26px 26px 0; }
.pc-kicker { font-size: 12px; font-weight: 600; letter-spacing: .01em; color: color-mix(in srgb, var(--a) 70%, #fff); }
.pc.is-soon .pc-kicker { color: var(--x-muted); }
.pc-name { font-size: clamp(22px, 2.1vw, 28px); font-weight: 600; line-height: 1.1; letter-spacing: -.022em; text-wrap: balance; }
.pc-line { max-width: 30ch; font-size: 15px; line-height: 1.35; color: rgba(245, 245, 247, .74); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 0 18px 18px; }
.pc-price { padding: 8px 14px; border-radius: 980px; background: rgba(0, 0, 0, .52); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); font-size: 14px; font-weight: 600; }
.pc-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(245, 245, 247, .92); color: #1d1d1f; transition: transform .45s var(--x-spring), background-color .3s; }
.pc-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .pc:hover { transform: translateY(-8px); }
  .pc:hover::after { opacity: 1; }
  .pc:hover::before { opacity: 1; }
  .pc:hover .pc-cut { transform: rotate(-1.2deg) translate(-3%, -7%); }
  .pc:hover .pc-photo { transform: scale(1.06); }
  .pc:hover .pc-go { transform: scale(1.12); background: #fff; }
}
.pc:active { transform: scale(.98); transition-duration: .15s; }
.pc:focus-visible { outline: 3px solid var(--x-accent); outline-offset: 4px; }

.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pc-grid .catalog-empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--x-muted); font-size: 17px; }

/* ---------- Lineup rail (horizontal shelf) ---------- */
.lineup { padding: clamp(70px, 9vw, 130px) 0 clamp(50px, 7vw, 100px); overflow: hidden; background: #000; }
.lineup-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.lineup-head h2 { margin: 0; font-size: clamp(32px, 4.6vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.028em; color: var(--x-text); }
.lineup-head h2 span { color: var(--x-dim); }
.lineup-head a { flex: none; color: var(--x-accent); font-size: 17px; text-decoration: none; }
.lineup-head a:hover { text-decoration: underline; }
.rail { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--x-pad), (100vw - var(--x-max)) / 2); padding: 10px max(var(--x-pad), (100vw - var(--x-max)) / 2) 30px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .pc { flex: 0 0 clamp(270px, 28vw, 372px); scroll-snap-align: start; }
.rail-ctl { display: flex; justify-content: flex-end; gap: 14px; }
.rail-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(66, 66, 69, .72); color: #f5f5f7; cursor: pointer; transition: background-color .25s, opacity .25s, transform .2s var(--x-ease); }
.rail-btn:hover { background: rgba(86, 86, 90, .9); }
.rail-btn:active { transform: scale(.92); }
.rail-btn:disabled { opacity: .32; cursor: default; }
.rail-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Segmented control ---------- */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 980px; background: var(--x-surface-2); }
.seg-pill { position: absolute; left: 0; top: 4px; height: calc(100% - 8px); width: 0; border-radius: 980px; background: #f5f5f7; transition: transform .55s var(--x-ease), width .55s var(--x-ease); }
.seg-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 18px; border: 0; border-radius: 980px; background: none; color: var(--x-text); font: 500 15px/1 inherit; letter-spacing: -.01em; cursor: pointer; transition: color .35s var(--x-ease); white-space: nowrap; }
.seg-btn span { font-size: 12px; color: var(--x-dim); transition: color .35s; }
.seg-btn[aria-pressed="true"] { color: #1d1d1f; }
.seg-btn[aria-pressed="true"] span { color: #6e6e73; }
.seg-btn:focus-visible { outline: 2px solid var(--x-accent); outline-offset: 2px; }

/* ---------- Page heads ---------- */
.x-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(28px, 4vw, 44px); }
.x-eyebrow { margin: 0 0 12px; color: var(--x-accent); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.x-title { margin: 0; font-size: clamp(48px, 8.4vw, 104px); font-weight: 700; line-height: 1.02; letter-spacing: -.038em; color: var(--x-text); text-wrap: balance; }
.x-title span { background: linear-gradient(100deg, #ff7a2f, #ff375f 55%, #bf5af2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-lead { max-width: 620px; margin: 22px 0 0; color: var(--x-muted); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.38; letter-spacing: -.012em; }
.x-h2 { margin: 0; font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.06; letter-spacing: -.03em; color: var(--x-text); }
.x-h2 span { color: var(--x-dim); }

/* ---------- Catalog ---------- */
.cat-bar { position: sticky; top: 44px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; padding: 12px 0; background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.cat-bar .search-field { flex: 1 1 240px; height: 46px; border: 0; background: var(--x-surface-2); }
.cat-bar .search-field:focus-within { background: #2a2a2d; }
.cat-bar .select-field select { height: 46px; border: 0; background: var(--x-surface-2); font-weight: 500; }
.cat-bar .catalog-count { margin-left: 0; color: var(--x-dim); font-size: 14px; font-weight: 400; }
.cat-wrap { padding-bottom: clamp(80px, 10vw, 140px); }

/* ---------- Product page ---------- */
.pd { background: #000; }
.pd-local { position: sticky; top: 44px; z-index: 30; background: rgba(22, 22, 23, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--x-line); }
.pd-local-row { display: flex; align-items: center; gap: 22px; width: min(var(--x-max), 100% - var(--x-pad) * 2); height: 52px; margin-inline: auto; }
.pd-local-name { margin-right: auto; color: var(--x-text); font-size: 21px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.pd-local-links { display: flex; gap: 22px; }
.pd-local-links a { color: rgba(245, 245, 247, .72); font-size: 12px; text-decoration: none; transition: color .2s; }
.pd-local-links a:hover { color: #fff; }
.pd-local-price { color: var(--x-muted); font-size: 12px; }
.v10 .pd-local .btn { height: 30px; min-height: 0; padding: 0 14px; background: var(--x-accent); color: #fff; border: 0; font-size: 12px; font-weight: 500; }
.v10 .pd-local .btn:hover { background: #ff8f50; }

.pd-eyebrow { margin: 0 0 14px; color: var(--x-accent); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pd-hero { --a: #ff7a2f; --b: #ff375f; padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; overflow: hidden; }
.pd-hero .pd-eyebrow { color: color-mix(in srgb, var(--a) 78%, #fff); }
.pd-hero h1 { margin: 0 auto; max-width: 14ch; padding-inline: var(--x-pad); font-size: clamp(52px, 9.4vw, 120px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--x-text); text-wrap: balance; }
.pd-line { margin: 18px auto 0; padding-inline: var(--x-pad); font-size: clamp(24px, 3.5vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; background: linear-gradient(100deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pd-lead { max-width: 640px; margin: 22px auto 0; padding-inline: var(--x-pad); color: var(--x-muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.42; letter-spacing: -.012em; }
.pd-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; padding-inline: var(--x-pad); }
.pd-note { margin: 16px auto 0; padding-inline: var(--x-pad); color: var(--x-dim); font-size: 14px; }
.pd-note strong { color: var(--x-text); font-weight: 600; }
.pd-stage { position: relative; width: min(1180px, 100% - var(--x-pad) * 2); margin: clamp(44px, 6vw, 84px) auto 0; perspective: 1800px; }
.pd-stage-glow { position: absolute; inset: 6% 2% -4%; background: radial-gradient(55% 60% at 28% 42%, var(--a), transparent 70%), radial-gradient(55% 60% at 76% 62%, var(--b), transparent 70%); filter: blur(80px); opacity: .5; }
.pd-art { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: 0 50px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotateX(calc(var(--tilt, 0) * 1deg)) scale(var(--zoom, 1)); transform-origin: 50% 100%; will-change: transform; view-transition-name: x-art; }
.pd-art.is-cut { aspect-ratio: auto; height: auto; object-fit: contain; border-radius: 16px; }
.pd-stage { padding-bottom: clamp(60px, 8vw, 110px); }

.pd-ticks { border-block: 1px solid var(--x-line); background: #0a0a0b; }
.pd-ticks ul { display: grid; grid-template-columns: repeat(4, 1fr); width: min(var(--x-max), 100% - var(--x-pad) * 2); margin: 0 auto; padding: 0; list-style: none; }
.pd-ticks li { padding: 34px 18px; text-align: center; color: var(--x-text); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.015em; }
.pd-ticks li + li { border-left: 1px solid var(--x-line); }

.pd-head { width: min(var(--x-max), 100% - var(--x-pad) * 2); margin: 0 auto clamp(30px, 5vw, 60px); }
.pd-head h2 { margin: 0; font-size: clamp(40px, 6.4vw, 80px); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; color: var(--x-text); }
.pd-head h2 span { color: var(--x-dim); }
.pd-sub { max-width: 620px; margin: 20px 0 0; color: var(--x-muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.42; }

.pd-tour { padding-top: clamp(90px, 12vw, 170px); }
.pd-tour-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); width: min(var(--x-max), 100% - var(--x-pad) * 2); margin-inline: auto; }
.pd-step { display: flex; flex-direction: column; justify-content: center; min-height: 78vh; opacity: .24; transition: opacity .6s var(--x-ease), transform .6s var(--x-ease); transform: translateX(-8px); }
.pd-step.is-active { opacity: 1; transform: none; }
.pd-step-img { display: none; }
.pd-step-no { margin: 0 0 14px; color: var(--x-accent); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.pd-step h3 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -.028em; color: var(--x-text); }
.pd-step > p:not(.pd-step-no) { margin: 16px 0 0; color: var(--x-muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.42; }
.pd-step ul { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.pd-step li { position: relative; padding-left: 26px; color: #d2d2d7; font-size: 16px; line-height: 1.4; }
.pd-step li::before, .pd-feature-cols li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 8px; border: solid var(--x-accent); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(.82); transform-origin: left; }
.pd-frame-wrap { position: sticky; top: 96px; display: flex; align-items: center; height: calc(100vh - 96px); }
.pd-frame { position: relative; width: 100%; margin: 0; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #0d0d0e; box-shadow: 0 40px 110px rgba(255, 122, 47, .13), 0 0 0 1px rgba(255, 255, 255, .08); }
.pd-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .7s var(--x-ease), transform 1.1s var(--x-ease); }
.pd-frame img.is-active { opacity: 1; transform: none; }
.pd-frame figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 980px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #d2d2d7; font-size: 12px; }
.pd-frame figcaption:empty { display: none; }

.pd-all { padding-top: clamp(90px, 12vw, 170px); }
.pd-feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 72px); width: min(var(--x-max), 100% - var(--x-pad) * 2); margin-inline: auto; }
.pd-feature-cols ul { margin: 0; padding: 0; list-style: none; }
.pd-feature-cols li { position: relative; padding: 20px 0 20px 30px; border-top: 1px solid var(--x-line); color: var(--x-text); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.38; letter-spacing: -.012em; }
.pd-feature-cols li::before { top: 1.72em; }

.pd-specs { padding-top: clamp(90px, 12vw, 170px); }
.pd-specs-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; width: min(var(--x-max), 100% - var(--x-pad) * 2); margin-inline: auto; }
.pd-spec-list { margin: 0; }
.pd-spec-list div { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--x-line); }
.pd-spec-list dt { color: var(--x-dim); font-size: 15px; }
.pd-spec-list dd { margin: 0; color: var(--x-text); font-size: 17px; font-weight: 500; letter-spacing: -.012em; }
.pd-install { padding: clamp(26px, 3vw, 38px); border-radius: 28px; background: var(--x-surface); }
.pd-install h3 { margin: 0 0 22px; color: var(--x-text); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.pd-install ol { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.pd-install li { position: relative; padding-left: 46px; color: #d2d2d7; font-size: 16px; line-height: 1.45; counter-increment: step; overflow-wrap: anywhere; }
.pd-install li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--x-surface-2); color: var(--x-accent); font-size: 14px; font-weight: 600; }

.pd-buy { --a: #ff7a2f; --b: #ff375f; position: relative; isolation: isolate; width: min(var(--x-max), 100% - var(--x-pad) * 2); margin: clamp(90px, 12vw, 170px) auto 0; padding: clamp(56px, 8vw, 104px) 24px; border-radius: 36px; overflow: hidden; background: #0d0d0e; text-align: center; }
.pd-buy-glow { position: absolute; inset: 30% -10% -60%; z-index: -1; background: radial-gradient(50% 60% at 30% 50%, var(--a), transparent 70%), radial-gradient(50% 60% at 72% 50%, var(--b), transparent 70%); filter: blur(90px); opacity: .5; }
.pd-buy h2 { margin: 0; font-size: clamp(38px, 6vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; color: var(--x-text); text-wrap: balance; }
.pd-buy-price { margin: 18px 0 0; color: var(--x-text); font-size: clamp(21px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; }

.pd-related { padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px 30px 30px; border: 2px solid transparent; border-radius: 30px; background: var(--x-surface); }
.plan.is-featured { background: linear-gradient(#131314, #131314) padding-box, linear-gradient(135deg, #ff7a2f, #ff375f 55%, #bf5af2) border-box; box-shadow: 0 40px 120px rgba(255, 90, 60, .16); }
.plan-badge { position: absolute; top: -14px; left: 28px; padding: 6px 14px; border-radius: 980px; background: linear-gradient(100deg, #ff7a2f, #ff375f); color: #fff; font-size: 12px; font-weight: 600; }
.plan-name { margin: 0; color: var(--x-text); font-size: 30px; font-weight: 600; letter-spacing: -.025em; }
.plan-line { margin: 8px 0 0; color: var(--x-muted); font-size: 16px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 0; color: var(--x-text); }
.plan-price b { font-size: clamp(44px, 4.6vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.plan-price span { color: var(--x-muted); font-size: 15px; }
.plan-price em { padding: 3px 9px; border-radius: 980px; background: rgba(48, 209, 88, .16); color: #30d158; font-size: 12px; font-style: normal; font-weight: 600; }
.plan-billed { margin: 10px 0 0; color: var(--x-dim); font-size: 13px; }
.plan .sub-options { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 20px 0 0; padding: 4px; border: 0; border-radius: 14px; background: var(--x-surface-2); }
.plan .sub-options button { display: grid; gap: 2px; padding: 9px 6px; border: 0; border-radius: 11px; background: none; color: var(--x-muted); font: inherit; cursor: pointer; transition: background-color .3s, color .3s; }
.plan .sub-options button span { font-size: 13px; font-weight: 600; }
.plan .sub-options button em { margin-left: 4px; color: #30d158; font-style: normal; font-size: 11px; }
.plan .sub-options button small { font-size: 11px; color: var(--x-dim); }
.plan .sub-options button[aria-checked="true"] { background: #f5f5f7; color: #1d1d1f; }
.plan .sub-options button[aria-checked="true"] small { color: #6e6e73; }
.v10 .plan .plan-cta { width: 100%; margin-top: 24px; background: #f5f5f7; color: #1d1d1f; border: 0; }
.v10 .plan .plan-cta:hover { background: #fff; }
.v10 .plan.is-featured .plan-cta { background: var(--x-accent); color: #fff; }
.v10 .plan.is-featured .plan-cta:hover { background: #ff8f50; }
.plan-perks { display: grid; gap: 12px; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--x-line); list-style: none; }
.plan-perks li { position: relative; padding-left: 26px; color: #d2d2d7; font-size: 15px; line-height: 1.4; }
.plan-perks li::before { content: ""; position: absolute; left: 0; top: .4em; width: 14px; height: 8px; border: solid var(--x-accent); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(.82); transform-origin: left; }
.plan-worth { margin: 22px 0 0; color: var(--x-dim); font-size: 13px; }
.plan-worth b { color: var(--x-text); }
.plan-see { margin-top: auto; padding-top: 22px; color: var(--x-accent); font-size: 15px; text-decoration: none; }
.plan-see:hover { text-decoration: underline; }
.plans-note { margin: 26px 0 0; color: var(--x-dim); font-size: 13px; text-align: center; }
.x-section { padding-top: clamp(90px, 12vw, 170px); }
.x-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.sub-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.sub-tools .search-field { flex: 1 1 240px; height: 46px; border: 0; background: var(--x-surface-2); }
.sub-tools .catalog-count { margin-left: 0; color: var(--x-dim); font-size: 14px; font-weight: 400; }

/* ---------- Accordion ---------- */
.x-faq { max-width: 860px; margin-top: 30px; border-bottom: 1px solid var(--x-line); }
.x-faq details { border-top: 1px solid var(--x-line); interpolate-size: allow-keywords; }
.x-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; color: var(--x-text); font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border: solid var(--x-muted); border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform .45s var(--x-ease); }
.x-faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.x-faq details::details-content { height: 0; overflow: hidden; opacity: 0; transition: height .5s var(--x-ease), opacity .4s, content-visibility .5s allow-discrete; }
.x-faq details[open]::details-content { height: auto; opacity: 1; }
.x-faq p { max-width: 68ch; margin: 0; padding: 0 0 26px; color: var(--x-muted); font-size: 17px; line-height: 1.5; }
.x-end { padding-bottom: clamp(80px, 10vw, 140px); }

/* ---------- Legal ---------- */
.v10 .legal { max-width: 760px; margin-inline: auto; padding: clamp(56px, 8vw, 110px) var(--x-pad) clamp(60px, 8vw, 110px); width: auto; }
.v10 .legal .eyebrow { color: var(--x-accent); font-size: 17px; font-weight: 600; letter-spacing: -.01em; text-transform: none; }
.v10 .legal h1 { margin: 10px 0 40px; font-size: clamp(44px, 7vw, 80px); font-weight: 700; line-height: 1.03; letter-spacing: -.036em; }
.v10 .legal h2 { margin: 44px 0 10px; padding-top: 26px; border-top: 1px solid var(--x-line); font-size: 21px; font-weight: 600; letter-spacing: -.018em; }
.v10 .legal p, .v10 .legal li { color: var(--x-muted); font-size: 17px; line-height: 1.55; }
.v10 .legal a { color: var(--x-accent); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pd-tour-grid { grid-template-columns: 1fr; }
  .pd-frame-wrap { display: none; }
  .pd-step { min-height: 0; opacity: 1; transform: none; padding-block: 34px; }
  .pd-step + .pd-step { border-top: 1px solid var(--x-line); }
  .pd-step-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 26px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
  .pd-specs-grid { grid-template-columns: 1fr; }
  .pd-local-links { display: none; }
}
@media (max-width: 700px) {
  .pd-ticks ul { grid-template-columns: 1fr 1fr; }
  .pd-ticks li { padding: 22px 12px; }
  .pd-ticks li:nth-child(odd) { border-left: 0; }
  .pd-ticks li:nth-child(n + 3) { border-top: 1px solid var(--x-line); }
  .pd-feature-cols { grid-template-columns: 1fr; }
  .pd-local-price { display: none; }
  .pd-local-name { font-size: 17px; }
  .pd-art { border-radius: 14px; }
  .pd-buy { border-radius: 26px; }
  .cat-bar .seg { width: 100%; }
  .cat-bar .seg-btn { flex: 1; justify-content: center; padding: 0 10px; }
  .cat-bar .select-field { flex: 1; }
  .cat-bar .select-field select { width: 100%; }
  .pd-spec-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 620px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc { aspect-ratio: 1 / 1.08; min-height: 0; }
  .rail .pc { flex-basis: 78vw; aspect-ratio: 4 / 5; }
  .rail-ctl { display: none; }
  .lineup-head { align-items: start; flex-direction: column; gap: 10px; }
}

/* ---------- Calmer for people who ask for it ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .v10 .reveal { opacity: 1; transform: none; transition: none; }
  .rise { animation: none; }
  .pc, .pc-cut, .pc-photo, .pc-go, .seg-pill, .pd-step, .pd-frame img { transition: none; }
  .pd-art { transform: none; }
  .pd-step { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .pd-local, .cat-bar { background: #161617; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pc-price { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Bag (cart): header icon, add buttons, side sheet ---------- */
.gnav-cart { position: relative; }
.gnav-cart-count { position: absolute; top: 8px; right: 2px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 980px; background: var(--x-accent); color: #fff; font-size: 10px; font-weight: 600; line-height: 15px; text-align: center; pointer-events: none; }
.gnav-cart-count[hidden] { display: none; }
.gnav-cart.is-bump svg { animation: x-bag-bump .42s var(--x-spring); }
.gnav-cart.is-bump .gnav-cart-count { animation: x-bag-count .42s var(--x-spring); }
@keyframes x-bag-bump { 0% { transform: scale(1); } 40% { transform: scale(1.28) rotate(-6deg); } 100% { transform: scale(1); } }
@keyframes x-bag-count { 0% { transform: scale(.4); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.v10 .btn-bag.is-in { border-color: rgba(255, 255, 255, .28); color: var(--x-text); }
.v10 .btn-bag.is-in::before { content: ""; width: 14px; height: 14px; margin-right: 6px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.v10 .pd-local .btn-bag { background: rgba(255, 255, 255, .1); color: var(--x-text); }
.v10 .pd-local .btn-bag:hover { background: rgba(255, 255, 255, .18); }

.cart-sheet { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--x-text); overflow: hidden; }
.cart-sheet::backdrop { background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cart-sheet[open] .cart-panel { animation: x-sheet-in .46s var(--x-ease) both; }
.cart-sheet[open]::backdrop { animation: x-fade .3s ease both; }
@keyframes x-sheet-in { from { transform: translateX(104%); } to { transform: none; } }
@keyframes x-fade { from { opacity: 0; } }
.cart-panel { position: absolute; top: 8px; right: 8px; bottom: 8px; display: flex; flex-direction: column; width: min(420px, 100% - 16px); border: 1px solid var(--x-line); border-radius: 22px; background: rgba(29, 29, 31, .86); -webkit-backdrop-filter: saturate(180%) blur(28px); backdrop-filter: saturate(180%) blur(28px); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 10px; }
.cart-head h2 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.cart-close, .cart-remove { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--x-muted); cursor: pointer; transition: background-color .2s, color .2s, transform .16s; }
.cart-close:hover, .cart-remove:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.cart-close:active, .cart-remove:active { transform: scale(.92); }
.cart-close svg, .cart-remove svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cart-list { flex: 1; margin: 0; padding: 6px 14px 14px; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto 32px; align-items: center; gap: 14px; padding: 12px 8px; border-bottom: 1px solid var(--x-line); animation: x-item-in .32s var(--x-ease) both; }
.cart-item:last-child { border-bottom: 0; }
@keyframes x-item-in { from { opacity: 0; transform: translateY(6px); } }
.cart-thumb { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: radial-gradient(120% 120% at 30% 20%, var(--a, #3a3a3c) 0%, #1d1d1f 75%); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb img.is-cut { width: 86%; height: 86%; object-fit: contain; }
.cart-info { min-width: 0; }
.cart-name { display: block; color: var(--x-text); font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-name:hover { text-decoration: underline; }
.cart-meta { margin: 3px 0 0; color: var(--x-dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-price { margin: 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cart-foot { padding: 18px 22px 22px; border-top: 1px solid var(--x-line); background: rgba(0, 0, 0, .18); }
.cart-foot[hidden] { display: none; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 17px; }
.cart-total b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cart-note { margin: 8px 0 16px; color: var(--x-dim); font-size: 12px; line-height: 1.45; }
.v10 .cart-checkout { width: 100%; justify-content: center; }
.cart-secure { margin: 10px 0 0; color: var(--x-dim); font-size: 11px; text-align: center; }
.cart-empty { display: grid; justify-items: center; gap: 6px; padding: 60px 18px; text-align: center; color: var(--x-muted); font-size: 14px; }
.cart-empty p { margin: 0; max-width: 260px; line-height: 1.45; }
.cart-empty-icon svg { width: 44px; height: 44px; fill: none; stroke: var(--x-dim); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cart-empty-title { color: var(--x-text); font-size: 19px; font-weight: 600; }
.cart-empty .btn { margin-top: 14px; }
@media (max-width: 560px) {
  .cart-panel { top: auto; left: 8px; width: auto; max-height: 86vh; }
  .cart-sheet[open] .cart-panel { animation-name: x-sheet-up; }
  .cart-item { grid-template-columns: 52px 1fr auto 32px; gap: 10px; }
  .cart-thumb { width: 52px; height: 52px; }
  .v10 .pd-local .btn-bag { display: none; }
}
@keyframes x-sheet-up { from { transform: translateY(104%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cart-sheet[open] .cart-panel, .cart-item, .gnav-cart.is-bump svg, .gnav-cart.is-bump .gnav-cart-count { animation: x-fade .2s ease both; }
}
@media (prefers-reduced-transparency: reduce) {
  .cart-panel { background: #1d1d1f; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cart-sheet::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, .7); }
}
/* ---------- Category without releases yet (Vehicles) ---------- */
.catalog-soon { grid-column: 1 / -1; display: grid; justify-items: center; gap: 4px; padding: clamp(56px, 9vw, 110px) 24px; border: 1px solid var(--x-line); border-radius: 28px; background: radial-gradient(90% 120% at 50% 0%, rgba(255, 122, 47, .16), transparent 60%), var(--x-surface); text-align: center; }
.catalog-soon-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 22px; background: rgba(255, 255, 255, .06); color: var(--x-accent); }
.catalog-soon-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.catalog-soon h2 { margin: 2px 0 0; font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; line-height: 1.06; letter-spacing: -.025em; }
.catalog-soon > p:not(.pd-eyebrow) { max-width: 480px; margin: 12px 0 0; color: var(--x-muted); font-size: 17px; line-height: 1.5; }
.catalog-soon .pd-cta { margin-top: 26px; padding: 0; }@media (max-width: 480px) {
  .cat-bar .seg { max-width: 100%; }
  .cat-bar .seg-btn { min-width: 0; padding: 0 6px; gap: 4px; font-size: 14px; }
  .cat-bar .seg-btn span { display: none; }
}
/* Product video as the hero picture (click to load, poster from our server); shape and tilt come from .pd-art */
.pd-video-play { padding: 0; border: 0; overflow: hidden; background: #000; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pd-video-frame { border: 0; background: #000; }
.pd-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--x-ease), filter .4s; }
.pd-video-play:hover img { transform: scale(1.015); filter: brightness(1.06); }
.pd-video-btn { position: absolute; left: 50%; top: 36%; width: clamp(64px, 8vw, 92px); height: clamp(64px, 8vw, 92px); border-radius: 50%; background: rgba(245, 245, 247, .92); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); transform: translate(-50%, -50%); transition: transform .45s var(--x-spring), background-color .3s; }
.pd-video-btn::after { content: ""; position: absolute; left: 54%; top: 50%; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #1d1d1f; transform: translate(-50%, -50%); }
.pd-video-play:hover .pd-video-btn { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.pd-video-play:active .pd-video-btn { transform: translate(-50%, -50%) scale(.96); }
.pd-video-play:focus-visible { outline: 3px solid var(--x-accent); outline-offset: 4px; }
.pd-video-note { position: relative; margin: 16px 0 0; color: var(--x-dim); font-size: 14px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .pd-video-play img, .pd-video-btn { transition: none; } }

/* Card thumbnail with its own text (16:9 YouTube thumbnail): shown whole, the same picture blurred behind it */
.pc-photo.pc-fill { filter: blur(26px) brightness(.5) saturate(1.2); transform: scale(1.25); }
.pc:hover .pc-photo.pc-fill { transform: scale(1.3); }
.pc-photo.pc-fit { object-fit: contain; }

/* Hero gallery: video first, pictures to the right; the frame shape and tilt come from .pd-art */
.pd-art.pd-gallery { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; background: #000; }
.pd-gallery::-webkit-scrollbar { display: none; }
.pd-gallery:focus-visible { outline: 3px solid var(--x-accent); outline-offset: 4px; }
.pd-gallery > .pd-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.pd-gallery > img.pd-slide { display: block; object-fit: cover; }
.pd-gallery > .pd-video-play, .pd-gallery > .pd-video-frame { position: relative; border: 0; }
.pd-gallery-bar { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.pd-dots { display: flex; align-items: center; gap: 8px; }
.pd-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(245, 245, 247, .32); cursor: pointer; transition: width .4s var(--x-ease), background-color .3s; }
.pd-dots button:hover { background: rgba(245, 245, 247, .6); }
.pd-dots button.is-active { width: 24px; background: #f5f5f7; }
.pd-dots button:focus-visible { outline: 2px solid var(--x-accent); outline-offset: 3px; }
.pd-gallery-bar + .pd-video-note { margin-top: 12px; min-height: 1.4em; }
@media (prefers-reduced-motion: reduce) { .pd-dots button { transition: none; } }

/* sale bar (SITE.promo) */
.promo-bar { position: relative; z-index: 41; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 8px 16px; background: linear-gradient(90deg, #0b0b0d, #1d1d1f 50%, #0b0b0d); border-bottom: 1px solid rgba(255,255,255,.08); color: #f5f5f7; font-size: 13px; line-height: 1.3; text-align: center; }
.promo-bar strong { font-weight: 700; letter-spacing: .02em; }
.promo-bar em { font-style: normal; font-weight: 700; color: #ff7a2f; }
.promo-sep { opacity: .45; }
.promo-code { position: relative; font: inherit; font-weight: 700; letter-spacing: .05em; padding: 3px 11px; border-radius: 980px; border: 1px dashed rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.promo-code:hover { background: rgba(255,255,255,.16); }
.promo-code.is-copied::after { content: "✓"; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); color: #30d158; }
.promo-until { color: rgba(245,245,247,.7); }
@media (max-width: 600px) { .promo-bar { font-size: 12px; padding: 7px 12px; } .promo-sep { display: none; } }
